/* ================================================================
   ARKADIA — styles.css
   Design System: Dark cybersecurity premium, Space Grotesk + Inter
   ================================================================ */

/* ──────────────────────────────────────────
   UTILITIES
────────────────────────────────────────── */
.hidden { display: none !important; }

/* ──────────────────────────────────────────
   CUSTOM PROPERTIES
────────────────────────────────────────── */
:root {
  /* Background layers */
  --bg-base:     #07090E;
  --bg-surface:  #0C0F17;
  --bg-elevated: #111520;
  --bg-card:     #131825;
  --bg-card-hover: #171D2E;

  /* Borders */
  --border:       rgba(255, 255, 255, 0.055);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(24, 171, 227, 0.18);

  /* Brand colors */
  --orange:      #FF914D;
  --orange-dark: #B67F37;
  --blue:        #18ABE3;
  --blue-deep:   #2688A3;
  --yellow:      #FFDE59;

  /* Text */
  --text-primary:   #E8EDF8;
  --text-secondary: #8A95A8;
  --text-muted:     #525C6B;

  /* Glows */
  --glow-blue:   rgba(24, 171, 227, 0.18);
  --glow-orange: rgba(255, 145, 77, 0.18);
  --glow-yellow: rgba(255, 222, 89, 0.12);

  /* Typography */
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Spacing */
  --section-py: 110px;

  /* Radius */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* Transition */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.18s;
  --t-med:  0.32s;
}

/* ──────────────────────────────────────────
   RESET & BASE
────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

img {
  display: block;
  max-width: 100%;
}

input, select, button, textarea {
  font: inherit;
}

/* ──────────────────────────────────────────
   UTILITIES
────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 5px 14px;
  background: rgba(24, 171, 227, 0.08);
  border: 1px solid rgba(24, 171, 227, 0.2);
  border-radius: 100px;
  margin-bottom: 22px;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 72px;
}

.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ──────────────────────────────────────────
   BUTTONS
────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 145, 77, 0);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity var(--t-fast);
}

.btn--primary:hover {
  background: #f07d38;
  box-shadow: 0 0 28px rgba(255, 145, 77, 0.4);
  transform: translateY(-1px);
}

.btn--primary:hover::before { opacity: 1; }

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.btn--ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 10px 22px;
  font-size: 14px;
  border-radius: var(--r-md);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ──────────────────────────────────────────
   NAV
────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 18px 0;
  transition: background var(--t-med), border-color var(--t-med), padding var(--t-med);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  /* Solid fallback — renders correctly on all Android Chrome versions */
  background: rgba(7, 9, 14, 0.97);
  border-color: var(--border);
  padding: 12px 0;
}

/* Blur only where reliably supported (avoids Android color-shift bug) */
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .nav.scrolled {
    background: rgba(7, 9, 14, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__logo {
  flex-shrink: 0;
}

.nav__logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.nav__links {
  display: flex;
  gap: 32px;
  flex: 1;
}

.nav__links a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t-fast);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--blue);
  transition: width var(--t-fast) var(--ease);
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__links a:hover::after { width: 100%; }

.nav__cta { margin-left: auto; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--r-md);
  transition: background 0.2s ease;
}

.nav__burger:hover {
  background: rgba(255,255,255,0.06);
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ──────────────────────────────────────────
   DRAWER OVERLAY
────────────────────────────────────────── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 299;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease);
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ──────────────────────────────────────────
   DRAWER SHELL — SOC Panel
────────────────────────────────────────── */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 82%;
  max-width: 340px;
  z-index: 300;
  background: var(--bg-base);
  background-image:
    linear-gradient(rgba(24,171,227,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,171,227,0.012) 1px, transparent 1px);
  background-size: 22px 22px;
  border-left: 1px solid rgba(24, 171, 227, 0.22);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  overflow: hidden;
}

.drawer.open {
  transform: translateX(0);
}

/* ── Header ── */
.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(24, 171, 227, 0.12);
  flex-shrink: 0;
  background: rgba(24, 171, 227, 0.03);
}

.drawer__logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  animation: icon-spin 28s linear infinite;
}

.drawer__close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.drawer__close span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  position: absolute;
  transition: background var(--t-fast);
}

.drawer__close span:first-child { transform: rotate(45deg); }
.drawer__close span:last-child  { transform: rotate(-45deg); }
.drawer__close:hover span { background: var(--text-primary); }

/* ── Boot sequence ── */
.drawer__boot {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 18px;
  border-bottom: 1px solid rgba(24, 171, 227, 0.08);
  flex-shrink: 0;
  min-height: 66px;
  justify-content: center;
}

.drawer__boot-line {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.drawer__boot-line.visible {
  opacity: 1;
  transform: none;
}

.drawer__boot-line--ready { color: #4ade80; }
.boot__ok                  { color: #4ade80; }
.boot__check               { color: #4ade80; }

/* ── Status HUD ── */
.drawer__hud {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(24, 171, 227, 0.1);
  flex-shrink: 0;
  min-height: 66px;
  justify-content: center;
}

.hud__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud__item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.6px;
  font-weight: 700;
}

.hud__item--green { color: #4ade80; }
.hud__item--blue  { color: var(--blue); }

.hud__dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: hudPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hud__sep {
  color: var(--text-muted);
  font-size: 11px;
  font-family: var(--font-mono);
}

.hud__threats {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--yellow);
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hud__icon { font-size: 11px; }

@keyframes terminalBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

@keyframes hudPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* canvas legado do pixelWave — escondido mas mantido para não quebrar o IIFE */
.drawer__wave { display: none; }

/* ── Nav do drawer ── */
.drawer__nav {
  flex: 1;
  overflow: hidden;
  padding: 2px 0;
  position: relative;
}

/* Scan beam — posicionado via JS em sincronia com o canvas da hero */
.drawer__scan-beam {
  position: absolute;
  left: 0; right: 0;
  height: 25px;
  background: linear-gradient(180deg,
    transparent,
    rgba(24, 171, 227, 0.06),
    rgba(24, 171, 227, 0.13),
    rgba(24, 171, 227, 0.06),
    transparent);
  pointer-events: none;
  z-index: 5;
  top: -25px;
  will-change: transform;
}

.drawer__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(24, 171, 227, 0.06);
}

/* Left accent bar */
.drawer__item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--mc, var(--orange));
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.18s ease;
  z-index: 2;
}

.drawer__item:hover::before { transform: scaleY(1); }

/* Scan sweep on hover */
.drawer__item::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.045), transparent);
  transform: translateX(-120%);
  pointer-events: none;
}

.drawer__item:hover::after {
  animation: drawerScan 0.42s ease forwards;
}

@keyframes drawerScan {
  from { transform: translateX(-120%); }
  to   { transform: translateX(330%);  }
}

/* Module dot */
.drawer__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mc, var(--orange));
  flex-shrink: 0;
  box-shadow: 0 0 5px rgba(255,145,77,0.5);
  opacity: 0.65;
  transition: opacity var(--t-fast), box-shadow var(--t-fast);
}

.drawer__item:hover .drawer__dot {
  opacity: 1;
  box-shadow: 0 0 9px rgba(255,145,77,0.9);
}

