/* =========================================================
   RochaTech+ Smart Solutions — Institutional Website
   Design system: dark premium tech · brand blue #0C9CD4
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --brand: #0C9CD4;
  --brand-glow: #1DB6F0;
  --brand-deep: #086E96;
  --brand-soft: rgba(12, 156, 212, 0.10);

  /* Surfaces (dark) */
  --bg-0: #05090F;
  --bg-1: #0A1018;
  --bg-2: #0F1722;
  --bg-3: #131C29;

  /* Light section surfaces */
  --bg-light-0: #F4F7FB;
  --bg-light-1: #FFFFFF;
  --bg-light-2: #E9EFF6;

  /* Text */
  --text: #F3F6FA;
  --text-dim: #9FB0C2;
  --text-mute: #5E6E80;
  --text-on-light: #0B1320;
  --text-on-light-dim: #4A586A;

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(12, 156, 212, 0.35);
  --border-light: rgba(11, 19, 32, 0.08);

  /* Radii */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm: 0 4px 12px -4px rgba(0, 0, 0, .35);
  --shadow:    0 24px 60px -20px rgba(0, 0, 0, .55), 0 6px 22px -10px rgba(12, 156, 212, .18);
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .65), 0 10px 40px -10px rgba(12, 156, 212, .22);

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --header-h: 72px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; top: -100px; left: 12px; z-index: 1000;
  background: var(--brand); color: #fff;
  padding: 10px 14px; border-radius: 8px;
  font-weight: 600; font-size: 14px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }

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

/* Anchor offset (sticky header) */
.anchor-offset {
  display: block;
  position: relative;
  top: calc(var(--header-h) * -1);
  visibility: hidden;
}

/* ---------- Ambient background (fixed) ---------- */
.bg-stage {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.bg-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .55;
  will-change: transform;
}
.bg-orb-1 {
  width: 620px; height: 620px; top: -200px; left: -160px;
  background: radial-gradient(circle, rgba(12, 156, 212, .35), transparent 70%);
  animation: orb-float 18s ease-in-out infinite alternate;
}
.bg-orb-2 {
  width: 720px; height: 720px; bottom: -260px; right: -200px;
  background: radial-gradient(circle, rgba(29, 182, 240, .22), transparent 70%);
  animation: orb-float 22s ease-in-out infinite alternate-reverse;
}
@keyframes orb-float {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(60px, -40px); }
}

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
.bg-noise {
  position: absolute; inset: 0;
  opacity: .25; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Container / layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.container-narrow { max-width: var(--container-narrow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(180deg, var(--brand-glow) 0%, var(--brand) 100%);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 14px 36px -10px rgba(12, 156, 212, .55);
}
.btn-primary:hover {
  box-shadow: 0 20px 50px -10px rgba(12, 156, 212, .75);
  background: linear-gradient(180deg, #2dc0f4 0%, var(--brand-glow) 100%);
}

.btn-ghost {
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .06);
  border-color: var(--border-strong);
  color: #fff;
}

.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-sm svg { width: 14px; height: 14px; }
.cta-header { flex-shrink: 0; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(5, 9, 15, .65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.scrolled {
  background: rgba(5, 9, 15, .85);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 28px -10px rgba(0, 0, 0, .45);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: nowrap;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 44px; width: auto; max-height: calc(var(--header-h) - 4px); transition: transform .25s var(--ease); }
.logo:hover img { transform: scale(1.03); }
@media (max-width: 768px) {
  .logo img { height: 38px; }
}

.nav-desktop ul { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav-desktop a {
  display: inline-block;
  padding: 7px 10px;
  font-size: 13px; font-weight: 500;
  color: var(--text-dim);
  border-radius: 8px;
  white-space: nowrap;
  transition: color .18s, background .18s;
}
.nav-desktop a:hover, .nav-desktop a.active {
  color: #fff;
  background: rgba(255, 255, 255, .04);
}

/* Dropdown ("Soluções") */
.nav-desktop .has-dropdown { position: relative; }
.nav-desktop .nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 10px;
  font: 500 13px/1 "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--text-dim);
  background: transparent; border: 0; border-radius: 8px;
  cursor: pointer; white-space: nowrap;
  transition: color .18s, background .18s;
}
.nav-desktop .nav-dropdown-toggle .caret {
  width: 12px; height: 12px;
  transition: transform .2s var(--ease);
}
.nav-desktop .nav-dropdown-toggle:hover,
.nav-desktop .nav-dropdown-toggle.is-active,
.nav-desktop .nav-dropdown-toggle[aria-expanded="true"] {
  color: #fff;
  background: rgba(255, 255, 255, .04);
}
.nav-desktop .nav-dropdown-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }

.nav-desktop .nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(10, 24, 38, .98), rgba(8, 18, 32, .98));
  border: 1px solid rgba(95, 212, 255, .22);
  border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.02) inset;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 50;
}
.nav-desktop .has-dropdown:hover .nav-dropdown,
.nav-desktop .has-dropdown:focus-within .nav-dropdown,
.nav-desktop .nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-item {
  display: grid;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--text-dim);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.nav-dropdown-item:hover {
  background: rgba(95, 212, 255, .08);
  color: #fff;
}
.nav-dropdown-item .dd-title {
  font: 600 13px/1.2 "Inter", sans-serif;
  color: #e8f7ff;
  letter-spacing: 0.01em;
}
.nav-dropdown-item:hover .dd-title { color: #ffffff; }
.nav-dropdown-item .dd-sub {
  font: 400 11.5px/1.3 "Inter", sans-serif;
  color: rgba(225, 245, 255, .55);
}
.nav-dropdown-sep {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95,212,255,.2), transparent);
  margin: 6px 4px;
}

