/* ============================================================
   ENERGARIS · sistema visual
   Dark · futurista · telemetria de energia
   Display: Unbounded · Corpo: Manrope · Dados: Space Mono
   ============================================================ */

:root {
  /* superfícies */
  --bg:        #05070a;
  --bg-2:      #080b10;
  --surface:   #0d1218;
  --surface-2: #11171f;
  --line:      rgba(200, 249, 78, 0.10);
  --line-soft: rgba(255, 255, 255, 0.07);

  /* texto */
  --text:   #e9eff4;
  --muted:  #8b98a6;
  --dim:    #5a6675;

  /* energia */
  --lime:  #c8f94e;
  --lime-deep: #a6e000;
  --cyan:  #36e6cf;
  --cyan-deep: #14b8a6;
  --grad:  linear-gradient(115deg, var(--lime), var(--cyan));
  --grad-soft: linear-gradient(115deg, rgba(200,249,78,.18), rgba(54,230,207,.18));

  --glow-lime: 0 0 40px rgba(200, 249, 78, 0.35);
  --glow-cyan: 0 0 60px rgba(54, 230, 207, 0.25);

  --r: 16px;
  --r-lg: 24px;
  --maxw: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-feature-settings: "ss01" 1;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--lime); color: #05070a; }

/* ---------- texturas de fundo globais ---------- */
body::before { /* grão */
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after { /* halos de energia */
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 78% -8%, rgba(54,230,207,.10), transparent 60%),
    radial-gradient(55vw 55vw at 8% 12%, rgba(200,249,78,.09), transparent 60%);
}

/* ---------- utilidades ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.mono { font-family: "Space Mono", monospace; }
.tag {
  font-family: "Space Mono", monospace;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--lime); display: inline-flex; align-items: center; gap: 10px;
}
.tag::before {
  content: ""; width: 22px; height: 1px; background: var(--lime);
  box-shadow: var(--glow-lime);
}
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section { padding: 120px 0; position: relative; z-index: 1; }
.eyebrow { color: var(--muted); }

h1,h2,h3 { font-family: "Unbounded", sans-serif; font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  background: rgba(5, 7, 10, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 12px; font-family: "Unbounded", sans-serif; font-weight: 700; letter-spacing: -.01em; font-size: 18px; }
.brand .mark {
  width: 16px; height: 16px; position: relative; display: inline-block;
  background: var(--grad); border-radius: 4px;
  box-shadow: var(--glow-lime);
  animation: pulse 2.6s var(--ease) infinite;
}
.brand .mark::after {
  content: ""; position: absolute; inset: 4px; background: var(--bg); border-radius: 2px;
}
@keyframes pulse { 0%,100%{ transform: scale(1); opacity:1 } 50%{ transform: scale(.82); opacity:.7 } }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color .25s; position: relative; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-6px; width:0; height:1px; background: var(--lime); transition: width .3s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--text); }

.nav-cta {
  font-size: 13px; font-family: "Space Mono", monospace; letter-spacing: .05em;
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 100px;
  color: var(--text); transition: all .3s var(--ease);
}
.nav-cta:hover { border-color: var(--lime); box-shadow: var(--glow-lime); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 24px; height: 2px; background: var(--text); transition: .3s; }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Space Mono", monospace; font-size: 14px; letter-spacing: .03em;
  padding: 15px 26px; border-radius: 100px; cursor: pointer;
  transition: all .3s var(--ease); border: 1px solid transparent; position: relative; overflow: hidden;
}
.btn-primary { background: var(--grad); color: #05070a; font-weight: 700; }
.btn-primary::after {
  content:""; position:absolute; inset:0; background: linear-gradient(115deg, transparent, rgba(255,255,255,.5), transparent);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn-primary:hover { box-shadow: var(--glow-lime); transform: translateY(-2px); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); box-shadow: var(--glow-cyan); transform: translateY(-2px); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translate(4px,-4px); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 90px; overflow: hidden; }
#energy-field { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-inner { max-width: 960px; }
.hero h1 { font-size: clamp(42px, 7.4vw, 104px); margin: 26px 0 0; font-weight: 800; }
.hero h1 .line { display: block; overflow: hidden; }
.hero p.lead { font-size: clamp(17px, 2vw, 22px); color: var(--muted); max-width: 560px; margin: 30px 0 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* telemetria sob o hero */
.telemetry {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: 80px; border: 1px solid var(--line-soft); border-radius: var(--r);
  overflow: hidden; background: var(--line-soft);
}
.telemetry .cell { background: rgba(13,18,24,.7); padding: 26px 28px; backdrop-filter: blur(6px); }
.telemetry .num { font-family: "Unbounded", sans-serif; font-size: clamp(28px, 4vw, 46px); font-weight: 700; }
.telemetry .lbl { font-family: "Space Mono", monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 6px; }

