/* ================================================
   Envio Nacional - Estilos Globais
   ================================================ */

/* --- Variáveis CSS --- */
:root {
  --color-primary: #6d22e8;
  --color-primary-dark: #5518c2;
  --color-primary-light: #8b46f5;
  --color-accent: #00e5d4;
  --color-accent-dark: #00bfb2;
  --color-secondary: #0f0a1e;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f3ff;
  --color-text: #1a1030;
  --color-text-muted: #6b5f80;
  --color-border: #e8e0f5;
  --color-white: #ffffff;
  --color-gradient: linear-gradient(135deg, #6d22e8 0%, #0f0a1e 100%);
  --color-gradient-light: linear-gradient(135deg, #f3ebff 0%, #e0d4fc 100%);
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 1rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --transition: 0.25s ease;
  --container-max: 1200px;
}

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

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

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secondary);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { color: var(--color-text-muted); line-height: 1.75; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(109,34,232,0.40);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-accent);
  color: var(--color-secondary);
  border-color: var(--color-accent);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,229,212,0.40);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* --- Section --- */
.section { padding: 5rem 0; }
.section-alt { background: var(--color-bg-alt); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header .badge {
  display: inline-block;
  background: #ede0ff;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1.05rem; }

/* --- Card --- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* ================================================
   BANNER TOPO
   ================================================ */
#top-banner {
  display: block;
  width: 100%;
  line-height: 0;
  position: relative;
  z-index: 1001;
}
#top-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ================================================
   HEADER / NAV
   ================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
#site-header.scrolled { box-shadow: 0 4px 16px rgba(0,0,0,0.10); }

.hd-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1.5rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.brand-text {
  font-size: 0.875rem;
  font-weight: 800;
  color: #1E3A8A;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.brand-text span { color: #2563EB; }

/* Navigation links */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  flex: 1;
  justify-content: center;
}

.navbar-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  padding: 0.375rem 0.625rem;
  border-radius: 0.375rem;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: #1E3A8A;
  background: #eff6ff;
}

/* Actions (buttons + hamburger) */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Buttons - cores do header */
#site-header .btn {
  padding: 0.5rem 1.125rem;
  font-size: 0.875rem;
  border-radius: 9999px;
}

#site-header .btn-outline {
  background: transparent;
  border: 1.5px solid #1E3A8A;
  color: #1E3A8A;
}
#site-header .btn-outline:hover {
  background: #1E3A8A;
  color: #fff;
  transform: none;
  box-shadow: none;
}

#site-header .btn-primary {
  background: #1E3A8A;
  border-color: #1E3A8A;
  color: #fff;
}
#site-header .btn-primary:hover {
  background: #2563EB;
  border-color: #2563EB;
  transform: none;
  box-shadow: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #1E3A8A;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 2rem 1.5rem;
  border-top: 1px solid #f1f5f9;
  background: #fff;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.65rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover { background: #eff6ff; color: #1E3A8A; }
.mobile-nav .btn { margin-top: 0.5rem; text-align: center; justify-content: center; }

/* ================================================
   FOOTER
   ================================================ */
#site-footer {
  background: var(--color-secondary);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-app-badge {
  display: inline-block;
  margin-top: 0.25rem;
  border-radius: 10px;
  overflow: hidden;
  transition: opacity var(--transition), transform var(--transition);
}
.footer-app-badge:hover { opacity: 0.85; transform: translateY(-2px); }
.footer-app-img {
  display: block;
  width: 140px;
  height: auto;
}

.footer-brand p { margin-top: 1rem; font-size: 0.9rem; line-height: 1.7; }

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--color-white); }

.footer-company {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-company strong { color: rgba(255,255,255,0.65); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--color-accent); color: var(--color-secondary); }

/* ================================================
   BANNER COMUNIDADE
   ================================================ */
.section-banner-comunidade {
  padding: 2.5rem 0;
}

.banner-comunidade-link {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  /* Proporção 1400x800 = 4:2.285... → aspect-ratio */
  aspect-ratio: 1400 / 800;
  background: #0f0a1e;
}
.banner-comunidade-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37,211,102,0.25);
}

.banner-comunidade-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ================================================
   HOME - HERO
   ================================================ */
