/* ══════════ BASE ══════════ */
:root {
  --mono: 'JetBrains Mono', monospace;
  --azul-profundo: #0B3D91;
  --azul: #1AA7EE;
  --azul-claro: #33B8F0;
  --fundo-escuro: #070D1F;
  --marinho: #0A1633;
  --fundo-claro: #F4F7FB;
  --texto-suave: #A9BEDF;
  --texto-medio: #4A5D7E;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fundo-escuro);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--azul); text-decoration: none; }
a:hover { color: #5BC4F5; }
::selection { background: rgba(26,167,238,.3); }

section, header[id] { scroll-margin-top: 70px; }

.container { max-width: 1180px; margin: 0 auto; }

@keyframes orbitspin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbitspinrev { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
@keyframes nodepulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes corepulse { 0%, 100% { opacity: .35; transform: scale(1); } 50% { opacity: .7; transform: scale(1.12); } }

/* atom orbit animation (gated on reduced motion) */
[data-anim] { transform-origin: 110px 110px; }
@media (prefers-reduced-motion: no-preference) {
  [data-anim="spin"]    { animation: orbitspin 46s linear infinite; }
  [data-anim="spin2"]   { animation: orbitspin 62s linear infinite; }
  [data-anim="spinrev"] { animation: orbitspinrev 54s linear infinite; }
  [data-anim="node"]    { animation: nodepulse 2.8s ease-in-out infinite; }
  [data-anim="node2"]   { animation: nodepulse 3.6s ease-in-out 1.2s infinite; }
  [data-anim="core"]    { animation: corepulse 5s ease-in-out infinite; }
}

/* ══════════ NAV ══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 5vw;
  background: rgba(7,13,31,.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26,167,238,.12);
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand svg { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 15px; letter-spacing: .05em; color: #fff; }
.brand-sub { font-family: var(--mono); font-size: 8.5px; letter-spacing: .18em; color: #6B87B8; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 13.5px; font-weight: 500; color: var(--texto-suave); }
.nav-link:hover { color: #fff; }
.nav-cta {
  font-size: 13px; font-weight: 600; color: #fff;
  padding: 9px 20px; border-radius: 8px;
  background: linear-gradient(120deg, var(--azul-profundo), var(--azul));
  box-shadow: 0 0 0 rgba(26,167,238,0);
  transition: box-shadow .25s, transform .25s;
}
.nav-cta:hover { box-shadow: 0 4px 24px rgba(26,167,238,.45); transform: translateY(-1px); color: #fff; }

@media (max-width: 620px) {
  .nav-links { gap: 16px; }
  .nav-link { display: none; }
}

/* ══════════ SHARED ══════════ */
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--azul); margin-bottom: 14px;
}
.kicker-dark { color: var(--azul-profundo); }

.section-head { max-width: 640px; }
.section-title-light {
  margin: 0 0 16px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.12; color: var(--marinho);
}
.section-title-dark {
  margin: 0; font-size: clamp(28px, 3.4vw, 42px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.12; color: #fff;
}
.section-lead { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--texto-medio); }

.binary {
  position: absolute; inset: 0;
  font-family: var(--mono);
  overflow: hidden; word-break: break-all;
  user-select: none; pointer-events: none;
}

.btn-primary {
  font-size: 15px; font-weight: 600; color: #fff;
  padding: 14px 30px; border-radius: 10px;
  background: linear-gradient(120deg, var(--azul-profundo), var(--azul));
  transition: box-shadow .25s, transform .25s;
}
.btn-primary:hover { box-shadow: 0 6px 32px rgba(26,167,238,.5); transform: translateY(-2px); color: #fff; }
.btn-ghost {
  font-size: 15px; font-weight: 600; color: var(--texto-suave);
  padding: 14px 30px; border-radius: 10px;
  border: 1px solid rgba(169,190,223,.3);
  transition: border-color .25s, color .25s;
}
.btn-ghost:hover { border-color: var(--azul); color: #fff; }

/* ══════════ HERO ══════════ */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(11,61,145,.35), transparent 60%), var(--fundo-escuro);
  padding: 150px 5vw 110px;
  min-height: 82vh;
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: -120px 0; pointer-events: none; will-change: transform; }
.binary-hero {
  font-size: 11px; letter-spacing: .5em; line-height: 2.6;
  color: rgba(26,167,238,.05); padding: 0 2vw;
}
.circuit { position: absolute; inset: 0; }

.hero-inner {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
  max-width: 1180px; margin: 0 auto; width: 100%;
}
.hero-copy { flex: 1 1 480px; min-width: 300px; }
.hero-copy .kicker { margin-bottom: 20px; }
.hero-title {
  margin: 0 0 22px; font-size: clamp(34px, 4.6vw, 58px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.08; color: #fff; text-wrap: balance;
}
.hero-lead {
  margin: 0 0 30px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6;
  color: var(--texto-suave); max-width: 560px;
}

.hero-callout {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid rgba(26,167,238,.25); border-left: 3px solid var(--azul);
  border-radius: 10px; background: rgba(11,61,145,.18);
  max-width: 560px; margin-bottom: 34px;
}
.callout-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--azul);
  margin-top: 7px; flex: none; box-shadow: 0 0 10px rgba(26,167,238,.8);
}
.hero-callout p { margin: 0; font-size: 15px; line-height: 1.55; color: #D7E4F7; }
.hero-callout strong { color: #fff; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-atom {
  flex: 0 1 380px; min-width: 260px;
  display: flex; justify-content: center;
  will-change: transform;
}
.hero-atom svg {
  max-width: 100%; height: auto;
  filter: drop-shadow(0 0 34px rgba(26,167,238,.28));
}

/* ══════════ MODELOS DE ATUAÇÃO ══════════ */
.modelos { position: relative; background: var(--marinho); padding: 96px 5vw 110px; overflow: hidden; }
.modelos .container { position: relative; }
.modelos .section-head { margin-bottom: 52px; }
.section-lead-dark { color: var(--texto-suave); }
.modelos .section-title-dark { margin-bottom: 16px; }

.modelos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.modelo-tag {
  display: inline-block;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--azul); padding: 5px 10px; border-radius: 6px;
  border: 1px solid rgba(26,167,238,.3); background: rgba(26,167,238,.08);
  margin-bottom: 16px;
}
.modelo-link {
  display: inline-block; margin-top: 14px;
  font-family: var(--mono); font-size: 12.5px; color: var(--azul);
}
.modelo-link:hover { color: #5BC4F5; }

/* ══════════ PROCESSO ══════════ */
.processo { position: relative; background: var(--fundo-claro); padding: 96px 5vw 110px; }

.progress-track {
  margin: 48px 0 0; height: 3px; border-radius: 2px;
  background: #DCE5F1; overflow: hidden;
}
.progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--azul-profundo), var(--azul));
  box-shadow: 0 0 12px rgba(26,167,238,.6);
  transition: width .2s linear;
}

