/* =========================================================
   NEX Tecnologias — Landing page institucional
   Paleta da identidade visual:
   Azul NEX #0A2540 · Azul Conexão #2563EB · Azul Claro #7DD3FC · Cinza Tech #E5E7EB
   Tipografia: Montserrat (textos) + Plus Jakarta Sans (títulos)
   Teste com tudo em Montserrat: abra o site com ?fonte=montserrat
   ========================================================= */

:root {
  --navy-950: #051629;
  --navy-900: #0A2540; /* Azul NEX — cor predominante */
  --navy-800: #123A63;
  --blue-700: #1D4ED8;
  --blue-600: #2563EB; /* Azul Conexão */
  --blue-500: #3B82F6;
  --blue-300: #7DD3FC; /* Azul Claro */
  --blue-100: #E3EDFD;
  --blue-50:  #F3F7FD;
  --imperial: #002395;
  --grad-blue: linear-gradient(150deg, var(--blue-600) 0%, var(--blue-700) 45%, var(--navy-800) 100%); /* azul padrão dos blocos */ /* Azul imperial — faixa de tecnologias */

  --gray-900: #0F172A;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748B;
  --gray-400: #94A3B8;
  --gray-300: #CBD5E1;
  --gray-200: #E5E7EB; /* Cinza Tech */
  --gray-100: #EDF1F6;
  --gray-50:  #F5F7FA;
  --white:    #FFFFFF;

  --green: #10B981;

  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", "Montserrat", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow:    0 10px 30px -12px rgba(10, 37, 64, .25);
  --shadow-lg: 0 30px 60px -20px rgba(10, 37, 64, .35);

  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-900); line-height: 1.15; letter-spacing: -.02em; }
.font-all-montserrat { --font-display: "Montserrat", system-ui, sans-serif; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-blue { color: var(--blue-600); }
.hl-light { color: var(--blue-300); }
.text-grad { background: linear-gradient(90deg, var(--blue-600), var(--imperial)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.link { color: var(--blue-600); font-weight: 600; }
.link:hover { text-decoration: underline; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px;
  font-weight: 600; font-size: 15px; line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--primary { background: var(--blue-600); color: var(--white); box-shadow: 0 8px 20px -8px rgba(37,99,235, .7); }
.btn--primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(37,99,235, .8); }
.btn--outline { border: 1.5px solid var(--gray-300); color: var(--gray-900); background: var(--white); }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-600); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.25); color: var(--white); }
.btn--ghost:hover { border-color: var(--blue-300); color: var(--blue-300); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Eyebrow / badges ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--blue-100); color: var(--blue-700);
  font-size: 13px; font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.eyebrow--dark { background: rgba(125,211,252,.1); color: var(--blue-300); border: 1px solid rgba(125,211,252,.22); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: ping 2s ease-out infinite; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--gray-100); color: var(--gray-600); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.pill { font-size: 10px; font-weight: 600; background: var(--blue-100); color: var(--blue-700); padding: 4px 10px; border-radius: 999px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s, height .3s;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header.is-scrolled { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--gray-200); height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-900); }
.logo__mark { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.logo__text { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: .02em; line-height: 1; display: flex; flex-direction: column; }
.logo__text small { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .6; margin-top: 3px; }
.logo--light { color: var(--white); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { padding: 8px 14px; border-radius: 8px; color: var(--gray-600); font-size: 14.5px; font-weight: 500; position: relative; transition: color .2s; }
.nav__link:hover, .nav__link.is-active { color: var(--navy-900); }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blue-600); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  padding: calc(var(--header-h) + 56px) 0 0;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(10,37,64,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,37,64,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 75% at 30% 40%, #000 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 30% 40%, #000 15%, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero__content { padding-bottom: 72px; }

.hero__title { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.08; font-weight: 800; color: var(--navy-900); margin-bottom: 20px; letter-spacing: -.03em; }
.hero__text { font-size: 17px; color: var(--gray-500); max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }


.hero__visual { position: relative; height: 500px; display: flex; justify-content: center; align-items: flex-end; }
.hero__shape {
  position: absolute; left: 6%; right: 0; bottom: 0; height: 74%;
  border-radius: 36px 36px 0 0;
  background: var(--grad-blue);
  border: 1px solid rgba(125,211,252,.25); border-bottom: 0;
  overflow: hidden;
}
.hero__shape::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 32px 32px; }
.hero__ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); }
.hero__ring--1 { width: 420px; height: 420px; right: -140px; top: -140px; }
.hero__ring--2 { width: 260px; height: 260px; left: -90px; bottom: -110px; border-color: rgba(255,255,255,.12); }
.hero__photo { position: relative; height: 94%; width: auto; max-width: none; margin-left: 6%; filter: drop-shadow(0 20px 30px rgba(10,37,64,.25)); }

