/* ─── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@200;300;400;500&family=Space+Grotesk:wght@300;400;500&display=swap');

/* ─── Tokens ────────────────────────────────────────────────────────────────── */
:root {
  --obsidian:    #0D0E12;
  --obsidian-90: rgba(13,14,18,0.90);
  --volt:        #C6FF00;
  --volt-dim:    rgba(198,255,0,0.65);
  --volt-faint:  rgba(198,255,0,0.07);
  --volt-border: rgba(198,255,0,0.18);
  --ice:         #F4F5F7;
  --ice-dim:     rgba(244,245,247,0.52);
  --ice-faint:   rgba(244,245,247,0.07);
  --border:      rgba(244,245,247,0.07);
  --border-mid:  rgba(244,245,247,0.13);
  --dark-alt:    #0A0B0F;
  --dark-deep:   #080809;

  --f-exo:   'Exo 2', sans-serif;
  --f-space:  'Space Grotesk', sans-serif;

  --r-sm: 2px;
  --r-md: 4px;

  --max-w: 1100px;
  --section-pad: 110px 48px;
}

/* ─── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { scroll-behavior: smooth; font-size: 16px; }
body   { background: var(--obsidian); color: var(--ice); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
button { cursor: pointer; }

::-webkit-scrollbar       { width: 3px; }
::-webkit-scrollbar-track { background: var(--obsidian); }
::-webkit-scrollbar-thumb { background: rgba(198,255,0,0.25); border-radius: 2px; }

/* ─── Typography helpers ────────────────────────────────────────────────────── */
.f-exo   { font-family: var(--f-exo); }
.f-space { font-family: var(--f-space); }

.eyebrow {
  font-family: var(--f-space);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--volt-dim);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-h2 {
  font-family: var(--f-exo);
  font-weight: 200;
  font-size: clamp(30px, 3.5vw, 46px);
  color: var(--ice);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 22px;
}

/* ─── Layout helpers ────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; }
.grid-2    { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.grid-3    { display: grid; grid-template-columns: repeat(3, 1fr); }
.grid-4    { display: grid; grid-template-columns: repeat(4, 1fr); }

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  font-family: var(--f-space);
  font-size: 14px;
  letter-spacing: 0.05em;
  padding: 13px 28px;
  border-radius: var(--r-sm);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-volt {
  font-weight: 500;
  color: var(--obsidian);
  background: var(--volt);
}
.btn-volt:hover { transform: translateY(-2px); }

.btn-ghost {
  font-weight: 400;
  color: var(--ice);
  background: transparent;
  border: 0.5px solid var(--border-mid);
}
.btn-ghost:hover { border-color: var(--volt-border); color: var(--volt); }

.btn-dark {
  font-weight: 500;
  color: var(--volt);
  background: var(--obsidian);
}
.btn-dark:hover { opacity: 0.82; }

.btn-outline-dark {
  font-weight: 400;
  color: var(--obsidian);
  background: transparent;
  border: 1.5px solid rgba(13,14,18,0.22);
}
.btn-outline-dark:hover { border-color: rgba(13,14,18,0.65); }

/* ─── Nav ───────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.35s ease, background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.scrolled {
  padding: 14px 48px;
  background: var(--obsidian-90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 0.5px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
}
.nav-wordmark {
  font-family: var(--f-exo);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.22em;
  color: var(--ice);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-link {
  font-family: var(--f-space);
  font-size: 13px;
  color: rgba(244,245,247,0.46);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--volt); }

.nav-cta {
  font-family: var(--f-space);
  font-size: 12px;
  font-weight: 500;
  color: var(--obsidian);
  background: var(--volt);
  padding: 8px 18px;
  border-radius: var(--r-sm);
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.84; }

/* ─── Lang toggle ───────────────────────────────────────────────────────────── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  height: 30px;
  background: transparent;
  border: 0.5px solid var(--border-mid);
  border-radius: var(--r-sm);
  overflow: hidden;
  padding: 0;
  transition: border-color 0.2s;
}
.lang-toggle:hover { border-color: var(--volt-border); }
.lang-seg {
  font-family: var(--f-space);
  font-size: 11px;
  letter-spacing: 0.09em;
  height: 100%;
  padding: 0 11px;
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(244,245,247,0.30);
  font-weight: 400;
  transition: color 0.2s, background 0.2s;
}
.lang-seg.active {
  color: var(--volt);
  background: var(--volt-faint);
  font-weight: 500;
}
.lang-div {
  width: 0.5px;
  height: 100%;
  background: var(--border-mid);
}

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--obsidian);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px 60px;
  text-align: center;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,255,0,0.055) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -58%);
  pointer-events: none;
}
.hero-corner {
  position: absolute;
  width: 155px; height: 155px;
  pointer-events: none;
}
.hero-corner.tl { top: 0; left: 0; }
.hero-corner.br { bottom: 0; right: 0; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0.5px solid var(--volt-border);
  border-radius: var(--r-sm);
  padding: 6px 14px;
  margin-bottom: 46px;
  animation: fadeUp 0.8s ease 0.1s both;
}
.hero-pill-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--volt); }
.hero-pill-text {
  font-family: var(--f-space);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--volt-dim);
  text-transform: uppercase;
}

.hero-h1 {
  font-family: var(--f-exo);
  font-weight: 200;
  font-size: clamp(44px, 7vw, 86px);
  letter-spacing: -0.02em;
  color: var(--ice);
  line-height: 1.06;
  margin-bottom: 10px;
  animation: fadeUp 0.8s ease 0.22s both;
}
.hero-h1 span { color: var(--volt); }

.hero-p {
  font-family: var(--f-space);
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--ice-dim);
  line-height: 1.72;
  max-width: 520px;
  margin: 26px auto 50px;
  animation: fadeUp 0.8s ease 0.38s both;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.52s both;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.28;
}
.hero-scroll span {
  font-family: var(--f-space);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--ice);
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(var(--ice), transparent);
}

/* ─── Stats ─────────────────────────────────────────────────────────────────── */
.stats {
  background: var(--volt);
  padding: 44px 48px;
}
.stat {
  text-align: center;
  padding: 0 20px;
}
.stat + .stat { border-left: 0.5px solid rgba(13,14,18,0.14); }
.stat-n {
  font-family: var(--f-exo);
  font-weight: 300;
  font-size: 44px;
  letter-spacing: -0.02em;
  color: var(--obsidian);
  line-height: 1;
}
.stat-l {
  font-family: var(--f-space);
  font-size: 12px;
  color: rgba(13,14,18,0.54);
  margin-top: 6px;
}

