/* ==========================================================================
   JS TEC SOLUÇÕES — style.css
   Sistema de design principal: tokens, layout, componentes.
   Autor: JS TEC Soluções
   --------------------------------------------------------------------------
   ÍNDICE
   01. Design Tokens
   02. Reset & Base
   03. Acessibilidade (skip link, foco)
   04. Camadas de Fundo (grid, glow, PCB, ruído, partículas)
   05. Utilitários de Layout
   06. Tipografia
   07. Botões
   08. Superfícies (glass / cards)
   09. Circuitos eletrônicos (PCB decorativo)
   10. Navbar
   11. Hero
   12. Dashboard tecnológico
   13. Badges de tecnologia
   14. Seções de conteúdo
   15. Serviços
   16. Portfólio & Cases
   17. Processo & Diferenciais
   18. Contato & Formulário
   19. CTA
   20. Rodapé
   21. WhatsApp flutuante
   22. Páginas internas (legal, 404, obrigado)
   ========================================================================== */

/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* Cores — base */
  --bg: #050816;
  --bg-2: #0a1020;
  --card: #10192e;
  --card-hover: #14233d;

  /* Cores — texto */
  --text: #ffffff;
  --text-2: #c4cbdd;
  --text-3: #8b93a7;

  /* Cores — marca */
  --primary: #00e5a8;
  --secondary: #00c2ff;
  --accent: #7b61ff;

  /* Glows */
  --glow-green: rgba(0, 229, 168, 0.35);
  --glow-blue: rgba(0, 194, 255, 0.32);
  --glow-purple: rgba(123, 97, 255, 0.30);

  /* Gradientes */
  --grad-brand: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --grad-tri: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 52%, var(--accent) 100%);
  --grad-surface: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 100%);

  /* Bordas */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.30);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 36px 90px rgba(0, 0, 0, 0.60);

  /* Tipografia */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Space Grotesk", "Sora", var(--font-sans);
  --font-alt: "Sora", var(--font-display);
  --font-mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;

  /* Espaçamento */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Layout */
  --wrap: 1240px;
  --nav-h: 76px;

  /* Movimento */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 620ms;
}

/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg,
picture,
video { max-width: 100%; display: block; }

button,
input,
textarea,
select { font: inherit; color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
a:hover { color: var(--secondary); }

/* Barra de rolagem tematizada */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--secondary));
  border-radius: var(--radius-pill);
  border: 3px solid var(--bg);
}
::selection { background: rgba(0, 229, 168, 0.28); color: #fff; }

/* ==========================================================================
   03. ACESSIBILIDADE
   ========================================================================== */
.skip-link {
  position: absolute;
  left: 50%;
  top: -80px;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--primary);
  color: #04140f;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; color: #04140f; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
}

/* ==========================================================================
   04. CAMADAS DE FUNDO
   ========================================================================== */
.bg-layers {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Grid tecnológico */
.bg-grid {
  position: absolute;
  inset: -2px;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(0, 229, 168, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 22%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 22%, #000 10%, transparent 78%);
}

/* Pontos luminosos nos cruzamentos */
.bg-dots {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image: radial-gradient(rgba(0, 229, 168, 0.30) 1.1px, transparent 1.2px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 18%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 18%, #000, transparent 72%);
}

/* Orbes de luz (blur) */
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}
.bg-orb--green {
  width: 640px; height: 640px;
  top: -220px; left: -180px;
  background: radial-gradient(circle, rgba(0, 229, 168, 0.24), transparent 68%);
}
.bg-orb--blue {
  width: 720px; height: 720px;
  top: 8%; right: -280px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.20), transparent 68%);
}
.bg-orb--purple {
  width: 760px; height: 760px;
  bottom: -320px; left: 32%;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.18), transparent 68%);
}

/* Ruído leve (grain) */
.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.038;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Vinheta superior/inferior */
.bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 60% at 50% 0%, rgba(0, 194, 255, 0.07), transparent 60%),
    linear-gradient(180deg, transparent 60%, rgba(5, 8, 22, 0.9) 100%);
}

