/* ============================================================
   EG Intelligence — hotsite
   Baseado no protótipo "Site EG Brains" (Claude Design),
   com paleta ajustada ao logotipo EG Intelligence.
   ============================================================ */

@font-face { font-family: 'Roboto'; font-weight: 400; font-style: normal; font-display: swap; src: url('../assets/fonts/Roboto-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-weight: 500; font-style: normal; font-display: swap; src: url('../assets/fonts/Roboto-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-weight: 600; font-style: normal; font-display: swap; src: url('../assets/fonts/Roboto-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Roboto'; font-weight: 700; font-style: normal; font-display: swap; src: url('../assets/fonts/Roboto-Bold.woff2') format('woff2'); }
@font-face { font-family: 'Roboto Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url('../assets/fonts/Roboto_Condensed-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Roboto Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url('../assets/fonts/Roboto_Condensed-Bold.woff2') format('woff2'); }

:root {
  /* Marca EG Intelligence (extraída do logotipo) */
  --navy: #162942;
  --blue: #1776B2;
  --blue-deep: #175B8D;
  --blue-hover: #125E8E;
  --blue-light: #6FB6E6;
  --blue-pale: #B5DBF4;
  --lime: #B6CA44;
  --lime-bright: #CFDC4A;

  /* Superfícies */
  --bg: #0B1729;
  --bg-raised: #0F1F37;
  --line: rgba(181, 219, 244, .10);
  --line-strong: rgba(181, 219, 244, .26);
  --surface: rgba(111, 182, 230, .05);

  /* Texto */
  --text: #FFFFFF;
  --text-soft: #E8EEF6;
  --text-nav: #C6D2E1;
  --text-body: #AAB9CC;
  --text-muted: #9AABC0;
  --text-kicker: #8EA2BC;
  --text-dim: #7C90AA;
  --text-faint: #647892;

  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-cond: 'Roboto Condensed', 'Arial Narrow', var(--font);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text-body); font-family: var(--font); line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ol, dl, dd { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: var(--blue-light); text-decoration: none; }
a:hover { color: var(--blue-pale); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 20px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; }
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- Fundo ---------- */
.bg-canvas, .bg-glow, .bg-grid { position: fixed; inset: 0; pointer-events: none; }
.bg-canvas { width: 100%; height: 100%; z-index: 0; }
.bg-glow {
  z-index: 1;
  background:
    radial-gradient(1200px 700px at 78% 8%, rgba(23, 118, 178, .34), transparent 60%),
    radial-gradient(900px 600px at 8% 62%, rgba(182, 202, 68, .10), transparent 62%),
    radial-gradient(800px 520px at 55% 100%, rgba(23, 91, 141, .28), transparent 62%);
}
.bg-grid {
  z-index: 1; opacity: .35;
  background-image: linear-gradient(rgba(111, 182, 230, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 182, 230, .06) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 85%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000, transparent 85%);
}
main, .site-footer, .marquee { position: relative; z-index: 10; }

/* ---------- Layout ---------- */
.container { max-width: 1560px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
#tracer, #prospect { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }
.section-tight { padding-top: 0; }
.section-head { display: flex; flex-direction: column; gap: 22px; max-width: 900px; margin-bottom: clamp(48px, 6vw, 76px); }
.section-head-center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; gap: 24px; }
.section-head-center .h-lg { max-width: 20ch; }
.section-head-center .lead { max-width: 62ch; }

/* ---------- Tipografia ---------- */
.kicker { font: 600 13px/1 var(--font-cond); text-transform: uppercase; letter-spacing: .24em; color: var(--lime); }
.kicker-muted { color: var(--text-kicker); }
.kicker-dim { font-size: 12px; letter-spacing: .2em; color: var(--text-faint); }
.h-xl { font: 700 clamp(36px, 4.2vw, 68px)/1.06 var(--font); letter-spacing: -.028em; color: var(--text); text-wrap: balance; }
.h-lg { font: 700 clamp(32px, 3.4vw, 54px)/1.08 var(--font); letter-spacing: -.026em; color: var(--text); text-wrap: balance; }
.lead { font: 400 clamp(18px, 1.4vw, 21px)/1.55 var(--font); color: var(--text-body); text-wrap: pretty; }
.text-gradient {
  background: linear-gradient(95deg, var(--blue-light) 0%, #58B0C9 45%, var(--lime-bright) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.audience { font: 600 13px/1.3 var(--font-cond); text-transform: uppercase; letter-spacing: .18em; color: var(--text-dim); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 30px; border-radius: 999px;
  font: 600 16px/1 var(--font); letter-spacing: .01em; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn-sm { height: 44px; padding: 0 26px; font-size: 15px; }
.btn-lg { height: 60px; padding: 0 38px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 40px rgba(23, 118, 178, .35); }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-sm.btn-primary { box-shadow: none; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text-soft); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(111, 182, 230, .05); color: var(--text-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: 18px; }
.btn-row-center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 18px var(--gutter);
  background: rgba(11, 23, 41, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(111, 182, 230, .07);
}
.brand img { height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.site-nav a:not(.btn) { font: 500 15px/1 var(--font); color: var(--text-nav); white-space: nowrap; }
.site-nav a:not(.btn):hover { color: #fff; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(72px, 9vw, 120px); padding-bottom: 90px; }
.eyebrow-live { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--lime); box-shadow: 0 0 16px var(--lime); animation: egpulse 2.6s ease-in-out infinite; }
.hero-title { font: 700 clamp(44px, 7.4vw, 116px)/.98 var(--font); letter-spacing: -.035em; color: var(--text); max-width: 16ch; text-wrap: balance; }
.hero-lead { margin-top: 38px; font: 400 clamp(18px, 1.5vw, 26px)/1.5 var(--font); color: var(--text-body); max-width: 60ch; text-wrap: pretty; }
.hero .btn-row { margin-top: 52px; }
.stats { display: flex; flex-wrap: wrap; gap: 32px 56px; margin-top: clamp(56px, 7vw, 96px); padding-top: 36px; border-top: 1px solid var(--line); }
.stats > div { display: flex; flex-direction: column; gap: 8px; }
.stats dd { order: -1; font: 700 44px/1 var(--font); color: #fff; letter-spacing: -.02em; }
.stats dt { font: 600 13px/1.3 var(--font-cond); text-transform: uppercase; letter-spacing: .18em; color: var(--text-kicker); }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 64px; display: flex; flex-direction: column; align-items: center; gap: 10px; font: 600 11px/1 var(--font-cond); text-transform: uppercase; letter-spacing: .24em; color: var(--text-faint); }
.scroll-cue-line { width: 1px; height: 36px; background: linear-gradient(var(--blue-light), transparent); animation: egcue 1.8s ease-in-out infinite; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid rgba(111, 182, 230, .07); border-bottom: 1px solid rgba(111, 182, 230, .07); background: rgba(255, 255, 255, .02); padding: 20px 0; }
.marquee-track { display: flex; width: max-content; animation: egmarquee 34s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.marquee span { font: 600 14px/1 var(--font-cond); text-transform: uppercase; letter-spacing: .22em; color: var(--text-dim); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--blue-light); }

/* ---------- Cards de produto ---------- */
.product-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 28px; }
.product-card {
  display: flex; flex-direction: column; gap: 26px;
  padding: 44px 40px 40px; border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(var(--c-rgb), .12), rgba(255, 255, 255, .02));
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.product-card:hover { transform: translateY(-8px); border-color: rgba(var(--c-rgb), .6); }
.product-card img { height: 78px; width: auto; align-self: flex-start; }
.product-card h3 { font: 700 34px/1.1 var(--font); color: var(--c); letter-spacing: -.01em; }
.product-card p { font: 400 19px/1.5 var(--font); color: #AEB8BD; text-wrap: pretty; }
.card-link { margin-top: auto; padding-top: 12px; font: 600 14px/1 var(--font-cond); text-transform: uppercase; letter-spacing: .18em; color: var(--c); }

/* ---------- Seções de produto ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 6vw, 80px); align-items: center; }
.split-reverse { grid-template-columns: 1.05fr 1fr; }
.split-copy { display: flex; flex-direction: column; gap: 26px; }
.split-copy .h-lg { margin-top: 8px; }
.index-mark { display: flex; align-items: center; gap: 16px; }
.index-mark span { font: 700 15px/1 var(--font-cond); letter-spacing: .2em; color: var(--c); }
.index-mark i { width: 56px; height: 2px; background: var(--c-dark); }
.index-mark-center { justify-content: center; }
.product-logo { width: min(420px, 80%); }
.product-logo-wide { width: min(460px, 85%); }

.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 14px; }
.mini-card { padding: 26px 24px; border-radius: 16px; background: rgba(111, 182, 230, .04); border: 1px solid rgba(111, 182, 230, .08); }
.mini-card h3 { font: 700 22px/1.2 var(--font); color: #fff; margin-bottom: 10px; }
.mini-card p { font: 400 17px/1.5 var(--font); color: var(--text-muted); text-wrap: pretty; }

.feature-list { counter-reset: feat; margin-top: 14px; }
.feature-list li { counter-increment: feat; position: relative; padding: 22px 0 22px 58px; border-top: 1px solid rgba(181, 219, 244, .12); }
.feature-list li:last-child { border-bottom: 1px solid rgba(181, 219, 244, .12); }
.feature-list li::before { content: counter(feat, decimal-leading-zero); position: absolute; left: 0; top: 22px; font: 700 17px/1.4 var(--font-cond); color: var(--c); }
.feature-list h3 { font: 700 21px/1.3 var(--font); color: #fff; }
.feature-list p { font: 400 17px/1.5 var(--font); color: var(--text-muted); margin-top: 6px; text-wrap: pretty; }

/* Painel visual do produto (placeholder até termos screenshots) */
.shot {
  position: relative; aspect-ratio: var(--ratio, 4/3);
  display: grid; place-items: center; overflow: hidden;
  border-radius: 24px; border: 1px solid rgba(var(--c-rgb), .28);
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--c-rgb), .22), transparent 62%),
    linear-gradient(rgba(111, 182, 230, .05) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(111, 182, 230, .05) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg-raised);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .55);
}
.shot::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(11, 23, 41, .55), transparent 45%); }
.shot-mark { width: clamp(120px, 26%, 220px); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); }
.shot-scan { position: absolute; left: 0; right: 0; top: 0; height: 12%; pointer-events: none; background: linear-gradient(rgba(var(--c-rgb), .35), transparent); animation: egscan 5.5s linear infinite; }
.shot-scan-slow { animation-duration: 6.5s; }