.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.97);
  padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.float-card small { display: block; font-size: 11px; color: var(--gray-500); }
.float-card strong { font-size: 14px; color: var(--gray-900); }
.float-card--a { left: -40px; top: 40%; }
.float-card--b { right: -20px; top: 20%; animation-delay: -2s; }
.float-card--c { right: -10px; bottom: 32px; animation-delay: -4s; }
.fc__ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.fc__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fc__ico--blue { background: var(--blue-100); color: var(--blue-600); }
.fc__ico--green { background: #D1FAE5; color: #059669; }
/* Terminal */
.term { flex-direction: column; align-items: stretch; gap: 3px; min-width: 232px; background: var(--navy-950); border: 1px solid rgba(125,211,252,.25); }
.term__bar { display: flex; gap: 5px; margin-bottom: 6px; }
.term__bar i { width: 8px; height: 8px; border-radius: 50%; background: #FF5F57; }
.term__bar i:nth-child(2) { background: #FEBC2E; } .term__bar i:nth-child(3) { background: #28C840; }
.term code { font: 500 11.5px/1.6 var(--font-mono); color: rgba(255,255,255,.85); white-space: nowrap; opacity: 0; transform: translateY(4px); animation: msgIn .4s var(--ease) forwards; }
.term code:nth-of-type(1) { animation-delay: .8s; } .term code:nth-of-type(2) { animation-delay: 1.8s; } .term code:nth-of-type(3) { animation-delay: 2.6s; }
.term__p { color: var(--blue-300); }
.term .ok { color: #4ADE80; }

/* ---------- Números ---------- */
.stats { position: relative; background: var(--white); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); padding: 56px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 4px 28px; border-left: 1px solid var(--gray-200); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong {
  display: block; margin-bottom: 12px;
  font-family: var(--font-display); font-size: clamp(38px, 4.4vw, 60px); font-weight: 800; line-height: 1; letter-spacing: -.04em;
  color: var(--blue-600);
  font-variant-numeric: tabular-nums;
}
.stat p { font-size: 13.5px; line-height: 1.45; color: var(--gray-500); max-width: 190px; }

/* ---------- Seções ---------- */
.section { padding: 112px 0; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section__head--split { max-width: none; text-align: left; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section__head--split > div { max-width: 640px; }
.section__head--split .section__title { margin-bottom: 0; }
.section__head--split .section__sub { max-width: 420px; }
.section__title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; margin-bottom: 16px; }
.section__sub { font-size: 17px; color: var(--gray-500); }
.section__head--light .section__title { color: var(--white); }
.section__head--light .section__sub { color: rgba(255,255,255,.7); }

/* ---------- Visão ---------- */
.vision { padding: 104px 0; text-align: center; background: var(--gray-100); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.vision__text { max-width: 920px; margin: 0 auto; font-family: var(--font-display); font-size: clamp(24px, 3vw, 38px); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: var(--navy-900); }

/* ---------- Frentes de atuação ---------- */
.areas__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gray-200); }
.area { padding: 48px 44px 8px 0; }
.area + .area { padding-left: 44px; border-left: 1px solid var(--gray-200); }
.area__ico { position: relative; width: 72px; height: 72px; margin-bottom: 26px; border-radius: 20px; display: grid; place-items: center; background: var(--grad-blue); color: var(--white); box-shadow: 0 14px 28px -12px rgba(37,99,235,.7), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.area__ico::after { content: ""; position: absolute; inset: -7px; border-radius: 26px; border: 1px solid var(--blue-100); transition: inset .4s var(--ease), border-color .4s; }
.area__ico svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.area:hover .area__ico { transform: translateY(-4px) rotate(-4deg); box-shadow: 0 20px 34px -12px rgba(37,99,235,.75), inset 0 1px 0 rgba(255,255,255,.25); }
.area:hover .area__ico::after { inset: -10px; border-color: var(--blue-300); }
.area h3 { font-size: 23px; margin-bottom: 10px; }
.area p { font-size: 16px; line-height: 1.6; color: var(--gray-500); max-width: 340px; }

/* ---------- Diferenciais ---------- */
.diff { padding-top: 120px; }
.diff__card {
  position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: end;
  border-radius: var(--radius-lg); padding: 56px 56px 56px 0;
  background: var(--grad-blue);
  box-shadow: var(--shadow-lg);
}
.diff__card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 36px 36px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); pointer-events: none; }
.diff__photo { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.diff__photo img { width: auto; max-height: 560px; margin: -120px 0 -56px; }
.diff__content { position: relative; }
.diff__content h2 { color: var(--white); font-size: clamp(26px, 3vw, 38px); margin-bottom: 32px; }
.diff__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.diff__item { display: flex; gap: 14px; padding: 16px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.diff__ico { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--white); color: var(--blue-600); display: grid; place-items: center; }
.diff .eyebrow--dark { color: var(--white); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.diff .hl-light { color: #BAE6FD; }
.diff__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.diff__item b { display: block; color: var(--white); font-size: 15px; margin-bottom: 2px; }
.diff__item p { font-size: 13.5px; color: rgba(255,255,255,.8); line-height: 1.5; }

/* ---------- Tabs / Soluções ---------- */
.solutions { background: var(--gray-100); }
.tabs { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.tabs__list { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.tab { display: flex; align-items: center; gap: 14px; text-align: left; padding: 22px 24px; position: relative; transition: background .25s; border-right: 1px solid var(--gray-200); }
.tab:last-child { border-right: 0; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--blue-600); transform: scaleX(0); transition: transform .35s var(--ease); }
.tab.is-active { background: var(--white); }
.tab.is-active::after { transform: scaleX(1); }
.tab:hover { background: var(--white); }
.tab strong { display: block; font-size: 16px; color: var(--gray-900); }
.tab small { font-size: 13px; color: var(--gray-500); }
.tab__ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--gray-100); color: var(--gray-500); transition: background .25s, color .25s; }
.tab__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab.is-active .tab__ico { background: var(--blue-600); color: var(--white); }

.tabs__panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 56px; }
.tabs__panel[hidden] { display: none; }
.tabs__panel.is-active { animation: panelIn .5s var(--ease); }
.panel__text h3 { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.panel__text > p { color: var(--gray-500); margin-bottom: 22px; }
.checklist { display: grid; gap: 12px; margin-bottom: 30px; }
.checklist li { position: relative; padding-left: 32px; font-size: 15px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.panel__visual { position: relative; min-height: 360px; display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, var(--blue-100), transparent 70%); border-radius: var(--radius); }

/* Laptop AVA */
.device-laptop { width: 92%; }
.dl__screen { background: var(--navy-900); border-radius: 14px 14px 0 0; padding: 10px; box-shadow: var(--shadow-lg); }
.dl__base { height: 14px; background: linear-gradient(var(--gray-300), var(--gray-400)); border-radius: 0 0 14px 14px; margin: 0 -4%; }
.ava { background: var(--gray-50); border-radius: 6px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ava__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--gray-900); }
.ava__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ava__card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px; padding: 8px; font-size: 10.5px; color: var(--gray-900); display: flex; flex-direction: column; gap: 6px; transition: transform .3s var(--ease); }
.ava__card:hover { transform: translateY(-3px); }
.ava__thumb { height: 50px; border-radius: 6px; }
.t1 { background: linear-gradient(135deg, #2563EB, #60A5FA); }
.t2 { background: linear-gradient(135deg, #0A2540, #3B82F6); }
.t3 { background: linear-gradient(135deg, #64748B, #CBD5E1); }
.prog { height: 5px; border-radius: 3px; background: var(--gray-200); overflow: hidden; }
.prog i { display: block; height: 100%; width: 0; background: var(--blue-600); border-radius: 3px; transition: width 1.4s var(--ease); }
.in-view .is-active .prog i, .in-view .rm__item .prog i { width: var(--p); }
.ava__lesson { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px; padding: 10px; font-size: 11px; color: var(--gray-900); }
.ava__lesson small { display: block; color: var(--gray-500); font-size: 10px; }
.ava__play { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-600); position: relative; flex: none; }
.ava__play::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

.device-phone { position: absolute; right: 2%; bottom: -10px; width: 132px; height: 230px; background: var(--navy-900); border-radius: 22px; padding: 8px; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.dp__notch { width: 40px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.2); margin: 2px auto 8px; }
.dp__screen { background: var(--white); height: calc(100% - 15px); border-radius: 14px; display: grid; place-items: center; padding: 10px; }
.dp__cert { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.dp__cert svg { width: 42px; height: 42px; fill: none; stroke: var(--blue-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dp__cert b { font-size: 11px; color: var(--gray-900); }
.dp__cert small { font-size: 9.5px; color: var(--gray-500); }

/* Kanban CRM */
.kanban { width: 100%; background: var(--white); border: 1px solid var(--gray-200); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.kanban__head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--gray-900); margin-bottom: 14px; }
.kanban__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.kcol { background: var(--gray-50); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; min-height: 120px; }
.kcol small { font-size: 10px; font-weight: 600; color: var(--gray-600); display: flex; justify-content: space-between; gap: 4px; }
.kcol small em { font-style: normal; color: var(--blue-600); }
.kcard { height: 26px; border-radius: 6px; background: var(--white); border: 1px solid var(--gray-200); position: relative; }
.kcard::before { content: ""; position: absolute; left: 8px; top: 9px; width: 55%; height: 6px; border-radius: 3px; background: var(--gray-200); }
.kcard--hl { border-color: var(--blue-500); box-shadow: 0 6px 14px -6px rgba(37,99,235,.5); animation: nudge 3s ease-in-out infinite; }
.kcard--ok { border-color: var(--green); }
.funnel { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.funnel div { width: var(--w); height: 26px; border-radius: 6px; background: linear-gradient(90deg, var(--blue-700), var(--blue-500)); display: grid; place-items: center; }
.funnel div:nth-child(2) { opacity: .88; } .funnel div:nth-child(3) { opacity: .76; } .funnel div:nth-child(4) { opacity: .64; }
.funnel span { font-size: 10.5px; color: var(--white); font-weight: 600; white-space: nowrap; }
.tabs__panel.is-active .funnel div { animation: grow .8s var(--ease) both; }
.tabs__panel.is-active .funnel div:nth-child(2) { animation-delay: .1s; }
.tabs__panel.is-active .funnel div:nth-child(3) { animation-delay: .2s; }
.tabs__panel.is-active .funnel div:nth-child(4) { animation-delay: .3s; }

/* Roadmap consultoria */
.roadmap { width: 100%; max-width: 420px; display: flex; flex-direction: column; }
.rm__item { display: flex; gap: 16px; padding-bottom: 22px; position: relative; }
.rm__item:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--gray-200); }
.rm__item.is-done:not(:last-child)::before { background: var(--blue-600); }
.rm__item > i { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 14px; background: var(--white); border: 2px solid var(--gray-300); color: var(--gray-500); }
.rm__item.is-done > i { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.rm__item.is-now > i { border-color: var(--blue-600); color: var(--blue-600); box-shadow: 0 0 0 6px var(--blue-100); }
.rm__item > div { flex: 1; background: var(--white); border: 1px solid var(--gray-200); border-radius: 10px; padding: 10px 14px; }
.rm__item b { display: block; font-size: 14px; color: var(--gray-900); }
.rm__item small { font-size: 12px; color: var(--gray-500); }
.rm__item .prog { margin-top: 8px; }

/* Benefícios: vitrine com troca automática */
.benefits__head { margin-top: 112px; margin-bottom: 40px; }
.showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.showcase__list { display: flex; flex-direction: column; gap: 10px; }
.sc-item {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--gray-200);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.sc-item:hover { border-color: var(--blue-300); }
.sc-item.is-active { border-color: var(--blue-300); box-shadow: var(--shadow); }
.sc-item__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gray-100); color: var(--gray-500); transition: background .3s, color .3s, transform .3s var(--ease); }
.sc-item.is-active .sc-item__ico { background: var(--blue-600); color: var(--white); transform: scale(1.06); }
.sc-item__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-item__txt b { display: block; color: var(--navy-900); font-size: 15px; }
.sc-item__txt small { font-size: 13px; color: var(--gray-500); }
.sc-item__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.sc-item__bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--blue-600), var(--imperial)); }
.showcase.in-view .sc-item.is-active .sc-item__bar i { animation: fill 5s linear forwards; }
.showcase:hover .sc-item__bar i { animation-play-state: paused; }

.showcase__stage { position: relative; padding: 44px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--gray-200); }
.sc-panel { position: relative; }
.sc-panel.is-active { animation: panelIn .5s var(--ease); }
.sc-panel__n { display: block; margin-bottom: 24px; font: 600 12px/1 var(--font-mono); letter-spacing: .1em; color: var(--gray-400); }
.sc-panel__ico { width: 56px; height: 56px; margin-bottom: 22px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); }
.sc-panel__ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sc-panel h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 12px; }
.sc-panel p { font-size: 16px; color: var(--gray-500); max-width: 470px; margin-bottom: 24px; }
.sc-panel__chips { display: grid; gap: 10px; }
.sc-panel__chips li { position: relative; padding-left: 30px; font-size: 15px; font-weight: 600; color: var(--navy-900); opacity: 0; transform: translateY(6px); }
.sc-panel__chips li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--blue-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.sc-panel.is-active .sc-panel__chips li { animation: msgIn .5s var(--ease) forwards; }
.sc-panel.is-active .sc-panel__chips li:nth-child(1) { animation-delay: .15s; }
.sc-panel.is-active .sc-panel__chips li:nth-child(2) { animation-delay: .3s; }
.sc-panel.is-active .sc-panel__chips li:nth-child(3) { animation-delay: .45s; }


/* ---------- Faixa de tecnologias ---------- */
.marquee { overflow: hidden; }
.marquee__row { overflow: hidden; padding: 20px 0; background: var(--imperial); }
.marquee__row--alt { padding: 14px 0; background: var(--navy-900); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__row--alt .marquee__track { animation-duration: 60s; animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.marquee li { display: flex; align-items: center; gap: 14px; white-space: nowrap; color: var(--white); font: 700 22px/1 var(--font-display); letter-spacing: -.01em; }
.marquee li::before { content: ""; width: 8px; height: 8px; background: var(--blue-300); transform: rotate(45deg); }
.marquee__row--alt li { font: 500 12.5px/1 var(--font-mono); color: var(--blue-300); text-transform: uppercase; letter-spacing: .14em; }
.marquee__row--alt li::before { width: 6px; height: 6px; border-radius: 50%; transform: none; background: rgba(125,211,252,.5); }

/* ---------- Módulos ---------- */
.modules__inner { display: grid; grid-template-columns: .9fr 1.3fr; gap: 40px; align-items: stretch; }
.modules__photo {
  position: relative; border-radius: var(--radius-lg); min-height: 460px;
  background: linear-gradient(160deg, var(--blue-500), var(--blue-700) 60%, var(--navy-900));
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.modules__photo::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); top: -120px; right: -120px; }
.modules__photo img { position: relative; width: 100%; max-width: 440px; height: auto; margin-bottom: -2px; }
.checkcard {
  position: absolute; left: 20px; bottom: 24px; z-index: 2;
  background: var(--white); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 8px; font-size: 13px; min-width: 210px;
  animation: float 7s ease-in-out infinite;
}
.checkcard b { color: var(--gray-900); font-size: 13px; }
.checkcard label { display: flex; align-items: center; gap: 8px; color: var(--gray-600); pointer-events: none; }
.checkcard input { accent-color: var(--blue-600); width: 15px; height: 15px; }
.checkcard input:checked + span { text-decoration: line-through; color: var(--gray-400); }

.modules__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mod {
  position: relative; overflow: hidden; isolation: isolate; text-align: left; display: flex; flex-direction: column; gap: 8px;
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}

.mod:hover, .mod:focus-visible { border-color: var(--blue-300); outline: none; }
.mod__ico { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 6px; transition: background .3s, color .3s; }
.mod__ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mod b { color: var(--gray-900); font-size: 16px; }
.mod p { font-size: 13.5px; color: var(--gray-500); line-height: 1.5; }
.mod__more { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 600; color: var(--blue-600); }

/* ---------- Processo ---------- */
.process { background: var(--gray-50); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.steps::before, .steps::after { content: ""; position: absolute; top: 37px; left: 10%; right: 10%; height: 2px; border-radius: 2px; background: var(--gray-300); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.steps::after { background: linear-gradient(90deg, var(--blue-500), var(--blue-700)); transform: scaleX(var(--p, 0)); transition: transform .7s var(--ease); }
.steps.in-view::before { transform: scaleX(1); }
.step { --d: 0s; position: relative; z-index: 1; text-align: center; opacity: 0; translate: 0 16px; transition: opacity .6s var(--ease) var(--d), translate .6s var(--ease) var(--d); }
.step:nth-child(2) { --d: .15s; } .step:nth-child(3) { --d: .3s; } .step:nth-child(4) { --d: .45s; } .step:nth-child(5) { --d: .6s; }
.steps.in-view .step { opacity: 1; translate: 0 0; }
.step__ico { position: relative; z-index: 1; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--gray-200); color: var(--gray-400); box-shadow: var(--shadow); transition: background .5s var(--ease), color .5s, border-color .5s, transform .5s var(--ease), box-shadow .5s var(--ease); }
.step__ico svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.step.is-done .step__ico { background: var(--blue-50); border-color: var(--blue-300); color: var(--blue-600); }
.step.is-active .step__ico { background: var(--grad-blue); border-color: transparent; color: var(--white); transform: scale(1.1); box-shadow: 0 0 0 8px rgba(37,99,235,.12), 0 16px 30px -10px rgba(37,99,235,.7); }
.step__n, .step h3 { transition: color .5s; }
.step.is-active .step__n, .step.is-active h3 { color: var(--blue-600); }
.step__n { display: block; margin-bottom: 6px; font: 600 12px/1 var(--font-mono); letter-spacing: .1em; color: var(--gray-400); }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { max-width: 200px; margin: 0 auto; font-size: 14px; color: var(--gray-500); }

/* ---------- Atendimento ---------- */
.support { background: var(--white); }
.support__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.support__text .section__sub { margin-bottom: 28px; }
.support__chat { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--navy-900); color: var(--white); }
.chat__head b { display: block; color: var(--white); font-size: 15px; }
.chat__head small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.7); }
.chat__head small i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.chat__av { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-600); display: grid; place-items: center; font-weight: 800; }
.chat__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 20px; min-height: 280px; background: var(--blue-50); }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 16px; font-size: 14px; line-height: 1.5; opacity: 0; transform: translateY(10px); }
.msg--in { background: var(--white); color: var(--gray-700); border-bottom-left-radius: 4px; align-self: flex-start; box-shadow: var(--shadow-sm); }
.msg--out { background: var(--blue-600); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg--typing { background: var(--white); align-self: flex-start; display: flex; gap: 4px; padding: 14px 16px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-400); animation: typing 1.2s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
.in-view .msg { animation: msgIn .5s var(--ease) forwards; }
.in-view .msg:nth-child(2) { animation-delay: .7s; }
.in-view .msg:nth-child(3) { animation-delay: 1.4s; }
.in-view .msg:nth-child(4) { animation-delay: 2.1s; }

/* ---------- Contato ---------- */
.contact { position: relative; overflow: hidden; padding: 112px 0; background: var(--grad-blue); }
.contact .eyebrow--dark { color: var(--white); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); }
.contact__inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact__text { color: rgba(255,255,255,.85); }
.contact__text h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 20px; }
.contact__text p { font-size: 17px; margin-bottom: 12px; max-width: 440px; }
.contact__list { display: grid; gap: 12px; margin-top: 32px; }
.contact__list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--white); }
.contact__list svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }

