*, ::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0a; 
  --fg: #f2f2f2; 
  --card: #121212; 
  --primary: #00ff66; 
  --primary-fg: #000;
  --muted: #888; 
  --border: #292929;
  --glow: 0 0 20px rgba(0,255,102,.4), 0 0 60px rgba(0,255,102,.15);
  --glow-strong: 0 0 30px rgba(0,255,102,.6), 0 0 80px rgba(0,255,102,.25);
  --radius: 0.75rem;
}

html { scroll-behavior: smooth; }
body { font-family: 'Space Grotesk', sans-serif; background: var(--bg); color: var(--fg); line-height: 1.6; overflow-x: hidden; }
.code-font { font-family: 'JetBrains Mono', monospace; }
a { color: inherit; text-decoration: none; }

/* =========================================
   UTILITY
   ========================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.neon { color: var(--primary); text-shadow: 0 0 10px rgba(0,255,102,.5), 0 0 40px rgba(0,255,102,.2); }

.btn-primary { 
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem; 
  padding: 1rem 2rem; border-radius: var(--radius); 
  background: var(--primary); color: var(--primary-fg); 
  font-weight: 700; font-size: 1.1rem; border: none; 
  cursor: pointer; transition: all .3s; position: relative; z-index: 10; 
}
.btn-primary:hover { box-shadow: var(--glow-strong); transform: scale(1.05); }
.btn-sm { padding: .6rem 1.4rem; font-size: .875rem; }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   NAVBAR
   ========================================= */
.nav { 
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; 
  background: rgba(10,10,10,.8); backdrop-filter: blur(12px); 
  border-bottom: 1px solid rgba(255,255,255,.05); 
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .875rem; color: var(--muted); transition: color .2s; font-weight: 500; }
.nav-links a:hover { color: var(--primary); }
.hamburger { display: none; background: none; border: none; color: var(--fg); cursor: pointer; }
.hamburger svg { width: 24px; height: 24px; }
.mobile-menu { display: none; flex-direction: column; gap: 1rem; padding: 1rem 1.5rem; background: var(--bg); border-bottom: 1px solid var(--border); }
.mobile-menu.open { display: flex; }

/* =========================================
   HERO
   ========================================= */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: #050505; }