/* Canvas de partículas */
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

/* Conteúdo sempre acima do fundo */
.page { position: relative; z-index: 1; }

/* ==========================================================================
   05. UTILITÁRIOS DE LAYOUT
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 32px;
}
.wrap--narrow { max-width: 880px; }

.section { padding-block: var(--space-9); position: relative; }
.section--tight { padding-block: var(--space-8); }

.stack > * + * { margin-top: var(--space-4); }
.row { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.row--center { justify-content: center; }
.center { text-align: center; }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Divisória com trilha de circuito */
.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 168, 0.35), rgba(0, 194, 255, 0.35), transparent);
}

/* ==========================================================================
   06. TIPOGRAFIA
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}

.display {
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.038em;
}
.h1 { font-size: clamp(34px, 4.4vw, 54px); }
.h2 { font-size: clamp(28px, 3.2vw, 42px); }
.h3 { font-size: clamp(21px, 1.9vw, 26px); letter-spacing: -0.02em; }
.h4 { font-size: 18px; letter-spacing: -0.015em; }

p { margin: 0; }

.lead {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.68;
  color: var(--text-2);
  max-width: 62ch;
  text-wrap: pretty;
}
.muted { color: var(--text-2); }
.small { font-size: 14px; line-height: 1.6; }
.tiny { font-size: 12.5px; line-height: 1.5; }

/* Texto com gradiente de marca */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text--tri { background-image: var(--grad-tri); }

/* Eyebrow / rótulo de seção com LED */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 7px 16px 7px 12px;
  border: 1px solid rgba(0, 229, 168, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(0, 229, 168, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  flex: none;
}

/* Cabeçalho de seção */
.sec-head { max-width: 760px; margin-bottom: var(--space-7); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .lead { margin-inline: auto; }
.sec-head .h2 { margin-top: var(--space-4); }
.sec-head .lead { margin-top: var(--space-4); }

/* Numeração monoespaçada */
.num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary);
}

/* ==========================================================================
   07. BOTÕES
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  isolation: isolate;
  transition: transform var(--dur) var(--ease-out-expo),
              box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn svg { flex: none; }

/* Primário — gradiente + glow */
.btn--primary {
  background: var(--grad-brand);
  color: #04140f;
  box-shadow: 0 8px 26px rgba(0, 229, 168, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--primary:hover {
  color: #04140f;
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(0, 229, 168, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
/* Brilho que atravessa o botão no hover */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform var(--dur-slow) var(--ease);
}
.btn--primary:hover::after { transform: translateX(120%); }

/* Secundário — vidro com borda iluminada */
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--ghost:hover {
  color: var(--text);
  border-color: rgba(0, 229, 168, 0.45);
  background: rgba(0, 229, 168, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* WhatsApp */
.btn--wa {
  background: linear-gradient(135deg, #00e5a8, #12b981);
  color: #04140f;
  box-shadow: 0 8px 26px rgba(0, 229, 168, 0.26);
}
.btn--wa:hover { color: #04140f; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 229, 168, 0.40); }

.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 17px 34px; font-size: 16.5px; }
.btn--block { width: 100%; }

/* Efeito ripple (posição definida via JS em --rx/--ry) */
.ripple {
  position: absolute;
  left: var(--rx, 50%);
  top: var(--ry, 50%);
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  transform: scale(0);
  animation: ripple 620ms var(--ease-out-expo) forwards;
}

/* Link com seta */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 650;
  color: var(--primary);
}
.link-arrow svg { transition: transform var(--dur) var(--ease-out-expo); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ==========================================================================
   08. SUPERFÍCIES — GLASSMORPHISM & CARDS
   ========================================================================== */
.glass {
  background: linear-gradient(160deg, rgba(16, 25, 46, 0.78) 0%, rgba(10, 16, 32, 0.62) 100%);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: linear-gradient(160deg, rgba(16, 25, 46, 0.86) 0%, rgba(10, 16, 32, 0.70) 100%);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transform: translateZ(0);
  transition: transform var(--dur) var(--ease-out-expo),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}

/* Borda superior iluminada */
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 168, 0.65), rgba(0, 194, 255, 0.65), transparent);
  opacity: 0.5;
  transition: opacity var(--dur) var(--ease);
}

/* Halo que segue o mouse (--mx/--my definidos em app.js) */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 229, 168, 0.13), transparent 62%);
  transition: opacity var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 168, 0.30);
  background: linear-gradient(160deg, rgba(20, 35, 61, 0.92) 0%, rgba(12, 20, 40, 0.78) 100%);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 229, 168, 0.10), 0 0 46px rgba(0, 229, 168, 0.10);
}
.card:hover::before { opacity: 1; }
.card:hover::after { opacity: 1; }