.drawer__prefix {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--mc, var(--orange));
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.14s ease, transform 0.14s ease;
  line-height: 1;
  flex-shrink: 0;
}

.drawer__item:hover .drawer__prefix {
  opacity: 1;
  transform: none;
}

.drawer__label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.14s ease;
}

.drawer__item:hover .drawer__label {
  color: var(--mc, var(--orange));
}

.drawer__sub {
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

/* Module ID */
.drawer__mid {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  flex-shrink: 0;
  transition: color 0.14s ease;
}

.drawer__item:hover .drawer__mid {
  color: var(--mc, var(--orange));
  opacity: 0.8;
}

/* ── Footer do drawer ── */
.drawer__footer {
  flex-shrink: 0;
  padding: 14px 18px 0;
  border-top: 1px solid rgba(24, 171, 227, 0.1);
}

.drawer__cta {
  display: block;
  width: 100%;
  padding: 11px;
  text-align: center;
  border: 1px solid var(--orange);
  color: #fff;
  background: var(--orange);
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
  margin-bottom: 14px;
}

.drawer__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity var(--t-fast);
}

.drawer__cta:hover {
  background: #f07d38;
  box-shadow: 0 0 28px rgba(255, 145, 77, 0.4);
  transform: translateY(-1px);
}

.drawer__cta:hover::before { opacity: 1; }

/* ── Scene strip ── */
.drawer__scene {
  height: 80px;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  background: rgba(24, 171, 227, 0.03);
  border-top: 1px solid rgba(24, 171, 227, 0.08);
  margin: 0 -18px;
}

/* ──────────────────────────────────────────
   THREATS
────────────────────────────────────────── */
.threats {
  padding: 100px 0 80px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.threats__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue-deep);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.threats__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 14px;
}

.threats__title em {
  color: var(--orange);
  font-style: normal;
}

.threats__sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* ── Tabs wrapper ── */
.threats__tabs-wrap {
  position: relative;
}

/* ── Tabs ── */
.threats__tabs {
  display: flex;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.threats__tabs::-webkit-scrollbar { display: none; }

.threats__tab {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 10px 18px;
  border-radius: 6px 6px 0 0;
  border: 1px solid rgba(38,136,163,0.22);
  border-bottom: none;
  color: #64748b;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.threats__tab:hover {
  border-color: rgba(38,136,163,0.45);
  color: #94a3b8;
}

.threats__tabs-wrap {
  position: relative;
}
/* Peek fade na borda direita — visual only, não bloqueia toque */
.threats__tabs-wrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 48px;
  background: linear-gradient(to right, transparent, var(--bg-base));
  pointer-events: none;
  z-index: 2;
}
.threats__tabs {
  padding-right: 40px;
  -webkit-overflow-scrolling: touch;
}

.threats__tabs .threats__tab--active {
  color: #FF914D;
  border: 2px solid #FF914D;
  border-bottom: 2px solid #07090E;
  background: #07090E;
  position: relative;
  z-index: 1;
  margin-bottom: -2px;
}

/* ── Stage ── */
.threats__stage-wrap {
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.threats__stage {
  position: relative;
  height: 220px;
  background: #040608;
  overflow: hidden;
}

.threats__stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.threats__stage canvas.active { display: block; }

/* ── Info panel ── */
.threats__info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 24px;
  background: #0a0e14;
  align-items: start;
}

.threats__info-type {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #ef4444;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.threats__info-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.threats__info-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.threats__info-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.threats__meta-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  text-align: center;
  min-width: 100px;
}

.threats__meta-val {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: #FFDE59;
}

.threats__meta-key {
  font-family: var(--font-mono);
  font-size: 9px;
  color: #475569;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .threats__stage { height: 180px; }

  .threats__info {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .threats__info-meta { flex-direction: row; flex-wrap: wrap; }
  .threats__meta-item { min-width: 80px; flex: 1; }
  .threats__info-title { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .threats__stage canvas { display: none !important; }
}

/* ──────────────────────────────────────────
   HERO
────────────────────────────────────────── */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 0 60px;
  position: relative;
  overflow: hidden;
}

/* Grid background */
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(24, 171, 227, 0.04) 1px, rgba(24, 171, 227, 0) 1px),
    linear-gradient(90deg, rgba(24, 171, 227, 0.04) 1px, rgba(24, 171, 227, 0) 1px);
  background-size: 60px 60px;
  /* Explicit rgba(0,0,0,0) avoids Android black-interpolation in masks */
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, rgb(0,0,0) 40%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, rgb(0,0,0) 40%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  padding-top: 54vh;
  pointer-events: none;
}


.hero__content {
  width: 100%;
}

.hero__inner > * {
  pointer-events: auto;
}

/* Hero badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: rgba(24, 171, 227, 0.06);
  border: 1px solid rgba(24, 171, 227, 0.18);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}

.badge__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22d376;
  box-shadow: 0 0 0 0 rgba(34, 211, 118, 0.4);
  animation: badge-pulse 2.5s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 118, 0.4); }
  50%       { box-shadow: 0 0 0 7px rgba(34, 211, 118, 0); }
}

/* Hero title */
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.8vw, 50px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.hero__title--accent {
  color: var(--orange); /* fallback: Samsung Internet e browsers sem bg-clip */
  background: linear-gradient(90deg, var(--orange) 0%, var(--yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  opacity: 0.85;
}

.hero__subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.hero__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  justify-content: center;
}

/* Trust bar */
.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  flex: 1;
  max-width: 140px;
}

.trust-number {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.trust-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--border-hover);
}

/* Hero battle canvas — cobre toda a section como fundo */
.hero__battle-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: block;
  z-index: 0;
}

.hero__icon-wrap {
  position: relative;
  width: 420px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orbital rings */
.hero__icon-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  pointer-events: none;
}

.orbit--1 {
  width: 340px;
  height: 340px;
  border-color: rgba(24, 171, 227, 0.1);
  animation: orbit-rotate 18s linear infinite;
}

.orbit--1::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
  transform: translateX(-50%);
}

.orbit--2 {
  width: 280px;
  height: 280px;
  border-color: rgba(255, 145, 77, 0.1);
  /* 23s reverse — velocidades 18/23/15 nunca se alinham perfeitamente */
  animation: orbit-rotate 23s linear infinite reverse;
}

.orbit--2::before {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  transform: translateX(-50%);
}

.orbit--3 {
  width: 220px;
  height: 220px;
  border-color: rgba(255, 222, 89, 0.12);
  /* 15s — não-múltiplo de 18s/23s para dessincronia orgânica */
  animation: orbit-rotate 15s linear infinite;
}

.orbit--3::before {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FFDE59;
  box-shadow: 0 0 10px rgba(255, 222, 89, 0.8), 0 0 20px rgba(255, 222, 89, 0.3);
  transform: translateX(-50%);
}

@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Glow behind icon */
.hero__icon-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 145, 77, 0.12) 0%,
    rgba(24, 171, 227, 0.08) 40%,
    rgba(7, 9, 14, 0) 70%
  );
  animation: glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.8; }
  50%       { transform: scale(1.15); opacity: 1; }
}