.cta-header { margin-left: auto; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--text);
  border-radius: 2px; transition: transform .25s, opacity .25s;
}
.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); }

.nav-mobile {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: rgba(5, 9, 15, .97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  display: flex; flex-direction: column; gap: 14px;
  transform: translateY(-12px); opacity: 0;
  pointer-events: none;
  transition: transform .25s, opacity .25s;
  z-index: 49;
}
.nav-mobile[hidden] { display: none !important; }
.nav-mobile.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile a {
  display: block; padding: 12px 14px; border-radius: 10px;
  color: var(--text-dim); font-weight: 500; font-size: 15px;
  border: 1px solid transparent;
}
.nav-mobile a:hover { background: rgba(255, 255, 255, .04); color: #fff; border-color: var(--border); }
.nav-mobile .btn { align-self: stretch; justify-content: center; margin-top: 6px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 60px) 0 80px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-circuit {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .65;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero-circuit svg { width: 100%; height: 100%; }
.hero-circuit circle { animation: nodePulse 3s ease-in-out infinite; }
.hero-circuit circle:nth-child(2) { animation-delay: .4s; }
.hero-circuit circle:nth-child(3) { animation-delay: .8s; }
.hero-circuit circle:nth-child(4) { animation-delay: 1.2s; }
.hero-circuit circle:nth-child(5) { animation-delay: 1.6s; }
.hero-circuit circle:nth-child(6) { animation-delay: 2.0s; }
@keyframes nodePulse {
  0%, 100% { opacity: .4; transform-origin: center; }
  50%      { opacity: 1; }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(12, 156, 212, .25);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-glow);
}
.eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-glow);
  box-shadow: 0 0 12px var(--brand-glow);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.8); }
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #fff;
}
.grad-text {
  background: linear-gradient(120deg, var(--brand-glow) 0%, #6FE4FF 50%, var(--brand) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 22px 0 32px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-dim);
  max-width: 620px;
  line-height: 1.65;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 0;
}
.stat-card {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
}
.stat-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(140% 100% at 100% 0%, rgba(12, 156, 212, .14), transparent 60%);
  z-index: -1;
}
.stat-card-wide {
  grid-column: span 2;
  display: flex; align-items: center; gap: 16px;
}
.stat-num {
  font-size: 38px; font-weight: 800; color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.stat-num .plus { color: var(--brand-glow); }
.stat-num-sm {
  font-size: 18px; font-weight: 700; color: #fff;
}
.stat-label {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--text-dim);
  letter-spacing: .04em;
}
.stat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(12, 156, 212, .14);
  border: 1px solid rgba(12, 156, 212, .24);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-glow); flex-shrink: 0;
}
.stat-icon svg { width: 24px; height: 24px; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-mute);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .25em;
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--brand-glow), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { opacity: .2; transform: scaleY(.4); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: .2; transform: scaleY(.4); transform-origin: bottom; }
}

/* ---------- Section base ---------- */
.section {
  position: relative;
  padding: clamp(70px, 9vw, 130px) 0;
  z-index: 2;
}
.section-light {
  background: linear-gradient(180deg, var(--bg-light-0) 0%, var(--bg-light-1) 100%);
  color: var(--text-on-light);
}
.section-light .section-eyebrow { color: var(--brand-deep); background: rgba(12, 156, 212, .08); border-color: rgba(12, 156, 212, .25); }
.section-dark { background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-eyebrow {
  display: inline-block;
  padding: 6px 12px; border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(12, 156, 212, .22);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-glow);
}
.section-title {
  margin-top: 18px;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: inherit;
}
.section-light .section-title { color: var(--text-on-light); }
.section-sub {
  margin-top: 18px;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-dim);
  max-width: 720px;
}
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }
.section-light .section-sub { color: var(--text-on-light-dim); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-text .lead {
  font-size: 19px; font-weight: 500;
  color: var(--text-on-light); line-height: 1.55;
  margin: 0 0 22px;
}
.about-text p {
  color: var(--text-on-light-dim);
  font-size: 15.5px; line-height: 1.75;
  margin: 0 0 18px;
}
.about-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 28px;
}
.about-pills li {
  padding: 8px 14px; border-radius: 999px;
  background: var(--bg-light-2);
  border: 1px solid var(--border-light);
  color: var(--text-on-light);
  font-size: 13px; font-weight: 500;
}

