/* ════════════════════════════════════════════
   FXTECH TI — STYLE
   Inspirux-inspired dark editorial layout
════════════════════════════════════════════ */

:root {
  --bg:      #0A1628;
  --bg2:     #0D1D35;
  --card:    #0E2040;
  --amber:   #F5A623;
  --cyan:    #00D4FF;
  --text:    #F0F4F8;
  --text2:   #7A8FA8;
  --text3:   #3A5270;
  --border:  rgba(255,255,255,0.07);
  --font-logo: 'Montserrat', 'Arial Black', sans-serif;
  --font-body: 'Inter', sans-serif;
  --pad-x:   clamp(20px, 5vw, 64px);
  --sec-pad: clamp(28px, 3.5vw, 52px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--amber); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ─────────────────────────────────────────
   LOGO — "fx tech" em HTML/CSS
   Fundo transparente, texto branco no dark,
   acento âmbar com animação de entrada
───────────────────────────────────────── */

.logo-fx {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
  font-family: var(--font-logo);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
}

.lx-tech {
  position: relative;
  display: inline-block;
}

/* Acento âmbar — flag no topo-direito do "h" */
.lx-acc {
  position: absolute;
  top: 0.10em;
  right: -0.03em;
  width:  0.38em;
  height: 0.11em;
  background: var(--amber);
  border-radius: 0 0.5em 0.5em 0;
  transform-origin: left center;
  animation: acc-enter 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 0.15s;
}

@keyframes acc-enter {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

.logo-fx:hover .lx-acc {
  animation: acc-pulse 0.5s ease;
}

@keyframes acc-pulse {
  0%   { filter: brightness(1); transform: scaleX(1); }
  45%  { filter: brightness(1.6); transform: scaleX(1.1); }
  100% { filter: brightness(1); transform: scaleX(1); }
}

/* Tamanhos por contexto */
.nav-logo    { font-size: 30px; }
.splash-logo { font-size: clamp(72px, 20vw, 200px); }
.footer-logo { font-size: 20px; margin-bottom: 14px; display: flex; }

/* ─────────────────────────────────────────
   TIPOGRAFIA HELPERS
───────────────────────────────────────── */

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-logo);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-header { display: flex; flex-direction: column; }

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */

.btn-filled {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--amber);
  color: #0A1628;
  font-family: var(--font-logo);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 15px 28px;
  border: 1.5px solid var(--amber);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-filled:hover { background: transparent; color: var(--amber); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-logo);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 15px 28px;
  border: 1.5px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }

/* ─────────────────────────────────────────
   SPLASH — HUD FUTURÍSTICO
───────────────────────────────────────── */

#splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #050d1a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.7s ease;
}

/* Grid de fundo */
.sp-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  animation: grid-in 1s ease forwards;
  opacity: 0;
}

@keyframes grid-in {
  to { opacity: 1; }
}

/* Cantos HUD */
.sp-corner {
  position: fixed;
  width: 52px;
  height: 52px;
  opacity: 0;
}

.sp-tl { top: 18px; left: 18px; border-top: 2px solid var(--cyan); border-left: 2px solid var(--cyan); animation: c-in 0.4s ease 0.1s forwards; }
.sp-tr { top: 18px; right: 18px; border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan); animation: c-in 0.4s ease 0.15s forwards; }
.sp-bl { bottom: 18px; left: 18px; border-bottom: 2px solid var(--cyan); border-left: 2px solid var(--cyan); animation: c-in 0.4s ease 0.2s forwards; }
.sp-br { bottom: 18px; right: 18px; border-bottom: 2px solid var(--cyan); border-right: 2px solid var(--cyan); animation: c-in 0.4s ease 0.25s forwards; }

@keyframes c-in { to { opacity: 1; } }

/* Labels topo/base */
.sp-label {
  position: fixed;
  left: 0; right: 0;
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: clamp(10px, 1.2vw, 14px);
  letter-spacing: 0.3em;
  color: rgba(0,212,255,0.65);
  text-transform: uppercase;
  opacity: 0;
  animation: c-in 0.5s ease 0.4s forwards;
}

.sp-label-t { top: 26px; }
.sp-label-b { bottom: 26px; }

/* Data streams laterais */
.sp-stream {
  position: fixed;
  top: 0; bottom: 0;
  width: 96px;
  overflow: hidden;
  opacity: 0;
  animation: c-in 0.5s ease 0.5s forwards;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.85;
  color: rgba(0,212,255,0.32);
  pointer-events: none;
  user-select: none;
}

.sp-sl { left: 0;  text-align: right; padding-right: 14px; }
.sp-sr { right: 0; text-align: left;  padding-left: 14px; }

.sp-si {
  display: block;
  animation: stream-scroll 10s linear infinite;
}

.sp-sr .sp-si { animation-delay: -5s; }

@keyframes stream-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

/* Centro */
.sp-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 2;
  padding: 20px 0;
}

/* Anéis de varredura */
.sp-rings {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.sp-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  border: 1px solid rgba(0,212,255,0.5);
}

.r1 { width: 280px;    height: 280px;    animation: ring-out 3.5s ease-out 0.7s infinite; }
.r2 { width: 560px;    height: 560px;    animation: ring-out 3.5s ease-out 1.4s infinite; }
.r3 { width: 100vmax;  height: 100vmax;  animation: ring-out 3.5s ease-out 2.1s infinite; }

@keyframes ring-out {
  0%   { transform: translate(-50%,-50%) scale(0.2); opacity: 0.8; }
  100% { transform: translate(-50%,-50%) scale(1);   opacity: 0; }
}

/* Linhas cruzadas (crosshair) */
.sp-ring-x {
  position: fixed;
  top: 50%; left: 50%;
  background: rgba(0,212,255,0.22);
  animation: cross-pulse 3s ease-in-out 0.8s infinite;
}

