/* ================================================
   ORBYTE TECNOLOGIA — style.css
   Dark industrial-precision aesthetic
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  /* Core palette */
  --ink:       #06090d;
  --ink-2:     #0b1018;
  --ink-3:     #101720;
  --panel:     #121a24;
  --panel-2:   #17212d;
  --rim:       rgba(80,180,255,0.08);
  --rim-2:     rgba(80,180,255,0.16);
  --rim-3:     rgba(80,180,255,0.28);

  /* Brand */
  --cyan:      #00c8ff;
  --cyan-dim:  rgba(0,200,255,0.10);
  --cyan-glow: rgba(0,200,255,0.22);
  --lime:      #39ffb0;
  --amber:     #ffab30;
  --red:       #ff4d6a;

  /* Text */
  --t1: #ddeaf5;
  --t2: #7a9ab5;
  --t3: #435a70;
  --t4: #2a3d50;

  /* Spacing scale */
  --gap-xs: 8px;
  --gap-s:  16px;
  --gap-m:  24px;
  --gap-l:  40px;
  --gap-xl: 64px;
  --gap-2xl:120px;

  /* Layout */
  --max-w: 1200px;
  --pad-x: clamp(20px, 5vw, 80px);

  /* Radius */
  --r-s: 4px;
  --r-m: 8px;
  --r-l: 16px;

  /* Transitions */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--ink);
  color: var(--t1);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ------------------------------------------------
   GLOBAL LAYERS — noise + grid
   ------------------------------------------------ */
.layer-noise {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.layer-grid {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0,200,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ------------------------------------------------
   NAV
   ------------------------------------------------ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad-x);
  background: rgba(6,9,13,0.82);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--rim);
  transition: border-color 0.3s;
}

.nav.scrolled { border-color: var(--rim-2); }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--t1);
}

.nav-logo .dot { color: var(--cyan); }

.logo-hex {
  width: 34px; height: 34px;
  flex-shrink: 0;
}

.nav-menu {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-size: 13px;
  font-weight: 500;
  color: var(--t2);
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav-menu a:hover { color: var(--t1); }
.nav-menu a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  font-size: 12px !important;
  font-weight: 700 !important;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
  color: var(--cyan) !important;
  border: 1px solid var(--rim-3);
  padding: 8px 18px;
  border-radius: var(--r-s);
  transition: background 0.2s, color 0.2s, border-color 0.2s !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--cyan) !important;
  color: var(--ink) !important;
  border-color: var(--cyan) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--t2);
  transition: all 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ------------------------------------------------
   HERO
   ------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  align-items: center;
  padding: 100px var(--pad-x) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  z-index: 1;
}

/* Radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 10%; left: 50%;
  transform: translateX(-20%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(0,200,255,0.055) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--gap-m);
}

.hero-eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink-dot 2s ease infinite;
}

@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 900;
  line-height: 1.00;
  letter-spacing: -0.04em;
  color: var(--t1);
  margin-bottom: var(--gap-m);
}

.hero-title .ghost {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(221,234,245,0.2);
}

.hero-title .hi { color: var(--cyan); }

.hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--t2);
  max-width: 430px;
  line-height: 1.85;
  margin-bottom: var(--gap-l);
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: var(--gap-s);
  margin-bottom: var(--gap-xl);
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: var(--r-s);
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.btn-solid {
  background: var(--cyan);
  color: var(--ink);
}

.btn-solid:hover {
  background: #33d4ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,200,255,0.30);
}

.btn-outline {
  background: transparent;
  color: var(--t2);
  border: 1px solid var(--rim-2);
}

.btn-outline:hover {
  border-color: var(--rim-3);
  color: var(--t1);
}

/* Stats bar */
.hero-kpis {
  display: flex; gap: var(--gap-l);
  padding-top: var(--gap-l);
  border-top: 1px solid var(--rim);
}

.kpi-val {
  font-family: 'Space Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.05em;
  line-height: 1;
}

.kpi-val em { font-style: normal; color: var(--cyan); }

.kpi-label {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--t3);
  letter-spacing: 0.04em;
}

/* ------------------------------------------------
   HERO VISUAL (right column)
   ------------------------------------------------ */
.hero-visual {
  position: relative;
  height: 500px;
  display: flex; align-items: center; justify-content: center;
}

/* Orbit system */
.orbit-wrap {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}

.orb {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--rim);
}