/* faixa ticker */
.ticker { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-2); overflow: hidden; padding: 14px 0; }
.ticker-track { display: flex; gap: 56px; white-space: nowrap; animation: marquee 38s linear infinite; width: max-content; }
.ticker-track span { font-family: "Space Mono", monospace; font-size: 13px; letter-spacing: .1em; color: var(--muted); display: inline-flex; align-items: center; gap: 14px; }
.ticker-track span::before { content: "◇"; color: var(--lime); font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECÇÕES GERAIS
   ============================================================ */
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 60px); margin: 20px 0 0; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 22px; }

/* cartões pilar */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  position: relative; padding: 36px 32px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-soft); overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s;
}
.pillar::before { /* borda-gradiente em hover */
  content:""; position:absolute; inset:0; border-radius: inherit; padding:1px;
  background: var(--grad); opacity:0; transition: opacity .4s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.pillar:hover { transform: translateY(-6px); }
.pillar:hover::before { opacity: 1; }
.pillar .idx { font-family: "Space Mono", monospace; font-size: 13px; color: var(--dim); }
.pillar .p-ico { width: 46px; height: 46px; margin: 18px 0 22px; color: var(--lime); }
.pillar h3 { font-size: 23px; font-weight: 600; }
.pillar p { color: var(--muted); margin-top: 14px; font-size: 15.5px; }

/* faixa de números/prova */
.proof { border-radius: var(--r-lg); padding: 64px 48px; position: relative; overflow: hidden;
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(54,230,207,.14), transparent 55%),
    radial-gradient(80% 140% at 0% 100%, rgba(200,249,78,.12), transparent 55%),
    var(--surface);
  border: 1px solid var(--line); }
.proof h2 { font-size: clamp(28px, 4vw, 50px); max-width: 760px; }
.proof h2 em { font-style: normal; }
.proof .row { display: flex; gap: 56px; margin-top: 48px; flex-wrap: wrap; }
.proof .stat .num { font-family: "Unbounded", sans-serif; font-size: clamp(34px, 5vw, 58px); font-weight: 700; }
.proof .stat .lbl { font-family: "Space Mono", monospace; font-size: 13px; color: var(--muted); letter-spacing: .08em; margin-top: 6px; }

/* ============================================================
   PLATAFORMA · features alternadas
   ============================================================ */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 70px 0; border-top: 1px solid var(--line-soft); }
.feature:first-of-type { border-top: 0; }
.feature.flip .f-text { order: 2; }
.feature .f-num { font-family: "Space Mono", monospace; color: var(--lime); font-size: 14px; letter-spacing: .1em; }
.feature h3 { font-size: clamp(26px, 3.4vw, 40px); margin: 16px 0 18px; font-weight: 600; }
.feature p { color: var(--muted); font-size: 16.5px; max-width: 480px; }
.feature ul { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.feature li { display: flex; gap: 12px; color: var(--text); font-size: 15px; }
.feature li::before { content: "→"; color: var(--cyan); font-family: "Space Mono", monospace; }

/* mockup painel */
.panel {
  border-radius: var(--r-lg); border: 1px solid var(--line-soft); overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2)); box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
}
.panel-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.panel-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); display: inline-block; }
.panel-bar i:first-child { background: var(--lime); }
.panel-bar .pb-title { font-family: "Space Mono", monospace; font-size: 12px; color: var(--dim); margin-left: 10px; letter-spacing: .08em; }
.panel-body { padding: 26px; }
.panel-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px dashed var(--line-soft); }
.panel-row:last-child { border: 0; }
.panel-row .k { font-family: "Space Mono", monospace; font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.panel-row .v { font-family: "Unbounded", sans-serif; font-size: 20px; font-weight: 600; }
.panel-row .v.up { color: var(--cyan); } .panel-row .v.down { color: var(--lime); }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 120px; margin-top: 20px; }
.bars span { flex: 1; background: var(--grad-soft); border-radius: 4px 4px 0 0; position: relative; min-height: 8px;
  border-top: 2px solid var(--lime); animation: grow 1.1s var(--ease) backwards; }
