/* =========================================================
   NETWEBPI LTDA — Landing Page Tecnológica
   Dark / Futurista / Glassmorphism + Partículas
   ========================================================= */

:root {
  --bg: #04070d;
  --bg-2: #080d1a;
  --bg-3: #0b1224;
  --panel: rgba(13, 20, 38, 0.65);
  --panel-solid: #0d1426;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.28);

  --text: #e6edf7;
  --text-muted: #8b9bb4;
  --text-dim: #64748b;

  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #a855f7;
  --pink: #ec4899;
  --green: #34d399;

  --grad: linear-gradient(120deg, var(--cyan), var(--blue) 45%, var(--violet));
  --grad-soft: linear-gradient(120deg, rgba(34,211,238,.14), rgba(168,85,247,.14));

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --glow: 0 0 40px -8px rgba(34, 211, 238, 0.5);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(34, 211, 238, 0.3); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blue), var(--violet));
  border-radius: 20px;
  border: 2px solid var(--bg);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Tipografia utilitária ---------- */
.container { width: min(1160px, 92%); margin-inline: auto; }

.section { position: relative; padding: 110px 0; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 8px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--grad-soft);
  box-shadow: 0 0 30px -10px rgba(34,211,238,.4);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse-dot 1.6s infinite;
}

.title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.title .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 18px;
}

/* ---------- Camadas de fundo ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.blob {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  pointer-events: none;
}
.blob-1 { width: 560px; height: 560px; top: -180px; left: -140px; background: rgba(59, 130, 246, 0.28); animation: drift 26s ease-in-out infinite; }
.blob-2 { width: 460px; height: 460px; top: 30%; right: -160px; background: rgba(168, 85, 247, 0.22); animation: drift 32s ease-in-out infinite reverse; }
.blob-3 { width: 420px; height: 420px; bottom: -140px; left: 30%; background: rgba(34, 211, 238, 0.18); animation: drift 38s ease-in-out infinite; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--bg);
  transition: opacity 0.5s ease, visibility 0.5s;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(148, 163, 184, 0.15);
  border-top-color: var(--cyan);
  border-right-color: var(--violet);
  animation: spin 0.9s linear infinite;
}
.loader-text { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.3em; color: var(--text-dim); text-transform: uppercase; }

/* ---------- Navbar ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(6, 10, 20, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 40px -18px rgba(0,0,0,.8);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.logo img { height: 50px; width: auto; }
.logo b { color: var(--cyan); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 9px 15px;
  border-radius: 8px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(148,163,184,0.08); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  z-index: 999;
  background: rgba(6, 10, 20, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--line);
  padding: calc(var(--header-h) + 20px) 26px 26px;
  transform: translateX(105%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s, padding-left 0.25s;
}
.mobile-menu a:hover { color: var(--cyan); padding-left: 14px; }
.mobile-menu .btn { margin-top: 18px; text-align: center; }
.scrim {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(2, 4, 10, 0.6);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: 0.3s;
}
.scrim.show { opacity: 1; visibility: visible; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border-radius: 12px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }

.btn-primary {
  color: #fff;
  background: var(--grad);
  background-size: 160% 160%;
  box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 16px 40px -12px rgba(168, 85, 247, 0.65); }

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line-strong);
  background: rgba(148, 163, 184, 0.04);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--cyan); box-shadow: var(--glow); color: var(--cyan); }

.btn-whatsapp {
  background: linear-gradient(120deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.55);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(37, 211, 102, 0.7); }

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
}
.hero-inner { max-width: 860px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 9px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--grad-soft);
  margin-bottom: 30px;
  animation: fade-down 0.8s 0.1s both;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse-dot 1.6s infinite; }

.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.2vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  animation: fade-down 0.8s 0.2s both;
}
.hero-title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-typing-wrap {
  margin-top: 22px;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--text-muted);
  font-weight: 500;
  min-height: 2em;
  animation: fade-down 0.8s 0.35s both;
}
.hero-typing-wrap .typed { color: var(--text); font-weight: 600; }
.typed-cursor { display: inline-block; width: 3px; height: 1.05em; background: var(--cyan); vertical-align: text-bottom; margin-left: 2px; animation: blink 0.9s infinite; }

.hero-desc {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-top: 20px;
  animation: fade-down 0.8s 0.45s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
  animation: fade-down 0.8s 0.55s both;
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 90px;
  animation: fade-down 0.8s 0.7s both;
}
.stat-card {
  padding: 26px 18px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.stat-card:hover::before { opacity: 1; }
.stat-card > * { position: relative; }
.stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.2rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-label { margin-top: 8px; font-size: 0.85rem; color: var(--text-muted); letter-spacing: 0.02em; }

/* ---------- Scroll indicator ---------- */
.scroll-ind {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: fade-down 0.8s 1s both;
}
.mouse {
  width: 26px; height: 42px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  position: relative;
}
.mouse::after {
  content: "";
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  border-radius: 4px;
  background: var(--cyan);
  transform: translateX(-50%);
  animation: scroll-wheel 1.6s infinite;
}

/* ---------- Cards genéricos / serviços ---------- */
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 34px 28px;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { opacity: 1; }

.card-icon {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  margin-bottom: 22px;
  transition: transform 0.35s;
}
.card:hover .card-icon { transform: scale(1.1) rotate(-4deg); }
.card-icon svg { width: 27px; height: 27px; }