/* timeline: flex-wrap = horizontal desktop / vertical mobile */
.phases { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.phase {
  flex: 1 1 250px; min-width: 236px;
  padding: 22px 20px 24px; border-radius: 12px;
  background: #fff; border: 1px solid #E2E9F3; border-top: 3px solid #C9D6E8;
  transition: border-color .5s, box-shadow .5s, transform .5s;
}
.phase-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.phase-node {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  background: #EDF2F9; color: #8FA3C2;
  transition: background .5s, color .5s, box-shadow .5s;
  flex: none;
}
.phase-line { flex: 1; height: 2px; background: #E2E9F3; transition: background .5s; }
.phase-title {
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  color: #8FA3C2; margin-bottom: 8px; transition: color .5s;
}
.phase-desc { margin: 0; font-size: 13.5px; line-height: 1.55; color: #64789A; }

.phase.lit { border-top-color: var(--azul); box-shadow: 0 6px 28px rgba(26,167,238,.16); }
.phase.lit .phase-node {
  background: linear-gradient(135deg, var(--azul-profundo), var(--azul));
  color: #fff; box-shadow: 0 0 14px rgba(26,167,238,.55);
}
.phase.lit .phase-line { background: linear-gradient(90deg, var(--azul), rgba(26,167,238,.15)); }
.phase.lit .phase-title { color: var(--marinho); }

.footnote-mono { margin: 34px 0 0; font-family: var(--mono); font-size: 12.5px; color: #64789A; }

/* ══════════ IA APLICADA ══════════ */
.ia {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 25% 30%, rgba(11,61,145,.35), transparent 60%), var(--fundo-escuro);
  padding: 96px 5vw 110px;
}
.ia-bg { position: absolute; inset: -80px 0; pointer-events: none; will-change: transform; }
.ia-inner {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
}
.ia-copy { flex: 1 1 480px; min-width: 300px; }
.ia-copy .section-title-dark { margin-bottom: 16px; }
.ia-lead { margin: 0 0 30px; font-size: 16.5px; line-height: 1.6; color: var(--texto-suave); max-width: 560px; }

.ia-points { display: flex; flex-direction: column; gap: 16px; }
.ia-point {
  padding: 16px 18px;
  border: 1px solid rgba(26,167,238,.16); border-left: 3px solid var(--azul);
  border-radius: 10px; background: rgba(11,61,145,.16);
  max-width: 560px;
}
.ia-point-title { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; color: #fff; margin-bottom: 6px; }
.ia-point-desc { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--texto-suave); }

.ia-terminal {
  flex: 0 1 440px; min-width: 300px;
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(26,167,238,.25);
  background: #04070F;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 40px rgba(26,167,238,.08);
}
.ia-terminal-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: rgba(11,61,145,.2);
  border-bottom: 1px solid rgba(26,167,238,.15);
}
.ia-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(169,190,223,.25); }
.ia-terminal-bar .ia-dot:first-child { background: rgba(26,167,238,.6); }
.ia-terminal-title { margin-left: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: #6B87B8; }
.ia-terminal-body { padding: 20px 18px 22px; display: flex; flex-direction: column; gap: 10px; }
.ia-line { font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: #D7E4F7; }
.ia-prompt { color: var(--azul); margin-right: 6px; }
.ia-ok { color: #4ADE80; margin-left: 6px; }
.ia-line-cmd { color: #fff; }
.ia-out { color: var(--texto-suave); padding-left: 18px; }
.ia-cursor {
  display: inline-block; width: 8px; height: 14px; vertical-align: text-bottom;
  background: var(--azul);
}
@media (prefers-reduced-motion: no-preference) {
  .ia-cursor { animation: nodepulse 1.1s steps(2) infinite; }
}

/* ══════════ CLIENTES ══════════ */
.clientes { background: var(--fundo-claro); padding: 96px 0 110px; overflow: hidden; }
.clientes .container { padding: 0 5vw; }
.clientes .section-head { margin-bottom: 44px; }

.clients-viewport { overflow: hidden; }
.clients-row {
  display: flex; gap: 16px;
  width: max-content;
  margin: 0 auto 16px;
  will-change: transform;
}
.clients-row:last-child { margin-bottom: 0; }

.client-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px;
  border-radius: 12px;
  background: #fff; border: 1px solid #E2E9F3;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.client-card:hover {
  border-color: rgba(26,167,238,.45);
  box-shadow: 0 8px 30px rgba(11,61,145,.12);
  transform: translateY(-3px);
}
.client-logo {
  height: 34px; width: auto; max-width: 120px; object-fit: contain;
  filter: grayscale(1) opacity(.72);
  transition: filter .3s;
  flex: none;
}
.client-logo-wide { height: 26px; }
.client-card:hover .client-logo { filter: grayscale(0) opacity(1); }
.client-logo-fallback {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: #fff;
  background: linear-gradient(135deg, var(--azul-profundo), var(--azul));
  opacity: .8;
}
.client-card:hover .client-logo-fallback { opacity: 1; }
.client-name { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--marinho); white-space: nowrap; }
.client-area {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: #8FA3C2; margin-top: 3px; white-space: nowrap;
}

/* ══════════ DIFERENCIAIS ══════════ */
.diferenciais { position: relative; background: var(--marinho); padding: 96px 5vw 110px; overflow: hidden; }
.binary-difs { font-size: 10px; letter-spacing: .6em; line-height: 3; color: rgba(26,167,238,.04); }
.diferenciais .container { position: relative; }
.section-head-difs { max-width: 620px; margin-bottom: 52px; }

.difs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.dif-card {
  padding: 28px 24px; border-radius: 14px;
  background: rgba(11,61,145,.16); border: 1px solid rgba(26,167,238,.16);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.dif-card:hover {
  border-color: rgba(26,167,238,.55);
  box-shadow: 0 8px 40px rgba(26,167,238,.18);
  transform: translateY(-4px);
}
.dif-icon { margin-bottom: 18px; filter: drop-shadow(0 0 8px rgba(26,167,238,.5)); }
.dif-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: #fff; margin-bottom: 10px; }
.dif-desc { margin: 0; font-size: 14px; line-height: 1.6; color: var(--texto-suave); }

/* ══════════ SOBRE / FUNDADORES ══════════ */
.sobre { background: var(--fundo-claro); padding: 96px 5vw 110px; }
.sobre .section-head { margin-bottom: 52px; }

.founders { display: flex; flex-wrap: wrap; gap: 20px; }
.founder-card {
  flex: 1 1 380px; min-width: 300px;
  display: flex; gap: 20px;
  padding: 28px; border-radius: 14px;
  background: #fff; border: 1px solid #E2E9F3;
  transition: box-shadow .3s, transform .3s;
}
.founder-card:hover { box-shadow: 0 10px 40px rgba(11,61,145,.12); transform: translateY(-3px); }
.founder-avatar {
  width: 64px; height: 64px; border-radius: 16px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 22px; color: #fff;
  background: linear-gradient(135deg, var(--azul-profundo), var(--azul));
  box-shadow: 0 4px 18px rgba(26,167,238,.35);
}
.founder-name { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--marinho); }
.founder-role {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--azul); margin: 4px 0 12px;
}
.founder-bio { margin: 0; font-size: 14px; line-height: 1.6; color: var(--texto-medio); }

/* ══════════ CONTATO ══════════ */
.contato {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(11,61,145,.45), transparent 65%), var(--fundo-escuro);
  padding: 110px 5vw 120px;
  text-align: center;
}
.contato-inner { position: relative; max-width: 680px; margin: 0 auto; }
.contato-inner .kicker { margin-bottom: 18px; }
.contato-title {
  margin: 0 0 18px; font-size: clamp(30px, 3.8vw, 48px); font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.1; color: #fff; text-wrap: balance;
}
.contato-lead { margin: 0 0 38px; font-size: 17px; line-height: 1.6; color: var(--texto-suave); }
.contato-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.btn-lg { font-size: 16px; padding: 16px 36px; }
.btn-lg:hover { box-shadow: 0 6px 36px rgba(26,167,238,.55); }
.btn-mono {
  font-family: var(--mono); font-size: 13.5px; color: var(--texto-suave);
  padding: 16px 24px; border-radius: 10px;
  border: 1px solid rgba(169,190,223,.25);
  transition: border-color .25s, color .25s;
}
.btn-mono:hover { border-color: var(--azul); color: #fff; }

/* ══════════ FOOTER ══════════ */
.footer {
  background: #04070F; padding: 28px 5vw;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(26,167,238,.1);
}
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--texto-medio); }
.footer-logo { font-weight: 700; letter-spacing: .06em; color: #8FA3C2; }
.footer-tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: #33456B; }