/* Main icon animation */
.hero__icon {
  width: 180px;
  height: auto;
  position: relative;
  z-index: 2;
  animation: icon-spin 22s linear infinite;
  /* Single drop-shadow — dual values cause GPU artifacts on Android Chrome */
  filter: drop-shadow(0 0 22px rgba(255, 145, 77, 0.28));
  will-change: transform;
}

@keyframes icon-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__scroll-cue span {
  display: block;
  width: 1.5px;
  height: 48px;
  background: linear-gradient(180deg, rgba(24,171,227,0), var(--blue) 50%, rgba(24,171,227,0));
  animation: scroll-line 2.2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%   { transform: scaleY(0) translateY(0);   opacity: 0; }
  40%  { transform: scaleY(1) translateY(0);   opacity: 1; }
  100% { transform: scaleY(1) translateY(24px); opacity: 0; }
}

/* ──────────────────────────────────────────
   THREAT TICKER
────────────────────────────────────────── */
.ticker-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 12px 0;
}

.ticker__track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}

.ticker__track span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ──────────────────────────────────────────
   SERVICES — Bento Grid
────────────────────────────────────────── */
.services {
  padding: var(--section-py) 0;
}

.services__bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

/* ── Base block ── */
.svc {
  grid-column: span 4;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  cursor: default;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

/* Wide block — 2/3 width */
.svc--wide { grid-column: span 8; }

/* Half block — 1/2 width */
.svc--half { grid-column: span 6; }

/* ── Decorative number ── */
.svc__num {
  position: absolute;
  bottom: 18px;
  right: 24px;
  font-family: var(--font-head);
  font-size: 88px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255,255,255,0.028);
  pointer-events: none;
  user-select: none;
}

/* ── Head: threat tag + icon ── */
.svc__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.svc__threat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  max-width: 220px;
  padding-top: 2px;
}

.svc__icon {
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s, filter 0.2s;
}

/* ── Content ── */
.svc h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.svc--wide h3 { font-size: 22px; }

.svc p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 28px;
  flex: 1;
}

.svc__price {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.svc__price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-secondary);
}

.svc__plans {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.svc__plan {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}
.svc__plan-name {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.svc__plan-price {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}
.svc__plan-price span {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-secondary);
}
.svc__plan-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.svc__cta {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: letter-spacing 0.2s var(--ease);
  align-self: flex-start;
}

/* ── Scan sweep line (animates on hover, top → bottom) ── */
.svc::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  top: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  animation: none;
}

/* ── Left accent border ── */
.svc::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 2px;
  border-radius: 2px 0 0 2px;
  transition: opacity 0.28s;
}

/* ── Orange variant (Pentest, IR) ── */
.svc--orange::before { background: linear-gradient(90deg, transparent, rgba(255,145,77,0.55), transparent); }
.svc--orange::after  { background: rgba(255,145,77,0.30); }
.svc--orange .svc__threat { color: rgba(255,145,77,0.65); }
.svc--orange .svc__cta    { color: var(--orange); }

/* ── Blue variant (SOC, Compliance) ── */
.svc--blue::before { background: linear-gradient(90deg, transparent, rgba(24,171,227,0.55), transparent); }
.svc--blue::after  { background: rgba(24,171,227,0.30); }
.svc--blue .svc__threat { color: rgba(24,171,227,0.65); }
.svc--blue .svc__cta    { color: var(--blue); }

/* ── Yellow variant (Vuln, Awareness) ── */
.svc--yellow::before { background: linear-gradient(90deg, transparent, rgba(255,222,89,0.55), transparent); }
.svc--yellow::after  { background: rgba(255,222,89,0.30); }
.svc--yellow .svc__threat { color: rgba(255,222,89,0.60); }
.svc--yellow .svc__cta    { color: var(--yellow); }

/* ── Hover ── */
.svc:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
}
.svc--orange:hover { box-shadow: 0 8px 32px rgba(255,145,77,0.08); }
.svc--blue:hover   { box-shadow: 0 8px 32px rgba(24,171,227,0.08); }
.svc--yellow:hover { box-shadow: 0 8px 32px rgba(255,222,89,0.06); }

.svc:hover::before { animation: svc-scan 1.6s ease-in-out forwards; }

/* Scan colors per variant */
.svc--orange::before { background: linear-gradient(90deg, transparent, rgba(255,145,77,0.85), transparent); }
.svc--blue::before   { background: linear-gradient(90deg, transparent, rgba(24,171,227,0.85), transparent); }
.svc--yellow::before { background: linear-gradient(90deg, transparent, rgba(255,222,89,0.85), transparent); }

@keyframes svc-scan {
  0%   { top: 0;    opacity: 0; }
  6%   { top: 0;    opacity: 1; }
  88%  { top: 100%; opacity: 0.7; }
  100% { top: 100%; opacity: 0; }
}

/* Icon breathe — cada variante tem fase diferente */
.svc--orange .svc__icon { animation: breathe-o 3.5s ease-in-out infinite; }
.svc--blue   .svc__icon { animation: breathe-b 3.2s ease-in-out infinite 0.6s; }
.svc--yellow .svc__icon { animation: breathe-y 3.8s ease-in-out infinite 1.2s; }

@keyframes breathe-o {
  0%, 100% { opacity: 0.70; filter: drop-shadow(0 0 3px rgba(255,145,77,0.28)); }
  50%       { opacity: 1;    filter: drop-shadow(0 0 10px rgba(255,145,77,0.55)); }
}
@keyframes breathe-b {
  0%, 100% { opacity: 0.70; filter: drop-shadow(0 0 3px rgba(24,171,227,0.28)); }
  50%       { opacity: 1;    filter: drop-shadow(0 0 10px rgba(24,171,227,0.55)); }
}
@keyframes breathe-y {
  0%, 100% { opacity: 0.70; filter: drop-shadow(0 0 3px rgba(255,222,89,0.22)); }
  50%       { opacity: 1;    filter: drop-shadow(0 0 10px rgba(255,222,89,0.45)); }
}

/* Icon hover — para breathe e coloca glow fixo */
.svc--orange:hover .svc__icon { animation: none; opacity: 1; filter: drop-shadow(0 0 9px rgba(255,145,77,0.7)); }
.svc--blue:hover   .svc__icon { animation: none; opacity: 1; filter: drop-shadow(0 0 9px rgba(24,171,227,0.7)); }
.svc--yellow:hover .svc__icon { animation: none; opacity: 1; filter: drop-shadow(0 0 9px rgba(255,222,89,0.6)); }

.svc:hover .svc__cta { letter-spacing: 0.05em; }

/* Typing cursor no threat label */
.svc__threat--typing::after {
  content: '|';
  margin-left: 1px;
  animation: svc-cursor 0.55s step-end infinite;
}
@keyframes svc-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ──────────────────────────────────────────
   DIFFERENTIALS — bento redesign
────────────────────────────────────────── */
.differentials {
  padding: var(--section-py) 0 0;
  border-bottom: 1px solid var(--border);
}

.diff-header {
  text-align: center;
  margin-bottom: 48px;
}
.diff-header .section-tag { margin-bottom: 16px; }
.diff-header h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
}

/* ── Grid ── */
.diff-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto;
  gap: 12px;
}