.card h3 { font-family: var(--font-head); font-size: 1.22rem; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

.card-tag {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ---------- Projeto (feature split) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.check-list { margin-top: 28px; display: grid; gap: 14px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: var(--text);
  font-size: 0.98rem;
  animation: fade-up 0.6s both;
}
.check-list .tick {
  flex-shrink: 0;
  width: 24px; height: 24px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(59, 130, 246, 0.6);
}
.check-list .tick svg { width: 13px; height: 13px; }
.check-list small { display: block; color: var(--text-muted); margin-top: 2px; }

.split-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Mockup / vitrine ---------- */
.showcase { position: relative; }
.showcase-glow {
  position: absolute;
  inset: -12%;
  background: var(--grad);
  filter: blur(90px);
  opacity: 0.28;
  z-index: -1;
  border-radius: 50%;
}

.app-frame {
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.app-frame:hover { transform: perspective(1200px) rotateY(0deg) rotateX(0deg); }
.app-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(148, 163, 184, 0.05);
}
.app-bar i { width: 11px; height: 11px; border-radius: 50%; }
.app-bar i:nth-child(1) { background: #ff5f57; }
.app-bar i:nth-child(2) { background: #febc2e; }
.app-bar i:nth-child(3) { background: #28c840; }
.app-bar span {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}
.app-body { padding: 22px; display: grid; gap: 12px; }
.app-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr 0.6fr;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.04);
  align-items: center;
}
.app-row b { font-size: 0.82rem; font-weight: 600; }
.app-row span { font-size: 0.8rem; color: var(--text-muted); }
.app-tag {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 999px;
  color: #06231b;
  background: linear-gradient(120deg, #34d399, #22d3ee);
  font-weight: 700;
}
.app-row .tag-2 { background: linear-gradient(120deg, #fbbf24, #f472b6); color: #1a0b02; }
.app-row .tag-3 { background: linear-gradient(120deg, #60a5fa, #a78bfa); color: #0b1024; }
.app-row .tag-4 { background: linear-gradient(120deg, #f87171, #fb923c); color: #1a0505; }
.app-footer {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}
.app-footer .eq { display: flex; align-items: flex-end; gap: 3px; margin-left: auto; }
.app-footer .eq i { width: 4px; border-radius: 2px; background: var(--grad); animation: eq 1s ease-in-out infinite; }
.app-footer .eq i:nth-child(1) { height: 10px; }
.app-footer .eq i:nth-child(2) { height: 16px; animation-delay: 0.15s; }
.app-footer .eq i:nth-child(3) { height: 8px; animation-delay: 0.3s; }
.app-footer .eq i:nth-child(4) { height: 14px; animation-delay: 0.45s; }
.app-footer .eq i:nth-child(5) { height: 11px; animation-delay: 0.6s; }

/* ---------- Grid de recursos ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card { padding: 28px 26px; }
.feature-card .num {
  position: absolute;
  top: 20px; right: 22px;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(148, 163, 184, 0.35);
}

/* ---------- Terminal ---------- */
.terminal-wrap { max-width: 780px; margin: 0 auto; }
.terminal {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(5, 8, 16, 0.85);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(148, 163, 184, 0.05);
}
.term-bar i { width: 12px; height: 12px; border-radius: 50%; }
.term-bar i:nth-child(1) { background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; }
.term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: auto; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-dim); }
.term-body {
  padding: 26px 24px 30px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.85;
  color: #a5f3fc;
  white-space: pre-wrap;
  min-height: 260px;
}
.term-body .c-cyan { color: #22d3ee; }
.term-body .c-violet { color: #c4b5fd; }
.term-body .c-green { color: #34d399; }
.term-body .c-dim { color: #64748b; }
.term-body .c-blue { color: #60a5fa; }
.term-body .c-yellow { color: #fbbf24; }
.term-cursor { display: inline-block; width: 8px; height: 1.05em; background: #34d399; vertical-align: text-bottom; animation: blink 0.9s infinite; }

.term-hint {
  text-align: center;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
}

/* ---------- Vídeo ---------- */
.video-card {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 14px;
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.video-frame { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Contato ---------- */
.contact-card {
  position: relative;
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% -80px, rgba(34, 211, 238, 0.16), transparent 70%),
    radial-gradient(500px 300px at 90% 120%, rgba(168, 85, 247, 0.14), transparent 70%),
    var(--panel-solid);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.contact-card .grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}
.contact-card > * { position: relative; }
.contact-card .title { max-width: 600px; margin: 0 auto; }
.contact-card .sub { max-width: 520px; margin-inline: auto; }
.contact-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.contact-meta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.contact-meta a, .contact-meta div {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.05);
  transition: 0.25s;
}
.contact-meta a:hover { color: var(--cyan); border-color: var(--cyan); }
.contact-meta svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  background: rgba(4, 7, 13, 0.8);
  padding: 34px 0 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; }
.footer-brand img { height: 41px; width: auto; }
.footer-copy { font-size: 0.88rem; color: var(--text-dim); }
.footer-copy a { color: var(--cyan); }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.25s; }
.footer-links a:hover { color: var(--cyan); }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px, 40px) scale(1.12); } }
@keyframes scroll-wheel { 0% { opacity: 1; transform: translateX(-50%) translateY(0); } 100% { opacity: 0; transform: translateX(-50%) translateY(16px); } }
@keyframes eq { 0%,100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .app-frame { transform: none; }
  .app-frame:hover { transform: none; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .scroll-ind { display: none; }
}

@media (max-width: 520px) {
  .services-grid, .features-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 44px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