@keyframes grow { from { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   SOBRE
   ============================================================ */
.lede { font-family: "Unbounded", sans-serif; font-size: clamp(26px, 3.6vw, 46px); font-weight: 400; line-height: 1.22; letter-spacing: -.02em; max-width: 1000px; }
.lede b { font-weight: 700; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 80px; }
.value { padding: 34px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: var(--surface); }
.value h3 { font-size: 21px; font-weight: 600; } .value p { color: var(--muted); margin-top: 12px; }
.value .v-tag { font-family: "Space Mono", monospace; font-size: 12px; color: var(--lime); letter-spacing: .14em; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.contact-info dl { margin-top: 36px; display: grid; gap: 26px; }
.contact-info dt { font-family: "Space Mono", monospace; font-size: 12px; color: var(--dim); letter-spacing: .14em; text-transform: uppercase; }
.contact-info dd { font-size: 19px; margin-top: 6px; }
.contact-info dd a:hover { color: var(--lime); }
.form { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 36px; }
.field { margin-bottom: 20px; }
.field label { font-family: "Space Mono", monospace; font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 10px;
  padding: 14px 16px; color: var(--text); font-family: "Manrope", sans-serif; font-size: 15px; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(200,249,78,.12); }
.field textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line-soft); padding: 60px 0 40px; position: relative; z-index: 1; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .brand { font-size: 24px; }
.footer .f-tag { color: var(--muted); max-width: 320px; margin-top: 16px; font-size: 14px; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-family: "Space Mono", monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 10px; transition: color .25s; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line-soft); color: var(--dim); font-family: "Space Mono", monospace; font-size: 12px; letter-spacing: .06em; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   REVEAL (scroll)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay:.08s } .reveal[data-d="2"]{ transition-delay:.16s } .reveal[data-d="3"]{ transition-delay:.24s }

/* load stagger */
.rise { opacity: 0; transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp .8s var(--ease) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); flex-direction: column; align-items: flex-start;
    background: var(--bg-2); padding: 100px 32px; gap: 24px; transform: translateX(100%); transition: transform .4s var(--ease); border-left: 1px solid var(--line-soft); }
  .nav-links.open { transform: none; }
  .burger { display: flex; z-index: 60; }
  .telemetry { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .feature, .feature.flip .f-text { grid-template-columns: 1fr; order: 0; }
  .feature .f-media { order: 2; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .values { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
}

/* ============================================================
   BARRA DE COOKIES
   ============================================================ */
.cookie-bar {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 80;
  margin: 0 auto; max-width: 760px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 20px 24px; border-radius: var(--r);
  background: rgba(13, 18, 24, 0.92); backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line-soft); box-shadow: 0 30px 70px -30px #000, var(--glow-cyan);
  transform: translateY(160%); transition: transform .55s var(--ease);
}
.cookie-bar.show { transform: none; }
.cookie-bar p { margin: 0; font-size: 13.5px; color: var(--muted); max-width: 440px; }
.cookie-bar p a { color: var(--lime); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button {
  font-family: "Space Mono", monospace; font-size: 13px; letter-spacing: .03em;
  padding: 11px 20px; border-radius: 100px; cursor: pointer; transition: all .3s var(--ease);
}
.ck-accept { background: var(--grad); color: #05070a; border: 0; font-weight: 700; }
.ck-accept:hover { box-shadow: var(--glow-lime); transform: translateY(-1px); }
.ck-reject { background: transparent; border: 1px solid var(--line-soft); color: var(--text); }
.ck-reject:hover { border-color: var(--muted); }
@media (max-width: 560px) {
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-actions { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  #energy-field { display: none; }
  .cookie-bar { transform: none; }
}
