/* =============================================================
   TRUSTIT – Modern Tech Website
   Efeitos: horizontal pinned scroll, word reveal, magnetic cursor,
   marquee infinito, progress ring, parallax
============================================================= */

/* ─── Variables ─────────────────────────────────── */
:root {
  --bg:          #0a0d0a;
  --bg-2:        #0f1310;
  --bg-3:        #141913;
  --surface:     rgba(255,255,255,0.03);
  --surface-h:   rgba(168,207,69,0.06);
  --border:      rgba(255,255,255,0.07);
  --border-h:    rgba(168,207,69,0.35);

  --green:       #a8cf45;
  --green-dark:  #7a9932;
  --green-light: #c4e264;
  --gray:        #727376;

  --text:        #f0f2ec;
  --text-muted:  #8a9080;
  --text-faint:  #4a5244;

  --grad-text:   linear-gradient(90deg, var(--green), var(--green-light));
  --grad-main:   linear-gradient(135deg, var(--green-dark), var(--green));

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;

  --ease:        cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --transition:  all 0.4s var(--ease);

  --nav-h: 96px;
}

/* ─── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;  /* custom cursor */
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; cursor: none; }
button, input, select, textarea { font-family: inherit; cursor: none; }
ul { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

::selection { background: rgba(168,207,69,0.3); color: #fff; }

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Custom Cursor ─────────────────────────────── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              background 0.3s var(--ease), opacity 0.3s var(--ease);
  mix-blend-mode: difference;
}
.cursor.grow {
  width: 60px; height: 60px;
  background: rgba(168,207,69,0.1);
  border-color: var(--green);
}
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 5px; height: 5px;
  background: var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}
@media (hover: none) {
  body, a, button, input, select, textarea { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
}

/* ─── WhatsApp Float ────────────────────────────── */
.wa-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 850;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.35),
              0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.wa-float:hover {
  background: #22c35e;
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.55),
              0 4px 12px rgba(0,0,0,0.35);
}
.wa-float svg {
  position: relative;
  z-index: 2;
}
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.55;
  animation: waPulse 2.2s ease-out infinite;
  z-index: 1;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  80%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}
.wa-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #0a0d0a;
  color: #fff;
  border: 1px solid var(--border);
  padding: 9px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  width: 10px; height: 10px;
  background: #0a0d0a;
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
  transform: translateY(-50%) rotate(45deg);
}
.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ─── Progress Ring ─────────────────────────────── */
.progress-ring {
  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 100;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s, transform 0.4s;
}
.progress-ring.visible { opacity: 1; transform: scale(1); }

.progress-ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}
.ring-bg {
  fill: rgba(10,13,10,0.8);
  stroke: var(--border);
  stroke-width: 2;
}
.ring-fill {
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 150.8;
  stroke-dashoffset: 150.8;
  transition: stroke-dashoffset 0.2s linear;
  filter: drop-shadow(0 0 6px rgba(168,207,69,0.5));
}
.ring-percent {
  position: relative;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  font-family: 'Space Grotesk', sans-serif;
}

