:root{
  --bg: #FAFAF8;
  --bg-alt: #F2F2F0;
  --surface: #FFFFFF;
  --ink: #0A0A0B;
  --ink-soft: #4B4B52;
  --muted: #8A8A92;
  --line: #E7E7E4;
  --accent: #5046E5;
  --accent-soft: #EDEBFD;
  --accent-glow: rgba(80, 70, 229, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --ff-head: 'Space Grotesk', 'Inter', sans-serif;
  --ff-body: 'Inter', sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--ink);
  font-family:var(--ff-body);
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
img{max-width:100%; display:block;}

::selection{ background:var(--accent); color:#fff; }

.text-accent{ color:var(--accent); }

/* ---------- cursor glow ---------- */
.cursor-glow{
  position:fixed; top:0; left:0; width:480px; height:480px;
  border-radius:50%;
  background:radial-gradient(circle, var(--accent-glow), transparent 70%);
  transform:translate(-50%,-50%);
  pointer-events:none; z-index:0; opacity:0;
  transition:opacity .4s ease;
  filter:blur(10px);
}

/* ---------- reveal animations ---------- */
.fade-up{ opacity:0; transform:translateY(28px); transition:opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.fade-up.in{ opacity:1; transform:translateY(0); }

/* ---------- nav ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:18px 0;
  transition:background .4s ease, box-shadow .4s ease, padding .4s ease;
}
.nav.scrolled{
  background:rgba(250,250,248,0.75);
  backdrop-filter:blur(14px);
  box-shadow:0 1px 0 var(--line);
  padding:12px 0;
}
.nav-inner{
  max-width:1200px; margin:0 auto; padding:0 32px;
  display:flex; align-items:center; justify-content:space-between;
}
.logo{ font-family:var(--ff-head); font-weight:700; font-size:18px; letter-spacing:.02em; display:inline-flex; align-items:center; }
.logo span{ color:var(--accent); }
.logo-img{ height:26px; width:auto; display:block; }
.nav-links{ display:flex; align-items:center; gap:36px; font-size:14px; font-weight:500; }
.nav-links a{ color:var(--ink-soft); transition:color .25s; position:relative; }
.nav-links a:hover{ color:var(--ink); }
.nav-cta{
  background:var(--ink); color:#fff !important; padding:9px 18px; border-radius:99px;
  transition:transform .25s var(--ease), background .25s;
}
.nav-cta:hover{ background:var(--accent); transform:translateY(-2px); }
.nav-toggle{ display:none; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:600; font-size:15px; padding:14px 26px; border-radius:99px;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
}
.btn-primary{ background:var(--ink); color:#fff; }
.btn-primary:hover{ background:var(--accent); transform:translateY(-3px); box-shadow:0 14px 30px var(--accent-glow); }
.btn-ghost{ background:transparent; color:var(--ink); border:1px solid var(--line); }
.btn-ghost:hover{ border-color:var(--ink); transform:translateY(-3px); }
.btn-lg{ padding:18px 34px; font-size:16px; }

/* ---------- eyebrow / section heads ---------- */
.eyebrow{
  font-family:var(--ff-head); font-size:13px; letter-spacing:.18em; font-weight:600;
  color:var(--accent); margin-bottom:18px; text-transform:uppercase;
}
.section-head{ max-width:760px; margin:0 auto 80px; text-align:center; padding:0 32px; }
.section-title{
  font-family:var(--ff-head); font-weight:600; font-size:clamp(32px,5vw,52px);
  letter-spacing:-.02em; line-height:1.1;
}
.section-sub{ margin-top:18px; color:var(--ink-soft); font-size:18px; }

/* ---------- hero ---------- */
.hero{
  position:relative; min-height:100vh; display:flex; flex-direction:column;
  justify-content:center; align-items:center; text-align:center;
  padding:160px 32px 80px; overflow:hidden;
}
.hero-bg-grid{
  position:absolute; inset:0; z-index:-1;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 60% 50% at 50% 30%, black, transparent);
  opacity:.6;
}
.hero-content{ max-width:880px; }
.hero-title{
  font-family:var(--ff-head); font-weight:600;
  font-size:clamp(40px,7vw,84px); line-height:1.04; letter-spacing:-.03em;
}
.hero-sub{
  margin:28px auto 0; max-width:560px; font-size:19px; color:var(--ink-soft);
}
.hero-actions{ margin-top:40px; display:flex; gap:16px; justify-content:center; }

.hero-mockup{
  position:relative; margin-top:70px; width:min(880px, 92vw);
  perspective:1200px;
}
.mockup-window{
  background:var(--surface); border-radius:var(--radius-lg);
  border:1px solid var(--line);
  box-shadow:0 40px 80px -30px rgba(10,10,11,.18), 0 0 0 1px rgba(10,10,11,.02);
  overflow:hidden;
  transform:rotateX(4deg);
  transition:transform .6s var(--ease);
}
.hero-mockup:hover .mockup-window{ transform:rotateX(0deg) translateY(-6px); }
.mockup-bar{ display:flex; gap:8px; padding:16px 20px; border-bottom:1px solid var(--line); }
.mockup-bar .dot{ width:9px; height:9px; border-radius:50%; background:var(--line); }
.mockup-body{ display:flex; min-height:340px; }
.mockup-sidebar{ width:64px; border-right:1px solid var(--line); padding:20px 14px; display:flex; flex-direction:column; gap:18px; align-items:center; }
.m-logo{ width:24px; height:24px; border-radius:7px; background:var(--accent); margin-bottom:8px; }
.m-item{ width:24px; height:24px; border-radius:7px; background:var(--bg-alt); }
.m-item.active{ background:var(--accent-soft); box-shadow:inset 0 0 0 1.5px var(--accent); }
.mockup-main{ flex:1; padding:28px; display:flex; flex-direction:column; gap:20px; }
.m-row{ display:flex; gap:14px; }
.m-kpi{ flex:1; background:var(--bg-alt); border-radius:14px; padding:16px; display:flex; flex-direction:column; gap:10px; }
.m-kpi-label{ width:60%; height:7px; background:var(--line); border-radius:4px; }
.m-kpi-value{ width:40%; height:14px; background:var(--ink); opacity:.85; border-radius:4px; }
.m-chart{ flex:1; background:var(--bg-alt); border-radius:14px; padding:14px; min-height:120px; }
.m-chart svg{ width:100%; height:100%; }
.m-chart-line{ fill:none; stroke:var(--accent); stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.m-chart-fill{ fill:var(--accent); opacity:.08; }
.m-row-cards .m-card{ flex:1; height:60px; background:var(--bg-alt); border-radius:14px; }

.mockup-float{
  position:absolute; background:var(--surface); border:1px solid var(--line);
  border-radius:99px; padding:10px 18px; font-weight:600; font-size:14px;
  box-shadow:0 18px 40px -16px rgba(10,10,11,.2);
  animation:float 5s ease-in-out infinite;
}
.card-1{ top:-6%; right:-4%; color:#1ea35a; }
.card-2{ bottom:8%; left:-6%; animation-delay:1.2s; }
.card-2::before{ content:''; display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--accent); margin-right:6px; }
@keyframes float{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-12px); } }

.scroll-hint{
  position:absolute; bottom:36px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:10px;
  font-size:11px; letter-spacing:.14em; color:var(--muted); text-transform:uppercase;
}
.scroll-line{ width:1px; height:34px; background:linear-gradient(var(--muted), transparent); animation:scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine{ 0%{ opacity:0; } 50%{ opacity:1; } 100%{ opacity:0; } }

/* ---------- manifesto ---------- */
.manifesto{ padding:140px 32px; text-align:center; }
.manifesto-text{
  max-width:880px; margin:0 auto; font-family:var(--ff-head);
  font-size:clamp(24px,3.6vw,40px); font-weight:500; line-height:1.4; letter-spacing:-.01em;
}

/* ---------- produtos ---------- */
.produtos{ padding:60px 32px 140px; }
.product{
  max-width:1200px; margin:0 auto 130px;
  display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center;
}
.product-reverse{ direction:rtl; }
.product-reverse > *{ direction:ltr; }
.product-tag{ font-size:13px; font-weight:600; color:var(--muted); letter-spacing:.06em; }
.product-name{ font-family:var(--ff-head); font-size:clamp(36px,5vw,56px); font-weight:700; margin:10px 0 8px; letter-spacing:-.02em; }
.product-pitch{ font-size:18px; color:var(--ink-soft); margin-bottom:32px; }
.product-block{ margin-bottom:22px; }
.product-block h4{ font-size:13px; text-transform:uppercase; letter-spacing:.08em; color:var(--accent); margin-bottom:6px; font-weight:700; }
.product-block p{ color:var(--ink-soft); font-size:16px; }
.product-block ul{ display:flex; flex-direction:column; gap:6px; margin-top:4px; }
.product-block li{ font-size:16px; color:var(--ink-soft); padding-left:18px; position:relative; }
.product-block li::before{ content:'›'; position:absolute; left:0; color:var(--accent); }
.product-tech{ display:flex; gap:8px; flex-wrap:wrap; margin:28px 0; }
.product-tech span{ font-size:12px; font-weight:600; background:var(--bg-alt); padding:7px 13px; border-radius:99px; color:var(--ink-soft); }
.product-results{ display:flex; gap:36px; padding-top:24px; border-top:1px solid var(--line); }
.product-results strong{ display:block; font-family:var(--ff-head); font-size:28px; color:var(--ink); }
.product-results span{ font-size:13px; color:var(--muted); }

.product-visual{
  position:relative; border-radius:var(--radius-lg); overflow:hidden; min-height:440px;
  display:flex; align-items:center; justify-content:center;
  transition:transform .5s var(--ease);
}
.product:hover .product-visual{ transform:translateY(-6px); }

.norte-visual{ background:linear-gradient(160deg, #0B1020, #111827); }
.pv-window{ width:84%; background:#0E1426; border-radius:18px; padding:22px; border:1px solid rgba(255,255,255,.06); }
.pv-bar{ display:flex; gap:6px; margin-bottom:18px; }
.pv-bar span{ width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.12); }
.pv-kpi-row{ display:flex; gap:10px; margin-bottom:14px; }
.pv-kpi{ flex:1; height:46px; border-radius:10px; background:rgba(20,184,166,.12); border:1px solid rgba(20,184,166,.25); }
.pv-chart{ height:100px; border-radius:10px; margin-bottom:14px; background:linear-gradient(180deg, rgba(20,184,166,.18), transparent); border:1px solid rgba(255,255,255,.06); }
.pv-table{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.pv-table div{ height:34px; border-radius:8px; background:rgba(255,255,255,.04); }

.nexus-visual{ background:radial-gradient(circle at 30% 20%, #2a0a3a, #0a0612 70%); }
.nv-window{
  width:84%; height:380px; position:relative; border-radius:18px; overflow:hidden;
  border:1px solid rgba(255,0,170,.18); background:#0c0814;
  box-shadow:0 0 50px -10px rgba(255,0,170,.25);
}
.nv-map-img{ width:100%; height:100%; object-fit:cover; object-position:center 35%; display:block; }

/* ---------- product cta ---------- */
.product-cta{ margin-top:32px; padding-top:28px; border-top:1px solid var(--line); }
.product-cta-playful p{ font-family:var(--ff-head); font-size:17px; color:var(--ink); margin-bottom:16px; }

/* ---------- dashboards visual ---------- */
.dash-visual{ background:linear-gradient(160deg, #0B1020, #111827); position:relative; overflow:visible; }
.dash-frame{
  width:78%; background:#0E1426; border-radius:18px; padding:22px;
  border:1px solid rgba(255,255,255,.06); position:relative; z-index:1;
}
.dash-frame-body{ display:flex; flex-direction:column; gap:14px; }
.dash-frame-mobile{
  position:absolute; right:6%; bottom:-8%; width:120px; height:230px;
  background:#0E1426; border-radius:24px; border:5px solid rgba(255,255,255,.08);
  box-shadow:0 30px 60px -20px rgba(0,0,0,.6); padding:16px 10px; z-index:2;
}
.dfm-notch{ width:36px; height:5px; border-radius:4px; background:rgba(255,255,255,.12); margin:0 auto 14px; }
.dfm-body{ display:flex; flex-direction:column; gap:8px; }
.dfm-kpi{ height:30px; border-radius:8px; background:rgba(20,184,166,.16); border:1px solid rgba(20,184,166,.3); }
.dfm-chart{ height:54px; border-radius:8px; background:linear-gradient(180deg, rgba(20,184,166,.22), transparent); border:1px solid rgba(255,255,255,.06); }
.dfm-bar{ height:10px; border-radius:4px; background:rgba(255,255,255,.06); }
.dfm-bar.short{ width:60%; }

/* ---------- ascend visual ---------- */
.ascend-visual{ background:linear-gradient(160deg, #14102B, #1B1438); }
.asc-window{
  width:84%; background:rgba(255,255,255,.04); border-radius:18px; padding:24px;
  border:1px solid rgba(255,255,255,.08);
}
.asc-header{ display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.asc-level{ font-family:var(--ff-head); font-size:13px; font-weight:700; color:#fff; letter-spacing:.04em; white-space:nowrap; }
.asc-xp{ flex:1; height:8px; border-radius:99px; background:rgba(255,255,255,.1); overflow:hidden; }
.asc-xp-fill{ width:64%; height:100%; background:var(--accent); border-radius:99px; }
.asc-skills{ display:flex; gap:8px; margin-bottom:22px; }
.asc-skills span{
  font-size:11px; font-weight:700; color:#fff; background:rgba(80,70,229,.28);
  border:1px solid rgba(80,70,229,.5); padding:6px 12px; border-radius:99px;
}
.asc-board{ display:flex; flex-direction:column; gap:10px; }
.asc-row{
  display:flex; align-items:center; gap:12px; padding:10px 14px; border-radius:12px;
  background:rgba(255,255,255,.03);
}
.asc-row-top{ background:rgba(80,70,229,.18); border:1px solid rgba(80,70,229,.35); }
.asc-avatar{ width:26px; height:26px; border-radius:50%; background:linear-gradient(135deg, #7B61FF, #B16CEA); flex-shrink:0; }
.asc-name{ flex:1; height:10px; border-radius:4px; background:rgba(255,255,255,.12); }
.asc-score{ font-family:var(--ff-head); font-size:13px; font-weight:700; color:#fff; }

.product-teasers{
  max-width:1200px; margin:0 auto; margin-top:40px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}
.teaser-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:32px; transition:transform .35s var(--ease), border-color .35s;
}
.teaser-card:hover{ transform:translateY(-6px); border-color:var(--accent); }
.teaser-icon{ font-size:24px; color:var(--accent); }
.teaser-card h4{ font-family:var(--ff-head); font-size:19px; margin:16px 0 8px; }
.teaser-card p{ font-size:14.5px; color:var(--ink-soft); }

/* ---------- laboratorio ---------- */
.laboratorio{ background:var(--bg-alt); padding:140px 32px; }
.lab-grid{
  max-width:1200px; margin:0 auto; display:grid;
  grid-template-columns:repeat(3,1fr); gap:24px;
}
.lab-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:34px; position:relative; transition:transform .35s var(--ease), box-shadow .35s;
}
.lab-card:hover{ transform:translateY(-8px); box-shadow:0 24px 48px -20px rgba(10,10,11,.15); }
.lab-emoji{ font-size:26px; }
.lab-card h4{ font-family:var(--ff-head); font-size:19px; margin:18px 0 8px; }
.lab-card p{ font-size:14.5px; color:var(--ink-soft); margin-bottom:20px; }
.lab-status{ font-size:11px; text-transform:uppercase; letter-spacing:.08em; font-weight:700; color:var(--accent); background:var(--accent-soft); padding:5px 11px; border-radius:99px; }

/* ---------- filosofia ---------- */
.filosofia{ padding:140px 32px; }
.filosofia-grid{
  max-width:1200px; margin:0 auto; display:grid;
  grid-template-columns:repeat(4,1fr); gap:24px;
}
.filosofia-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:32px; transition:transform .35s var(--ease), border-color .35s;
}
.filosofia-card:hover{ transform:translateY(-6px); border-color:var(--accent); }
.filosofia-index{ font-family:var(--ff-head); font-size:13px; font-weight:700; color:var(--accent); letter-spacing:.06em; }
.filosofia-card h4{ font-family:var(--ff-head); font-size:20px; margin:18px 0 10px; }
.filosofia-card p{ font-size:15px; line-height:1.6; color:var(--ink-soft); }

/* ---------- sobre ---------- */
.sobre{ padding:140px 32px; }
.sobre-inner{ max-width:760px; margin:0 auto; }
.sobre-text{ margin-top:36px; display:flex; flex-direction:column; gap:22px; }
.sobre-text p{ font-size:19px; line-height:1.7; color:var(--ink-soft); }
.sobre-text em{ color:var(--ink); font-style:normal; }

/* ---------- timeline ---------- */
.timeline{
  margin-top:80px; display:flex; flex-direction:column; gap:0;
  border-left:1px solid var(--line); padding-left:40px;
}
.timeline-item{
  position:relative; padding:22px 24px 22px 0; margin-bottom:8px;
  border-radius:var(--radius-sm); transition:background .3s, transform .3s var(--ease);
}
.timeline-item:hover{ background:var(--bg-alt); transform:translateX(6px); }
.timeline-item:last-child{ margin-bottom:0; }
.timeline-dot{
  position:absolute; left:-45.5px; top:26px; width:13px; height:13px;
  border-radius:50%; background:var(--bg); border:2px solid var(--muted);
  transition:transform .3s var(--ease);
}
.timeline-item:hover .timeline-dot{ transform:scale(1.2); }
.timeline-year{
  display:block; font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--muted); margin-bottom:8px;
}
.timeline-item h4{ font-family:var(--ff-head); font-size:21px; margin-bottom:8px; }
.timeline-item p{ font-size:15.5px; color:var(--ink-soft); max-width:480px; }
.timeline-current{ background:var(--accent-soft); }
.timeline-current .timeline-dot{ background:var(--accent); border-color:var(--accent); box-shadow:0 0 0 5px var(--accent-soft); }
.timeline-current .timeline-year{ color:var(--accent); }
.timeline-current h4{ color:var(--accent); }

/* ---------- contato ---------- */
.contato{ padding:160px 32px; text-align:center; }
.contato-inner{ display:flex; flex-direction:column; align-items:center; gap:40px; }

/* ---------- footer ---------- */
.footer{ padding:40px 32px; border-top:1px solid var(--line); }
.footer-inner{ max-width:1200px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; color:var(--muted); font-size:14px; }

/* ---------- reveal text shimmer ---------- */
.reveal-text{ opacity:0; transform:translateY(20px); transition:opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-text.in{ opacity:1; transform:translateY(0); }

/* ---------- manifesto page ---------- */
.manifesto-page{
  max-width:680px; margin:0 auto; padding:200px 32px 160px;
  text-align:center;
}
.manifesto-page-body{ margin-top:40px; display:flex; flex-direction:column; gap:30px; }
.manifesto-page-body p{
  font-family:var(--ff-head); font-size:clamp(20px,2.6vw,26px);
  line-height:1.5; color:var(--ink-soft); font-weight:500;
}
.mp-big{ font-size:clamp(26px,3.6vw,38px); color:var(--ink); font-weight:600; letter-spacing:-.01em; }
.mp-spacer{ margin-top:10px; }
.mp-signature{ margin-top:30px; font-size:14px !important; letter-spacing:.1em; text-transform:uppercase; color:var(--muted) !important; font-family:var(--ff-body) !important; font-weight:600 !important; }
.mp-back{ margin-top:80px; }

/* ---------- responsive ---------- */
@media (max-width:900px){
  .nav-links{ display:none; }
  .product, .product-reverse{ grid-template-columns:1fr; direction:ltr; }
  .product-visual{ order:-1; min-height:300px; }
  .product-teasers, .lab-grid, .filosofia-grid{ grid-template-columns:1fr; }
  .cursor-glow{ display:none; }
}