.orb-1 { width: 280px; height: 280px; border-color: rgba(0,200,255,0.14); animation: spin 18s linear infinite; }
.orb-2 { width: 400px; height: 400px; border-color: rgba(0,200,255,0.07); animation: spin 28s linear infinite reverse; }
.orb-3 { width: 490px; height: 490px; border-color: rgba(0,200,255,0.04); animation: spin 40s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.orb-node {
  position: absolute; border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}

.orb-1 .orb-node { top: -5px; left: 50%; transform: translateX(-50%); width: 10px; height: 10px; color: var(--cyan); background: var(--cyan); }
.orb-2 .orb-node { bottom: -4px; left: 50%; width: 8px; height: 8px; color: var(--lime); background: var(--lime); }
.orb-3 .orb-node { right: -4px; top: 50%; width: 6px; height: 6px; color: var(--amber); background: var(--amber); }

/* Center piece */
.core {
  position: relative; z-index: 5;
  width: 110px; height: 110px;
  display: flex; align-items: center; justify-content: center;
}

.core-hex {
  position: absolute; inset: 0;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: var(--panel);
  border: 1px solid rgba(0,200,255,0.25);
}

.core-glow {
  position: absolute; inset: -6px;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  background: rgba(0,200,255,0.08);
}

.core-label {
  position: relative; z-index: 2;
  font-family: 'Space Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.03em;
}

/* Floating metric cards */
.metric-card {
  position: absolute;
  background: var(--panel);
  border: 1px solid var(--rim-2);
  border-radius: var(--r-m);
  padding: 12px 16px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  backdrop-filter: blur(16px);
  animation: levitate 6s ease-in-out infinite;
}

.metric-card:nth-child(1) { top: 50px; right: 20px; animation-delay: 0s; }
.metric-card:nth-child(2) { bottom: 100px; left: 10px; animation-delay: -2s; }
.metric-card:nth-child(3) { bottom: 50px; right: 30px; animation-delay: -4s; }

@keyframes levitate {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.mc-label { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--t3); margin-bottom: 4px; }
.mc-val   { font-size: 14px; font-weight: 700; }
.mc-val.c { color: var(--cyan); }
.mc-val.g { color: var(--lime); }
.mc-val.a { color: var(--amber); }

.mc-bar {
  margin-top: 6px;
  height: 3px;
  background: var(--ink-3);
  border-radius: 99px;
  overflow: hidden;
}

.mc-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--cyan);
}

/* ------------------------------------------------
   SECTION SHARED
   ------------------------------------------------ */
section { position: relative; z-index: 1; }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--gap-2xl) var(--pad-x);
}

.section-cap { text-align: center; margin-bottom: var(--gap-xl); }

.cap-tag {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--gap-s);
}

.cap-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--t1);
  margin-bottom: var(--gap-s);
  line-height: 1.1;
}

.cap-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--t2);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--rim-2) 30%, var(--rim-2) 70%, transparent 100%);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ------------------------------------------------
   SERVICES
   ------------------------------------------------ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--rim);
  border-radius: var(--r-m);
  overflow: hidden;
}

.svc-card {
  position: relative;
  padding: 40px 36px;
  background: var(--ink-2);
  border-right: 1px solid var(--rim);
  border-bottom: 1px solid var(--rim);
  transition: background 0.35s var(--ease);
  overflow: hidden;
}

.svc-card:nth-child(3n) { border-right: none; }
.svc-card:nth-last-child(-n+3) { border-bottom: none; }

/* accent sweep on hover */
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,200,255,0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.svc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(0,200,255,0));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.svc-card:hover { background: var(--panel); }
.svc-card:hover::before { opacity: 1; }
.svc-card:hover::after  { transform: scaleX(1); }

.svc-num {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--t3);
  margin-bottom: var(--gap-m);
  display: block;
}

.svc-icon {
  width: 44px; height: 44px;
  color: var(--cyan);
  margin-bottom: var(--gap-m);
  transition: transform 0.3s var(--ease);
}

.svc-card:hover .svc-icon { transform: scale(1.1); }

.svc-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.svc-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--t2);
  line-height: 1.8;
  margin-bottom: var(--gap-m);
}

.svc-pills {
  display: flex; flex-wrap: wrap; gap: 6px;
}

.pill {
  font-size: 10px;
  font-weight: 500;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.06em;
  color: var(--t3);
  border: 1px solid var(--rim);
  padding: 3px 10px;
  border-radius: 2px;
  transition: all 0.2s;
}

.svc-card:hover .pill {
  border-color: rgba(0,200,255,0.2);
  color: var(--t2);
}

/* ------------------------------------------------
   SOBRE
   ------------------------------------------------ */
.sobre-section {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 50%, var(--ink) 100%);
}