/* ─── Container & Section ───────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  padding: 6px 14px;
  border: 1px solid rgba(168,207,69,0.3);
  border-radius: 100px;
  background: rgba(168,207,69,0.06);
  margin-bottom: 24px;
}

/* ─── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 0.95rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--green);
  color: #0a0d0a;
}
.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(168,207,69,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(168,207,69,0.05);
}

/* ─── Reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================
   NAVBAR
============================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10,13,10,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img {
  height: 80px;
  width: auto;
  transition: var(--transition);
}
.logo-img--footer { height: 96px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0; height: 2px;
  background: var(--green);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 24px; }

.nav-cta { padding: 12px 20px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* =============================================================
   HERO
============================================================= */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168,207,69,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,207,69,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(168,207,69,0.12), transparent 60%);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 32px 80px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green);
  background: rgba(168,207,69,0.08);
  border: 1px solid rgba(168,207,69,0.2);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeInDown 0.8s var(--ease-out);
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(168,207,69,0.7); }
  50% { opacity: 0.6; box-shadow: 0 0 0 8px rgba(168,207,69,0); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 0.95;
  color: #fff;
  margin-bottom: 32px;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .word {
  display: inline-block;
  animation: wordUp 1.1s var(--ease-out) both;
}
.hero-title .line:nth-child(1) .word { animation-delay: 0.1s; }
.hero-title .line:nth-child(1) .word:nth-child(2) { animation-delay: 0.18s; }
.hero-title .line:nth-child(2) .word { animation-delay: 0.28s; }
.hero-title .line:nth-child(3) .word { animation-delay: 0.38s; }
.hero-title .line:nth-child(3) .word:nth-child(2) { animation-delay: 0.46s; }
.hero-title .line:nth-child(4) .word { animation-delay: 0.56s; }

@keyframes wordUp {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeInUp 0.9s 0.7s var(--ease-out) both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s 0.8s var(--ease-out) both;
}

/* Floating chips */
.hero-chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.chip {
  position: absolute;
  padding: 10px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  backdrop-filter: blur(10px);
  animation: chipFloat 6s ease-in-out infinite;
}
.chip:nth-child(1) { top: 14%; right: 8%; }
.chip:nth-child(2) { top: 28%; right: 20%; animation-delay: 0.5s; }
.chip:nth-child(3) { top: 56%; right: 6%; animation-delay: 1s; color: var(--green); border-color: rgba(168,207,69,0.3); }
.chip:nth-child(4) { top: 72%; right: 18%; animation-delay: 1.5s; }
.chip:nth-child(5) { bottom: 20%; right: 4%; animation-delay: 2s; color: var(--green); border-color: rgba(168,207,69,0.3); }
.chip:nth-child(6) { top: 44%; right: 14%; animation-delay: 2.5s; }

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

/* Marquee */
.marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero-marquee {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
.hero-marquee .marquee-track span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero-marquee em {
  color: var(--green);
  font-style: normal;
  font-size: 1rem;
}

/* =============================================================
   STATS BAR
============================================================= */
.stats-bar {
  padding: 60px 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
  padding: 16px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }

.stat-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =============================================================
   SOBRE — word reveal on scroll
============================================================= */
.about {
  position: relative;
  min-height: 200vh;
}
.about-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
}

.about .section-tag { margin-bottom: 32px; }

.reveal-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.12);
  max-width: 1100px;
}
.reveal-text span {
  color: rgba(255,255,255,0.14);
  transition: color 0.5s var(--ease-out);
  display: inline-block;
  margin-right: 0.18em;
}
.reveal-text span.active {
  color: var(--text);
}
.reveal-text span.accent.active {
  color: var(--green);
}

.about-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.meta-item strong {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 8px;
}
.meta-item span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

/* =============================================================
   SERVIÇOS — HORIZONTAL PINNED SCROLL
============================================================= */
.services-h {
  position: relative;
  background: var(--bg-2);
  height: 550vh;  /* altura determina duração do pin scroll */
}

.services-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* separador visual sutil */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-track {
  display: flex;
  gap: 32px;
  padding: 0 8vw 0 8vw;
  height: 74vh;
  will-change: transform;
  align-items: stretch;
}

/* Intro */
.s-intro {
  flex-shrink: 0;
  width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 40px;
}
.s-intro h2 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: #fff;
  margin: 24px 0;
  line-height: 0.95;
}
.s-intro p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 24px;
}
.s-intro-arrow {
  color: var(--green);
  animation: arrowBounce 1.8s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(14px); }
}

/* Service cards */
.s-card {
  flex-shrink: 0;
  width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.s-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 200px; height: 200px;
  background: var(--green);
  filter: blur(80px);
  opacity: 0;
  transition: opacity 0.5s;
  border-radius: 50%;
}
.s-card:hover {
  border-color: var(--border-h);
  transform: translateY(-8px);
}
.s-card:hover::before { opacity: 0.1; }

.s-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

.s-icon {
  width: 60px; height: 60px;
  background: rgba(168,207,69,0.08);
  border: 1px solid rgba(168,207,69,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 24px;
  transition: var(--transition);
}
.s-card:hover .s-icon {
  background: rgba(168,207,69,0.15);
  transform: scale(1.05) rotate(-4deg);
}

.s-card h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 4px;
}
.s-sub {
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.s-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}
.s-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.s-card ul li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.s-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}

/* End card */
.s-end {
  flex-shrink: 0;
  width: 520px;
  background: linear-gradient(135deg, rgba(168,207,69,0.08), rgba(168,207,69,0.02));
  border: 1px solid rgba(168,207,69,0.25);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}
.s-end h3 {
  font-size: 2.2rem;
  color: #fff;
  line-height: 1.1;
}
.s-end p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* =============================================================
   RACK SHOWCASE
