:root {
  --bg: #05070c;
  --panel: #0c1018;
  --glass: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f2f4f7;
  --muted: #8b95a8;
  --mint: #3dffc0;
  --mint-2: #1fd9a5;
  --shell: 1280px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: 0; background: none; color: inherit; }

.shell {
  width: min(var(--shell), calc(100% - 2rem));
  margin-inline: auto;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding: 1rem 0;
  transition: background .2s, border-color .2s;
  border-bottom: 1px solid transparent;
}
.nav.on {
  background: rgba(5, 7, 12, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}
.nav-links {
  display: none;
  gap: 1.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a:hover { color: var(--mint); }
.nav-right { display: flex; align-items: center; gap: 0.5rem; }
.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang button {
  padding: 0.3rem 0.55rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
}
.lang button.on {
  background: var(--mint);
  color: #04110c;
}
.burger {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.drawer {
  display: none;
  position: fixed;
  inset: 4.1rem 0 auto;
  z-index: 59;
  background: rgba(5, 7, 12, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0 1rem;
}
.drawer.open { display: block; }
.drawer a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

/* Full-bleed tech hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 5rem 0 1.6rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-city {
  position: absolute;
  inset: -6% -3%;
  background:
    url("../imagens/hero-office.jpg") center 35% / cover no-repeat;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  filter: saturate(0.95) brightness(0.9) contrast(1.04);
}
#net-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.16;
  mix-blend-mode: screen;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.2) 0%, rgba(5, 7, 12, 0.04) 24%, rgba(5, 7, 12, 0.16) 52%, rgba(5, 7, 12, 0.84) 100%),
    radial-gradient(ellipse 38% 48% at 50% 40%, rgba(5, 7, 12, 0.28), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: min(1100px, calc(100% - 1.25rem));
  margin-bottom: 0.25rem;
}
.stat {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 0.95rem 0.8rem;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--mint);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}

.stage {
  position: relative;
  width: min(460px, 68vw);
  margin: 0.25rem auto 0;
  isolation: isolate;
}
.person {
  width: 100%;
  height: auto;
  max-height: min(58svh, 580px);
  margin: 0 auto;
  object-fit: contain;
  object-position: bottom center;
  -webkit-mask-image: linear-gradient(to bottom, #000 91%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 91%, transparent 100%);
}
.person-back {
  position: relative;
  z-index: 1;
  filter: contrast(1.02) brightness(1.03);
}
.person-head {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40%;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}
.person-head .person {
  width: 100%;
  max-width: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.giant {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  z-index: 5;
  margin: 0;
  width: 100vw;
  text-align: center;
  font-size: clamp(5rem, 16vw, 10.5rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.055em;
  color: var(--mint);
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  opacity: 0.48;
  text-shadow:
    0 0 14px rgba(61, 255, 192, 0.22),
    0 0 36px rgba(61, 255, 192, 0.1);
}
.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;
}

.hero-copy {
  text-align: center;
  width: min(640px, calc(100% - 2rem));
  margin: -2.1rem auto 0;
  position: relative;
  z-index: 6;
}
.role {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.headline {
  margin: 0.7rem 0 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.95rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 1.35rem;
  border: 1.5px solid transparent;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-mint {
  background: var(--mint);
  color: #04110c;
  box-shadow: 0 0 28px rgba(61, 255, 192, 0.28);
}
.btn-mint:hover { background: #62ffcd; }
.btn-ghost {
  border-color: rgba(61, 255, 192, 0.45);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover {
  border-color: var(--mint);
  color: var(--mint);
}

.section { padding: 4.5rem 0; }
.kicker {
  margin: 0 0 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
}
.section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.lead {
  margin: 0.85rem 0 1.6rem;
  color: var(--muted);
  max-width: 36rem;
}

.expertise {
  background: linear-gradient(135deg, rgba(61, 255, 192, 0.16), rgba(61, 255, 192, 0.05));
  border: 1px solid rgba(61, 255, 192, 0.22);
  border-radius: 22px;
  padding: 1.3rem 1.35rem;
  margin-bottom: 1.4rem;
}
.expertise-label {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.tags span {
  border: 1px solid rgba(61, 255, 192, 0.25);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  background: rgba(5, 7, 12, 0.35);
}

.grid {
  display: grid;
  gap: 0.85rem;
}
.venture {
  display: grid;
  gap: 0.4rem;
  padding: 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
a.venture:hover {
  border-color: rgba(61, 255, 192, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint);
}
.venture img {
  height: 1.15rem;
  width: auto;
  max-width: 8rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin: 0.15rem 0;
}
.venture h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.venture p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.about {
  border-block: 1px solid var(--line);
  background: #04060a;
}
.about-grid { display: grid; gap: 1.5rem; }
.about p { color: var(--muted); max-width: 38rem; }

.contact-grid { display: grid; gap: 1.5rem; }
.side-title {
  margin: 0 0 0.3rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.muted { margin: 0; color: var(--muted); }
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-top: 1rem;
}
.links a { color: var(--mint); font-weight: 600; }
.links a:hover { text-decoration: underline; text-underline-offset: 3px; }

form {
  display: grid;
  gap: 0.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem;
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
label {
  display: grid;
  gap: 0.28rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
input, select, textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  padding: 0.75rem 0.85rem;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(61, 255, 192, 0.22);
  border-color: var(--mint);
}
textarea { min-height: 6.5rem; resize: vertical; }
.row { display: grid; gap: 0.75rem; }
.form-msg { min-height: 1.1rem; margin: 0; font-size: 0.85rem; color: var(--muted); }
.form-msg.ok { color: #86efac; }
.form-msg.err { color: #fca5a5; }

footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 1.8rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .burger, .drawer, .drawer.open { display: none !important; }
  .shell { width: min(var(--shell), calc(100% - 3rem)); }
  .stats { width: min(1200px, calc(100% - 2rem)); gap: 1rem; }
  .stage { width: min(500px, 38vw); }
  .giant { font-size: clamp(6rem, 12vw, 9.5rem); }
  .person { max-height: min(60svh, 600px); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .venture:first-child { grid-column: span 2; }
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
  }
  .contact-grid {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 2.5rem;
  }
  .row { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, a.venture:hover { transform: none; }
}