.card__body > * + * { margin-top: var(--space-3); }
.card__title { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.card__text { color: var(--text-2); font-size: 15px; line-height: 1.65; }

/* Variantes de destaque por cor */
.card--blue:hover { border-color: rgba(0, 194, 255, 0.32); box-shadow: var(--shadow), 0 0 46px rgba(0, 194, 255, 0.12); }
.card--blue::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 194, 255, 0.13), transparent 62%); }
.card--purple:hover { border-color: rgba(123, 97, 255, 0.34); box-shadow: var(--shadow), 0 0 46px rgba(123, 97, 255, 0.14); }
.card--purple::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(123, 97, 255, 0.14), transparent 62%); }

/* Ícone do card */
.icon-box {
  position: relative;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--primary);
  background: linear-gradient(150deg, rgba(0, 229, 168, 0.16), rgba(0, 194, 255, 0.06));
  border: 1px solid rgba(0, 229, 168, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 0 24px rgba(0, 229, 168, 0.14);
  transition: transform var(--dur) var(--ease-out-expo), box-shadow var(--dur) var(--ease);
}
.card:hover .icon-box {
  transform: translateY(-2px) rotate(-3deg) scale(1.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 34px rgba(0, 229, 168, 0.30);
}
.icon-box svg { width: 26px; height: 26px; }

.icon-box--blue { color: var(--secondary); background: linear-gradient(150deg, rgba(0, 194, 255, 0.16), rgba(0, 229, 168, 0.05)); border-color: rgba(0, 194, 255, 0.26); box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 0 24px rgba(0, 194, 255, 0.14); }
.icon-box--purple { color: var(--accent); background: linear-gradient(150deg, rgba(123, 97, 255, 0.18), rgba(0, 194, 255, 0.05)); border-color: rgba(123, 97, 255, 0.28); box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 0 24px rgba(123, 97, 255, 0.16); }

/* Pílula / tag */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease), transform var(--dur) var(--ease-out-expo);
}
.pill:hover {
  color: var(--text);
  transform: translateY(-2px);
  border-color: rgba(0, 229, 168, 0.35);
  background: rgba(0, 229, 168, 0.09);
}
.pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  flex: none;
}
.pill--plain::before { display: none; }

/* Lista de checks */
.checklist { display: grid; gap: 12px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}
.check__dot {
  flex: none;
  margin-top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 229, 168, 0.14);
  border: 1px solid rgba(0, 229, 168, 0.42);
}
.check__dot::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 7px var(--primary);
}

/* ==========================================================================
   09. CIRCUITOS ELETRÔNICOS (PCB)
   ========================================================================== */