.rx1 { width: 1px; height: 100vh; transform: translate(-50%,-50%); }
.rx2 { width: 100vw; height: 1px; transform: translate(-50%,-50%); }

@keyframes cross-pulse {
  0%, 100% { opacity: 0.22; }
  50%       { opacity: 0.7; }
}

/* Status lines */
.sp-status {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Courier New', monospace;
  font-size: clamp(11px, 1.5vw, 15px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.sp-line {
  opacity: 0;
  transform: translateX(-16px);
  color: rgba(0,212,255,0.85);
  white-space: nowrap;
}

.sl1 { animation: sl-in 0.45s ease 1.1s forwards; }
.sl2 { animation: sl-in 0.45s ease 1.7s forwards; }
.sl3 { animation: sl-in 0.45s ease 2.3s forwards; }
.sl4 { animation: sl-in 0.45s ease 2.9s forwards; }

@keyframes sl-in {
  to { opacity: 1; transform: translateX(0); }
}

.sl-tag  { color: var(--amber); }
.sl-ok   { color: #00ff88; }

/* Progresso + contador */
.sp-prog {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: c-in 0.4s ease 1.6s forwards;
  position: relative;
  z-index: 2;
}

.sp-bar {
  width: clamp(240px, 40vw, 420px);
  height: 3px;
  background: rgba(0,212,255,0.15);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.sp-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,212,255,0.08);
  animation: bar-scan 2s linear infinite;
}

@keyframes bar-scan {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

.sp-bar-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--cyan), var(--amber));
  width: 0%;
  border-radius: 2px;
  transition: width 0.08s linear;
  box-shadow: 0 0 12px rgba(0,212,255,0.8), 0 0 24px rgba(0,212,255,0.3);
}

.sp-num {
  font-family: var(--font-logo);
  font-size: clamp(6rem, 20vw, 16rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--text);
  line-height: 1;
  position: relative;
  text-shadow: 0 0 60px rgba(0,212,255,0.2);
}

.sp-num::before {
  content: attr(data-shadow);
  position: absolute;
  inset: 0;
  color: var(--cyan);
  opacity: 0;
  animation: num-glitch 4s ease 2s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
}

@keyframes num-glitch {
  0%, 90%, 100% { opacity: 0; transform: translate(0); }
  92%           { opacity: 0.5; transform: translate(-3px, 2px); }
  94%           { opacity: 0.5; transform: translate(3px, -2px); }
  96%           { opacity: 0;   transform: translate(0); }
}

.sp-pct {
  font-size: 0.35em;
  vertical-align: super;
  color: var(--amber);
  letter-spacing: 0;
}

#splashNum { display: inline; }

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

#navbar.scrolled {
  background: rgba(10,22,40,0.96);
  backdrop-filter: blur(12px);
  border-color: var(--border);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text2);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-mobile-cta { display: none; }

.nav-cta {
  font-family: var(--font-logo);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--amber);
  border: 1.5px solid rgba(245,166,35,0.35);
  padding: 10px 20px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { background: rgba(245,166,35,0.08); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */

#hero {
  height: 100vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  position: relative;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(10px, 1.5vw, 20px);
}
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text2);
}
.hero-est {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--text3);
}

.hero-title {
  font-family: var(--font-logo);
  font-size: clamp(2.2rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: clamp(10px, 1.5vw, 20px);
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-bottom: clamp(24px, 3vw, 44px);
}
.hero-desc {
  max-width: 360px;
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.8;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ─────────────────────────────────────────
   TICKER
───────────────────────────────────────── */

.hero-divider {
  height: 2px;
  background: linear-gradient(to right, var(--text) 50%, var(--amber) 50%);
  margin-top: auto;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 84px;
  right: var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.scroll-hint > span:first-child {
  font-size: 0.58rem;
  letter-spacing: 3px;
  color: var(--text3);
  writing-mode: vertical-rl;
}
.scroll-line {
  display: block;
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--text3), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ─────────────────────────────────────────
   SEPARADORES DE SEÇÃO
───────────────────────────────────────── */

section:not(#hero) {
  padding: var(--sec-pad) 0;
  border-top: 1px solid var(--border);
}

/* ─────────────────────────────────────────
   ACCORDION — SERVIÇOS
───────────────────────────────────────── */

.accordion { border-top: 1px solid var(--border); }
.acc-item  { border-bottom: 1px solid var(--border); }

.acc-header {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 26px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  transition: color 0.2s;
}
.acc-header:hover,
.acc-item.active .acc-header { color: var(--amber); }

.acc-num {
  font-family: var(--font-logo);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text3);
  flex-shrink: 0;
  min-width: 26px;
  transition: color 0.2s;
}
.acc-header:hover .acc-num,
.acc-item.active  .acc-num { color: var(--amber); }

.acc-title {
  font-family: var(--font-logo);
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 800;
  flex: 1;
}

.acc-icon {
  flex-shrink: 0;
  color: var(--text3);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.acc-header:hover .acc-icon,
.acc-item.active  .acc-icon { color: var(--amber); }

.acc-v {
  transition: transform 0.3s, opacity 0.3s;
  transform-box: fill-box;
  transform-origin: center;
}
.acc-item.active .acc-v { transform: rotate(90deg); opacity: 0; }

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1);
}
.acc-item.active .acc-body { max-height: 700px; }

.acc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 56px;
  padding: 0 0 36px 50px;
}
.acc-inner p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.85;
  opacity: 0.82;
}
.acc-inner ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.acc-inner li {
  font-size: 0.875rem;
  color: var(--text2);
  padding-left: 20px;
  position: relative;
  line-height: 1.6;
}
.acc-inner li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 0.75rem;
  top: 0.1em;
}
.acc-inner li strong {
  color: var(--text);
  font-weight: 600;
}