.hero {
  background: linear-gradient(135deg, #fdf6ff 0%, #f3eafe 60%, #ece3fd 100%);
  padding: 5rem 0 5rem;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content h1 {
  color: var(--color-secondary);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.hero-highlight { color: var(--color-primary); }
.hero-content p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 460px;
}

/* Hero Logo Marquee */
.hero-logo-marquee {
  overflow: hidden;
  width: 100%;
  padding: 1rem 0;
  margin-bottom: 1.75rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.mq-logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  opacity: 0.82;
  transition: opacity 0.2s;
  cursor: default;
  user-select: none;
}
.mq-logo:hover { opacity: 1; }
.mq-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  line-height: 1;
}
.mq-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a1030;
}
.mq-logo-img {
  height: 28px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  display: block;
}
.integration-logo-img {
  height: 100px;
  width: 100px;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .mq-logo-img {
    height: 22px;
    max-width: 70px;
  }
  .integration-logo-img {
    height: 80px;
    width: 80px;
  }
}
@media (max-width: 480px) {
  .mq-logo-img {
    height: 18px;
    max-width: 60px;
  }
  .integration-logo-img {
    height: 60px;
    width: 60px;
  }
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Social proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}
.hero-avatars { display: flex; }
.hero-avatars .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
  font-weight: 700;
}
.hero-avatars .avatar:first-child { margin-left: 0; }
.hero-proof-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-secondary);
}
.hero-proof-text span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* CTA Button */
.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-hero-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(109,34,232,0.35);
}

/* Dashboard Mockup */
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Banner Slider */
.hero-banner-slider {
  position: relative;
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 28px 72px rgba(0,0,0,0.28);
}

.hero-banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-banner-slide.active {
  position: relative;
  opacity: 1;
}

.hero-banner-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-dashboard {
  width: 100%;
  max-width: 560px;
  background: #0d1117;
  border-radius: 16px;
  overflow: visible;
  position: relative;
  box-shadow: 0 28px 72px rgba(0,0,0,0.28);
  font-family: 'Courier New', 'Lucida Console', monospace;
}
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.dashboard-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
}
.dash-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #c49bff, #7c3aed);
  box-shadow: 0 0 10px rgba(124,58,237,0.8);
  flex-shrink: 0;
}
.dashboard-running {
  color: #3ddc84;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-family: 'Inter', sans-serif;
}
.dashboard-logs {
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.log-entry {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
}
.log-time {
  color: rgba(255,255,255,0.28);
  font-size: 0.68rem;
  min-width: 50px;
  flex-shrink: 0;
}
.log-icon { color: rgba(255,255,255,0.45); font-size: 0.62rem; flex-shrink: 0; }
.log-check { color: #3ddc84; }
.log-muted { opacity: 0.45; }

/* Floating card */
.dashboard-floating-card {
  position: absolute;
  right: -18px;
  top: 46%;
  transform: translateY(-50%);
  background: #1c2030;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  width: 210px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  z-index: 10;
}
.floating-card-label {
  font-size: 0.58rem;
  color: #50e3c2;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  font-family: 'Inter', sans-serif;
}
.floating-card-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
}
.floating-card-sub {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.25rem;
  font-family: 'Inter', sans-serif;
}

/* Stats bar */
.dashboard-stats-bar {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  border-radius: 0 0 16px 16px;
}
.dash-stat { display: flex; flex-direction: column; gap: 0.15rem; }
.dash-stat-label {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Inter', sans-serif;
}
.dash-stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #50e3c2;
  font-family: 'Inter', sans-serif;
}

/* Hero stats strip */
.hero-stats {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 1.75rem 0;
}
.hero-stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  display: block;
  line-height: 1;
}
.stat-item .label { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 0.3rem; }

/* ================================================
   BENEFÍCIOS
   ================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.benefit-card { text-align: center; }
.benefit-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: var(--color-gradient-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--color-primary);
  transition: transform var(--transition);
}
.benefit-card:hover .benefit-icon { transform: scale(1.1); }
.benefit-card h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }

/* ================================================
   COMO FUNCIONA
   ================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
}
.step-card {
  text-align: center;
  padding: 2.25rem 1.75rem;
}
.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-secondary);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.step-card h3 { margin-bottom: 0.75rem; font-size: 1.05rem; }

/* ================================================
   INTEGRAÇÕES
   ================================================ */