/* Trilhas decorativas — puramente visuais, aria-hidden no HTML */
.pcb {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}
.pcb svg { width: 100%; height: 100%; overflow: visible; }
.pcb-trace {
  fill: none;
  stroke: url(#pcbGrad);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pcb-pad { fill: var(--bg-2); stroke: rgba(0, 229, 168, 0.55); stroke-width: 1.2; }
.pcb-via { fill: var(--primary); }

/* Faixa de trilhas horizontal entre seções */
.pcb-divider {
  position: relative;
  height: 72px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

/* Trilha lateral com LED correndo */
.pcb-rail {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 229, 168, 0.28) 20%, rgba(0, 194, 255, 0.28) 80%, transparent);
}
.pcb-rail--left { left: 6px; }
.pcb-rail--right { right: 6px; }
.pcb-rail::after {
  content: "";
  position: absolute;
  left: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px 2px var(--primary);
  animation: railTravel 6s linear infinite;
}
.pcb-rail--right::after { animation-delay: 3s; background: var(--secondary); box-shadow: 0 0 12px 2px var(--secondary); }

/* Microchip decorativo */
.chip {
  position: relative;
  width: 88px; height: 88px;
  border-radius: 16px;
  background: linear-gradient(150deg, #0e1930, #0a1224);
  border: 1px solid rgba(0, 229, 168, 0.30);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 34px rgba(0, 229, 168, 0.16);
}
.chip__core {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--grad-brand);
  box-shadow: 0 0 22px rgba(0, 229, 168, 0.55);
}
/* Pernas do chip */
.chip__pins { position: absolute; inset: -9px; }
.chip__pins i {
  position: absolute;
  display: block;
  background: rgba(0, 229, 168, 0.45);
  border-radius: 2px;
}
.chip__pins i:nth-child(-n+4) { width: 2px; height: 9px; top: 0; }
.chip__pins i:nth-child(1) { left: 22%; }
.chip__pins i:nth-child(2) { left: 40%; }
.chip__pins i:nth-child(3) { left: 58%; }
.chip__pins i:nth-child(4) { left: 76%; }
.chip__pins i:nth-child(n+5):nth-child(-n+8) { width: 2px; height: 9px; bottom: 0; }
.chip__pins i:nth-child(5) { left: 22%; }
.chip__pins i:nth-child(6) { left: 40%; }
.chip__pins i:nth-child(7) { left: 58%; }
.chip__pins i:nth-child(8) { left: 76%; }

/* LED simples reutilizável */
.led {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  flex: none;
}
.led--blue { background: var(--secondary); box-shadow: 0 0 10px var(--secondary); }
.led--purple { background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* ==========================================================================
   10. NAVBAR
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(5, 8, 22, 0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav.is-scrolled {
  background: rgba(5, 8, 22, 0.86);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.42);
}
/* Trilha de circuito na base da navbar */
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 168, 0.55), rgba(0, 194, 255, 0.55), transparent);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.nav.is-scrolled::after { opacity: 1; }

.nav__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo__mark {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  box-shadow: 0 0 22px rgba(0, 229, 168, 0.34);
  transition: transform var(--dur) var(--ease-out-expo), box-shadow var(--dur) var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-6deg) scale(1.06); box-shadow: 0 0 30px rgba(0, 229, 168, 0.55); }
.logo__mark::before,
.logo__mark::after {
  content: "";
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 7px var(--secondary);
}
.logo__mark::before { top: -4px; left: 50%; transform: translateX(-50%); }
.logo__mark::after { bottom: -4px; left: 50%; transform: translateX(-50%); }
.logo__core {
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
}
.logo__core::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}
/* Empilha o nome da marca e a assinatura pessoal */
.logo__stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
}
.logo__text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.15;
}
.logo__text span { color: var(--primary); }