.about-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0F1722, #0A1018);
  border: 1px solid var(--border);
  padding: 30px;
  color: var(--text);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}
.about-card-ring {
  position: absolute; inset: -1px;
  border-radius: inherit; padding: 1px;
  background: conic-gradient(from 90deg, rgba(12, 156, 212, 0), rgba(12, 156, 212, .65), rgba(29, 182, 240, .15), rgba(12, 156, 212, 0) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 12s linear infinite;
  z-index: -1; opacity: .65;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about-card-inner { display: flex; flex-direction: column; gap: 18px; }
.about-card-row {
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border);
}
.about-card-row:last-child { border-bottom: 0; padding-bottom: 0; }
.about-card-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand-glow);
}
.about-card-val { color: #fff; font-size: 15px; font-weight: 500; }

/* ---------- Solutions grid ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}
.solution-card {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035) 0%, rgba(255, 255, 255, .01) 100%);
  border: 1px solid var(--border);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.solution-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(12, 156, 212, .12), transparent 60%);
  z-index: -1; opacity: 0;
  transition: opacity .25s;
}
.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, .015) 100%);
}
.solution-card:hover::after { opacity: 1; }

.solution-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(12, 156, 212, .22), rgba(12, 156, 212, .04));
  border: 1px solid var(--border-strong);
  color: var(--brand-glow);
  margin-bottom: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -12px rgba(12, 156, 212, .45);
}
.solution-icon svg { width: 26px; height: 26px; }

.solution-card h3 {
  font-size: 20px; font-weight: 700; color: #fff;
  margin-bottom: 12px;
}
.solution-card > p {
  color: var(--text-dim); font-size: 14.5px; line-height: 1.65;
  margin: 0 0 18px;
}
.solution-list { display: flex; flex-direction: column; gap: 8px; }
.solution-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-dim); font-size: 13.5px;
}
.solution-list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 12px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-glow), transparent);
}

/* ---------- Differentiators ---------- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.diff-item {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent);
  transition: background .25s;
}
.diff-item:hover { background: linear-gradient(180deg, rgba(12, 156, 212, .06), transparent); }
.diff-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600;
  color: var(--brand-glow);
  letter-spacing: .14em;
  margin-bottom: 18px;
}
.diff-item h3 {
  font-size: 17px; color: #fff; font-weight: 700;
  margin-bottom: 10px;
}
.diff-item p {
  color: var(--text-dim); font-size: 14px; line-height: 1.6;
  margin: 0;
}

/* ---------- Presence ---------- */
.section-presence { background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%); }
.presence-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 70px;
}
.presence-map {
  position: relative;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .003));
  border: 1px solid var(--border);
}

/* === Brazil political map stage === */
.brmap-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: transparent;
}
.brmap-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  filter: drop-shadow(0 24px 40px rgba(12,156,212,.18));
  transition: filter .3s var(--ease);
}
.brmap-img:hover { filter: drop-shadow(0 24px 50px rgba(12,156,212,.28)); }