/* ─── Sobre ─────────────────────────────────────────────────────────────────── */
.sobre { padding: var(--section-pad); background: var(--obsidian); }

.sobre-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 280px;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 0.5px solid;
}

/* ─── Serviços ───────────────────────────────────────────────────────────────── */
.servicos { padding: var(--section-pad); background: var(--dark-alt); }

.serv-grid {
  gap: 1px;
  background: var(--border);
}

.scard {
  background: var(--obsidian);
  padding: 36px 30px;
  border-left: 2px solid transparent;
  transition: background 0.3s, border-color 0.3s;
  cursor: default;
}
.scard:hover {
  background: rgba(198,255,0,0.034);
  border-left-color: var(--volt);
}
.scard-tag {
  font-family: var(--f-space);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--volt-dim);
  margin-bottom: 14px;
  transition: color 0.3s;
}
.scard:hover .scard-tag { color: var(--volt); }
.scard-title {
  font-family: var(--f-exo);
  font-weight: 300;
  font-size: 19px;
  color: var(--ice);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.scard-desc {
  font-family: var(--f-space);
  font-size: 13px;
  color: rgba(244,245,247,0.38);
  line-height: 1.7;
}

/* ─── CTA ───────────────────────────────────────────────────────────────────── */
.cta {
  background: var(--volt);
  padding: 96px 48px;
  text-align: center;
}
.cta-inner { max-width: 760px; margin: 0 auto; }
.cta-h2 {
  font-family: var(--f-exo);
  font-weight: 200;
  font-size: clamp(34px, 5vw, 62px);
  color: var(--obsidian);
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 18px 0 16px;
}
.cta-p {
  font-family: var(--f-space);
  font-size: 16px;
  color: rgba(13,14,18,0.54);
  line-height: 1.65;
  max-width: 450px;
  margin: 0 auto 44px;
}
.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--dark-deep);
  padding: 36px 48px;
  border-top: 0.5px solid var(--border);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { display: flex; align-items: center; gap: 9px; }
.footer-wm {
  font-family: var(--f-exo);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.20em;
  color: rgba(244,245,247,0.26);
}
.footer-tag {
  font-family: var(--f-space);
  font-size: 11px;
  color: rgba(244,245,247,0.18);
  letter-spacing: 0.04em;
}
.footer-social { display: flex; gap: 4px; }
.social-link {
  color: rgba(244,245,247,0.28);
  display: flex;
  align-items: center;
  padding: 6px 8px;
  transition: color 0.2s;
}
.social-link:hover { color: var(--volt); }
.footer-copy {
  font-family: var(--f-space);
  font-size: 11px;
  color: rgba(244,245,247,0.14);
  width: 100%;
  text-align: center;
  margin-top: 2px;
}

/* ─── Animations ─────────────────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --section-pad: 72px 32px; }
  .grid-2 { grid-template-columns: 1fr; gap: 48px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .sobre-visual { display: none; }
  .nav { padding: 16px 24px !important; }
  .nav-link { display: none; }
  .stats { padding: 36px 24px; }
  .stat-n { font-size: 34px; }
}

@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-h1 { font-size: clamp(36px, 10vw, 52px); }
  .cta { padding: 64px 24px; }
  .footer { padding: 28px 24px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}