.sobre-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Terminal */
.terminal {
  background: #080e17;
  border: 1px solid var(--rim-2);
  border-radius: var(--r-m);
  overflow: hidden;
  font-family: 'Space Mono', monospace;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--rim);
}

.term-bar {
  background: var(--panel);
  padding: 11px 16px;
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid var(--rim);
}

.tb {
  width: 11px; height: 11px; border-radius: 50%;
}
.tb.r { background: #ff5f57; } .tb.y { background: #febc2e; } .tb.g { background: #28c840; }

.term-name {
  margin-left: 10px;
  font-size: 11px;
  color: var(--t3);
  font-family: 'Space Mono', monospace;
}

.term-body {
  padding: 24px;
  font-size: 12.5px;
  line-height: 2.1;
  overflow: hidden;
}

.tp  { color: var(--cyan); }      /* prompt */
.tc  { color: var(--t3); }        /* comment */
.tk  { color: var(--amber); }     /* key */
.tv  { color: #c792ea; }          /* value string */
.ts  { color: var(--lime); }      /* success string */
.tn  { color: var(--t1); }        /* normal */

.cursor {
  display: inline-block;
  width: 7px; height: 13px;
  background: var(--cyan);
  vertical-align: middle;
  margin-left: 2px;
  animation: blink 1.1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

/* Sobre content */
.sobre-tag { margin-bottom: var(--gap-m); }

.sobre-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--t1);
  margin-bottom: var(--gap-m);
}

.sobre-title em {
  font-style: normal;
  color: var(--cyan);
}

.sobre-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--t2);
  line-height: 1.9;
  margin-bottom: var(--gap-s);
}

.pillars {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: var(--gap-l);
}

.pillar {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 18px;
  background: var(--panel);
  border-left: 2px solid var(--cyan);
  border-radius: 0 var(--r-s) var(--r-s) 0;
  transition: background 0.2s;
}

.pillar:hover { background: var(--panel-2); }

.pillar-ico {
  width: 18px; height: 18px;
  color: var(--cyan);
  flex-shrink: 0; margin-top: 2px;
}

.pillar-text { font-size: 13.5px; color: var(--t2); font-weight: 300; }
.pillar-text strong {
  display: block;
  font-size: 14px; font-weight: 600;
  color: var(--t1); margin-bottom: 1px;
}

/* ------------------------------------------------
   PORTFOLIO
   ------------------------------------------------ */
.port-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-m);
}

.case {
  background: var(--panel);
  border: 1px solid var(--rim);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.case:hover {
  border-color: var(--rim-2);
  transform: translateY(-4px);
}

.case.span2 {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.case-img {
  background: var(--ink-3);
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

.case.span2 .case-img { min-height: 260px; }

.case-badge {
  position: absolute; top: 14px; left: 14px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,200,255,0.08);
  border: 1px solid rgba(0,200,255,0.20);
  padding: 4px 10px;
  border-radius: 2px;
}

.case-body { padding: 28px; }

.case-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.case-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--t2);
  line-height: 1.8;
  margin-bottom: var(--gap-m);
}

.case-kpis { display: flex; gap: var(--gap-m); }

.ck-val {
  font-family: 'Space Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.04em;
}

.ck-label { font-size: 11px; color: var(--t3); }

/* ------------------------------------------------
   CONTACT
   ------------------------------------------------ */
.contact-section { background: var(--ink-2); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px; align-items: start;
}

.contact-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--t1);
  line-height: 1.1;
  margin-bottom: var(--gap-m);
}

.contact-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--t2);
  line-height: 1.9;
  margin-bottom: var(--gap-l);
}

.contact-items { display: flex; flex-direction: column; gap: 16px; }

.ci {
  display: flex; align-items: center; gap: 14px;
}

.ci-icon {
  width: 42px; height: 42px;
  background: var(--panel);
  border: 1px solid var(--rim-2);
  border-radius: var(--r-s);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--cyan);
}

.ci-icon svg { width: 18px; height: 18px; }
.ci-label { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t3); margin-bottom: 1px; font-family: 'Space Mono', monospace; }
.ci-value { font-size: 14px; color: var(--t1); font-weight: 500; }

/* Form card */
.form-card {
  background: var(--panel);
  border: 1px solid var(--rim-2);
  border-radius: var(--r-m);
  padding: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-s); }

.fg { margin-bottom: var(--gap-m); }

.fg label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 8px;
  font-family: 'Space Mono', monospace;
}