.presence-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.presence-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
  border: 1px solid var(--border);
}
.presence-card-wide { grid-column: span 2; }
.presence-num {
  font-size: 44px; font-weight: 800;
  color: #fff; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: baseline; gap: 2px;
  line-height: 1;
}
.presence-num .plus { color: var(--brand-glow); }
.presence-regions { font-size: 22px; font-weight: 700; color: #fff; }
.presence-label {
  margin-top: 8px;
  font-size: 13px; color: var(--text-dim);
  letter-spacing: .04em;
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.state-card {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
  border: 1px solid var(--border);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.state-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.state-card header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px; margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.state-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 32px;
  padding: 0 10px; border-radius: 8px;
  background: linear-gradient(180deg, var(--brand-glow), var(--brand));
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  box-shadow: 0 6px 18px -6px rgba(12, 156, 212, .55);
}
.state-card h3 {
  font-size: 16px; color: #fff; font-weight: 700;
  display: flex; align-items: baseline; gap: 8px;
  flex-wrap: wrap;
}
.state-card h3 small {
  font-size: 12px; color: var(--text-mute);
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .04em;
}
.state-card ul { display: flex; flex-direction: column; gap: 6px; }
.state-card ul li {
  position: relative;
  padding-left: 16px;
  color: var(--text-dim);
  font-size: 13.5px; line-height: 1.5;
}
.state-card ul li::before {
  content: ''; position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 1px;
  background: var(--brand-glow);
}

/* ---------- Segments ---------- */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.segment-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--bg-light-1);
  border: 1px solid var(--border-light);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.segment-card:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 156, 212, .35);
  box-shadow: 0 20px 50px -20px rgba(12, 156, 212, .35);
}
.segment-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12, 156, 212, .08);
  border: 1px solid rgba(12, 156, 212, .2);
  color: var(--brand-deep);
  margin-bottom: 18px;
}
.segment-icon svg { width: 22px; height: 22px; }
.segment-card h3 {
  font-size: 17px; color: var(--text-on-light);
  margin-bottom: 8px;
}
.segment-card p {
  color: var(--text-on-light-dim);
  font-size: 14px; line-height: 1.6;
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .25s, background .25s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] { background: linear-gradient(180deg, rgba(12, 156, 212, .06), rgba(12, 156, 212, .015)); border-color: var(--border-strong); }
.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 56px 22px 24px;
  font-size: 16px; font-weight: 600;
  color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 300;
  color: var(--brand-glow);
  background: var(--brand-soft);
  border: 1px solid rgba(12, 156, 212, .25);
  border-radius: 8px;
  transition: transform .25s, background .25s;
}
.faq-item[open] summary::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
  background: var(--brand);
  color: #fff;
}
.faq-body {
  padding: 0 24px 24px;
  color: var(--text-dim);
  font-size: 15px; line-height: 1.7;
}
.faq-body p { margin: 0; }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(12, 156, 212, .25), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  overflow: hidden;
}
.cta-ring {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(12, 156, 212, .12), transparent 60%);
  pointer-events: none;
  animation: ringFloat 14s ease-in-out infinite alternate;
}
@keyframes ringFloat {
  0%   { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -50%) scale(1.15); }
}
.cta-inner {
  text-align: center;
  max-width: 720px; margin: 0 auto;
  position: relative; z-index: 2;
}
.cta-title {
  margin-top: 18px;
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.08;
  color: #fff;
}
.cta-text {
  margin: 22px auto 32px;
  font-size: clamp(15px, 1.3vw, 17.5px);
  color: var(--text-dim);
  max-width: 580px;
}
.cta-buttons {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}
.cta-contacts {
  display: inline-flex; align-items: center; flex-wrap: wrap;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: var(--text-dim);
}
.cta-contacts a { color: var(--text); transition: color .18s; }
.cta-contacts a:hover { color: var(--brand-glow); }
.cta-contacts span:not(.cta-dot) { color: var(--text); }
.cta-dot { color: var(--brand-glow); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; z-index: 2;
  background: #04070C;
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand img { width: 100%; max-width: 360px; height: auto; margin-bottom: 18px; }
.footer-brand p {
  color: var(--text-dim);
  font-size: 14px; line-height: 1.65;
  max-width: 360px;
  margin: 0;
}
.site-footer h4 {
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links li,
.footer-links a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color .18s;
}
.footer-links a:hover { color: var(--brand-glow); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  color: var(--text-mute);
  font-size: 12.5px;
}
.footer-bottom p { margin: 0; }
.footer-bottom strong { color: var(--text); font-weight: 600; }
.footer-mini { font-family: 'JetBrains Mono', monospace; letter-spacing: .08em; }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .presence-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 1024px) {
  .nav-desktop, .cta-header { display: none; }
  .nav-toggle { display: flex; }
  .site-header { background: rgba(5, 9, 15, .9); border-bottom-color: var(--border); }
  .hero { padding-top: calc(var(--header-h) + 36px); min-height: auto; }
  .hero-scroll { display: none; }
  .section-head { margin-bottom: 40px; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat-card-wide { grid-column: span 1; }
  .presence-numbers { grid-template-columns: 1fr; }
  .presence-card-wide { grid-column: span 1; }
  .diff-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn-lg { padding: 14px 22px; font-size: 14.5px; }
  .stat-num { font-size: 32px; }
  .presence-num { font-size: 38px; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 32px; }
  .section-title { font-size: 26px; }
  .cta-title { font-size: 30px; }
  .btn { padding: 12px 18px; font-size: 13.5px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .bg-orb-1, .bg-orb-2, .cta-ring { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .bg-stage, .nav-toggle, .nav-mobile, .cta-header, .hero-scroll, .site-header { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .section, .hero, .cta-final, .site-footer { background: #fff !important; color: #000 !important; padding: 30px 0 !important; }
  .section-title, .hero-title, .cta-title, .grad-text { color: #000 !important; -webkit-text-fill-color: #000 !important; }
}

/* =========================================================
   LEASING / HARDWARE AS A SERVICE — HaaS Section
   ========================================================= */
.section-leasing {
  position: relative;
  background:
    radial-gradient(900px 480px at 80% 0%, rgba(12, 156, 212, .10), transparent 60%),
    radial-gradient(700px 400px at 10% 100%, rgba(29, 182, 240, .07), transparent 60%),
    var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.section-leasing::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.leasing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 18px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}

.leasing-card {
  position: relative;
  padding: 26px 22px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.leasing-card::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(12, 156, 212, .55), rgba(12, 156, 212, 0) 45%, rgba(29, 182, 240, .35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s var(--ease);
  pointer-events: none;
}
.leasing-card::after {
  content: "";
  position: absolute;
  top: -40%; right: -40%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(12, 156, 212, .18), transparent 65%);
  filter: blur(20px);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  z-index: -1;
}
.leasing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .01));
  box-shadow: 0 24px 50px -22px rgba(12, 156, 212, .25);
}
.leasing-card:hover::before { opacity: 1; }
.leasing-card:hover::after { opacity: 1; }

.leasing-card .leasing-icon {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  color: var(--brand-glow);
  background: var(--brand-soft);
  border: 1px solid rgba(12, 156, 212, .28);
  margin-bottom: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03), 0 8px 18px -10px rgba(12, 156, 212, .35);
  transition: transform .25s var(--ease);
}
.leasing-card:hover .leasing-icon { transform: scale(1.04); }
.leasing-card .leasing-icon svg { width: 22px; height: 22px; }

.leasing-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.005em;
}
.leasing-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 14px;
}