/* ─────────────────────────────────────────
   NÚMEROS / STATS
───────────────────────────────────────── */

/* ─────────────────────────────────────────
   COMO TRABALHAMOS
───────────────────────────────────────── */
#processo { border-top: 1px solid var(--border); }
#processo .section-title { margin-bottom: clamp(16px, 2vw, 24px); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 0;
}

.process-step {
  background: var(--bg2);
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px);
  position: relative;
  transition: background 0.25s;
}
.process-step:hover { background: var(--card); }

.process-num {
  display: block;
  font-family: var(--font-logo);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--border);
  margin-bottom: 20px;
  transition: color 0.25s;
}
.process-step:hover .process-num { color: var(--cyan); }

.process-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 12px;
}

.process-desc {
  font-size: 0.85rem;
  color: var(--text3);
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   SOBRE
───────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.about-text {
  font-size: 0.96rem;
  color: var(--text2);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(245,166,35,0.25);
  padding: 7px 14px;
}

/* ─── SOBRE — layout expandido ─── */

.about-header {
  margin-bottom: clamp(48px, 7vw, 80px);
}

/* Bloco de origem */
.about-origin {
  border-left: 2px solid var(--amber);
  padding: clamp(24px, 4vw, 40px) clamp(28px, 5vw, 56px);
  background: rgba(245,166,35,0.04);
  margin-bottom: clamp(48px, 7vw, 80px);
}

.about-origin-tag {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.about-origin-text {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.75;
  color: var(--text);
  font-weight: 300;
  max-width: 860px;
}

.about-origin-text em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 700;
}

/* Parceria */
.about-partnership {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.about-p-label {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.about-p-text {
  font-size: 0.93rem;
  line-height: 1.82;
  color: var(--text2);
  margin-bottom: 18px;
}

.about-p-text strong { color: var(--text); }

.about-quote {
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  color: var(--amber);
  letter-spacing: -0.01em;
  border: none;
  padding: 0;
  margin: 0;
}

/* Label genérico dos blocos direitos */
.about-block-label {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  color: var(--text2);
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Lista de clientes governamentais */
.about-clients {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.about-clients-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-client {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.about-client:last-child { border-bottom: none; }

.about-client-tag {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.2);
  padding: 4px 10px;
  min-width: 88px;
  text-align: center;
  flex-shrink: 0;
}

.about-client-name {
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.4;
}

/* Especialização */
.about-spec { }

/* Stats bar */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: clamp(48px, 7vw, 80px);
  border: 1px solid var(--border);
}

.about-stat {
  background: var(--bg2);
  padding: clamp(24px, 4vw, 40px) clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-stat-num {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.about-stat-suf {
  color: var(--amber);
  font-size: 0.6em;
  vertical-align: super;
}

.about-stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text2);
  text-transform: uppercase;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-origin { padding: 20px; }
}

/* ─────────────────────────────────────────
   PARCEIROS
───────────────────────────────────────── */
#parceiros {
  border-top: 1px solid var(--border);
}

#parceiros .section-title {
  margin-bottom: 0;
}

.partners-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.partners-cycle {
  position: relative;
  height: 120px;
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
}

.partner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.partner-slide.active {
  opacity: 1;
}

.partner-logo {
  max-height: 44px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
}

/* ─────────────────────────────────────────
   CARDS — POR QUE NÓS
───────────────────────────────────────── */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
}

.card {
  background: var(--bg);
  padding: clamp(28px, 4vw, 52px);
  transition: background 0.25s;
}
.card:hover { background: var(--card); }

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}
.card-num {
  font-family: var(--font-logo);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text3);
}
.card-arrow {
  color: var(--text3);
  transition: color 0.2s, transform 0.2s;
}
.card:hover .card-arrow { color: var(--amber); transform: translate(3px,-3px); }

.card-title {
  font-family: var(--font-logo);
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}
.card-desc {
  font-size: 0.87rem;
  color: var(--text2);
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   DEPOIMENTOS
───────────────────────────────────────── */

#depoimentos .section-label { display: block; margin-bottom: 44px; }

.t-wrap { position: relative; min-height: 180px; margin-bottom: 44px; }

.t-slide {
  opacity: 0;
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.t-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.t-quote {
  font-family: var(--font-logo);
  font-size: clamp(1rem, 2.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 860px;
}

.t-author { display: flex; align-items: center; gap: 10px; }
.t-name   { font-weight: 600; font-size: 0.9rem; }
.t-role   { font-size: 0.8rem; color: var(--text3); }
.t-role::before { content: '·'; margin-right: 10px; }

.t-nav { display: flex; align-items: center; gap: 20px; }

.t-btn {
  width: 46px; height: 46px;
  background: none;
  border: 1px solid var(--border);
  color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.t-btn:hover { border-color: var(--amber); color: var(--amber); }

.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text3);
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.t-dot.active { background: var(--amber); transform: scale(1.3); }

/* ─────────────────────────────────────────
   CONTATO
───────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text2);
  transition: color 0.2s;
}
.contact-link:hover { color: var(--text); }
.contact-link i { color: var(--amber); width: 18px; font-size: 1rem; flex-shrink: 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.form-field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text3);
}
.form-field input,
.form-field textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 13px 15px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  width: 100%;
  border-radius: 0;
}
.form-field input:focus,
.form-field textarea:focus { border-color: rgba(245,166,35,0.4); }

.btn-submit { width: 100%; padding: 18px; font-size: 0.72rem; justify-content: center; margin-top: 6px; }

.form-success {
  display: none;
  margin-top: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(245,166,35,0.25);
  color: var(--amber);
  font-size: 0.85rem;
  text-align: center;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */

#footer { padding: 0; }

.footer-divider {
  height: 2px;
  background: linear-gradient(to right, var(--amber) 50%, var(--text) 50%);
}

.footer-main {
  padding: clamp(56px, 8vw, 100px) 0 clamp(28px, 4vw, 44px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: clamp(36px, 5vw, 60px);
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text3);
  line-height: 1.7;
  max-width: 240px;
}

.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text2);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { font-size: 0.85rem; color: var(--text3); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--text); }

.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-links a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text3); font-size: 0.82rem;
  transition: border-color 0.2s, color 0.2s;
}
.social-links a:hover { border-color: var(--amber); color: var(--amber); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.76rem;
  color: var(--text3);
}