/* Broker */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 22px; margin-bottom: 60px; }
.step { padding: 36px 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.step-n { display: block; font: 700 13px/1 var(--font-cond); text-transform: uppercase; letter-spacing: .2em; color: var(--c); margin-bottom: 18px; }
.step h3 { font: 700 24px/1.2 var(--font); color: #fff; margin-bottom: 12px; }
.step p { font: 400 17px/1.5 var(--font); color: var(--text-muted); text-wrap: pretty; }
.step-final { background: linear-gradient(160deg, #4C477F, #332F5C); border-color: rgba(139, 133, 214, .5); box-shadow: 0 24px 60px rgba(76, 71, 127, .35); }
.step-final .step-n { color: #C9C5F0; }
.step-final p { color: #DCD9F2; }

/* ---------- Alumicoins ---------- */
.coins { display: grid; grid-template-columns: 1fr 1fr; border-radius: 28px; overflow: hidden; border: 1px solid rgba(181, 219, 244, .12); background: linear-gradient(140deg, rgba(23, 118, 178, .18), rgba(11, 23, 41, .6)); }
.coins-copy { padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 26px; }
.coin-facts { display: flex; flex-direction: column; gap: 18px; margin-top: 14px; }
.coin-facts > div { display: flex; align-items: baseline; gap: 18px; }
.coin-facts dt { font: 700 30px/1 var(--font); color: var(--blue-light); min-width: 120px; }
.coin-facts dd { font: 400 18px/1.4 var(--font); color: var(--text-muted); }
.coins-visual { position: relative; display: flex; align-items: center; justify-content: center; padding: clamp(48px, 6vw, 80px); background: radial-gradient(circle at 50% 45%, rgba(23, 118, 178, .35), transparent 65%); }
.ring { position: absolute; border-radius: 999px; }
.ring-outer { width: 420px; height: 420px; max-width: 90%; aspect-ratio: 1; height: auto; border: 1px solid rgba(111, 182, 230, .18); }
.ring-inner { width: 300px; height: 300px; max-width: 66%; aspect-ratio: 1; height: auto; border: 1px solid rgba(111, 182, 230, .28); animation: egpulse 4s ease-in-out infinite; }
.coins-visual img { position: relative; width: min(320px, 80%); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5)); }

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; margin-bottom: 28px; }
.plan { display: flex; flex-direction: column; gap: 20px; padding: 44px 38px; border-radius: 22px; border: 1px solid rgba(var(--c-rgb), .35); background: rgba(255, 255, 255, .03); }
.plan h3 { font: 700 28px/1.1 var(--font); color: var(--c); }
.plan-price { display: flex; align-items: baseline; gap: 10px; }
.plan-price strong { font: 700 clamp(40px, 3.6vw, 52px)/1 var(--font); color: #fff; letter-spacing: -.03em; }
.plan-price span { font: 400 18px/1 var(--font); color: var(--text-kicker); }
.plan-note { font: 500 17px/1.4 var(--font); color: var(--blue-light); }
.plan hr { width: 100%; height: 1px; margin: 0; border: 0; background: rgba(181, 219, 244, .12); }
.plan-features { font: 400 17px/1.6 var(--font); color: var(--text-muted); text-wrap: pretty; }
.plan .btn { margin-top: auto; }
.plans-foot { display: flex; flex-wrap: wrap; gap: 16px 40px; padding: 32px 38px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(111, 182, 230, .08); }
.plans-foot p { font: 400 17px/1.5 var(--font); color: var(--text-muted); }
.plans-foot strong { color: #fff; font-weight: 600; }

/* ---------- CTA ---------- */
#contato { padding-bottom: 120px; }
.cta {
  position: relative; overflow: hidden; border-radius: 28px;
  padding: clamp(64px, 8vw, 100px) clamp(24px, 5vw, 64px);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px;
  background: linear-gradient(150deg, rgba(23, 118, 178, .30), rgba(182, 202, 68, .10), rgba(11, 23, 41, .85));
  border: 1px solid rgba(181, 219, 244, .14);
}
.cta-logo { width: min(560px, 86%); }
.cta > p { font: 400 clamp(19px, 1.6vw, 22px)/1.5 var(--font); color: var(--text-nav); max-width: 56ch; text-wrap: pretty; }
.cta .btn-row { margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(111, 182, 230, .08); padding: 44px var(--gutter); display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; font: 400 14px/1.4 var(--font); color: var(--text-faint); }

/* ---------- Animações ---------- */
@keyframes egfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes egscan { 0% { transform: translateY(-100%); } 100% { transform: translateY(900%); } }
@keyframes egmarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes egpulse { 0%, 100% { opacity: .25; } 50% { opacity: .7; } }
@keyframes egcue { 0% { transform: translateY(0); opacity: .9; } 100% { transform: translateY(14px); opacity: 0; } }

.float { animation: egfloat 7s ease-in-out infinite; }
.float-d1 { animation-delay: .6s; }
.float-d2 { animation-delay: 1.2s; }
.float-slow { animation: egfloat 6s ease-in-out infinite; }

/* Revelação ao rolar — só ativa quando o JS está presente */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border-radius: 999px;
    border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text-soft); transition: transform .2s var(--ease), background-color .2s var(--ease); }
  .nav-toggle-bar { position: relative; }
  .nav-toggle-bar::before, .nav-toggle-bar::after { content: ''; position: absolute; left: 0; }
  .nav-toggle-bar::before { top: -6px; }
  .nav-toggle-bar::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--bg);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .6);
    border-bottom: 1px solid rgba(111, 182, 230, .07);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 18px 0; font-size: 17px; border-bottom: 1px solid rgba(111, 182, 230, .06); }
  .site-nav .btn { margin-top: 20px; height: 52px; }
}

@media (max-width: 960px) {
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .shot { order: 2; }
  .coins { grid-template-columns: 1fr; }
  .coins-visual { min-height: 380px; }
  .scroll-cue { display: none; }
}

@media (max-width: 640px) {
  .brand img { height: 24px; }
  .hero { min-height: auto; }
  .btn-row .btn { flex: 1 1 100%; }
  .stats { gap: 28px; }
  .stats > div { flex: 1 1 40%; }
  .stats dd { font-size: 36px; }
  .mini-cards { grid-template-columns: 1fr; }
  .product-card { padding: 36px 28px 32px; }
  .product-card h3 { font-size: 30px; }
  .plan { padding: 36px 28px; }
  .plans-foot { padding: 28px; }
  .coin-facts > div { flex-direction: column; gap: 6px; }
  .coin-facts dt { min-width: 0; }
  .shot { --ratio: 4/3 !important; }
}