.leasing-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, .06);
}
.leasing-list li {
  font-size: 13px;
  color: var(--text-dim);
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}
.leasing-list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-glow);
  box-shadow: 0 0 8px rgba(29, 182, 240, .65);
}

/* Benefits bar */
.leasing-benefits {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(12, 156, 212, .07), rgba(12, 156, 212, .02)),
    rgba(255, 255, 255, .02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}
.leasing-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: background .2s var(--ease);
}
.leasing-benefit:hover { background: rgba(255, 255, 255, .025); }
.leasing-benefit .benefit-icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--brand-glow);
  background: rgba(12, 156, 212, .14);
  border: 1px solid rgba(12, 156, 212, .25);
  flex-shrink: 0;
}
.leasing-benefit .benefit-icon svg { width: 18px; height: 18px; }
.leasing-benefit-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}
.leasing-benefit-sub {
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.45;
}

/* CTA inline */
.leasing-cta {
  margin-top: 36px;
  padding: 26px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(12, 156, 212, .12) 0%, rgba(29, 182, 240, .04) 100%),
    rgba(255, 255, 255, .02);
  border: 1px solid rgba(12, 156, 212, .22);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -25px rgba(12, 156, 212, .3);
  position: relative;
  z-index: 1;
}
.leasing-cta p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  max-width: 640px;
  line-height: 1.5;
}

/* Responsive — leasing */
@media (max-width: 1024px) {
  .leasing-benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .leasing-grid { grid-template-columns: 1fr; gap: 14px; }
  .leasing-card { padding: 22px 20px 22px; }
  .leasing-benefits { padding: 16px; grid-template-columns: 1fr; }
  .leasing-cta { padding: 22px; }
  .leasing-cta .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   NEURAL NETWORK — Interactive Services Visualization
   ========================================================= */
.section-neural {
  position: relative;
  overflow: hidden;
}
.section-neural::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 50% 50%, rgba(12, 156, 212, .12), transparent 65%),
    radial-gradient(500px 320px at 10% 10%, rgba(95, 212, 255, .06), transparent 60%),
    radial-gradient(500px 320px at 90% 90%, rgba(29, 182, 240, .06), transparent 60%);
  pointer-events: none;
}

.neural-wrap {
  position: relative;
  margin: 28px auto 0;
  max-width: 1200px;
  aspect-ratio: 1200 / 720;
  width: 100%;
}

.neural-net {
  width: 100%;
  height: 100%;
  display: block;
}