/* ─────────────────────────────────────────
   BOTÕES FLUTUANTES
───────────────────────────────────────── */

.float-wa {
  position: fixed;
  bottom: 28px; left: 28px;
  width: 50px; height: 50px;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  z-index: 800; border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  transition: transform 0.2s;
}
.float-wa:hover { transform: scale(1.08); }

.back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 42px; height: 42px;
  background: rgba(10,22,40,0.9);
  border: 1px solid var(--border);
  color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 800;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, color 0.2s, border-color 0.2s;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { color: var(--amber); border-color: var(--amber); }

/* ─────────────────────────────────────────
   RESPONSIVO
───────────────────────────────────────── */

@media (max-width: 960px) {
  .hamburger { display: flex; }
  .nav-links, .nav-cta { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    padding: 40px var(--pad-x);
    gap: 28px;
    z-index: 890;
    border-top: 1px solid var(--border);
    overflow-y: auto;
  }
  .nav-links.open a { font-size: 1.1rem; }
  .nav-mobile-cta { display: list-item; margin-top: 12px; }

  .hero-bottom  { flex-direction: column; align-items: flex-start; }
  .about-grid   { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .acc-inner    { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .scroll-hint  { display: none; }
}

@media (max-width: 640px) {
  #hero         { height: auto; min-height: unset; padding-top: 80px; padding-bottom: 40px; }
  .process-grid   { grid-template-columns: 1fr 1fr; }
  .cards-grid     { grid-template-columns: 1fr; }
  .partners-layout { grid-template-columns: 1fr; }
  .partners-cycle  { height: 120px; }
  .hero-ctas    { flex-direction: column; width: 100%; }
  .hero-ctas a  { width: 100%; justify-content: center; }
  .footer-grid  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row     { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-line { animation: none; }
  .lx-acc { animation: none; }
}

/* ════════════════════════════════════════════
   HERO TITLE ROTATOR
════════════════════════════════════════════ */

.hero-title {
  display: grid;
  /* sobreescreve margin-bottom do bloco original */
}

.title-slide {
  grid-row: 1;
  grid-column: 1;
  opacity: 0;
  pointer-events: none;
}

.title-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.tl-w {
  overflow: hidden;
  line-height: 1.06;
  /* padding minúsculo para a ascendente não cortar */
  padding-top: 0.04em;
}

.tl-s {
  display: block;
  color: var(--text);
  will-change: transform;
}

.tl-s.tl-em { color: var(--amber); }

/* ── Entrando: linhas sobem do fundo ── */
.title-slide.ts-in .tl-w:nth-child(1) .tl-s { animation: tl-in 0.7s cubic-bezier(0.22,1,0.36,1) 0.00s both; }
.title-slide.ts-in .tl-w:nth-child(2) .tl-s { animation: tl-in 0.7s cubic-bezier(0.22,1,0.36,1) 0.08s both; }
.title-slide.ts-in .tl-w:nth-child(3) .tl-s { animation: tl-in 0.7s cubic-bezier(0.22,1,0.36,1) 0.16s both; }
.title-slide.ts-in .tl-w:nth-child(4) .tl-s { animation: tl-in 0.7s cubic-bezier(0.22,1,0.36,1) 0.24s both; }

/* ── Saindo: linhas sobem para fora ── */
.title-slide.ts-out .tl-w:nth-child(1) .tl-s { animation: tl-out 0.45s cubic-bezier(0.55,0,1,0.45) 0.00s both; }
.title-slide.ts-out .tl-w:nth-child(2) .tl-s { animation: tl-out 0.45s cubic-bezier(0.55,0,1,0.45) 0.07s both; }
.title-slide.ts-out .tl-w:nth-child(3) .tl-s { animation: tl-out 0.45s cubic-bezier(0.55,0,1,0.45) 0.14s both; }
.title-slide.ts-out .tl-w:nth-child(4) .tl-s { animation: tl-out 0.45s cubic-bezier(0.55,0,1,0.45) 0.21s both; }

@keyframes tl-in  { from { transform: translateY(108%); } to { transform: translateY(0); } }
@keyframes tl-out { from { transform: translateY(0); }   to { transform: translateY(-108%); } }

/* ── Indicadores de progresso ── */
.hero-title-dots {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.htd {
  width: 22px;
  height: 2px;
  background: var(--border);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
}

.htd::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
}

.htd.htd-active::after {
  animation: htd-fill 4.5s linear forwards;
}

@keyframes htd-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Logo se constrói letra a letra no splash */
.lx-c {
  display: inline-block;
  opacity: 0;
}

.splash-logo .lc1 { animation: char-build 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.08s forwards; }
.splash-logo .lc2 { animation: char-build 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.20s forwards; }
.splash-logo .lc3 { animation: char-build 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.36s forwards; }
.splash-logo .lc4 { animation: char-build 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.48s forwards; }
.splash-logo .lc5 { animation: char-build 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.60s forwards; }
.splash-logo .lc6 { animation: char-build 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.72s forwards; }

.splash-logo .lx-acc { animation-delay: 0.92s !important; top: 0.115em; right: 0.01em; }

@keyframes char-build {
  0%   { opacity: 0; transform: translateY(50%) scale(0.6);  filter: blur(8px); }
  55%  { opacity: 1; transform: translateY(-6%) scale(1.08); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0)   scale(1);    filter: blur(0); }
}

/* ════════════════════════════════════════════
   ACCORDION — LAYOUT 3 COLUNAS COM ANIMAÇÃO
════════════════════════════════════════════ */

.acc-inner {
  grid-template-columns: 1fr 1fr 200px !important;
  align-items: center;
}

.acc-anim {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  min-height: 140px;
  border-left: 1px solid var(--border);
  border-radius: 0 8px 8px 0;
}

/* ─── 01 INFRAESTRUTURA — Servidor rack ─── */

.anim-infra { gap: 10px; }

.srv-rack { display: flex; flex-direction: column; gap: 6px; width: 100%; }

.srv-unit {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.04);
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: 4px;
  padding: 5px 8px;
  position: relative;
  overflow: hidden;
}

.srv-unit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.07), transparent);
  transform: translateX(-100%);
  opacity: 0;
}