/* HERO: col 1-8, rows 1-2 */
.diff-block--hero {
  grid-column: 1 / 9;
  grid-row: 1 / 3;
}
/* 42min: col 9-12, row 1 */
.diff-block:nth-child(2) { grid-column: 9 / 13; grid-row: 1; }
/* +200: col 9-10, row 2 */
.diff-block--compact:nth-child(3) { grid-column: 9 / 11; grid-row: 2; }
/* 98%: col 11-12, row 2 */
.diff-block--compact:nth-child(4) { grid-column: 11 / 13; grid-row: 2; }
/* Team: col 1-6, row 3 */
.diff-block:nth-child(5) { grid-column: 1 / 7; grid-row: 3; }
/* Reports: col 7-12, row 3 */
.diff-block:nth-child(6) { grid-column: 7 / 13; grid-row: 3; }

/* ── Base block ── */
.diff-block {
  background: rgba(10, 12, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.diff-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(255,255,255,0.015) 100%);
  pointer-events: none;
}
/* scan sweep on hover */
.diff-block::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: none;
  pointer-events: none;
}
.diff-block:hover::after {
  left: 140%;
  transition: left 0.7s ease-in-out;
}
.diff-block:hover {
  transform: translateY(-3px);
}

/* ── Color variants ── */
.diff-block--orange {
  border-color: rgba(255, 145, 77, 0.12);
  background: linear-gradient(145deg, rgba(255,145,77,0.05) 0%, rgba(10,12,22,0.8) 60%);
}
.diff-block--orange:hover {
  border-color: rgba(255, 145, 77, 0.28);
  box-shadow: 0 16px 48px rgba(255,145,77,0.08), 0 0 0 1px rgba(255,145,77,0.15);
}
.diff-block--blue {
  border-color: rgba(24, 171, 227, 0.12);
  background: linear-gradient(145deg, rgba(24,171,227,0.05) 0%, rgba(10,12,22,0.8) 60%);
}
.diff-block--blue:hover {
  border-color: rgba(24, 171, 227, 0.28);
  box-shadow: 0 16px 48px rgba(24,171,227,0.08), 0 0 0 1px rgba(24,171,227,0.15);
}
.diff-block--yellow {
  border-color: rgba(255, 222, 89, 0.10);
  background: linear-gradient(145deg, rgba(255,222,89,0.04) 0%, rgba(10,12,22,0.8) 60%);
}
.diff-block--yellow:hover {
  border-color: rgba(255, 222, 89, 0.25);
  box-shadow: 0 16px 48px rgba(255,222,89,0.06), 0 0 0 1px rgba(255,222,89,0.12);
}

/* ── Hero block ── */
.diff-block--hero {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
}
.diff-block__bg-glyph {
  position: absolute;
  right: -16px; top: -48px;
  font-family: var(--font-head);
  font-size: clamp(180px, 22vw, 280px);
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 145, 77, 0.055);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}
.diff-block__knight {
  position: absolute;
  right: 24px; bottom: 0;
  height: 58%;
  opacity: 0.06;
  pointer-events: none;
  filter: grayscale(1);
  transition: opacity 0.4s ease;
}
.diff-block--hero:hover .diff-block__knight { opacity: 0.10; }
.diff-block__inner { position: relative; z-index: 1; }

/* ── Kicker ── */
.diff-block__kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.diff-block--orange .diff-block__kicker { color: rgba(255,145,77,0.7); }
.diff-block--blue   .diff-block__kicker { color: rgba(24,171,227,0.7); }
.diff-block--yellow .diff-block__kicker { color: rgba(255,222,89,0.6); }

/* ── Stat number ── */
.diff-block__stat {
  font-family: var(--font-head);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.diff-block--hero .diff-block__stat {
  font-size: clamp(64px, 8vw, 110px);
  margin-bottom: 14px;
}
.diff-block--compact .diff-block__stat {
  font-size: clamp(32px, 3.5vw, 48px);
}
.diff-block--orange .diff-block__stat { color: var(--orange); }
.diff-block--blue   .diff-block__stat { color: var(--blue); }
.diff-block--yellow .diff-block__stat { color: var(--yellow); }

.diff-block__unit, .diff-block__prefix {
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: 0;
  opacity: 0.8;
  align-self: flex-end;
  padding-bottom: 0.1em;
}
.diff-block__prefix { align-self: flex-start; padding-bottom: 0; padding-top: 0.1em; }

/* ── Compact block ── */
.diff-block--compact {
  padding: 22px;
}
.diff-block--compact .diff-block__title {
  font-size: 13px;
  margin-bottom: 6px;
}
.diff-block--compact .diff-block__desc {
  font-size: 12px;
  line-height: 1.5;
}
.diff-block--compact .diff-block__kicker {
  margin-bottom: 8px;
}

/* ── Title & desc ── */
.diff-block__title {
  font-family: var(--font-head);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.diff-block--hero .diff-block__title { font-size: clamp(18px, 1.6vw, 24px); margin-bottom: 12px; }
.diff-block__desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.diff-block--hero .diff-block__desc { font-size: 14.5px; max-width: 440px; }

/* ── Malware decoration ── */
.diff-block__malware {
  position: absolute;
  right: 16px; bottom: 10px;
  height: 52%;
  opacity: 0.07;
  pointer-events: none;
  filter: grayscale(1);
  transition: opacity 0.4s ease;
}
.diff-block--has-malware:hover .diff-block__malware { opacity: 0.13; }

/* ── Cert badges ── */
.diff-block__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}
.diff-block__certs span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255,145,77,0.1);
  border: 1px solid rgba(255,145,77,0.2);
  color: var(--orange);
}