/* Core */
.neural-core .core-halo {
  transform-origin: 600px 360px;
  animation: corePulse 4s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50%      { transform: scale(1.08); opacity: 1; }
}
.core-label {
  fill: #fff;
  font: 700 18px/1 "Inter", sans-serif;
  letter-spacing: 0.02em;
}
.core-sublabel {
  fill: rgba(255,255,255,.55);
  font: 500 12px/1 "Inter", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Service nodes */
.net-node {
  cursor: pointer;
  outline: none;
  transition: filter .25s var(--ease);
}
.net-node .node-halo {
  opacity: 0.55;
  transform-origin: center;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.net-node .node-core {
  fill: rgba(12, 156, 212, .25);
  stroke: #5fd4ff;
  stroke-width: 1.5;
  transition: fill .25s var(--ease), stroke .25s var(--ease), filter .25s var(--ease);
}
.net-node .node-icon { color: #7fdcff; transition: color .25s var(--ease); }
.net-node .node-label {
  fill: rgba(255,255,255,.85);
  font: 600 14px/1 "Inter", sans-serif;
  letter-spacing: 0.01em;
  pointer-events: none;
  transition: fill .25s var(--ease);
}
.net-node:hover .node-halo,
.net-node:focus-visible .node-halo,
.net-node.is-active .node-halo {
  opacity: 0.95;
  transform: scale(1.18);
  transform-origin: center;
}
.net-node:hover .node-core,
.net-node:focus-visible .node-core,
.net-node.is-active .node-core {
  fill: rgba(95, 212, 255, .55);
  filter: drop-shadow(0 0 12px rgba(95, 212, 255, .8));
}
.net-node:hover .node-label,
.net-node:focus-visible .node-label,
.net-node.is-active .node-label {
  fill: #fff;
}
.net-node:hover .node-icon,
.net-node.is-active .node-icon { color: #ffffff; }

/* HaaS — sustaining layer node (distinct accent) */
.net-node-haas .node-core {
  fill: rgba(191, 240, 255, .42);
  stroke: #bff0ff;
  stroke-width: 2;
}
.net-node-haas .node-icon { color: #ffffff; }
.net-node-haas .node-halo { opacity: 0.85; }

/* Static neural-labels — always visible, on top of nodes */
.neural-labels .node-label {
  fill: rgba(225, 245, 255, .95);
  font: 600 16px/1.15 "Inter", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0.01em;
  pointer-events: none;
  paint-order: stroke;
  stroke: rgba(6, 14, 26, .75);
  stroke-width: 4;
  stroke-linejoin: round;
}
.neural-labels .node-label-haas {
  fill: #ffffff;
  font: 700 18px/1.15 "Inter", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0.04em;
  pointer-events: none;
  paint-order: stroke;
  stroke: rgba(6, 14, 26, .8);
  stroke-width: 5;
  stroke-linejoin: round;
}

/* Subtle drift animations — each node bobs gently with different phase */
.net-node-anim-1 { animation: nodeDriftA 7.5s ease-in-out infinite; transform-origin: center; }
.net-node-anim-2 { animation: nodeDriftB 8.2s ease-in-out -1.2s infinite; transform-origin: center; }
.net-node-anim-3 { animation: nodeDriftA 8.8s ease-in-out -0.6s infinite; transform-origin: center; }
.net-node-anim-4 { animation: nodeDriftB 7.8s ease-in-out -2.0s infinite; transform-origin: center; }
.net-node-anim-5 { animation: nodeDriftA 9.2s ease-in-out -1.8s infinite; transform-origin: center; }
.net-node-anim-6 { animation: nodeDriftB 8.4s ease-in-out -0.4s infinite; transform-origin: center; }
.net-node-anim-7 { animation: nodeDriftA 7.9s ease-in-out -2.6s infinite; transform-origin: center; }
.net-node-anim-8 { animation: nodeDriftB 8.6s ease-in-out -1.4s infinite; transform-origin: center; }

@keyframes nodeDriftA {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(2px, -5px); }
  50%      { transform: translate(-3px, -8px); }
  75%      { transform: translate(-2px, 4px); }
}
@keyframes nodeDriftB {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(-3px, 4px); }
  50%      { transform: translate(4px, 7px); }
  75%      { transform: translate(2px, -3px); }
}

/* HaaS↔Core highlighted beam */
.haas-beam-line {
  stroke-dasharray: 18 12;
  animation: haasBeamFlow 1.6s linear infinite;
  opacity: 0.95;
}
@keyframes haasBeamFlow {
  to { stroke-dashoffset: -60; }
}
/* Cardinal connectors — emphasized so they remain visible beside the core glow */
.neural-links .cardinal-link {
  stroke: #7fdcff;
  stroke-width: 2.2;
  stroke-opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(127, 220, 255, .65));
  stroke-dasharray: 14 10;
  animation: cardinalFlow 3.4s linear infinite;
}
@keyframes cardinalFlow {
  to { stroke-dashoffset: -48; }
}
.pulse-haas { opacity: 0.95; filter: drop-shadow(0 0 8px #ffffff); }

/* Orbit ring around core (slow rotation + particles) */
.neural-orbit { animation: orbitSpin 24s linear infinite; transform-origin: 600px 360px; }
@keyframes orbitSpin {
  from { transform: translate(600px, 360px) rotate(0deg); }
  to   { transform: translate(600px, 360px) rotate(360deg); }
}
.orbit-particle { filter: drop-shadow(0 0 4px #7fdcff); }
.orbit-particle-2 { animation: orbitOpacity 3s ease-in-out infinite alternate; }
@keyframes orbitOpacity {
  from { opacity: 0.3; }
  to   { opacity: 1; }
}

/* Core logo (RochaTech+ R+ mark) — pulse + soft glow */
.core-logo {
  transform-origin: center;
  transform-box: fill-box;
  filter: drop-shadow(0 0 10px rgba(127, 220, 255, .85)) drop-shadow(0 0 24px rgba(95, 212, 255, .35));
  animation: coreLogoPulse 2.6s ease-in-out infinite;
}
@keyframes coreLogoPulse {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 8px rgba(127, 220, 255, .75)) drop-shadow(0 0 20px rgba(95, 212, 255, .30)); }
  50%      { transform: scale(1.10); filter: drop-shadow(0 0 16px rgba(191, 240, 255, 1)) drop-shadow(0 0 36px rgba(95, 212, 255, .55)); }
}
.core-ring { animation: coreRingPulse 3.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.core-ring-inner { animation: coreRingPulse 3.6s ease-in-out -1.8s infinite; transform-origin: center; transform-box: fill-box; }
@keyframes coreRingPulse {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

/* Halo animation on each node, staggered */
.net-node .node-halo { animation: nodeBreath 4.5s ease-in-out infinite; }
.net-node:nth-child(1) .node-halo { animation-delay: 0s; }
.net-node:nth-child(2) .node-halo { animation-delay: 0.6s; }
.net-node:nth-child(3) .node-halo { animation-delay: 1.2s; }
.net-node:nth-child(4) .node-halo { animation-delay: 1.8s; }
.net-node:nth-child(5) .node-halo { animation-delay: 2.4s; }
.net-node:nth-child(6) .node-halo { animation-delay: 3.0s; }
@keyframes nodeBreath {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 0.85; }
}

/* Pulses */
.neural-pulses .pulse { filter: drop-shadow(0 0 6px #7fdcff); opacity: 0.85; }

/* Hint */
.neural-hint {
  position: relative;
  margin: 18px auto 6px;
  width: max-content;
  max-width: 92%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 7px 14px;
  background: rgba(12, 156, 212, .12);
  border: 1px solid rgba(95, 212, 255, .35);
  border-radius: 999px;
  color: rgba(255,255,255,.85);
  font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.neural-hint-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #5fd4ff;
  box-shadow: 0 0 10px #5fd4ff;
  animation: hintPulse 1.6s ease-in-out infinite;
}
@keyframes hintPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50%      { opacity: 1;   transform: scale(1.2); }
}

/* Detail panel */
.neural-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(420px, 90%);
  background: linear-gradient(180deg, rgba(15, 22, 36, .96), rgba(8, 14, 24, .96));
  border: 1px solid rgba(95, 212, 255, .25);
  border-radius: 18px;
  padding: 26px 26px 22px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(95, 212, 255, .08);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .25s var(--ease), transform .3s var(--ease);
  z-index: 5;
}
.neural-panel[hidden] { display: none; }
.neural-panel.is-open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.neural-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.neural-close:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(95, 212, 255, .45);
}
.neural-close svg { width: 16px; height: 16px; }
.neural-panel-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #5fd4ff;
  margin-bottom: 10px;
}
.neural-panel-title {
  font-size: 22px; line-height: 1.2;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.neural-panel-text {
  font-size: 14.5px; line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 14px;
}
.neural-panel-list {
  list-style: none; padding: 0; margin: 0 0 18px;
  display: grid; gap: 6px;
}
.neural-panel-list li {
  font-size: 13px;
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
}
.neural-panel-list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  background: #5fd4ff;
  box-shadow: 0 0 6px #5fd4ff;
}
.neural-panel-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
}

/* CTA row below network */
.neural-cta-row {
  margin-top: 18px;
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
}

/* Tablet / mobile */
@media (max-width: 860px) {
  .neural-wrap { aspect-ratio: 1 / 1.05; }
  .neural-net text.node-label { font-size: 22px; }
  .core-label { font-size: 26px; }
  .core-sublabel { font-size: 16px; }
  .neural-panel { width: 92%; padding: 22px 20px 18px; }
  .neural-panel-title { font-size: 19px; }
  .neural-hint { font-size: 11.5px; padding: 6px 12px; top: 4px; }
}
@media (max-width: 520px) {
  .neural-net text.node-label { font-size: 26px; font-weight: 700; }
  .core-label { font-size: 30px; }
  .core-sublabel { font-size: 18px; }
}

/* =========================================================
   SERVICES DETAIL PAGE (servicos.html)
   ========================================================= */
.services-hero {
  padding: calc(var(--header-h) + 60px) 0 60px;
  position: relative;
}
.services-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-dim);
  font-size: 13px; font-weight: 500;
  margin-bottom: 28px;
  transition: color .18s, transform .18s;
}
.services-back:hover { color: #fff; transform: translateX(-2px); }
.services-back svg { width: 16px; height: 16px; }
.services-title {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 14px 0 18px;
  max-width: 920px;
}
.services-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 760px;
}
.services-toc {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
  backdrop-filter: blur(6px);
}
.services-toc a {
  font-size: 13px; font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text-dim);
  border: 1px solid transparent;
  transition: background .18s, color .18s, border-color .18s;
}
.services-toc a:hover {
  background: rgba(95, 212, 255, .08);
  color: #fff;
  border-color: rgba(95, 212, 255, .25);
}
.services-toc a.toc-haas {
  background: linear-gradient(135deg, rgba(95, 212, 255, .14), rgba(155, 230, 255, .08));
  border-color: rgba(155, 230, 255, .35);
  color: #e6f5ff;
}
.services-toc a.toc-haas:hover { background: rgba(155, 230, 255, .2); }