.acc-item.active .srv-unit:nth-child(1)::after { animation: srv-sweep 2.5s ease infinite 0.2s; }
.acc-item.active .srv-unit:nth-child(2)::after { animation: srv-sweep 2.5s ease infinite 0.9s; }
.acc-item.active .srv-unit:nth-child(3)::after { animation: srv-sweep 2.5s ease infinite 1.6s; }

@keyframes srv-sweep {
  0%   { transform: translateX(-100%); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateX(100%);  opacity: 0; }
}

.srv-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.led-green { background: #00ff6a; box-shadow: 0 0 5px #00ff6a; }
.led-amber { background: var(--amber); box-shadow: 0 0 5px var(--amber); }

.acc-item.active .srv-led {
  animation: led-blink 1.3s step-end infinite;
}
.acc-item.active .led-amber {
  animation-delay: 0.65s;
}

@keyframes led-blink {
  0%, 70%  { opacity: 1; }
  71%, 100%{ opacity: 0.15; }
}

.srv-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.srv-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  background: var(--cyan);
  border-radius: 2px;
  transform-origin: left;
}

.acc-item.active .sb1::after { animation: bar-fill 3s ease-in-out infinite; }
.acc-item.active .sb2::after { animation: bar-fill 3s ease-in-out infinite 1s; background: var(--amber); }
.acc-item.active .sb3::after { animation: bar-fill 3s ease-in-out infinite 2s; }

@keyframes bar-fill {
  0%   { transform: scaleX(0.15); }
  40%  { transform: scaleX(0.82); }
  60%  { transform: scaleX(0.65); }
  80%  { transform: scaleX(0.91); }
  100% { transform: scaleX(0.15); }
}

.srv-tag {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--text3);
  font-weight: 600;
  flex-shrink: 0;
}

.srv-footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text3);
  font-weight: 600;
  padding: 4px 2px 0;
}

.acc-item.active .srv-status {
  animation: status-pulse 2s ease infinite;
  color: #00ff6a;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.srv-pct { color: var(--cyan); }

/* ─── 02 CIBERSEGURANÇA — Shield scan ─── */

.anim-shield svg {
  width: 100px;
  height: auto;
  overflow: visible;
}

.shield-body {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  opacity: 0;
}

.acc-item.active .shield-body {
  animation: shield-draw 1s ease 0.1s forwards, shield-idle 3s ease-in-out 1.2s infinite;
}

@keyframes shield-draw {
  to { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes shield-idle {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(0,212,255,0.4)); }
  50%       { filter: drop-shadow(0 0 8px rgba(0,212,255,0.9)); }
}

.shield-glow { pointer-events: none; }

.acc-item.active .shield-glow {
  animation: shield-glow-pulse 3s ease-in-out 1.2s infinite;
}

@keyframes shield-glow-pulse {
  0%, 100% { opacity: 0; }
  50%       { opacity: 0.18; }
}

.shield-scan {
  transform-box: fill-box;
  transform-origin: top center;
}

.acc-item.active .shield-scan {
  animation: scan-sweep 3s ease-in-out 1.2s infinite;
}

@keyframes scan-sweep {
  0%   { transform: translateY(0);   opacity: 0; }
  10%  { opacity: 0.9; }
  85%  { transform: translateY(56px); opacity: 0.9; }
  100% { transform: translateY(56px); opacity: 0; }
}

.shield-core {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}

.acc-item.active .shield-core {
  animation: core-appear 0.4s ease 0.8s forwards, core-pulse 2s ease-in-out 1.3s infinite;
}

@keyframes core-appear {
  to { opacity: 1; }
}

@keyframes core-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.15); }
}

.shield-check { transform-box: fill-box; transform-origin: center; }

.acc-item.active .shield-check {
  animation: check-draw 0.5s ease 1.1s forwards;
}

@keyframes check-draw {
  from { stroke-dasharray: 30; stroke-dashoffset: 30; opacity: 0; }
  to   { stroke-dasharray: 30; stroke-dashoffset: 0;  opacity: 1; }
}

/* ─── 03 CABEAMENTO — Network nodes ─── */

.anim-network svg {
  width: 100%;
  max-width: 130px;
  height: auto;
  overflow: visible;
}

.net-node {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}

.acc-item.active .nn1 { animation: node-in 0.4s ease 0.1s forwards, node-pulse 2s ease-in-out 0.6s infinite; }
.acc-item.active .nn2 { animation: node-in 0.4s ease 0.3s forwards, node-pulse 2s ease-in-out 0.8s infinite; }
.acc-item.active .nn3 { animation: node-in 0.4s ease 0.3s forwards, node-pulse 2s ease-in-out 1.0s infinite; }
.acc-item.active .nn4 { animation: node-in 0.4s ease 0.5s forwards, node-pulse 2s ease-in-out 1.2s infinite; }
.acc-item.active .nn5 { animation: node-in 0.4s ease 0.5s forwards, node-pulse 2s ease-in-out 1.4s infinite; }