.form { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 13px; font-weight: 600; color: var(--gray-700); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--gray-900);
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--gray-300); background: var(--gray-50);
  transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: var(--white); box-shadow: 0 0 0 4px var(--blue-100); }
.field.is-invalid input { border-color: #EF4444; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--gray-500); }
.check input { margin-top: 3px; accent-color: var(--blue-600); }
.check.is-invalid { color: #DC2626; }
.form__msg { font-size: 14px; text-align: center; min-height: 20px; }
.form__msg.ok { color: #059669; }
.form__msg.err { color: #DC2626; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.6); padding: 64px 0 28px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__grid h4 { color: var(--white); font-size: 15px; margin-bottom: 14px; }
.footer__grid a:not(.logo) { display: block; padding: 4px 0; transition: color .2s; }
.footer__grid a:not(.logo):hover { color: var(--white); }
.footer__about { margin-top: 14px; max-width: 260px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 13px; }

/* ---------- Botão do WhatsApp ---------- */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-600); color: var(--white); box-shadow: 0 10px 24px -8px rgba(37,99,235,.7); }
.fab svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Reveal ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Animações ---------- */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { width: 0; opacity: 0; } }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes typing { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes msgIn { to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fill { to { width: 100%; } }
@keyframes pop { from { opacity: 0; transform: scale(.6) rotate(-10deg); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .step, .sc-panel__chips li { opacity: 1; transform: none; translate: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero__inner, .contact__inner, .support__inner, .modules__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__content { padding-bottom: 0; }
  .hero__visual { max-width: 560px; width: 100%; margin: 0 auto; height: 540px; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 36px 0; }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .diff__card { grid-template-columns: 1fr; padding: 48px 32px 0; }
  .diff__content { order: -1; }
  .diff__photo img { margin: 0; max-height: 420px; }
  .tabs__panel { grid-template-columns: 1fr; padding: 40px; }
  .showcase { grid-template-columns: 1fr; }
  .showcase__stage { order: -1; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before, .steps::after { display: none; }
  .steps { row-gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section__head--split { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 860px) {
  .burger { display: flex; position: relative; z-index: 2; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw);
    flex-direction: column; align-items: stretch; gap: 4px; padding: 96px 24px 24px;
    background: var(--white); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav__link { padding: 12px 14px; font-size: 16px; }
  .nav__link.is-active { color: var(--blue-600); background: var(--blue-50); }
  .nav__link::after { display: none; }
  .nav__cta { margin: 16px 0 0; }
  .burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .tabs__list { grid-template-columns: 1fr; }
  .tab { border-right: 0; border-bottom: 1px solid var(--gray-200); }
  .modules__grid { grid-template-columns: repeat(2, 1fr); }
  .diff__grid { grid-template-columns: 1fr; }
  .areas__grid { grid-template-columns: 1fr; }
  .area, .area + .area { padding: 28px 0; border-left: 0; }
  .area + .area { border-top: 1px solid var(--gray-200); }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section, .contact { padding: 80px 0; }
  .diff { padding-top: 80px; }
  .hero__actions .btn { width: 100%; }
  .hero__visual { height: 440px; }
  .float-card { padding: 10px 12px; }
  .float-card--a { left: 0; top: 30%; }
  .float-card--b { right: 0; top: 12%; }
  .float-card--c { display: none; }
  .stats { padding: 48px 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat, .stat:nth-child(4) { padding: 0 0 0 18px; border-left: 1px solid var(--gray-200); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat p { font-size: 12.5px; }
  .marquee li { font-size: 18px; }
  .form__row, .steps, .modules__grid { grid-template-columns: 1fr; }
  .float-card--a { left: 0; }
  .vision { padding: 72px 0; }
  .showcase__stage { padding: 28px 22px; }
  .tabs__panel { padding: 28px 20px; }
  .panel__visual { min-height: 300px; }
  .device-phone { width: 100px; height: 176px; }
  .modules__photo { min-height: 380px; }
  .form { padding: 24px 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .fab { right: 16px; bottom: 16px; }
}