/* HaaS section — subtle accent backdrop */
.service-detail.service-haas {
  background:
    radial-gradient(800px 480px at 20% 0%, rgba(155, 230, 255, .08), transparent 60%),
    radial-gradient(600px 360px at 90% 100%, rgba(12, 156, 212, .08), transparent 60%),
    rgba(255, 255, 255, .015);
}
.service-detail.service-haas .service-side-icon {
  background: linear-gradient(135deg, rgba(155, 230, 255, .22), rgba(12, 156, 212, .12));
  border-color: rgba(155, 230, 255, .4);
  color: #9ee5ff;
}

/* HaaS sub-section: 12-item catalog grid (3 cols on wide screens) */
.service-subhead {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 8px 0 14px;
  display: inline-flex; align-items: center; gap: 10px;
  letter-spacing: 0.01em;
}
.service-subhead::before {
  content: "";
  width: 6px; height: 18px; border-radius: 3px;
  background: linear-gradient(180deg, #5fd4ff, #0c9cd4);
}
.service-features.service-features-12 {
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 1100px) {
  .service-features.service-features-12 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .service-features.service-features-12 { grid-template-columns: 1fr; }
}

/* HaaS benefits row */
.haas-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(95, 212, 255, .07), rgba(12, 156, 212, .04));
  border: 1px solid rgba(95, 212, 255, .18);
}
.haas-benefit {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 8px;
}
.haas-benefit-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(95, 212, 255, .12);
  border: 1px solid rgba(95, 212, 255, .3);
  border-radius: 10px;
  color: #5fd4ff;
}
.haas-benefit-icon svg { width: 20px; height: 20px; }
.haas-benefit strong {
  display: block;
  font-size: 14px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 2px;
}
.haas-benefit span {
  display: block;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-dim);
}
@media (max-width: 700px) { .haas-benefits { grid-template-columns: 1fr; } }