@keyframes node-in {
  from { opacity: 0; transform: scale(0.3); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes node-pulse {
  0%, 100% { transform: scale(1);   filter: drop-shadow(0 0 2px rgba(245,166,35,0.3)); }
  50%       { transform: scale(1.2); filter: drop-shadow(0 0 6px rgba(245,166,35,0.9)); }
}

.net-link { opacity: 0; }

.acc-item.active .nl1 { animation: link-draw 1s ease 0.5s forwards, link-glow 2.5s ease-in-out 1.6s infinite; stroke-dasharray: 56; }
.acc-item.active .nl2 { animation: link-draw 1s ease 0.5s forwards, link-glow 2.5s ease-in-out 2.2s infinite; stroke-dasharray: 56; }
.acc-item.active .nl3 { animation: link-draw 0.7s ease 0.9s forwards, link-glow 2.5s ease-in-out 1.7s infinite; stroke-dasharray: 34; }
.acc-item.active .nl4 { animation: link-draw 0.7s ease 0.9s forwards, link-glow 2.5s ease-in-out 2.3s infinite; stroke-dasharray: 34; }
.acc-item.active .nl5 { animation: link-draw 0.9s ease 0.7s forwards, link-glow 2.5s ease-in-out 1.9s infinite; stroke-dasharray: 78; }

@keyframes link-draw {
  from { stroke-dashoffset: var(--dash, 56); opacity: 0; }
  to   { stroke-dashoffset: 0; opacity: 0.7; }
}

@keyframes link-glow {
  0%, 100% { opacity: 0.35; }
  50%       { opacity: 1; }
}

.net-pkt {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}

.acc-item.active .net-pkt {
  animation: pkt-glow 2s ease-in-out 1.5s infinite;
}

@keyframes pkt-glow {
  0%, 100% { opacity: 0;   transform: scale(0.6); filter: drop-shadow(0 0 0px rgba(245,166,35,0)); }
  40%, 60% { opacity: 1;   transform: scale(1.5); filter: drop-shadow(0 0 6px rgba(245,166,35,1)); }
}

/* ─── 04 SUPORTE — Timeline ─── */

.anim-support { justify-content: center; padding: 12px 16px; gap: 0; }

.tl-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  position: relative;
}

.tl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  opacity: 0;
  transform: translateX(-8px);
  position: relative;
}

.tl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--amber);
  background: rgba(245,166,35,0.12);
  flex-shrink: 0;
  transition: all 0.3s;
}

.tl-dot.tl-done {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(245,166,35,0.6);
}

.tl-line {
  position: absolute;
  left: 4.5px;
  top: 16px;
  width: 1px;
  height: 0;
  background: rgba(245,166,35,0.3);
}

.tl-text {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--text2);
  font-weight: 500;
}

.tl-done-text { color: var(--amber); font-weight: 600; }

.acc-item.active .tr1 { animation: tl-enter 4s ease infinite 0.1s; }
.acc-item.active .tr2 { animation: tl-enter 4s ease infinite 0.5s; }
.acc-item.active .tr3 { animation: tl-enter 4s ease infinite 0.9s; }
.acc-item.active .tr4 { animation: tl-enter 4s ease infinite 1.3s; }

.acc-item.active .tr1 .tl-line { animation: tl-line-grow 0.4s ease 0.5s forwards; }
.acc-item.active .tr2 .tl-line { animation: tl-line-grow 0.4s ease 0.9s forwards; }
.acc-item.active .tr3 .tl-line { animation: tl-line-grow 0.4s ease 1.3s forwards; }

@keyframes tl-enter {
  0%   { opacity: 0; transform: translateX(-8px); }
  12%  { opacity: 1; transform: translateX(0); }
  80%  { opacity: 1; transform: translateX(0); }
  95%  { opacity: 0; }
  100% { opacity: 0; transform: translateX(-8px); }
}

@keyframes tl-line-grow {
  from { height: 0; }
  to   { height: 22px; }
}

/* ─── 05 REDES — WiFi signal ─── */

.anim-wifi svg { width: 100%; max-width: 130px; height: auto; overflow: visible; }

.wifi-dot {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}

.acc-item.active .wifi-dot {
  animation: dot-in 0.3s ease 0.1s forwards, dot-pulse 1.8s ease-in-out 0.5s infinite;
}

@keyframes dot-in { to { opacity: 1; } }

@keyframes dot-pulse {
  0%, 100% { transform: scale(1);   filter: drop-shadow(0 0 2px rgba(0,212,255,0.4)); }
  50%       { transform: scale(1.4); filter: drop-shadow(0 0 8px rgba(0,212,255,1)); }
}

.acc-item.active .wa1 { animation: wifi-arc-in 0.5s ease 0.35s forwards, wifi-arc-pulse 2s ease-in-out 0.9s infinite; }
.acc-item.active .wa2 { animation: wifi-arc-in 0.5s ease 0.6s forwards,  wifi-arc-pulse 2s ease-in-out 1.1s infinite; }
.acc-item.active .wa3 { animation: wifi-arc-in 0.5s ease 0.85s forwards, wifi-arc-pulse 2s ease-in-out 1.3s infinite; }

@keyframes wifi-arc-in {
  from { opacity: 0; transform: scaleY(0.5); }
  to   { opacity: 1; transform: scaleY(1); }
}

@keyframes wifi-arc-pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1;   filter: drop-shadow(0 0 4px rgba(0,212,255,0.7)); }
}