.integrations-track {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.integrations-inner {
  display: flex;
  gap: 1.5rem;
  animation: scroll 25s linear infinite;
  width: max-content;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.integration-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 99px;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.integration-chip .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ================================================
   DEPOIMENTOS
   ================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card { padding: 2rem; }
.stars { color: #00e5d4; font-size: 0.95rem; margin-bottom: 1rem; }
.testimonial-card blockquote {
  font-size: 0.97rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex; align-items: center; gap: 0.75rem;
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 0.95rem;
}
.author-info strong { display: block; font-size: 0.9rem; color: var(--color-text); }
.author-info span { font-size: 0.8rem; color: var(--color-text-muted); }

/* ================================================
   CTA FINAL
   ================================================ */
.cta-section {
  background: var(--color-gradient);
  padding: 6rem 0;
  text-align: center;
}
.cta-section h2, .cta-section p { color: var(--color-white); }
.cta-section p { color: rgba(255,255,255,0.8); margin: 1rem auto 2.5rem; max-width: 520px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ================================================
   SOBRE
   ================================================ */
.about-hero {
  background: var(--color-gradient);
  padding: 6rem 0 5rem;
  text-align: center;
  color: var(--color-white);
}
.about-hero h1 { color: var(--color-white); margin-bottom: 1rem; }
.about-hero p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { margin-bottom: 1rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.value-card { text-align: center; padding: 2rem 1.5rem; }
.value-icon {
  font-size: 2rem; margin-bottom: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-card { text-align: center; padding: 2rem; }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--color-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.8rem; font-weight: 700;
  margin: 0 auto 1rem;
}
.team-card h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.team-card span { font-size: 0.85rem; color: var(--color-text-muted); }

/* ================================================
   SERVIÇOS
   ================================================ */
.services-hero {
  background: var(--color-gradient);
  padding: 6rem 0 5rem;
  text-align: center;
  color: var(--color-white);
}
.services-hero h1 { color: var(--color-white); margin-bottom: 1rem; }
.services-hero p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card { padding: 2.25rem; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-gradient-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--color-primary);
  margin-bottom: 1.25rem;
  transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.1); }
.service-card h3 { margin-bottom: 0.75rem; }
.service-card ul { margin-top: 1rem; }
.service-card ul li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.9rem; color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.service-card ul li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.plan-card { padding: 2.25rem; position: relative; }
.plan-card.featured {
  border-color: var(--color-primary);
  background: #f3ebff;
  transform: scale(1.03);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--color-accent); color: var(--color-secondary);
  font-size: 0.75rem; font-weight: 700; padding: 0.3rem 1rem;
  border-radius: 99px; letter-spacing: 0.05em; text-transform: uppercase;
}
.plan-card h3 { margin-bottom: 0.5rem; }
.plan-price {
  font-size: 2.25rem; font-weight: 800;
  color: var(--color-primary);
  margin: 1rem 0;
  line-height: 1;
}
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--color-text-muted); }
.plan-card ul { margin: 1.25rem 0 1.75rem; }
.plan-card ul li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}
.plan-card ul li .check { color: var(--color-primary); font-weight: 700; }

/* ================================================
   CONTATO
   ================================================ */
.contact-hero {
  background: var(--color-gradient);
  padding: 6rem 0 5rem;
  text-align: center;
  color: var(--color-white);
}
.contact-hero h1 { color: var(--color-white); margin-bottom: 1rem; }
.contact-hero p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 { margin-bottom: 1.5rem; }
.contact-item {
  display: flex; gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--color-gradient-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--color-primary);
}
.contact-item-text strong { display: block; font-size: 0.9rem; margin-bottom: 0.2rem; color: var(--color-text); }
.contact-item-text span { font-size: 0.88rem; color: var(--color-text-muted); }