============================================================= */
.rack-section {
  padding: 120px 0 80px;
  background: var(--bg);
  overflow: hidden;
}

.rack-header {
  text-align: center;
  margin-bottom: 80px;
}
.rack-header h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: #fff;
  margin: 16px 0 20px;
  line-height: 1.05;
}
.rack-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.rack-showcase {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Rack center --- */
.rack-center {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 0 20px;
}
.rack-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 400px; height: 600px;
  background: radial-gradient(ellipse, rgba(168,207,69,0.15), transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.rack-img {
  position: relative;
  z-index: 1;
  max-height: 580px;
  width: auto;
  filter: drop-shadow(0 20px 60px rgba(168,207,69,0.15))
          drop-shadow(0 0 120px rgba(168,207,69,0.08));
  transition: transform 0.6s var(--ease-out), filter 0.6s var(--ease-out);
}
.rack-showcase:hover .rack-img {
  transform: scale(1.02);
  filter: drop-shadow(0 24px 80px rgba(168,207,69,0.22))
          drop-shadow(0 0 140px rgba(168,207,69,0.12));
}

/* --- Service items --- */
.rack-services {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rack-item {
  display: flex;
  align-items: center;
  gap: 0;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.rack-item--reverse {
  transform: translateX(30px);
}
.rack-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.rack-item-content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  flex: 1;
}
.rack-item:hover .rack-item-content {
  border-color: var(--border-h);
  background: var(--surface-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(168,207,69,0.08);
}

.rack-item-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: rgba(168,207,69,0.08);
  border: 1px solid rgba(168,207,69,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  transition: var(--transition);
}
.rack-item:hover .rack-item-icon {
  background: rgba(168,207,69,0.15);
  transform: scale(1.08) rotate(-4deg);
}

.rack-item-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.1em;
}
.rack-item h4 {
  font-size: 0.95rem;
  color: #fff;
  margin: 2px 0;
  line-height: 1.2;
}
.rack-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* --- Connecting lines --- */
.rack-item-line {
  width: 40px;
  min-width: 40px;
  height: 2px;
  position: relative;
  overflow: visible;
}
.rack-item-line::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(168,207,69,0.05), rgba(168,207,69,0.4));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.rack-item-line--left::before {
  background: linear-gradient(90deg, rgba(168,207,69,0.4), rgba(168,207,69,0.05));
  transform-origin: right;
}
.rack-item-line::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s 0.3s;
  box-shadow: 0 0 8px rgba(168,207,69,0.6);
}
.rack-item-line--right::after { right: 0; }
.rack-item-line--left::after { left: 0; }

.rack-item.visible .rack-item-line::before { transform: scaleX(1); }
.rack-item.visible .rack-item-line::after { opacity: 1; }

/* Stagger animation delays */
.rack-item[data-index="1"] { transition-delay: 0.1s; }
.rack-item[data-index="2"] { transition-delay: 0.2s; }
.rack-item[data-index="3"] { transition-delay: 0.3s; }
.rack-item[data-index="4"] { transition-delay: 0.4s; }
.rack-item[data-index="5"] { transition-delay: 0.5s; }
.rack-item[data-index="6"] { transition-delay: 0.15s; }
.rack-item[data-index="7"] { transition-delay: 0.25s; }
.rack-item[data-index="8"] { transition-delay: 0.35s; }
.rack-item[data-index="9"] { transition-delay: 0.45s; }
.rack-item[data-index="10"] { transition-delay: 0.55s; }

.rack-item[data-index="1"] .rack-item-line { transition-delay: 0.1s; }
.rack-item[data-index="2"] .rack-item-line { transition-delay: 0.2s; }
.rack-item[data-index="3"] .rack-item-line { transition-delay: 0.3s; }
.rack-item[data-index="4"] .rack-item-line { transition-delay: 0.4s; }
.rack-item[data-index="5"] .rack-item-line { transition-delay: 0.5s; }
.rack-item[data-index="6"] .rack-item-line { transition-delay: 0.15s; }
.rack-item[data-index="7"] .rack-item-line { transition-delay: 0.25s; }
.rack-item[data-index="8"] .rack-item-line { transition-delay: 0.35s; }
.rack-item[data-index="9"] .rack-item-line { transition-delay: 0.45s; }
.rack-item[data-index="10"] .rack-item-line { transition-delay: 0.55s; }

/* CTA */
.rack-cta {
  text-align: center;
  margin-top: 60px;
}

/* =============================================================
   CARREIRAS
============================================================= */
.careers {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.careers-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.careers h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: #fff;
  margin: 16px 0 24px;
  line-height: 1.05;
}
.careers p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 460px;
}
.cv-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px !important;
  margin-bottom: 0 !important;
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
  max-width: none !important;
}
.cv-hint svg { color: var(--green); flex-shrink: 0; }
.cv-hint strong { color: var(--green); font-weight: 600; }