.haas-closing {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
  font-style: italic;
  padding-left: 14px;
  border-left: 2px solid rgba(95, 212, 255, .35);
  margin: 4px 0 6px;
}

.service-detail {
  padding: 70px 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.service-detail.service-alt {
  background:
    radial-gradient(600px 360px at 80% 0%, rgba(12, 156, 212, .06), transparent 60%),
    rgba(255, 255, 255, .015);
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}
.service-side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.service-side-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(12, 156, 212, .18), rgba(95, 212, 255, .08));
  border: 1px solid rgba(95, 212, 255, .25);
  color: #5fd4ff;
  margin-bottom: 18px;
}
.service-side-icon svg { width: 28px; height: 28px; }
.service-side-eyebrow {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #5fd4ff;
  margin-bottom: 10px;
}
.service-side-title {
  font-size: 30px; line-height: 1.15;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}
.service-side-lead {
  font-size: 15px; line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
}

.service-content > * + * { margin-top: 28px; }
.service-block h3 {
  font-size: 18px; font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  display: inline-flex; align-items: center; gap: 10px;
}
.service-block h3::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: #5fd4ff;
  box-shadow: 0 0 10px #5fd4ff;
}
.service-block p {
  font-size: 15px; line-height: 1.65;
  color: var(--text-dim);
  margin: 0;
}
.service-block p strong { color: #fff; font-weight: 600; }

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.service-feature {
  padding: 18px 18px 16px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .2s, background .2s, transform .2s;
}
.service-feature:hover {
  border-color: rgba(95, 212, 255, .3);
  background: rgba(95, 212, 255, .05);
  transform: translateY(-2px);
}
.service-feature h4 {
  font-size: 14.5px; font-weight: 600;
  color: #fff;
  margin: 0 0 6px;
}
.service-feature p {
  font-size: 13px; line-height: 1.5;
  color: var(--text-dim);
  margin: 0;
}

.service-stack {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
}
.service-stack-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-right: 4px;
}
.stack-chip {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 999px;
  background: rgba(95, 212, 255, .08);
  border: 1px solid rgba(95, 212, 255, .2);
  color: #c8e9f5;
}

@media (max-width: 960px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-side { position: static; }
  .service-features { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .services-hero { padding: calc(var(--header-h) + 30px) 0 40px; }
  .service-detail { padding: 50px 0; }
  .services-toc { padding: 12px; }
}