/* Assinatura: Jefferson Silva · Consultor de Tecnologia */
.logo__sign {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1.2;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.logo__sign i {
  font-style: normal;
  color: var(--primary);
  margin-inline: 2px;
}
.logo:hover .logo__sign { color: var(--text-2); }

/* No rodapé a assinatura ganha um pouco mais de presença */
.footer .logo__sign { font-size: 11px; color: var(--text-2); }

/* Menu */
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-2);
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__link.is-active { color: var(--text); background: rgba(0, 229, 168, 0.09); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  transform: translateX(-50%);
  width: 16px; height: 2px;
  border-radius: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

.nav__actions { display: flex; align-items: center; gap: 12px; }

/* Botão hambúrguer */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav__toggle span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav__toggle span + span { margin-top: 5px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   11. HERO
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: var(--space-9);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}
/* Variante dividida (heroStyle = "split") — layout padrão, definido no grid acima. */
.hero--split .hero__visual { display: block; }
.hero__content { min-width: 0; }
.hero__title { margin-top: var(--space-5); }
.hero__lead { margin-top: var(--space-5); }
.hero__cta { margin-top: var(--space-6); display: flex; gap: 14px; flex-wrap: wrap; }
.hero__tags { margin-top: var(--space-7); display: flex; gap: 10px; flex-wrap: wrap; }

/* Indicadores de credibilidade */
.hero__stats {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat { min-width: 0; }
.stat__value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.stat__label { font-size: 13px; color: var(--text-3); margin-top: 2px; }

/* Variante centralizada (equivalente a heroStyle = "centered") */
.hero--centered .hero__grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
.hero--centered .hero__lead { margin-inline: auto; }
.hero--centered .hero__cta,
.hero--centered .hero__tags,
.hero--centered .hero__stats { justify-content: center; }
.hero--centered .hero__visual { display: none; }

/* ==========================================================================
   12. DASHBOARD TECNOLÓGICO
   ========================================================================== */
.hero__visual { position: relative; }

.dash {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 18px;
  background: linear-gradient(155deg, rgba(16, 25, 46, 0.94), rgba(8, 13, 28, 0.88));
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: var(--shadow-lg), 0 0 70px rgba(0, 194, 255, 0.10);
  transform-style: preserve-3d;
  will-change: transform;
}
/* Moldura luminosa */
.dash::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(0, 229, 168, 0.55), transparent 38%, transparent 62%, rgba(123, 97, 255, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.dash__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px 14px;
  border-bottom: 1px solid var(--line);
}
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); display: block; }
.dash__dots i:nth-child(1) { background: rgba(255, 95, 86, 0.55); }
.dash__dots i:nth-child(2) { background: rgba(255, 189, 46, 0.55); }
.dash__dots i:nth-child(3) { background: rgba(0, 229, 168, 0.65); }
.dash__name {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-3);
}
.dash__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 229, 168, 0.10);
  border: 1px solid rgba(0, 229, 168, 0.24);
}

.dash__body { padding-top: 16px; display: grid; gap: 12px; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi {
  border-radius: 14px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.kpi:hover { border-color: rgba(0, 229, 168, 0.30); background: rgba(0, 229, 168, 0.06); }
.kpi__label {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 700;
}
.kpi__value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 4px;
}
.kpi__delta { font-size: 11px; font-weight: 650; color: var(--primary); margin-top: 1px; }
.kpi__delta--blue { color: var(--secondary); }
.kpi__delta--purple { color: var(--accent); }

/* Painéis de gráfico */
.panels { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 10px; }
.panel {
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid var(--line);
}
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.panel__title { font-size: 12.5px; font-weight: 700; letter-spacing: -0.01em; }
.panel__tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
}

/* Gráfico de barras (CSS puro) */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.bars__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.bars__bar {
  width: 100%;
  border-radius: 5px 5px 3px 3px;
  background: linear-gradient(180deg, var(--primary), rgba(0, 194, 255, 0.35));
  box-shadow: 0 0 14px rgba(0, 229, 168, 0.28);
  height: var(--h, 40%);
  transform-origin: bottom;
  transition: filter var(--dur) var(--ease);
}
.bars__col:nth-child(even) .bars__bar { background: linear-gradient(180deg, var(--secondary), rgba(123, 97, 255, 0.32)); box-shadow: 0 0 14px rgba(0, 194, 255, 0.26); }
.bars__col:hover .bars__bar { filter: brightness(1.25); }
.bars__label { font-family: var(--font-mono); font-size: 9px; color: var(--text-3); }