.wifi-ring, .wifi-ring2 { transform-box: fill-box; transform-origin: center; }

.acc-item.active .wifi-ring  { animation: ring-expand 2.5s ease-out 0.6s infinite; }
.acc-item.active .wifi-ring2 { animation: ring-expand 2.5s ease-out 1.2s infinite; }

@keyframes ring-expand {
  0%   { transform: scale(0.5); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ─── 06 CONSULTORIA — Bar chart ─── */

.anim-chart {
  gap: 8px;
  justify-content: flex-end;
  padding: 12px 8px 8px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  width: 100%;
}

.ch-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  height: 100%;
}

.ch-col span {
  font-size: 8px;
  color: var(--text3);
  letter-spacing: 0.05em;
  font-weight: 600;
}

.ch-bar {
  width: 100%;
  border-radius: 3px 3px 0 0;
  background: rgba(245,166,35,0.12);
  position: relative;
  height: 100%;
  overflow: hidden;
}

.ch-bar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, var(--amber), rgba(245,166,35,0.5));
  border-radius: 3px 3px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
}

.acc-item.active .cb1::after { animation: bar-rise 3.5s cubic-bezier(0.25,0.46,0.45,0.94) infinite;       --bh: 38%; }
.acc-item.active .cb2::after { animation: bar-rise 3.5s cubic-bezier(0.25,0.46,0.45,0.94) infinite 0.15s; --bh: 58%; }
.acc-item.active .cb3::after { animation: bar-rise 3.5s cubic-bezier(0.25,0.46,0.45,0.94) infinite 0.3s;  --bh: 76%; }
.acc-item.active .cb4::after { animation: bar-rise 3.5s cubic-bezier(0.25,0.46,0.45,0.94) infinite 0.45s; --bh: 96%; }

@keyframes bar-rise {
  0%         { transform: scaleY(0); box-shadow: none; }
  40%, 70%   { transform: scaleY(1); box-shadow: 0 -4px 12px rgba(245,166,35,0.5); }
  95%, 100%  { transform: scaleY(0); box-shadow: none; }
}

.chart-trend-svg {
  width: 100%;
  max-height: 30px;
  overflow: visible;
}

.acc-item.active .trend-line {
  animation: trend-draw 3.5s ease-in-out infinite 0.7s;
}

@keyframes trend-draw {
  0%   { stroke-dashoffset: 120; opacity: 0; }
  15%  { opacity: 1; }
  55%, 70% { stroke-dashoffset: 0; opacity: 1; }
  90%, 100%{ stroke-dashoffset: 120; opacity: 0; }
}

.acc-item.active .trend-arrow {
  animation: arrow-pop 3.5s ease infinite 1.2s;
}

@keyframes arrow-pop {
  0%, 50%   { opacity: 0; transform: scale(0.5); }
  65%, 70%  { opacity: 1; transform: scale(1); }
  90%, 100% { opacity: 0; }
}

.trend-arrow { transform-box: fill-box; transform-origin: center; }

/* ─── RESPONSIVE — oculta animações em telas pequenas ─── */

@media (max-width: 960px) {
  .acc-inner    { grid-template-columns: 1fr !important; }
  .acc-anim     { display: none; }
}

/* ════════════════════════════════════════════
   ACCORDION — hover hint (painel ao clicar)
════════════════════════════════════════════ */

.acc-item { cursor: pointer; }

.acc-item .acc-header::after {
  content: 'EXPLORAR →';
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--amber);
  opacity: 0;
  transition: opacity 0.25s;
  margin-left: auto;
  padding-right: 8px;
}
.acc-item:hover .acc-header::after { opacity: 1; }

/* ════════════════════════════════════════════
   SERVICE DETAIL PANEL
════════════════════════════════════════════ */

.svc-panel {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.svc-panel.open {
  transform: translateX(0);
}

/* ─── Top bar ─── */
.svc-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 var(--pad-x);
  height: 72px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: rgba(10,22,40,0.95);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
}

.svc-back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--cyan);
  background: none;
  border: 1px solid rgba(0,212,255,0.3);
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s;
  padding: 7px 14px;
  border-radius: 4px;
}
.svc-back:hover { background: rgba(0,212,255,0.08); border-color: var(--cyan); }
.svc-back svg { flex-shrink: 0; }

/* Botão de volta inline no conteúdo */
.svc-back-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text2);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.svc-back-inline:hover { color: var(--cyan); }
.svc-back-inline svg { transition: transform 0.2s; }
.svc-back-inline:hover svg { transform: translateX(-3px); }

.svc-count {
  font-family: 'Courier New', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--text2);
  margin-left: auto;
}

.svc-nav-btns { display: flex; gap: 6px; }

.svc-nav-btn,
.svc-close-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  background: none;
  color: var(--text2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.svc-nav-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.svc-close-btn:hover { border-color: rgba(255,80,80,0.5); color: rgba(255,80,80,0.8); }

/* ─── Body: sidebar + conteúdo + imagem ─── */
.svc-body {
  flex: 1;
  display: grid;
  grid-template-columns: 130px 1fr 50%;
  overflow: hidden;
}

/* ─── Sidebar rail ─── */
.svc-sidebar {
  border-right: 1px solid var(--border);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  gap: 2px;
  background: rgba(5,13,26,0.6);
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

.svc-panel.open .svc-sidebar {
  opacity: 1;
  transform: translateX(0);
}

.svc-sb-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  cursor: pointer;
  border-left: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s;
  text-align: left;
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
  color: inherit;
  width: 100%;
}

.svc-sb-item:hover {
  background: rgba(0,212,255,0.05);
  border-left-color: rgba(0,212,255,0.3);
}

.svc-sb-item.active {
  background: rgba(245,166,35,0.07);
  border-left-color: var(--amber);
}

.svc-sb-num {
  font-family: var(--font-logo);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--amber);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.svc-sb-item.active .svc-sb-num,
.svc-sb-item:hover .svc-sb-num { opacity: 1; }

.svc-sb-label {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--text2);
  line-height: 1.35;
  text-transform: uppercase;
  transition: color 0.2s;
}