/* ── Report layers ── */
.diff-block__layers {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.diff-block__layer {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 4px;
}
.diff-block__layer--exec {
  background: rgba(255,222,89,0.1);
  border: 1px solid rgba(255,222,89,0.2);
  color: var(--yellow);
}
.diff-block__layer--tech {
  background: rgba(24,171,227,0.08);
  border: 1px solid rgba(24,171,227,0.18);
  color: var(--blue);
}

/* ──────────────────────────────────────────
   METHODOLOGY — SOC live terminal
────────────────────────────────────────── */
.methodology {
  padding: var(--section-py) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

/* ── Two-column layout ── */
.soc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
  align-items: start;
}

/* ══════════════════
   TERMINAL (esquerda)
══════════════════ */
.soc-terminal {
  background: #080C14;
  border: 1px solid rgba(24, 171, 227, 0.18);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.6),
    0 4px 32px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

/* Titlebar */
.soc-terminal__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.soc-terminal__dots {
  display: flex;
  gap: 6px;
}
.soc-terminal__dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.soc-terminal__dots span:first-child { background: rgba(255,77,77,0.5); }
.soc-terminal__dots span:nth-child(2) { background: rgba(255,190,88,0.5); }
.soc-terminal__dots span:nth-child(3) { background: rgba(80,200,100,0.5); }

.soc-terminal__title {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

.soc-terminal__status {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #4DDE7A;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Pulse dot */
.soc-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4DDE7A;
  box-shadow: 0 0 6px #4DDE7A;
  animation: soc-pulse 2s ease-in-out infinite;
}
@keyframes soc-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* Feed area */
.soc-terminal__feed {
  padding: 14px 16px;
  min-height: 320px;
  max-height: 380px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Footer */
.soc-terminal__footer {
  padding: 8px 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
}

/* ── Log entry ── */
.soc-entry {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.soc-entry:last-child { border-bottom: none; }
.soc-entry.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.soc-entry__time {
  color: rgba(255,255,255,0.22);
  font-size: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 1px;
}

.soc-entry__badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1px 6px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.soc-entry--scan   .soc-entry__badge { background: rgba(38,136,163,0.25); color: #18ABE3; border: 1px solid rgba(24,171,227,0.3); }
.soc-entry--alert  .soc-entry__badge { background: rgba(255,190,88,0.18); color: #FFBE58; border: 1px solid rgba(255,190,88,0.3); }
.soc-entry--block  .soc-entry__badge { background: rgba(255,77,77,0.18);  color: #FF4D4D; border: 1px solid rgba(255,77,77,0.3); }
.soc-entry--ok     .soc-entry__badge { background: rgba(77,222,122,0.15); color: #4DDE7A; border: 1px solid rgba(77,222,122,0.25); }

.soc-entry__msg {
  color: rgba(255,255,255,0.62);
  font-size: 11px;
  line-height: 1.5;
  flex: 1;
}
.soc-entry--alert .soc-entry__msg { color: rgba(255,255,255,0.75); }
.soc-entry--block .soc-entry__msg { color: rgba(255,200,200,0.7); }
.soc-entry--ok    .soc-entry__msg { color: rgba(200,255,220,0.65); }

/* ══════════════════
   FASES (direita)
══════════════════ */
.soc-phases {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.soc-phase {
  padding: 22px 24px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Glow strip no lado esquerdo */
.soc-phase::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: 10px 0 0 10px;
  background: rgba(255,255,255,0.08);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Active state */
.soc-phase.is-active {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.045);
}

/* Per-phase active colors */
.soc-phase[data-phase="anticipate"].is-active {
  border-color: rgba(255,145,77,0.3);
  background: rgba(255,145,77,0.05);
  box-shadow: 0 0 24px rgba(255,145,77,0.06), inset 0 0 30px rgba(255,145,77,0.03);
}
.soc-phase[data-phase="anticipate"].is-active::before {
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}

.soc-phase[data-phase="detect"].is-active {
  border-color: rgba(255,190,88,0.3);
  background: rgba(255,190,88,0.05);
  box-shadow: 0 0 24px rgba(255,190,88,0.06), inset 0 0 30px rgba(255,190,88,0.03);
}
.soc-phase[data-phase="detect"].is-active::before {
  background: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
}

.soc-phase[data-phase="respond"].is-active {
  border-color: rgba(24,171,227,0.3);
  background: rgba(24,171,227,0.05);
  box-shadow: 0 0 24px rgba(24,171,227,0.06), inset 0 0 30px rgba(24,171,227,0.03);
}
.soc-phase[data-phase="respond"].is-active::before {
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

/* Phase header */
.soc-phase__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.soc-phase__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
  transition: color 0.4s ease;
}

.soc-phase[data-phase="anticipate"].is-active .soc-phase__num { color: var(--orange); }
.soc-phase[data-phase="detect"].is-active     .soc-phase__num { color: var(--yellow); }
.soc-phase[data-phase="respond"].is-active    .soc-phase__num { color: var(--blue); }

.soc-phase__label {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.soc-phase__badge {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.28);
  margin-top: 3px;
  transition: color 0.4s ease;
}

.soc-phase[data-phase="anticipate"].is-active .soc-phase__badge { color: rgba(255,145,77,0.65); }
.soc-phase[data-phase="detect"].is-active     .soc-phase__badge { color: rgba(255,190,88,0.65); }
.soc-phase[data-phase="respond"].is-active    .soc-phase__badge { color: rgba(24,171,227,0.65); }

.soc-phase__desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.soc-phase__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.soc-phase__tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.4);
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.soc-phase[data-phase="anticipate"].is-active .soc-phase__tags span {
  background: rgba(255,145,77,0.1);
  border-color: rgba(255,145,77,0.2);
  color: rgba(255,145,77,0.8);
}
.soc-phase[data-phase="detect"].is-active .soc-phase__tags span {
  background: rgba(255,190,88,0.1);
  border-color: rgba(255,190,88,0.2);
  color: rgba(255,190,88,0.8);
}
.soc-phase[data-phase="respond"].is-active .soc-phase__tags span {
  background: rgba(24,171,227,0.1);
  border-color: rgba(24,171,227,0.2);
  color: rgba(24,171,227,0.8);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .soc-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .soc-terminal__feed {
    min-height: 260px;
    max-height: 300px;
  }
  .soc-phase {
    padding: 18px 18px;
  }
  .soc-phase__label { font-size: 15px; }
  .soc-phase__desc { font-size: 13px; }
}


/* ──────────────────────────────────────────
   CHASE SCENE (Diferenciais → Metodologia)
────────────────────────────────────────── */

/* -- Strip no rodapé do Diferenciais -- */
.chase-strip {
  position: relative;
  width: 100%;
  height: 62px;
  overflow: hidden;
  margin-top: 48px;
}

.chase-trail {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 0;
  border-top: 2px dashed rgba(255, 77, 77, 0.45);
  clip-path: inset(0 0 0 97%);
  animation: chase-trail 14s linear infinite;
}

@keyframes chase-trail {
  0%   { clip-path: inset(0 0 0 97%); opacity: 1; }
  76%  { clip-path: inset(0 0 0 3%);  opacity: 1; }
  83%  { clip-path: inset(0 0 0 3%);  opacity: 0; }
  100% { clip-path: inset(0 0 0 97%); opacity: 0; }
}

.chase-char {
  position: absolute;
  bottom: 4px;
  height: 50px;
  width: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.chase-char--malware {
  animation: chase-move 14s linear infinite,
             chase-mal-sway 0.55s ease-in-out infinite;
}

.chase-char--knight {
  animation: chase-move 14s linear infinite,
             chase-bob-r 0.38s ease-in-out infinite;
  animation-delay: -12s, 0s; /* knight 2s atrás do malware */
}

@keyframes chase-move {
  0%   { left: 105%; opacity: 0; }
  4%   { left: 101%; opacity: 1; }
  76%  { left:  -8%; opacity: 1; }
  81%  { left:  -8%; opacity: 0; }
  100% { left: 105%; opacity: 0; }
}

@keyframes chase-mal-sway {
  0%, 100% { transform: scaleX(-1) translateY(0)    rotate(0deg);  }
  33%      { transform: scaleX(-1) translateY(-2px) rotate(-8deg); }
  66%      { transform: scaleX(-1) translateY(-1px) rotate(8deg);  }
}

@keyframes chase-bob-r {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-5px); }
}

/* ──────────────────────────────────────────
   NOTEBOOK ANIMATION (About section)
────────────────────────────────────────── */
/* Hide SVG animated elements when canvas is rendering */
.nb-canvas-active .nb-soldier,
.nb-canvas-active .nb-threat,
.nb-canvas-active .nb-explosion,
.nb-canvas-active .nb-scanline { display: none; }


/* Scan line */
@keyframes nb-scan {
  from { transform: translateY(0); }
  to   { transform: translateY(158px); }
}
.nb-scanline { animation: nb-scan 3s linear infinite; }

/* Soldiers: march left → right (wrapper <g> handles y=198, CSS só mexe no X) */
@keyframes nb-soldier-march {
  from { transform: translateX(-40px); }
  to   { transform: translateX(440px); }
}

@keyframes nb-soldier-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

.nb-soldier--1 { animation: nb-soldier-march 9s linear infinite; }
.nb-soldier--2 { animation: nb-soldier-march 9s linear infinite; animation-delay: -3s; }
.nb-soldier--3 { animation: nb-soldier-march 9s linear infinite; animation-delay: -6s; }

.nb-soldier__bob {
  animation: nb-soldier-bob 0.42s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

/* Threats: march right → left, neutralizados na battle line, respawn */
@keyframes nb-threat-march {
  0%   { transform: translateX(0);     opacity: 1; }
  52%  { transform: translateX(-213px); opacity: 1; }
  56%  { transform: translateX(-235px); opacity: 0; }
  57%  { transform: translateX(0);     opacity: 0; }
  65%  { transform: translateX(0);     opacity: 1; }
  100% { transform: translateX(-140px); opacity: 1; }
}

@keyframes nb-threat-sway {
  0%, 100% { transform: translateY(0)    rotate(0deg);  }
  33%      { transform: translateY(-2px) rotate(-8deg); }
  66%      { transform: translateY(-1px) rotate(8deg);  }
}

.nb-threat--1 { animation: nb-threat-march 9s ease-in-out infinite; }
.nb-threat--2 { animation: nb-threat-march 9s ease-in-out infinite; animation-delay: -3s; }
.nb-threat--3 { animation: nb-threat-march 9s ease-in-out infinite; animation-delay: -6s; }

.nb-threat__sway {
  animation: nb-threat-sway 0.55s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

/* Explosão: wrapper <g> fica na battle line, CSS só faz scale */
@keyframes nb-explosion-flash {
  0%, 48%, 62%, 100% { opacity: 0; transform: scale(0.3); }
  53%  { opacity: 1; transform: scale(1); }
  57%  { opacity: 0; transform: scale(1.8); }
}

.nb-explosion {
  transform-box: fill-box;
  transform-origin: center;
}

.nb-explosion--1 { animation: nb-explosion-flash 9s ease-in-out infinite; }
.nb-explosion--2 { animation: nb-explosion-flash 9s ease-in-out infinite; animation-delay: -3s; }
.nb-explosion--3 { animation: nb-explosion-flash 9s ease-in-out infinite; animation-delay: -6s; }

/* ──────────────────────────────────────────
   ABOUT
────────────────────────────────────────── */
.about {
  padding: var(--section-py) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.about__certifications {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.cert-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hover);
  border-radius: 4px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.about__content .section-tag { margin-bottom: 18px; }

.about__content h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.022em;
  margin-bottom: 20px;
}

.about__content p {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__content .btn { margin-top: 20px; }

/* ── Proof items ── */
.about__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
  margin: 28px 0 20px;
}

.about__proof-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 20px;
  background: rgba(7,9,14,0.8);
  gap: 5px;
  transition: background 0.25s ease;
}
.about__proof-item:hover {
  background: rgba(255,255,255,0.03);
}

.about__proof-num {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  background: linear-gradient(135deg, #FFE87A, #FFDE59);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about__proof-unit {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.about__proof-label {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Sub-paragraph (menor) */
.about__sub {
  font-size: 13.5px !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
  line-height: 1.65 !important;
}

/* ── Notebook mode tabs ── */
.nb-modes {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}

.nb-mode-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}
.nb-mode-btn:hover {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
}

.nb-mode-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

/* active per mode */
.nb-mode-btn[data-mode="scan"].is-active {
  border-color: rgba(24,171,227,0.5);
  color: #18ABE3;
  background: rgba(24,171,227,0.08);
}
.nb-mode-btn[data-mode="scan"].is-active .nb-mode-dot {
  opacity: 1;
  box-shadow: 0 0 5px #18ABE3;
}
.nb-mode-btn[data-mode="attack"].is-active {
  border-color: rgba(255,77,77,0.5);
  color: #FF4D4D;
  background: rgba(255,77,77,0.08);
}
.nb-mode-btn[data-mode="attack"].is-active .nb-mode-dot {
  opacity: 1;
  box-shadow: 0 0 5px #FF4D4D;
}
.nb-mode-btn[data-mode="defend"].is-active {
  border-color: rgba(77,222,122,0.5);
  color: #4DDE7A;
  background: rgba(77,222,122,0.08);
}
.nb-mode-btn[data-mode="defend"].is-active .nb-mode-dot {
  opacity: 1;
  box-shadow: 0 0 5px #4DDE7A;
}

/* ── Notebook mode visual states ── */
.notebook {
  width: 100%;
  max-width: 420px;
  position: relative;
  transition: filter 0.6s ease;
}

.notebook__svg {
  width: 100%;
  height: auto;
  transition: filter 0.6s ease;
  filter: drop-shadow(0 16px 48px rgba(24,171,227,0.14));
}

.notebook--attack .notebook__svg {
  filter: drop-shadow(0 16px 48px rgba(255,77,77,0.22)) drop-shadow(0 0 1px rgba(255,77,77,0.1));
}
.notebook--defend .notebook__svg {
  filter: drop-shadow(0 16px 48px rgba(77,222,122,0.22)) drop-shadow(0 0 1px rgba(77,222,122,0.1));
}

/* Overlay tint on the screen area */
.notebook__overlay {
  position: absolute;
  top: 4.5%;   /* ~13px / 295 */
  left: 4%;
  right: 4%;
  bottom: 20%;
  border-radius: 4px;
  pointer-events: none;
  background: transparent;
  transition: background 0.5s ease;
  z-index: 1;
}
.notebook--attack .notebook__overlay { background: rgba(255,50,50,0.05); }
.notebook--defend .notebook__overlay { background: rgba(50,220,100,0.05); }

/* ── H2 interactive trigger spans ── */
.about__trigger {
  position: relative;
  cursor: default;
  transition: color 0.3s ease;
}
.about__trigger::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 1.5px;
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease, background 0.3s ease;
}
.about__trigger:hover::after,
.about__trigger.is-active::after {
  transform: scaleX(1);
}
.about__trigger[data-mode="attack"]::after { background: #FF4D4D; }
.about__trigger[data-mode="defend"]::after { background: #4DDE7A; }
.about__trigger[data-mode="attack"]:hover,
.about__trigger[data-mode="attack"].is-active { color: #FF6B6B; }
.about__trigger[data-mode="defend"]:hover,
.about__trigger[data-mode="defend"].is-active { color: #4DDE7A; }

/* ── About layout: notebook bleeds slightly into content column ── */
.about__visual {
  position: relative;
  z-index: 2;
}

/* ── Cert badges com rótulo ── */
.about__cert-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: center;
}

.about__cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

/* ──────────────────────────────────────────
   CONTACT
────────────────────────────────────────── */
.contact {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.contact__bg-glow {
  position: absolute;
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(24,171,227,0.06), rgba(24,171,227,0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact__copy .section-tag { margin-bottom: 18px; }

.contact__copy h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin-bottom: 16px;
}

.contact__copy > p {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact__benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact__benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.contact__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 6px rgba(255,222,89,0.7), 0 0 12px rgba(255,222,89,0.3);
  flex-shrink: 0;
  margin-top: 1px;
}

.contact__malware {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 110px;
  opacity: 0.07;
  pointer-events: none;
  image-rendering: pixelated;
  animation: terminalBob 2.4s ease-in-out infinite;
}

.contact__copy {
  position: relative;
}

.text-danger {
  color: #FF4D4D;
}

/* Form */
.contact__form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Terminal skin ── */
.contact__terminal {
  background: #07090E;
  border: 1px solid rgba(24,171,227,0.22);
  border-radius: var(--r-md);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.terminal__titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(24,171,227,0.10);
  border-bottom: 1px solid rgba(24,171,227,0.22);
  flex-shrink: 0;
}

.terminal__dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.terminal__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal__dots span:first-child  { background: rgba(255,77,77,0.5); }
.terminal__dots span:nth-child(2) { background: rgba(255,190,88,0.5); }
.terminal__dots span:nth-child(3) { background: rgba(80,200,100,0.5); }

.terminal__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.terminal__dot--green {
  background: #22D36E;
  box-shadow: 0 0 6px rgba(34,211,110,0.55);
  animation: hudPulse 2.4s ease-in-out infinite;
  margin-right: 5px;
}

.terminal__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #18ABE3;
  flex: 1;
}

.terminal__status {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #22D36E;
  letter-spacing: 0.06em;
}

.terminal__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 22px 22px 18px;
  flex: 1;
}

.terminal__prompt {
  color: #18ABE3;
  margin-right: 4px;
  font-family: var(--font-mono);
}

.contact__terminal .form-group label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.contact__terminal .form-group input,
.contact__terminal .form-group select {
  background: #0C0F17;
  border: 1px solid rgba(24,171,227,0.18);
  border-radius: 4px;
  padding: 10px 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-primary);
}

.contact__terminal .form-group input::placeholder {
  color: rgba(82,92,107,0.55);
  font-family: var(--font-mono);
}

.contact__terminal .form-group input:focus,
.contact__terminal .form-group select:focus {
  border-color: rgba(24,171,227,0.55);
  box-shadow: 0 0 0 2px rgba(24,171,227,0.07);
}

.contact__terminal .form-group--full { grid-column: span 2; }
.contact__terminal .btn              { grid-column: span 2; margin-top: 4px; }
.contact__terminal .form__disclaimer { grid-column: span 2; font-family: var(--font-mono); font-size: 10px; color: rgba(82,92,107,0.55); text-align: left; }
.contact__terminal .form__success    {
  grid-column: span 2;
  background: rgba(34,211,110,0.06);
  border: 1px solid rgba(34,211,110,0.18);
  border-radius: 4px;
  padding: 14px 16px;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.contact__terminal .form__success.visible { display: flex; }
.contact__terminal .form__success p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #22D36E;
}

/* Canvas background */
.terminal__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.terminal__titlebar,
.terminal__body {
  position: relative;
  z-index: 1;
}

/* Submit row: button + knight side by side */
.terminal__submit-row {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.terminal__submit-row .btn {
  flex: 1;
}

/* Knight guardian — inline next to button */
.terminal__knight-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex-shrink: 0;
}

.terminal__knight-q {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  color: var(--yellow);
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(255,222,89,0.6);
}

.terminal__knight {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.65;
  animation: terminalBob 1.8s ease-in-out infinite;
  pointer-events: none;
  image-rendering: pixelated;
}

@keyframes knightJump {
  0%   { transform: translateY(0);    opacity: 0.65; }
  20%  { transform: translateY(-22px); opacity: 1; }
  45%  { transform: translateY(-18px); }
  65%  { transform: translateY(-22px); }
  85%  { transform: translateY(-4px);  }
  100% { transform: translateY(0);    opacity: 0.65; }
}

@keyframes knightQPop {
  0%   { opacity: 0; transform: translateX(-50%) scale(0.5) translateY(6px); }
  30%  { opacity: 1; transform: translateX(-50%) scale(1.2) translateY(-4px); }
  60%  { opacity: 1; transform: translateX(-50%) scale(1)   translateY(-6px); }
  100% { opacity: 0; transform: translateX(-50%) scale(0.8) translateY(-12px); }
}

.terminal__knight-wrap--celebrate .terminal__knight {
  animation: knightJump 0.9s ease-in-out forwards;
}

.terminal__knight-wrap--celebrate .terminal__knight-q {
  animation: knightQPop 1.1s ease-out forwards;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group--full {
  grid-column: span 2;
}

.form-group label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  font-family: var(--font-head);
}

.form-group input,
.form-group select {
  background: var(--bg-elevated);
  border: 1px solid var(--border-hover);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A95A8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24, 171, 227, 0.1);
}

.form-group input::placeholder { color: var(--text-muted); }

.form-group option {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.contact__form .btn {
  grid-column: span 2;
  margin-top: 4px;
}

.form__disclaimer {
  grid-column: span 2;
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.form__success {
  grid-column: span 2;
  display: none; /* mostrado via JS após envio */
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(24, 171, 227, 0.06);
  border: 1px solid rgba(24, 171, 227, 0.2);
  border-radius: var(--r-sm);
}

.form__success.visible {
  display: flex;
}

.form__success p {
  font-size: 14px;
  color: var(--text-primary);
}

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 64px;
  background: var(--bg-surface);
}

/* Grid: brand col (wide) + 3 nav cols */
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

/* Brand column */
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.footer__logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

/* HUD status items inside brand col */
.footer__hud {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 48px;
}

.footer__hud-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.footer__hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: hudPulse 2.4s ease-in-out infinite;
}

.footer__hud-dot--green {
  background: #22D36E;
  box-shadow: 0 0 7px rgba(34, 211, 110, 0.55);
}

.footer__hud-dot--blue {
  background: #18ABE3;
  box-shadow: 0 0 7px rgba(24, 171, 227, 0.55);
  animation-delay: 0.8s;
}

.footer__hud-dot--yellow {
  background: #FFDE59;
  box-shadow: 0 0 7px rgba(255, 222, 89, 0.55);
  animation-delay: 1.6s;
}


/* Social icons */
.footer__social {
  display: flex;
  gap: 14px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color var(--t-fast), border-color var(--t-fast);
}

.footer__social a:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
}

/* Nav cols */
.footer__nav { display: contents; }

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col strong {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--t-fast);
}

.footer__col a:hover { color: var(--text-primary); }

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer__sys-id {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #22D36E;
}

@media (max-width: 600px) {
  .footer__bottom {
    gap: 8px;
  }

  .footer__bottom p {
    font-size: 10px;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .footer__sys-id {
    font-size: 10px;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
  }

  .footer__brand {
    grid-column: 1 / -1;
    align-items: flex-start;
  }

  .footer__hud {
    margin-bottom: 20px;
  }
}

/* ──────────────────────────────────────────
   SCROLL ANIMATIONS
────────────────────────────────────────── */
/* Só esconde elementos animados se o JS carregou — evita site em branco se JS falhar */
.js-loaded [data-anim] {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js-loaded [data-anim="fade-up"]    { transform: translateY(28px); }
.js-loaded [data-anim="fade-right"] { transform: translateX(-28px); }
.js-loaded [data-anim="fade-left"]  { transform: translateX(28px); }

[data-anim].is-visible {
  opacity: 1;
  transform: none;
}

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: unset;
  }
  .hero__visual { min-height: 320px; align-self: auto; }
  .hero__actions { justify-content: center; }
  .hero__trust   { justify-content: center; }
  .hero__subtitle { max-width: 100%; }
  .services__bento { grid-template-columns: 1fr 1fr; }
  .svc, .svc--wide, .svc--half { grid-column: span 1; }
  /* diff bento tablet */
  .diff-block--hero         { grid-column: span 12; grid-row: auto; min-height: 260px; }
  .diff-block:nth-child(2)  { grid-column: span 12; grid-row: auto; }
  .diff-block--compact:nth-child(3) { grid-column: span 6; grid-row: auto; }
  .diff-block--compact:nth-child(4) { grid-column: span 6; grid-row: auto; }
  .diff-block:nth-child(5)  { grid-column: span 6; grid-row: auto; }
  .diff-block:nth-child(6)  { grid-column: span 6; grid-row: auto; }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__visual { flex-direction: row; gap: 40px; flex-wrap: wrap; justify-content: center; }
  .about__proof { grid-template-columns: repeat(3, 1fr); }
  .about__proof-num { font-size: 24px; }
  .about__proof-item { padding: 14px 14px; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  /* Terminal: sangra até a borda direita */
  .contact__terminal {
    margin-right: -28px;
    border-radius: var(--r-md) 0 0 var(--r-md);
    border-right: none;
  }
  .terminal__body {
    grid-template-columns: 1fr;
    padding: 18px 18px 16px;
    gap: 12px;
  }
  .contact__terminal .form-group--full { grid-column: span 1; }
  .contact__terminal .btn              { grid-column: span 1; width: 100%; }
  .contact__terminal .form__disclaimer { grid-column: span 1; }
  .contact__terminal .form__success    { grid-column: span 1; }
  .terminal__submit-row { grid-column: span 1; flex-direction: row; gap: 12px; }
  /* ENCRYPTED some no mobile pra não cortar */
  .terminal__status { display: none; }
  /* Título da titlebar menor */
  .terminal__title { font-size: 9px; }
  /* methodology mobile */
  .mflow { margin-top: 48px; }
  .mflow__track { display: none; }
  .mflow__deco  { display: none; }
  .mflow__steps {
    flex-direction: column;
    gap: 0;
    padding-left: 48px;
    position: relative;
  }
  .mflow__steps::before {
    content: '';
    position: absolute;
    top: 26px; bottom: 26px; left: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--orange), var(--yellow), var(--blue));
    opacity: 0.2;
  }
  .mflow__step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    padding: 0 0 40px 0;
    gap: 20px;
  }
  .mflow__meta { height: auto; margin-bottom: 0; flex-shrink: 0; margin-top: 18px; width: 64px; }
  .mflow__phase { letter-spacing: 0.1em; font-size: 9px; }
  .mflow__dot {
    flex-shrink: 0;
    margin-bottom: 0;
    margin-left: -74px;
    margin-right: 0;
  }
  .mflow__body { text-align: left; }
  .mflow__step.is-lit .mflow__phase,
  .mflow__step.is-lit .mflow__body { opacity: 1; transform: none; }
}

@media (max-width: 768px) {
  :root { --section-py: 72px; }
  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .nav__burger { display: flex; }
  .services__bento { grid-template-columns: 1fr; gap: 10px; }
  .svc { padding: 28px 24px; }
  .svc--wide h3, .svc h3 { font-size: 18px; }
  .svc__num { font-size: 64px; }
  /* diff bento 768 */
  .diff-block--hero { min-height: 220px; }
  .diff-block:nth-child(5) { grid-column: span 12; }
  .diff-block:nth-child(6) { grid-column: span 12; }
  .diff-block__bg-glyph { font-size: 160px; }
  .diff-block__stat { font-size: clamp(44px, 8vw, 64px); }
  .diff-block--hero .diff-block__stat { font-size: clamp(56px, 10vw, 80px); }
  .contact__form { grid-template-columns: 1fr; }
  .form-group--full { grid-column: span 1; }
  .contact__form .btn { grid-column: span 1; }
  .form__disclaimer { grid-column: span 1; }
  .form__success { grid-column: span 1; }
}

@media (max-width: 768px) {
  .hero__inner      { padding-top: 50vh; }
  .hero__title      { font-size: clamp(24px, 5.5vw, 40px); margin-bottom: 12px; }
  .hero__subtitle   { font-size: 13px; margin-bottom: 14px; }
  .hero__actions    { margin-bottom: 18px; }
}

@media (max-width: 480px) {
  .hero__inner      { padding-top: 44vh; }
  .hero__title      { font-size: clamp(22px, 5.5vw, 32px); margin-bottom: 10px; }
  .hero__subtitle   { font-size: 12px; line-height: 1.55; margin-bottom: 12px; }
  .hero__actions    { margin-bottom: 14px; gap: 8px; }
  .btn--lg          { padding: 8px 16px; font-size: 12px; }
  .trust-number     { font-size: 15px; }
  .trust-label      { font-size: 10px; }
  .hero__trust      { gap: 16px; }
  .hero__icon-wrap { width: 220px; height: 220px; }
  .hero__icon { width: 100px; }
  .orbit--1 { width: 190px; height: 190px; }
  .orbit--2 { width: 150px; height: 150px; }
  .orbit--3 { width: 110px; height: 110px; }
  /* diff bento mobile */
  .diff-block--hero,
  .diff-block:nth-child(2),
  .diff-block:nth-child(5),
  .diff-block:nth-child(6) { grid-column: span 12; grid-row: auto; }
  /* compact: side by side on mobile too */
  .diff-block--compact:nth-child(3),
  .diff-block--compact:nth-child(4) { grid-column: span 6; grid-row: auto; }
  .diff-block--hero { min-height: 180px; }
  .diff-block__knight { height: 45%; opacity: 0.05; }
  .diff-block__bg-glyph { font-size: 120px; }
  .diff-block__stat { font-size: 40px !important; }
  .diff-block--compact { padding: 20px; }
  .diff-block__title { font-size: 15px !important; }
  .diff-block__desc { font-size: 13px; }
  .diff-block--hero .diff-block__desc { font-size: 13px; }
  .about__certifications { justify-content: flex-start; }
}

/* ──────────────────────────────────────────
   REDUCED MOTION
────────────────────────────────────────── */

/* ── Scan beam via scroll (todos os devices) ──────────────────── */
.svc.is-visible::before { animation: svc-scan 2.4s ease-in-out forwards; }
.svc.is-visible:hover::before { animation: none; }
.diff-block.is-visible::after { left: 140%; transition: left 1.2s ease-in-out; }

@media (prefers-reduced-motion: reduce) {
  .hero__icon,
  .orbit--1, .orbit--2, .orbit--3,
  .hero__icon-glow,
  .about__icon,
  .badge__pulse,
  .hero__scroll-cue span,
  .ticker__track {
    animation: none;
  }

  [data-anim] {
    opacity: 1;
    transform: none;
  }
}

/* ================================================================
   WhatsApp floating button
   ================================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}