/* Gráfico de linha (SVG) */
.line-chart { width: 100%; height: 96px; display: block; }
.line-chart__path { fill: none; stroke: url(#lineGrad); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.line-chart__area { fill: url(#areaGrad); opacity: 0.55; }
.line-chart__dot { fill: var(--primary); }

/* Gráfico de pizza / donut */
.donut { display: flex; align-items: center; gap: 14px; }
.donut__ring {
  width: 84px; height: 84px;
  border-radius: 50%;
  flex: none;
  background: conic-gradient(var(--primary) 0 42%, var(--secondary) 42% 71%, var(--accent) 71% 89%, rgba(255, 255, 255, 0.10) 89% 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 0 26px rgba(0, 229, 168, 0.18);
}
.donut__hole {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #0b1223;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}
.donut__legend { display: grid; gap: 7px; font-size: 11.5px; color: var(--text-2); }
.donut__item { display: flex; align-items: center; gap: 8px; }
.donut__swatch { width: 9px; height: 9px; border-radius: 3px; flex: none; }

/* Barras de progresso / stack tecnológico */
.meters { display: grid; gap: 10px; }
.meter__top { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-2); margin-bottom: 5px; }
.meter__track { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.meter__fill {
  height: 100%;
  border-radius: 3px;
  width: var(--w, 60%);
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(0, 229, 168, 0.4);
}
.meter__fill--blue { background: linear-gradient(90deg, var(--secondary), var(--accent)); box-shadow: 0 0 12px rgba(0, 194, 255, 0.4); }
.meter__fill--purple { background: linear-gradient(90deg, var(--accent), var(--secondary)); box-shadow: 0 0 12px rgba(123, 97, 255, 0.4); }

/* Terminal / log de automação */
.term {
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.85;
  color: var(--text-2);
}
.term__line { display: flex; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term__prompt { color: var(--primary); }
.term__ok { color: var(--primary); }
.term__key { color: var(--secondary); }
.term__mut { color: var(--text-3); }

/* Cartões flutuantes ao redor do dashboard */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 15px;
  background: rgba(16, 25, 46, 0.90);
  border: 1px solid rgba(0, 229, 168, 0.26);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.float-card--tl { top: -22px; left: -26px; }
.float-card--br { bottom: -20px; right: -20px; border-color: rgba(123, 97, 255, 0.30); }
.float-card__value { font-family: var(--font-display); font-size: 15px; font-weight: 700; }
.float-card__label { font-size: 10.5px; color: var(--text-3); font-weight: 600; }

/* ==========================================================================
   13. BADGES DE TECNOLOGIA
   ========================================================================== */
.tech-strip {
  position: relative;
  padding-block: var(--space-7);
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 16, 32, 0.6), rgba(5, 8, 22, 0.2));
}
.tech-strip__label {
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--space-5);
}
.tech-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.tech-track { display: flex; gap: 12px; width: max-content; }
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease), transform var(--dur) var(--ease-out-expo);
}
.tech-badge:hover {
  color: var(--text);
  transform: translateY(-3px);
  border-color: rgba(0, 194, 255, 0.38);
  background: rgba(0, 194, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
.tech-badge svg { width: 17px; height: 17px; color: var(--primary); flex: none; }
.tech-badge:nth-child(3n+2) svg { color: var(--secondary); }
.tech-badge:nth-child(3n+3) svg { color: var(--accent); }

/* ==========================================================================
   14. SEÇÕES DE CONTEÚDO
   ========================================================================== */
.section-anchor { scroll-margin-top: calc(var(--nav-h) + 20px); }

/* Cabeçalho de página interna (Serviços / Sobre / Contato) */
.page-head {
  position: relative;
  padding-top: var(--space-9);
  padding-bottom: var(--space-6);
  text-align: center;
}
.page-head .lead { margin: var(--space-5) auto 0; }
.page-head .h1 { margin-top: var(--space-5); }

/* ==========================================================================
   15. SERVIÇOS
   ========================================================================== */
/* Layout alternado (equivalente a servicesLayout = "alternating") */
.svc-list { display: grid; gap: var(--space-6); }
.svc {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-7);
  align-items: center;
  border-radius: var(--radius-xl);
  padding: var(--space-7);
}
.svc:nth-child(even) .svc__media { order: 2; }
.svc__media {
  position: relative;
  min-height: 240px;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 229, 168, 0.10), transparent 62%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
  overflow: hidden;
}
.svc__media--blue { background: radial-gradient(circle at 50% 50%, rgba(0, 194, 255, 0.11), transparent 62%), linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)); }
.svc__media--purple { background: radial-gradient(circle at 50% 50%, rgba(123, 97, 255, 0.12), transparent 62%), linear-gradient(160deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)); }
.svc__glyph { position: relative; z-index: 2; width: 96px; height: 96px; color: var(--primary); filter: drop-shadow(0 0 22px rgba(0, 229, 168, 0.45)); }
.svc__media--blue .svc__glyph { color: var(--secondary); filter: drop-shadow(0 0 22px rgba(0, 194, 255, 0.45)); }
.svc__media--purple .svc__glyph { color: var(--accent); filter: drop-shadow(0 0 22px rgba(123, 97, 255, 0.45)); }