.careers-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cv-item {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.cv-item:hover {
  border-color: var(--border-h);
  background: var(--surface-h);
  transform: translateY(-4px);
}
.cv-item strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  color: var(--green);
  letter-spacing: 0.1em;
}
.cv-item h4 {
  font-size: 1.2rem;
  color: #fff;
  margin: 10px 0 8px;
}
.cv-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  max-width: none;
}

/* =============================================================
   CLIENTES — marquee
============================================================= */
.clients {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.clients-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
  letter-spacing: 0.06em;
}
.clients-label strong { color: var(--green); font-weight: 700; }

.clients-marquee .marquee-track {
  gap: 64px;
  animation: marquee 30s linear infinite;
}
.client-logo {
  flex-shrink: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-faint);
  padding: 0 24px;
  letter-spacing: -0.02em;
  transition: color 0.3s;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.client-logo small { font-size: 1rem; color: var(--green); }
.client-logo:hover { color: var(--text); }

/* =============================================================
   CONTATO
============================================================= */
.contact {
  padding: 120px 0;
  background: var(--bg-2);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: #fff;
  margin: 16px 0 24px;
}
.contact-info p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
a.contact-item:hover {
  border-color: var(--border-h);
  background: var(--surface-h);
}
.ci-icon {
  width: 40px; height: 40px;
  background: rgba(168,207,69,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-item span {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

/* Honeypot anti-spam (invisível para humanos, visível para bots) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: rgba(168,207,69,0.04);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a9080' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-group select option {
  background: var(--bg-2);
  color: var(--text);
}

/* =============================================================
   FOOTER
============================================================= */
.footer {
  padding: 80px 0 32px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand img { margin-bottom: 20px; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li,
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-faint);
  line-height: 1.5;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--green); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* =============================================================
   ANIMATIONS
============================================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 1100px) {
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: none; }
  .stat:nth-child(4), .stat:nth-child(5) { border-right: 1px solid var(--border); }
  .rack-showcase { grid-template-columns: 1fr; gap: 40px; }
  .rack-services { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .rack-services--right { flex-direction: row; }
  .rack-item, .rack-item--reverse { flex: 1 1 calc(50% - 12px); min-width: 240px; }
  .rack-item-line { display: none; }
  .rack-center { order: -1; }
  .rack-img { max-height: 400px; }
  .careers-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero-chips { display: none; }
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-dot, .progress-ring { display: none; }
  .wa-float {
    width: 56px; height: 56px;
    right: 20px; bottom: 20px;
  }
  .wa-float svg { width: 26px; height: 26px; }
  .wa-tooltip { display: none; }

  :root { --nav-h: 80px; }
  .logo-img { height: 52px; }
  .logo-img--footer { height: 64px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,13,10,0.98);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    gap: 4px;
  }

  .stats-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat { border-right: none !important; border-bottom: 1px solid var(--border); padding-bottom: 20px; }

  .about-sticky { min-height: auto; padding: 80px 0; }
  .reveal-text { font-size: 1.4rem; }
  .reveal-text span.active { color: var(--text); }
  .about-meta { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }

  /* Serviços — volta ao scroll vertical em mobile */
  .services-h { height: auto; }
  .services-sticky { position: relative; height: auto; padding: 80px 0; }
  .services-track {
    flex-direction: column;
    height: auto;
    gap: 24px;
    padding: 0 24px;
    transform: none !important;
  }
  .s-intro, .s-card, .s-end { width: 100%; }

  .rack-services { flex-direction: column; }
  .rack-item, .rack-item--reverse { flex: 1 1 100%; min-width: 0; }
  .rack-img { max-height: 320px; }

  .careers-values { grid-template-columns: 1fr; }

  .contact-form { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-title { font-size: 3rem; }
  .hero-marquee .marquee-track span { font-size: 1.2rem; }
}