.hero-bg-glows { position: absolute; inset: 0; z-index: 1; }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.18; mix-blend-mode: screen; animation: ambientMove 25s infinite ease-in-out; }
.glow-1 { width: 600px; height: 600px; background: var(--primary); top: -15%; left: 5%; }
.glow-2 { width: 700px; height: 700px; background: #0055ff; bottom: -25%; right: 5%; animation-delay: -7s; }
.glow-3 { width: 500px; height: 500px; background: #aa00ff; top: 25%; right: 20%; animation-delay: -14s; }

.cyber-grid { 
  position: absolute; inset: 0; z-index: 2; 
  background-image: linear-gradient(to right, rgba(0, 255, 102, 0.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(0, 255, 102, 0.04) 1px, transparent 1px); 
  background-size: 60px 60px; background-position: center top; 
  transform: perspective(450px) rotateX(65deg) translateY(-25%) scale(2.2); 
  transform-origin: top center; opacity: 0.85; animation: gridScroll 22s linear infinite; 
}
.tech-dots { position: absolute; inset: 0; z-index: 3; background-image: radial-gradient(rgba(0,255,102,0.12) 1px, transparent 1px); background-size: 24px 24px; opacity: 0.6; }
.hero-mask { position: absolute; inset: 0; z-index: 4; background: linear-gradient(to bottom, transparent 30%, rgba(10,10,10,0.8) 75%, #0a0a0a 100%); }
.floating-code { position: absolute; z-index: 5; font-family: 'JetBrains Mono', monospace; color: rgba(0,255,102,.15); font-size: .75rem; user-select: none; animation: float 6s ease-in-out infinite; }

.hero-content { position: relative; z-index: 6; animation: fadeUp .8s ease forwards; }
.hero .tag { display: inline-block; padding: .4rem 1rem; border-radius: 999px; border: 1px solid rgba(0,255,102,.3); box-shadow: var(--glow); margin-bottom: 1.5rem; background: rgba(10,10,10,0.6); backdrop-filter: blur(4px); }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 4.2rem); font-weight: 700; line-height: 1.15; margin-bottom: 1.5rem; text-wrap: balance; letter-spacing: -0.02em; }
.hero p { color: #b3b3b3; font-size: clamp(1.05rem, 2.2vw, 1.35rem); max-width: 750px; margin: 0 auto 2.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.chevron-down { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: var(--muted); animation: bounce 2s infinite; z-index: 6; }

@keyframes ambientMove { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(60px, -40px) scale(1.15); } 66% { transform: translate(-40px, 60px) scale(0.9); } }
@keyframes gridScroll { from { background-position: 0 0; } to { background-position: 0 1320px; } }

/* =========================================
   GENERAL SECTIONS
   ========================================= */
section { padding: 6rem 0; position: relative; z-index: 10; }
.section-tag { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem 1rem; border-radius: 999px; border: 1px solid rgba(0,255,102,.2); font-size: .8rem; color: var(--muted); margin-bottom: 1.5rem; }
.section-tag svg { color: var(--primary); width: 16px; height: 16px; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin: 0 auto 3rem; }

/* =========================================
   PARTNERS
   ========================================= */
.partners-section { padding: 4rem 0; background: rgba(0,255,102,0.015); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; }
.partners-section h4 { color: var(--muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 2rem; font-weight: 500; }
.partners-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4rem; opacity: 0.6; transition: opacity 0.3s; }
.partners-grid:hover { opacity: 1; }
.partners-grid span { font-size: 1.4rem; font-weight: 700; color: var(--muted); letter-spacing: 1px; transition: all 0.3s; cursor: default; }
.partners-grid span:hover { color: var(--fg); text-shadow: var(--glow); transform: translateY(-2px); }

/* =========================================
   ABOUT & VIDEO
   ========================================= */
.about-text { color: var(--muted); font-size: 1.15rem; max-width: 750px; margin: 0 auto; line-height: 1.8; text-align: center; }
.video-container { position: relative; width: 100%; max-width: 850px; margin: 3.5rem auto 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--glow); }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* =========================================
   PRODUCTS (SaaS)
   ========================================= */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.product-card { 
  padding: 2.5rem 2rem; 
  border-radius: var(--radius); 
  background: linear-gradient(145deg, var(--card) 0%, #050505 100%); 
  border: 1px solid var(--border); 
  transition: all 0.3s; 
  position: relative; 
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--primary); opacity: 0; transition: opacity 0.3s; }
.product-card:hover { transform: translateY(-5px); border-color: rgba(0,255,102,.3); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.product-card:hover::before { opacity: 1; box-shadow: var(--glow); }

.product-logo {
  width: 54px;
  height: 54px;
  background: rgba(0,255,102,0.05);
  border: 1px solid rgba(0,255,102,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: all 0.3s;
}
.product-card:hover .product-logo { background: rgba(0,255,102,0.15); border-color: rgba(0,255,102,0.4); }
.product-logo svg { width: 28px; height: 28px; }

.product-card h3 { font-size: 1.35rem; margin-bottom: 1rem; color: var(--fg); }
.product-card p { color: #a1a1a1; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; }
.product-features { list-style: none; margin-bottom: 2rem; flex-grow: 1; }
.product-features li { display: flex; align-items: center; gap: 0.5rem; color: #ccc; font-size: 0.9rem; margin-bottom: 0.6rem; }
.product-features li svg { color: var(--primary); width: 16px; height: 16px; flex-shrink: 0; }

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.3s, color 0.3s;
  margin-top: auto; 
  text-decoration: none;
}
.product-link svg { width: 18px; height: 18px; transition: transform 0.3s; }
.product-link:hover { gap: 0.75rem; text-shadow: var(--glow); }

/* =========================================
   SERVICES
   ========================================= */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.service-card { padding: 2rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); transition: all .3s; text-align: left; }
.service-card:hover { border-color: rgba(0,255,102,.4); box-shadow: var(--glow); }
.service-icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(0,255,102,.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; transition: background .3s; }
.service-card:hover .service-icon { background: rgba(0,255,102,.2); }
.service-icon svg { color: var(--primary); width: 24px; height: 24px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* =========================================
   DIFFERENTIALS
   ========================================= */
.diff-grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 3rem; 
  text-align: center;
  max-width: 950px; 
  margin: 0 auto; 
}
.diff-icon { 
  width: 72px; 
  height: 72px; 
  margin: 0 auto 1.25rem; 
  border-radius: 50%; 
  background: rgba(0,255,102,0.03); 
  border: 1px solid rgba(0,255,102,.15); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  box-shadow: 0 8px 20px rgba(0,0,0,0.4); 
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.diff-grid > div:hover .diff-icon {
  transform: translateY(-5px);
  background: rgba(0,255,102,0.08);
  border-color: rgba(0,255,102,.3);
}
.diff-icon svg { color: var(--primary); width: 28px; height: 28px; }
.diff-grid h3 { font-size: 1.2rem; margin-bottom: .75rem; color: var(--fg); }
.diff-grid p { color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; text-align: left; }
.testimonial-card { padding: 2rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); transition: all .3s; position: relative; }
.testimonial-card:hover { border-color: rgba(0,255,102,.4); box-shadow: var(--glow); }
.stars { display: flex; gap: 4px; color: #ffc107; margin-bottom: 1rem; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.testimonial-card p { color: var(--fg); font-size: 1rem; line-height: 1.6; font-style: italic; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar { width: 45px; height: 45px; border-radius: 50%; background: rgba(0,255,102,.1); display: flex; align-items: center; justify-content: center; color: var(--primary); font-weight: 700; font-size: 1.1rem; }
.author-info h4 { font-size: 1rem; margin: 0; color: var(--fg); }
.author-info span { font-size: 0.85rem; color: var(--muted); }

/* =========================================
   CTA
   ========================================= */
.cta-box { 
  border-radius: 24px; 
  border: 1px solid rgba(0,255,102,.15); 
  background: linear-gradient(180deg, #111 0%, #050505 100%); 
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.05); 
  padding: 5rem 3rem; 
  text-align: center; 
  position: relative; 
  overflow: hidden;
  margin-top: -1rem; 
}
.cta-box .radial-glow { 
  position: absolute; 
  top: 0; left: 50%; 
  transform: translateX(-50%);
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,255,102,.12), transparent 60%); 
}
.cta-box > * { position: relative; z-index: 2; }
.cta-box h2 {
  max-width: 800px; 
  margin: 0 auto 1.5rem auto;
  line-height: 1.25;
}
.cta-box p { color: var(--muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2.5rem; }

/* =========================================
   FOOTER
   ========================================= */
footer { border-top: 1px solid var(--border); padding: 3rem 0; position: relative; z-index: 10; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-phone { display: flex; align-items: center; gap: .5rem; color: var(--muted); transition: color .2s; }
.footer-phone:hover { color: var(--primary); }
.footer-phone svg { width: 16px; height: 16px; }
.social-icons { display: flex; gap: 1rem; }
.social-icons a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all .2s; }
.social-icons a:hover { color: var(--primary); border-color: rgba(0,255,102,.4); }
.social-icons svg { width: 18px; height: 18px; }
.footer-copy { text-align: center; margin-top: 2rem; font-size: .875rem; color: var(--muted); }

/* =========================================
   RESPONSIVE QUERIES
   ========================================= */
@media(max-width: 900px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
}
@media(max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .services-grid, .testimonials-grid, .products-grid { grid-template-columns: 1fr; }
  .partners-grid { gap: 2rem; }
  .partners-grid span { font-size: 1.1rem; }
  .cta-box { padding: 3rem 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media(max-width: 480px) {
  .diff-grid { grid-template-columns: 1fr; gap: 2rem; }
}


/* =========================================
   MARQUEE (Carrossel Infinito de Integrações)
   ========================================= */
.marquee-section {
  padding: 3rem 0;
  background: #080808; 
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.marquee-title {
  margin-bottom: 2.5rem;
  text-align: center;
}

.marquee-container {
  width: 100%;
  max-width: 1400px;
  overflow: hidden;
  position: relative;
  /* Máscara que faz os itens desaparecerem suavemente nas laterais */
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  /* Duração da animação: mude o 30s para mais ou menos caso queira mais rápido ou lento */
  animation: scrollMarquee 35s linear infinite;
}

/* Opcional: Pausa a rolagem se o cliente passar o mouse por cima */
.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  padding: 0 4rem; /* Distância entre um logo e outro */
  font-size: 1.6rem;
  font-weight: 700;
  color: #444; /* Cor cinza escura para não roubar a atenção do site */
  white-space: nowrap;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

/* Efeito de brilho quando o mouse passa por cima do logo específico */
.marquee-item:hover {
  color: var(--fg);
  text-shadow: var(--glow);
  transform: scale(1.05);
}

/* Estilo para quando você colocar as imagens (<img>) no HTML */
.marquee-item img {
  height: 40px; /* Altura padrão para todos os logos ficarem bonitos */
  width: auto;
  filter: grayscale(100%) opacity(40%); /* Deixa a imagem cinza e meio transparente */
  transition: all 0.3s ease;
}

.marquee-item:hover img {
  filter: grayscale(0%) opacity(100%); /* Fica colorido e aceso no hover */
}

/* A animação mágica que faz rolar */
@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
  /* Move exatamente 50% porque o track tem o Grupo 1 e Grupo 2 duplicados */
}

/* Responsivo para o mobile (celular) */
@media(max-width: 768px) {
  .marquee-item { padding: 0 2rem; font-size: 1.2rem; }
  .marquee-item img { height: 30px; }
}