.svc__content > * + * { margin-top: var(--space-4); }
.svc__ideal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(0, 229, 168, 0.07);
  border: 1px solid rgba(0, 229, 168, 0.20);
}

/* Layout em grade (equivalente a servicesLayout = "grid") */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); }

/* Alternância de layout controlada por app.js */
[data-layout-variant] { display: none; }
[data-layout-variant].is-active { display: grid; }

/* ==========================================================================
   16. PORTFÓLIO & CASES
   ========================================================================== */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.work__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-4);
  background:
    linear-gradient(160deg, rgba(0, 229, 168, 0.10), rgba(123, 97, 255, 0.08)),
    var(--bg-2);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.work__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 26px 26px;
}
.work__thumb svg { position: relative; z-index: 2; width: 46px; height: 46px; color: var(--text-3); }

/* Marcador visível de conteúdo a preencher */
.placeholder {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #ffd166;
  background: rgba(255, 209, 102, 0.09);
  border: 1px dashed rgba(255, 209, 102, 0.42);
  border-radius: 7px;
  padding: 2px 8px;
  display: inline-block;
}
.placeholder-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: var(--space-6);
  font-size: 14px;
  color: #ffd166;
  background: rgba(255, 209, 102, 0.07);
  border: 1px dashed rgba(255, 209, 102, 0.34);
}
.placeholder-note svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }

/* Case em destaque */
.case { display: grid; gap: var(--space-5); }
.case__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.case__metric {
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.032);
  border: 1px solid var(--line);
  text-align: center;
}
.case__metric-value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.case__metric-label { font-size: 12.5px; color: var(--text-3); margin-top: 3px; }

/* ==========================================================================
   17. PROCESSO & DIFERENCIAIS
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); position: relative; }
/* Trilha que conecta as etapas */
.steps::before {
  content: "";
  position: absolute;
  top: 27px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 229, 168, 0.45), rgba(0, 194, 255, 0.45), rgba(123, 97, 255, 0.45));
  opacity: 0.5;
}
.step { position: relative; text-align: center; }
.step__num {
  position: relative;
  z-index: 2;
  width: 54px; height: 54px;
  margin: 0 auto var(--space-4);
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  background: linear-gradient(150deg, #101a30, #0b1224);
  border: 1px solid rgba(0, 229, 168, 0.32);
  box-shadow: 0 0 26px rgba(0, 229, 168, 0.18);
  transition: transform var(--dur) var(--ease-out-expo), box-shadow var(--dur) var(--ease);
}
.step:hover .step__num { transform: translateY(-4px); box-shadow: 0 0 38px rgba(0, 229, 168, 0.38); }
.step__title { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.step__text { font-size: 14px; color: var(--text-2); margin-top: 8px; }

/* Diferenciais numerados */
.diff__num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: var(--grad-tri);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.85;
}

/* ==========================================================================
   18. CONTATO & FORMULÁRIO
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-5); align-items: start; }

.field { display: grid; gap: 8px; }
.field + .field { margin-top: var(--space-4); }
.field__label { font-size: 13px; font-weight: 650; color: var(--text-2); letter-spacing: 0.01em; }
.field__hint { font-size: 12px; color: var(--text-3); }

.input,
.textarea,
.select {
  width: 100%;
  border-radius: 13px;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.textarea { resize: vertical; min-height: 118px; line-height: 1.6; font-family: inherit; }
.input::placeholder,
.textarea::placeholder { color: var(--text-3); }
.input:hover,
.textarea:hover,
.select:hover { border-color: rgba(255, 255, 255, 0.22); }
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: rgba(0, 229, 168, 0.60);
  background: rgba(0, 229, 168, 0.045);
  box-shadow: 0 0 0 4px rgba(0, 229, 168, 0.13);
}
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c4cbdd' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.select option { background: var(--card); color: var(--text); }

/* Cartão de contato direto */
.contact-phone {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
}

/* Faixa informativa */
.info-strip { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-5); }
.info-strip .pill { font-size: 13.5px; }