.svc-sb-item.active .svc-sb-label { color: var(--text); }
.svc-sb-item:hover .svc-sb-label  { color: var(--text); }

/* ─── Coluna esquerda: conteúdo ─── */
.svc-left {
  border-right: 1px solid var(--border);
  overflow-y: auto;
  position: relative;
  z-index: 1;
}

.svc-left-inner {
  padding: clamp(40px, 6vw, 80px) clamp(28px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  justify-content: center;
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.45s ease 0.35s, transform 0.45s ease 0.35s;
}

.svc-panel.open .svc-left-inner {
  opacity: 1;
  transform: translateX(0);
}

.svc-num-badge {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: var(--amber);
  margin-bottom: 14px;
  display: block;
}

.svc-title {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.svc-lead {
  font-size: 1rem;
  line-height: 1.82;
  color: var(--text);
  opacity: 0.78;
  margin-bottom: 36px;
}

/* Métricas em grid */
.svc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 36px;
  border: 1px solid var(--border);
}

.svc-metric {
  background: var(--bg2);
  padding: 18px 12px;
  text-align: center;
}

.svc-metric-num {
  display: block;
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  color: var(--cyan);
  letter-spacing: -0.02em;
  line-height: 1;
}

.svc-metric-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text2);
  text-transform: uppercase;
  margin-top: 6px;
}

/* Bullets */
.svc-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 40px;
}

.svc-bullets li {
  font-size: 0.88rem;
  color: var(--text2);
  padding-left: 22px;
  position: relative;
  line-height: 1.65;
}

.svc-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 0.75rem;
  top: 0.12em;
}

.svc-bullets li strong {
  color: var(--text);
  font-weight: 600;
}

/* CTA */
.svc-cta { margin-top: auto; }

/* ─── Coluna direita: imagem + animação ─── */
.svc-right {
  position: relative;
  overflow: hidden;
  background: #050d1a;
}

.svc-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease 0.4s;
}

.svc-bg-img.loaded { opacity: 0.55; }

.svc-img-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--bg) 0%,
    rgba(10,22,40,0.6) 25%,
    transparent 55%
  );
  pointer-events: none;
}

.svc-img-veil-b {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 40%);
  pointer-events: none;
}

.svc-gradient-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(0,212,255,0.12) 0%, transparent 65%),
    radial-gradient(ellipse at 30% 70%, rgba(245,166,35,0.07) 0%, transparent 55%),
    linear-gradient(135deg, #050d1a 0%, #0a1628 100%);
}

/* Grid scanline de fundo no painel */
.svc-right-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

/* Camada de animação */
.svc-anim-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Escala das animações no painel (maiores) */
.svc-anim-layer .acc-anim {
  transform: scale(1.8);
  transform-origin: center;
}

.svc-anim-layer .anim-infra  { display: block; }
.svc-anim-layer .anim-shield svg,
.svc-anim-layer .anim-network svg,
.svc-anim-layer .anim-wifi svg,
.svc-anim-layer .anim-chart  { opacity: 1; }

/* Ativar animações quando painel está aberto */
.svc-panel.open .svc-anim-layer .srv-led  { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .srv-bar  { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .srv-pct  { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .shield-body { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .shield-scan { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .shield-core { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .shield-check { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .net-node  { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .net-link  { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .net-pkt   { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .tl-dot    { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .tl-line   { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .tl-text   { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .wifi-dot  { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .wifi-arc  { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .wifi-ring { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .chart-bar { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .chart-line path { animation-play-state: running !important; }
.svc-panel.open .svc-anim-layer .chart-dot { animation-play-state: running !important; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .svc-body { grid-template-columns: 80px 1fr; }
  .svc-right { display: none; }
  .svc-sb-label { display: none; }
  .svc-sb-item { padding: 14px 0; align-items: center; }
}
@media (max-width: 600px) {
  .svc-body { grid-template-columns: 1fr; }
  .svc-sidebar { display: none; }
  .svc-left-inner { padding: 28px 20px; }
  .svc-title { font-size: 1.8rem; }
}

/* ════════════════════════════════════════════
   CASES & PROJETOS
════════════════════════════════════════════ */

#cases .section-title { margin-bottom: clamp(20px, 3vw, 36px); }

.case-row {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0;
}

.case-divider {
  height: 1px;
  background: var(--border);
}

/* Coluna esquerda */
.case-num {
  display: block;
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: var(--text3);
  margin-bottom: 16px;
}

.case-tag-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.case-tag {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.25);
  padding: 4px 10px;
}

.case-client {
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.case-client-full {
  font-size: 0.78rem;
  color: var(--text2);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.case-desc {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--text2);
  margin-bottom: 22px;
  max-width: 640px;
}

.case-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-scope span {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(245,166,35,0.07);
  border: 1px solid rgba(245,166,35,0.18);
  padding: 4px 10px;
}

/* Coluna direita — métrica */
.case-right {
  display: flex;
  justify-content: flex-end;
}

.case-metric {
  text-align: right;
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--border);
  background: var(--bg2);
  min-width: 200px;
}

.case-metric-num {
  display: block;
  font-family: var(--font-logo);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 12px;
}

.case-metric-suf {
  font-size: 0.5em;
  color: var(--amber);
  vertical-align: super;
}

.case-metric-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text2);
  text-transform: uppercase;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .case-row { grid-template-columns: 1fr; }
  .case-right { justify-content: flex-start; }
  .case-metric { text-align: left; min-width: 0; width: 100%; }
}