.fg input,
.fg select,
.fg textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--rim-2);
  border-radius: var(--r-s);
  padding: 12px 14px;
  color: var(--t1);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
}

.fg input::placeholder,
.fg textarea::placeholder { color: var(--t4); }

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: rgba(0,200,255,0.4);
  box-shadow: 0 0 0 3px rgba(0,200,255,0.06);
}

.fg select option { background: var(--panel); color: var(--t1); }
.fg textarea { height: 110px; resize: vertical; }

.btn-form {
  width: 100%;
  background: var(--cyan);
  color: var(--ink);
  border: none;
  padding: 14px;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r-s);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-form:hover {
  background: #33d4ff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,200,255,0.25);
}

/* ------------------------------------------------
   FOOTER
   ------------------------------------------------ */
footer {
  position: relative; z-index: 1;
  background: var(--ink);
  border-top: 1px solid var(--rim);
  padding: 56px var(--pad-x) 36px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: var(--gap-xl);
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--t3);
  font-weight: 300;
  line-height: 1.8;
  margin-top: var(--gap-m);
  max-width: 260px;
}

.footer-col h4 {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: var(--gap-m);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 13.5px;
  color: var(--t2);
  font-weight: 300;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--gap-l);
  border-top: 1px solid var(--rim);
  font-size: 12px;
  color: var(--t3);
  font-family: 'Space Mono', monospace;
  flex-wrap: wrap; gap: 12px;
}

/* ------------------------------------------------
   SCROLL-TO-TOP
   ------------------------------------------------ */
#scrollTop {
  position: fixed;
  bottom: 108px; right: 28px;
  z-index: 500;
  width: 42px; height: 42px;
  background: var(--panel);
  border: 1px solid var(--rim-2);
  border-radius: var(--r-s);
  display: flex; align-items: center; justify-content: center;
  color: var(--t2);
  cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, border-color 0.2s, color 0.2s, transform 0.2s;
}

#scrollTop.show { opacity: 1; pointer-events: all; }
#scrollTop:hover { border-color: var(--rim-3); color: var(--cyan); transform: translateY(-2px); }

/* ------------------------------------------------
   WHATSAPP FLOAT
   ------------------------------------------------ */
.wa-wrap {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 800;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}

.wa-bubble {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--rim-2);
  border-radius: var(--r-m) var(--r-m) 0 var(--r-m);
  padding: 14px 40px 14px 16px;
  max-width: 230px;
  font-size: 13px;
  color: var(--t2);
  line-height: 1.55;
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.wa-bubble.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.wa-bubble strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--t1);
  margin-bottom: 3px;
}

.wa-x {
  position: absolute;
  top: 8px; right: 10px;
  background: none; border: none;
  color: var(--t3);
  font-size: 18px; line-height: 1;
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.2s;
}
.wa-x:hover { color: var(--t1); }

.wa-btn {
  position: relative;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  border: none;
}

.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.50);
}

.wa-btn svg { width: 28px; height: 28px; fill: #fff; }

/* Ping ring */
.wa-btn::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: wa-ring 2.8s ease-out infinite;
}

@keyframes wa-ring {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.55); }
}

/* ------------------------------------------------
   SCROLL-REVEAL
   ------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.in { opacity: 1; transform: none; }

/* stagger siblings */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }

/* ------------------------------------------------
   RESPONSIVE
   ------------------------------------------------ */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card:nth-child(3n) { border-right: 1px solid var(--rim); }
  .svc-card:nth-child(2n) { border-right: none; }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 110px;
    text-align: center;
  }

  .hero::before { left: 50%; transform: translateX(-50%); }
  .hero-visual { display: none; }
  .hero-kpis  { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-sub { margin: 0 auto var(--gap-l); }

  .sobre-layout,
  .contact-layout  { grid-template-columns: 1fr; gap: var(--gap-xl); }
  .case.span2      { grid-column: span 1; grid-template-columns: 1fr; }
  .port-grid       { grid-template-columns: 1fr; }

  .nav-menu  { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: rgba(6,9,13,0.96); backdrop-filter: blur(20px); padding: 28px var(--pad-x); gap: 20px; border-bottom: 1px solid var(--rim); }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--gap-l); }
  .form-row { grid-template-columns: 1fr; }
  #scrollTop { bottom: 100px; right: 16px; }
  .wa-wrap   { bottom: 24px; right: 16px; }
}

@media (max-width: 560px) {
  .svc-grid     { grid-template-columns: 1fr; }
  .footer-top   { grid-template-columns: 1fr; }
  .hero-kpis    { flex-direction: column; gap: var(--gap-m); }
}