/* Form */
.contact-form-card { padding: 2.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label {
  display: block; font-size: 0.88rem; font-weight: 600;
  color: var(--color-text); margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 0.92rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(109,34,232,0.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ================================================
   FADE-IN ANIMATION
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   RESPONSIVO
   ================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-app-img { width: 120px; }
  .hero-inner { gap: 2.5rem; }
  .about-grid { gap: 2.5rem; }
  .contact-grid { gap: 2.5rem; }
}

@media (max-width: 768px) {
  .hd-inner { padding: 0 1.25rem; }
  .brand-logo { height: 32px; }
  .navbar-nav { display: none; }
  #site-header .btn-outline { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 5rem 0 4rem; }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-partners { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  .btn-hero-cta { display: inline-flex; }
  .hero-visual { justify-content: center; margin-top: 1rem; overflow: hidden; padding-right: 18px; }
  .hero-dashboard { max-width: 100%; }
  .dashboard-floating-card { right: 0; position: relative; transform: none; margin: 0.5rem 1rem 0; width: auto; }

  .hero-stats-inner { gap: 1.5rem; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

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

  .form-row { grid-template-columns: 1fr; }

  .plan-card.featured { transform: none; }

  .section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .btn-lg { padding: 0.85rem 1.5rem; font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ================================================
   SCROLL STEPS
   ================================================ */
.scroll-steps-section {
  position: relative;
  min-height: 400vh; /* Increased height to allow for more scroll room */
  padding: 6rem 0;
}

.scroll-steps-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start; /* Align items to the start */
  position: sticky;
  top: 100px; /* Adjust this value based on your header height */
  height: 100vh;
}

.scroll-steps-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.step-text-content {
  position: relative;
  padding-bottom: 2rem;
}

.step-indicator {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.step-text-content h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.step-text-content p {
  font-size: 1.1rem;
  max-width: 450px;
}

.step-progress-indicator {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
}

.step-progress-indicator span {
  width: 24px;
  height: 8px;
  background-color: var(--color-border);
  border-radius: 4px;
  transition: background-color 0.4s ease;
}

.step-progress-indicator span.active {
  background-color: var(--color-primary);
}

.scroll-steps-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-steps-images {
  position: relative;
  width: 100%;
  height: 500px; /* Adjust as needed */
}

.step-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  visibility: hidden;
}

.step-image.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

@media (max-width: 768px) {
  .scroll-steps-section {
    min-height: 0;
    padding: 4rem 0;
  }
  .scroll-steps-container {
    grid-template-columns: 1fr;
    position: static;
    height: auto;
    gap: 2rem;
  }
  .scroll-steps-content {
    text-align: center;
  }
  .step-text-content p {
    margin: 0 auto 1rem;
  }
  .step-progress-indicator {
    justify-content: center;
  }
  .scroll-steps-images {
    height: auto;
  }
  .step-image {
    position: relative;
    margin-bottom: 1rem;
    opacity: 1;
    transform: none;
    visibility: visible;
    display: none; /* Hide all by default on mobile */
  }
  .step-image.active {
    display: block; /* Show only active one */
  }
}

/* ==================== INTEGRAÇÕES ==================== */
.integrations-section {
  padding: 4rem 0;
  background: var(--color-bg-alt);
  overflow: hidden;
}

/* ==================== TESTIMONIALS SCROLL ==================== */
.testimonials-section-scroll {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.testimonials-columns-wrapper {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-height: 740px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
}

.testimonials-column {
  flex: 1;
  min-width: 0;
}

.testimonials-column-2 {
  display: none;
}

.testimonials-column-3 {
  display: none;
}

@media (min-width: 768px) {
  .testimonials-column-2 {
    display: block;
  }
}

@media (min-width: 1024px) {
  .testimonials-column-3 {
    display: block;
  }
}

.testimonials-column-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: scrollTestimonials linear infinite;
}

@keyframes scrollTestimonials {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.testimonial-card-scroll {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  max-width: 380px;
  width: 100%;
}

.testimonial-card-scroll p {
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.testimonial-card-scroll .testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card-scroll .author-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card-scroll .author-info {
  display: flex;
  flex-direction: column;
}

.testimonial-card-scroll .author-info strong {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.3;
}

.testimonial-card-scroll .author-info span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  opacity: 0.7;
  line-height: 1.3;
}

/* Pause on hover */
.testimonials-column:hover .testimonials-column-inner {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .testimonials-columns-wrapper {
    gap: 1rem;
    max-height: 600px;
  }
  
  .testimonial-card-scroll {
    padding: 1.5rem;
    max-width: 100%;
  }
  
  .testimonial-card-scroll p {
    font-size: 0.9rem;
  }
}

/* ==================== ANIMATED CONNECTIONS ==================== */
.animated-connections-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 2rem 0;
}

.connections-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.connection-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.connection-row-top,
.connection-row-bottom {
  padding: 0 10%;
}

.connection-row-middle {
  padding: 0;
}

.connection-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  border: 2px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 3;
}

.connection-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(255, 79, 0, 0.2);
}

.connection-circle-center {
  width: 120px;
  height: 120px;
  border: 3px solid var(--color-primary);
  box-shadow: 0 8px 40px rgba(255, 79, 0, 0.15);
}

.connection-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.connections-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.animated-beam {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: beamFlow 3s ease-in-out infinite;
}

.beam-1 {
  animation-delay: 0s;
}

.beam-2 {
  animation-delay: 0.5s;
}

.beam-3 {
  animation-delay: 1s;
}

.beam-4 {
  animation-delay: 1.5s;
}

.beam-5 {
  animation-delay: 2s;
}

.beam-6 {
  animation-delay: 2.5s;
}

@keyframes beamFlow {
  0% {
    stroke-dashoffset: 400;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -400;
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .animated-connections-wrapper {
    max-width: 100%;
    padding: 1rem;
  }

  .connection-circle {
    width: 60px;
    height: 60px;
    padding: 8px;
  }

  .connection-circle-center {
    width: 90px;
    height: 90px;
  }

  .connection-row-top,
  .connection-row-bottom {
    padding: 0 5%;
  }
}

@media (max-width: 480px) {
  .connection-circle {
    width: 50px;
    height: 50px;
    padding: 6px;
  }

  .connection-circle-center {
    width: 70px;
    height: 70px;
  }

  .connections-canvas {
    opacity: 0.5;
  }
}


/* ==================== ANIMATED CONNECTIONS CIRCLE ==================== */
.animated-connections-wrapper {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 3rem auto 0;
  padding: 3rem 0;
}

.connections-container-circle {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 600px;
  margin: 0 auto;
}

.connection-circle-center-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 8px 40px rgba(255, 79, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10;
}

.connection-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: white;
  border: 2px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transform: translate(-50%, -50%) 
             rotate(var(--angle)) 
             translateY(-250px) 
             rotate(calc(-1 * var(--angle)));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 5;
}

.connection-orbit:hover {
  transform: translate(-50%, -50%) 
             rotate(var(--angle)) 
             translateY(-250px) 
             rotate(calc(-1 * var(--angle))) 
             scale(1.15);
  box-shadow: 0 8px 25px rgba(255, 79, 0, 0.2);
  z-index: 6;
}

.connection-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.connections-canvas-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.connection-beam {
  stroke-linecap: round;
  opacity: 0;
}

.beam-anim-1 { animation: beamPulse 4s ease-in-out 0s infinite; }
.beam-anim-2 { animation: beamPulse 4s ease-in-out 0.2s infinite; }
.beam-anim-3 { animation: beamPulse 4s ease-in-out 0.4s infinite; }
.beam-anim-4 { animation: beamPulse 4s ease-in-out 0.6s infinite; }
.beam-anim-5 { animation: beamPulse 4s ease-in-out 0.8s infinite; }
.beam-anim-6 { animation: beamPulse 4s ease-in-out 1s infinite; }
.beam-anim-7 { animation: beamPulse 4s ease-in-out 1.2s infinite; }
.beam-anim-8 { animation: beamPulse 4s ease-in-out 1.4s infinite; }
.beam-anim-9 { animation: beamPulse 4s ease-in-out 1.6s infinite; }
.beam-anim-10 { animation: beamPulse 4s ease-in-out 1.8s infinite; }
.beam-anim-11 { animation: beamPulse 4s ease-in-out 2s infinite; }
.beam-anim-12 { animation: beamPulse 4s ease-in-out 2.2s infinite; }
.beam-anim-13 { animation: beamPulse 4s ease-in-out 2.4s infinite; }
.beam-anim-14 { animation: beamPulse 4s ease-in-out 2.6s infinite; }
.beam-anim-15 { animation: beamPulse 4s ease-in-out 2.8s infinite; }
.beam-anim-16 { animation: beamPulse 4s ease-in-out 3s infinite; }
.beam-anim-17 { animation: beamPulse 4s ease-in-out 3.2s infinite; }
.beam-anim-18 { animation: beamPulse 4s ease-in-out 3.4s infinite; }

@keyframes beamPulse {
  0%, 100% {
    opacity: 0;
    stroke-width: 1;
  }
  50% {
    opacity: 1;
    stroke-width: 3;
  }
}

@media (max-width: 768px) {
  .animated-connections-wrapper {
    max-width: 100%;
    padding: 2rem 1rem;
  }

  .connections-container-circle {
    max-width: 450px;
  }

  .connection-orbit {
    width: 55px;
    height: 55px;
    padding: 8px;
    transform: translate(-50%, -50%) 
               rotate(var(--angle)) 
               translateY(-180px) 
               rotate(calc(-1 * var(--angle)));
  }

  .connection-orbit:hover {
    transform: translate(-50%, -50%) 
               rotate(var(--angle)) 
               translateY(-180px) 
               rotate(calc(-1 * var(--angle))) 
               scale(1.1);
  }

  .connection-circle-center-main {
    width: 100px;
    height: 100px;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .connections-container-circle {
    max-width: 320px;
  }

  .connection-orbit {
    width: 45px;
    height: 45px;
    padding: 6px;
    transform: translate(-50%, -50%) 
               rotate(var(--angle)) 
               translateY(-130px) 
               rotate(calc(-1 * var(--angle)));
  }

  .connection-orbit:hover {
    transform: translate(-50%, -50%) 
               rotate(var(--angle)) 
               translateY(-130px) 
               rotate(calc(-1 * var(--angle))) 
               scale(1.08);
  }

  .connection-circle-center-main {
    width: 80px;
    height: 80px;
    padding: 12px;
  }

  .connection-beam {
    stroke-width: 1.5;
  }
}