/* ==========================================================================
   19. CTA
   ========================================================================== */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-7);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 130% at 50% 0%, rgba(0, 229, 168, 0.14), transparent 62%),
    linear-gradient(160deg, rgba(16, 25, 46, 0.92), rgba(8, 13, 28, 0.86));
  border: 1px solid rgba(0, 229, 168, 0.22);
  box-shadow: var(--shadow), 0 0 70px rgba(0, 229, 168, 0.09);
}
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: var(--space-6); }
.cta .lead { margin: var(--space-4) auto 0; }
/* Trilhas de circuito no fundo do CTA */
.cta__pcb { position: absolute; inset: 0; opacity: 0.45; pointer-events: none; }

/* ==========================================================================
   20. RODAPÉ
   ========================================================================== */
.footer {
  position: relative;
  margin-top: var(--space-9);
  padding-top: var(--space-8);
  padding-bottom: var(--space-6);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(10, 16, 32, 0.5), rgba(5, 8, 22, 0.9));
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}
.footer__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: var(--space-4);
}
.footer__links { display: grid; gap: 11px; }
.footer__links a { color: var(--text-2); font-size: 14.5px; }
.footer__links a:hover { color: var(--primary); }
.footer__bottom {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-3);
}

/* ==========================================================================
   21. WHATSAPP FLUTUANTE
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #04140f;
  background: linear-gradient(135deg, #00e5a8, #12b981);
  box-shadow: 0 12px 34px rgba(0, 229, 168, 0.42);
  transition: transform var(--dur) var(--ease-out-expo), box-shadow var(--dur) var(--ease);
}
.wa-float:hover { color: #04140f; transform: scale(1.08) translateY(-2px); box-shadow: 0 18px 46px rgba(0, 229, 168, 0.58); }
.wa-float svg { width: 28px; height: 28px; }
/* Anel pulsante */
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 168, 0.5);
  animation: waPulse 2.6s var(--ease) infinite;
}
.wa-float[hidden] { display: none; }

/* ==========================================================================
   22. PÁGINAS INTERNAS (legal, 404, obrigado)
   ========================================================================== */
.prose { max-width: 78ch; color: var(--text-2); font-size: 15.5px; line-height: 1.78; }
.prose h2 { margin-top: var(--space-7); margin-bottom: var(--space-3); color: var(--text); font-size: 24px; }
.prose h3 { margin-top: var(--space-5); margin-bottom: var(--space-2); color: var(--text); font-size: 18px; }
.prose p + p { margin-top: var(--space-3); }
.prose ul { margin-top: var(--space-3); display: grid; gap: 9px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before {
  content: "";
  position: absolute;
  left: 2px; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 7px var(--primary);
}
.prose strong { color: var(--text); font-weight: 650; }

/* Estado centralizado (404 / obrigado) */
.state {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--space-9);
}
.state__code {
  font-family: var(--font-display);
  font-size: clamp(88px, 18vw, 180px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  background: var(--grad-tri);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.state__icon {
  width: 92px; height: 92px;
  margin: 0 auto var(--space-5);
  border-radius: 26px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: linear-gradient(150deg, rgba(0, 229, 168, 0.16), rgba(0, 194, 255, 0.06));
  border: 1px solid rgba(0, 229, 168, 0.30);
  box-shadow: 0 0 44px rgba(0, 229, 168, 0.24);
}
.state__icon svg { width: 44px; height: 44px; }

/* Impressão */
@media print {
  .nav, .wa-float, .bg-layers, .cta { display: none !important; }
  body { background: #fff; color: #000; }
}
