/* =====================================================
   PROGENIS AGENCY — DESIGN SYSTEM
   Paleta: Preto | Azul Profundo | Teal/Emerald | Prata
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:       #030508;
  --black-2:     #0a0d12;
  --black-3:     #0f1318;
  --dark:        #141820;
  --dark-2:      #1c2230;
  --dark-3:      #232b3a;
  --blue-deep:   #0a2a6e;
  --blue:        #1040b0;
  --blue-mid:    #1a72d4;
  --teal:        #00bfa5;
  --teal-light:  #00d4b8;
  --emerald:     #00e5c8;
  --silver:      #8892a4;
  --silver-light:#c5cdd9;
  --white:       #f0f4f8;
  --white-dim:   rgba(240,244,248,0.7);
  --grad-main:   linear-gradient(135deg, #1040b0 0%, #00bfa5 100%);
  --grad-glow:   linear-gradient(135deg, rgba(16,64,176,0.4), rgba(0,191,165,0.4));
  --grad-dark:   linear-gradient(180deg, #0a0d12 0%, #030508 100%);
  --font-head:   'Outfit', sans-serif;
  --font-body:   'Inter', sans-serif;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --trans:       all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(0,191,165,0.2);
  --border:      1px solid rgba(255,255,255,0.06);
  --border-glow: 1px solid rgba(0,191,165,0.3);
}

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

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black-2); }
::-webkit-scrollbar-thumb { background: var(--blue-mid); border-radius: 4px; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }

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

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === SECTION LABELS === */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(0,191,165,0.08);
  border: 1px solid rgba(0,191,165,0.2);
  border-radius: 100px;
}
.section-label.light { color: var(--teal-light); }

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--white);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--silver-light);
  max-width: 620px;
  margin-bottom: 48px;
}
.section-desc.light { color: rgba(197,205,217,0.8); }
.section-title.light { color: var(--white); }

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--grad-main);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,191,165,0.35); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary.btn-large { padding: 20px 44px; font-size: 1.1rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  background: transparent;
  color: var(--silver-light);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  transition: var(--trans);
}
.btn-ghost:hover {
  border-color: rgba(0,191,165,0.4);
  color: var(--teal-light);
  background: rgba(0,191,165,0.06);
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--trans);
}
.navbar.scrolled {
  background: rgba(3,5,8,0.92);
  backdrop-filter: blur(20px);
  border-bottom: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img {
  height: 110px;
  width: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: brightness(1.05);
}
.logo-img--footer {
  height: 140px;
  mix-blend-mode: lighten;
  filter: brightness(1.05);
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  color: var(--silver-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal-light); }

.nav-cta {
  padding: 10px 24px;
  background: var(--grad-main);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 100px;
  text-decoration: none;
  transition: var(--trans);
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,191,165,0.3); }

.nav-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-mobile-btn span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 20px 24px;
  background: rgba(3,5,8,0.97);
  border-top: var(--border);
  gap: 16px;
}
.mobile-menu a {
  color: var(--silver-light);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}
.mobile-menu .mobile-cta {
  display: inline-block;
  padding: 12px 24px;
  background: var(--grad-main);
  color: #fff;
  font-weight: 700;
  border-radius: 100px;
  text-align: center;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 140px 60px 80px;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.hero-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-grid-lines {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(16,64,176,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,64,176,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(0,191,165,0.08);
  border: 1px solid rgba(0,191,165,0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--teal-light);
  margin-bottom: 28px;
}
.badge-pulse {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,191,165,0.6); }
  50% { box-shadow: 0 0 0 6px rgba(0,191,165,0); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--silver-light);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}
.hero-subtitle strong { color: var(--white); }

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 28px;
  background: rgba(255,255,255,0.03);
  border: var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.stat-item { text-align: center; padding: 0 24px; }
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { padding-right: 0; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-suffix { font-size: 1.2rem; font-weight: 800; }
.stat-label { display: block; font-size: 0.78rem; color: var(--silver); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.08); flex-shrink: 0; }

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
}
.hero-orb-1 {
  width: 300px; height: 300px;
  background: var(--blue);
  top: 10%; left: 10%;
  animation: orb1 8s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 250px; height: 250px;
  background: var(--teal);
  bottom: 10%; right: 10%;
  animation: orb2 10s ease-in-out infinite alternate;
}
@keyframes orb1 { from { transform: translate(0,0) scale(1); } to { transform: translate(20px, 30px) scale(1.1); } }
@keyframes orb2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-30px, -20px) scale(1.15); } }

.hero-card-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(15,19,24,0.85);
  backdrop-filter: blur(20px);
  border: var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  animation: floatCard 4s ease-in-out infinite alternate;
  z-index: 2;
}
.card-1 { top: 12%; left: 0; animation-delay: 0s; }
.card-2 { top: 45%; right: 0; animation-delay: 1.5s; }
.card-3 { bottom: 12%; left: 10%; animation-delay: 0.8s; }

@keyframes floatCard {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

.float-icon { font-size: 1.6rem; }
.float-info { display: flex; flex-direction: column; }
.float-info strong { font-size: 0.88rem; font-weight: 700; color: var(--white); }
.float-info span { font-size: 0.75rem; color: var(--silver); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--silver);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid var(--silver);
  border-bottom: 2px solid var(--silver);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce { 0%, 100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(5px); } }

/* =========================================
   PROBLEMA
   ========================================= */
.problem {
  padding: 100px 0;
  text-align: center;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}

.problem-card {
  padding: 32px 24px;
  background: rgba(255,255,255,0.02);
  border: var(--border);
  border-radius: var(--radius-md);
  text-align: left;
  transition: var(--trans);
  animation: fadeUp 0.6s ease both;
  animation-delay: var(--delay);
}
.problem-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(0,191,165,0.2);
  transform: translateY(-4px);
}
.problem-icon { font-size: 2rem; margin-bottom: 14px; }
.problem-card p { font-size: 0.92rem; color: var(--silver-light); line-height: 1.6; }
.problem-card p strong { color: var(--white); }

.problem-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.problem-cta p { color: var(--silver-light); font-size: 1.05rem; }
.problem-cta p strong { color: var(--teal-light); }

/* =========================================
   SETORES
   ========================================= */
.sectors {
  padding: 100px 0;
  position: relative;
  text-align: center;
}
.sectors-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10,42,110,0.12) 50%, transparent 100%);
  pointer-events: none;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.sector-card {
  padding: 30px 24px;
  background: rgba(255,255,255,0.02);
  border: var(--border);
  border-radius: var(--radius-md);
  transition: var(--trans);
  cursor: default;
}
.sector-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(0,191,165,0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,191,165,0.08);
}
.sector-card--highlight {
  background: linear-gradient(135deg, rgba(16,64,176,0.15), rgba(0,191,165,0.1));
  border-color: rgba(0,191,165,0.3);
}
.sector-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.sector-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.sector-card p { font-size: 0.85rem; color: var(--silver); line-height: 1.55; }

/* =========================================
   SOLUÇÃO
   ========================================= */
.solution {
  padding: 100px 0;
  text-align: center;
}

.solution-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-top: 60px;
  text-align: left;
}

.solution-step {
  animation: fadeUp 0.7s ease both;
  animation-delay: var(--delay);
}

.step-num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 14px;
  display: block;
}
.step-icon-wrap {
  font-size: 2rem;
  margin-bottom: 14px;
  width: 56px; height: 56px;
  background: rgba(0,191,165,0.08);
  border: 1px solid rgba(0,191,165,0.15);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.step-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.step-body p { font-size: 0.88rem; color: var(--silver); line-height: 1.6; }

.solution-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-mid), var(--teal));
  align-self: 80px;
  margin-top: 80px;
  opacity: 0.5;
  flex-shrink: 0;
}

/* =========================================
   RESULTADOS
   ========================================= */
.results {
  padding: 100px 0;
  position: relative;
  text-align: center;
}
.results-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(10,42,110,0.15) 50%, transparent);
  pointer-events: none;
}

.results-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.04);
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 64px;
}

.result-item {
  padding: 40px 20px;
  text-align: center;
  background: rgba(255,255,255,0.01);
  transition: background 0.3s;
}
.result-item:hover { background: rgba(0,191,165,0.04); }
.result-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 8px;
}
.result-label { font-size: 0.85rem; color: var(--silver); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  padding: 32px 28px;
  background: rgba(255,255,255,0.02);
  border: var(--border);
  border-radius: var(--radius-md);
  text-align: left;
  transition: var(--trans);
}
.testimonial-card:hover { border-color: rgba(0,191,165,0.2); transform: translateY(-4px); }
.testimonial-card--featured {
  background: linear-gradient(135deg, rgba(16,64,176,0.12), rgba(0,191,165,0.08));
  border-color: rgba(0,191,165,0.25);
}

.testimonial-stars { color: #f5a623; font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 0.92rem;
  color: var(--silver-light);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.author-info strong { display: block; font-size: 0.9rem; color: var(--white); }
.author-info span { font-size: 0.78rem; color: var(--silver); }

/* =========================================
   SERVIÇOS
   ========================================= */
.services { padding: 100px 0; text-align: center; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.service-card {
  padding: 32px 28px;
  background: rgba(255,255,255,0.02);
  border: var(--border);
  border-radius: var(--radius-md);
  transition: var(--trans);
  position: relative;
}
.service-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(0,191,165,0.25);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,191,165,0.08);
}
.service-card--highlight {
  background: linear-gradient(135deg, rgba(16,64,176,0.15), rgba(0,191,165,0.1));
  border-color: rgba(0,191,165,0.3);
}

.service-tag {
  position: absolute;
  top: -12px; right: 20px;
  padding: 4px 14px;
  background: var(--grad-main);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.service-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(0,191,165,0.08);
  border: 1px solid rgba(0,191,165,0.15);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--teal-light);
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.service-card > p { font-size: 0.88rem; color: var(--silver); line-height: 1.6; margin-bottom: 20px; }

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li {
  font-size: 0.82rem;
  color: var(--silver);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-list li::before {
  content: '→';
  color: var(--teal);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* =========================================
   ARQUITETURA MODULAR
   ========================================= */
.arch-section {
  padding: 110px 0;
  background: linear-gradient(180deg, var(--black-2) 0%, var(--black) 100%);
  position: relative;
  overflow: hidden;
}
.arch-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,191,165,0.3), transparent);
}
.arch-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,114,212,0.3), transparent);
}

.arch-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 80px;
  align-items: start;
}

/* Left manifesto */
.arch-left { position: sticky; top: 120px; }

.arch-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--white);
  margin: 16px 0 24px;
  letter-spacing: -0.03em;
}

.arch-desc {
  font-size: 0.95rem;
  color: var(--silver);
  line-height: 1.75;
  margin-bottom: 36px;
}
.arch-desc strong { color: var(--teal); font-weight: 600; }

.arch-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Right numbered list */
.arch-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.arch-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.arch-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad-main);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 3px 0 0 3px;
}
.arch-item:hover {
  background: rgba(0,191,165,0.04);
  border-color: rgba(0,191,165,0.15);
  transform: translateX(4px);
}
.arch-item:hover::before { opacity: 1; }

.arch-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  opacity: 0.5;
  transition: opacity 0.3s;
  padding-top: 4px;
}
.arch-item:hover .arch-num { opacity: 1; }

.arch-item-content h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  transition: color 0.3s;
}
.arch-item:hover .arch-item-content h3 { color: var(--teal-light); }

.arch-item-content p {
  font-size: 0.875rem;
  color: var(--silver);
  line-height: 1.65;
  margin-bottom: 14px;
}

.arch-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.arch-tags span {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,191,165,0.8);
  background: rgba(0,191,165,0.07);
  border: 1px solid rgba(0,191,165,0.2);
  padding: 3px 10px;
  border-radius: 20px;
  transition: var(--trans);
}
.arch-item:hover .arch-tags span {
  color: var(--teal);
  background: rgba(0,191,165,0.12);
  border-color: rgba(0,191,165,0.35);
}

@media (max-width: 900px) {
  .arch-wrapper { grid-template-columns: 1fr; gap: 50px; }
  .arch-left { position: static; }
}
@media (max-width: 600px) {
  .arch-item { grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 16px; }
  .arch-num { font-size: 1.6rem; }
}

/* =========================================
   DIFERENCIAIS
   ========================================= */

.differentials { padding: 100px 0; }

.diff-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.diff-list { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
.diff-item { display: flex; gap: 16px; align-items: flex-start; }
.diff-check {
  width: 28px; height: 28px;
  background: var(--grad-main);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
}
.diff-item > div strong { display: block; font-size: 0.95rem; color: var(--white); margin-bottom: 4px; }
.diff-item > div p { font-size: 0.85rem; color: var(--silver); line-height: 1.55; }

.diff-visual { display: flex; justify-content: center; }
.diff-card-main {
  width: 100%;
  max-width: 340px;
  padding: 44px 36px;
  background: linear-gradient(135deg, rgba(16,64,176,0.15), rgba(0,191,165,0.1));
  border: 1px solid rgba(0,191,165,0.25);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: 0 0 60px rgba(0,191,165,0.1), var(--shadow-card);
}
.diff-logo-big {
  width: 72px; height: 72px;
  background: var(--grad-main);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 8px 30px rgba(0,191,165,0.3);
}
.diff-card-main h3 { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.diff-card-main > p { font-size: 0.85rem; color: var(--silver); margin-bottom: 28px; }
.diff-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.diff-tags span {
  padding: 6px 14px;
  background: rgba(255,255,255,0.05);
  border: var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--silver-light);
}

/* =========================================
   CONTATO / FORMULÁRIO
   ========================================= */
.contact {
  padding: 100px 0;
  position: relative;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(10,42,110,0.12) 50%, transparent);
  pointer-events: none;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-title { font-size: clamp(2rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.contact-subtitle { font-size: 1rem; color: var(--silver-light); margin-bottom: 36px; line-height: 1.65; }

.contact-benefits { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.benefit-item { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.benefit-item > div strong { display: block; font-size: 0.92rem; color: var(--white); margin-bottom: 4px; }
.benefit-item > div p { font-size: 0.82rem; color: var(--silver); line-height: 1.5; }

.contact-urgency {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(255,100,50,0.08);
  border: 1px solid rgba(255,100,50,0.2);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--silver-light);
}
.urgency-dot {
  width: 8px; height: 8px;
  background: #ff6432;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}
.contact-urgency strong { color: #ff8060; }

/* Form */
.contact-form-wrapper {
  background: rgba(255,255,255,0.02);
  border: var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  backdrop-filter: blur(10px);
}

.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
}

.form-row { margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--silver-light); letter-spacing: 0.02em; }

.form-group input,
.form-group select {
  padding: 13px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--trans);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,
.form-group select:focus {
  border-color: rgba(0,191,165,0.4);
  background: rgba(0,191,165,0.04);
  box-shadow: 0 0 0 3px rgba(0,191,165,0.08);
}
.form-group select option { background: var(--dark); color: var(--white); }

.btn-form-submit {
  width: 100%;
  padding: 17px;
  background: var(--grad-main);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--trans);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.btn-form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,191,165,0.35); }
.btn-form-submit:active { transform: translateY(0); }

.form-privacy { font-size: 0.78rem; color: var(--silver); text-align: center; margin-top: 12px; }

/* Success */
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.success-icon { font-size: 3rem; margin-bottom: 16px; }
.form-success h3 { font-size: 1.4rem; color: var(--white); margin-bottom: 12px; }
.form-success p { font-size: 0.92rem; color: var(--silver-light); line-height: 1.6; }
.success-tip { margin-top: 12px; color: var(--teal); font-size: 0.88rem; }

/* =========================================
   FAQ
   ========================================= */
.faq { padding: 100px 0; text-align: center; }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.faq-item {
  background: rgba(255,255,255,0.02);
  border: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--trans);
}
.faq-item.active { border-color: rgba(0,191,165,0.25); }
.faq-item:hover { border-color: rgba(255,255,255,0.1); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-icon {
  font-size: 1.4rem;
  color: var(--teal);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  padding: 0 24px 22px;
  font-size: 0.9rem;
  color: var(--silver-light);
  line-height: 1.7;
}

/* =========================================
   FOOTER CTA
   ========================================= */
.footer-cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
}
.footer-cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(16,64,176,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.footer-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-cta > .container > p { color: var(--silver-light); margin-bottom: 36px; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  padding: 60px 0 32px;
  border-top: var(--border);
  background: rgba(3,5,8,0.8);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand > p { font-size: 0.87rem; color: var(--silver); line-height: 1.6; margin-bottom: 20px; }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.04);
  border: var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--silver);
  transition: var(--trans);
}
.footer-social a:hover { background: rgba(0,191,165,0.1); border-color: rgba(0,191,165,0.3); color: var(--teal-light); }

.footer-links-group h4 { font-size: 0.88rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-links-group a {
  display: block;
  font-size: 0.85rem;
  color: var(--silver);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-links-group a:hover { color: var(--teal-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: var(--border);
  font-size: 0.82rem;
  color: var(--silver);
}

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--silver); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--teal-light); }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 32px 80px;
    text-align: center;
  }
  .hero-visual { display: none; }
  .hero-stats { justify-content: center; }
  .hero-cta-group { justify-content: center; }
  .hero-subtitle { margin: 0 auto 40px; }

  .solution-steps { grid-template-columns: 1fr; gap: 32px; }
  .solution-connector { display: none; }

  .diff-wrapper { grid-template-columns: 1fr; }
  .diff-visual { order: -1; }

  .contact-wrapper { grid-template-columns: 1fr; gap: 48px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-btn { display: flex; }

  .mobile-menu.open { display: flex; }

  .problem-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .results-numbers { grid-template-columns: 1fr 1fr; }

  .contact-form-wrapper { padding: 28px 24px; }

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

  .hero { padding: 100px 20px 60px; }
}

}

@media (max-width: 480px) {
  .sectors-grid { grid-template-columns: 1fr; }
  .results-numbers { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 60px; height: 1px; }
}

/* ===================================================
   BRAIN + GEARS SCENE
   =================================================== */

.brain-scene {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Orbit rings */
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,191,165,0.15);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbitPulse 4s ease-in-out infinite;
}
.orbit-1 { width: 180px; height: 180px; animation-delay: 0s; border-color: rgba(26,114,212,0.2); }
.orbit-2 { width: 250px; height: 250px; animation-delay: 0.8s; border-color: rgba(0,191,165,0.15); }
.orbit-3 { width: 320px; height: 320px; animation-delay: 1.6s; border-color: rgba(0,191,165,0.08); }

@keyframes orbitPulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 0.9; transform: translate(-50%, -50%) scale(1.03); }
}

/* Central brain */
.brain-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 40% 40%, rgba(26,114,212,0.12), rgba(0,191,165,0.06), transparent 70%);
  border-radius: 50%;
  filter: drop-shadow(0 0 18px rgba(0,191,165,0.35));
  animation: brainGlow 3s ease-in-out infinite;
}

@keyframes brainGlow {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(0,191,165,0.3)); }
  50%       { filter: drop-shadow(0 0 28px rgba(0,191,165,0.6)); }
}

.brain-svg {
  width: 110px;
  height: 110px;
  animation: brainFloat 5s ease-in-out infinite;
}

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

/* Synapse pulse */
.synapse {
  animation: synapsePulse 2s ease-in-out infinite;
}
.synapse:nth-child(1) { animation-delay: 0.0s; }
.synapse:nth-child(2) { animation-delay: 0.4s; }
.synapse:nth-child(3) { animation-delay: 0.8s; }
.synapse:nth-child(4) { animation-delay: 1.2s; }
.synapse:nth-child(5) { animation-delay: 1.6s; }
.synapse:nth-child(6) { animation-delay: 0.2s; }

@keyframes synapsePulse {
  0%, 100% { opacity: 0.3; r: 1.5; }
  50%       { opacity: 1;   r: 3; }
}

/* Gears */
.gear {
  position: absolute;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(0,191,165,0.3));
}

.gear svg { display: block; }

.gear-1 {
  width: 56px; height: 56px;
  top: 18px; right: 30px;
  animation: spinCW 8s linear infinite;
}
.gear-2 {
  width: 38px; height: 38px;
  bottom: 40px; left: 28px;
  animation: spinCCW 6s linear infinite;
}
.gear-3 {
  width: 46px; height: 46px;
  bottom: 30px; right: 40px;
  animation: spinCW 10s linear infinite;
}

@keyframes spinCW  { from { transform: rotate(0deg); }   to { transform: rotate(360deg); } }
@keyframes spinCCW { from { transform: rotate(0deg); }   to { transform: rotate(-360deg); } }

/* Neural connection SVG overlay */
.neural-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  stroke-dashoffset: 0;
  animation: neuralDash 3s linear infinite;
}
@keyframes neuralDash {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -40; }
}

/* Floating word labels */
.brain-label {
  position: absolute;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,191,165,0.08);
  border: 1px solid rgba(0,191,165,0.25);
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  animation: labelFloat 4s ease-in-out infinite;
  backdrop-filter: blur(4px);
}

.bl-1 { top: 12px;  left: 12px;   animation-delay: 0s;    color: #1a72d4; border-color: rgba(26,114,212,0.3); background: rgba(26,114,212,0.08); }
.bl-2 { top: 12px;  right: 12px;  animation-delay: 1s;    color: #00bfa5; }
.bl-3 { bottom: 12px; left: 12px; animation-delay: 2s;    color: #00e5c8; border-color: rgba(0,229,200,0.3); background: rgba(0,229,200,0.08); }
.bl-4 { bottom: 12px; right: 12px;animation-delay: 3s;    color: #1a72d4; border-color: rgba(26,114,212,0.3); background: rgba(26,114,212,0.08); }

@keyframes labelFloat {
  0%, 100% { transform: translateY(0);    opacity: 0.7; }
  50%       { transform: translateY(-5px); opacity: 1; }
}

/* Hero visual override for brain scene */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================================
   ANIMATED REVENUE TRIANGLE (Hero)
   =================================================== */

.triangle-scene {
  position: relative;
  width: 340px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.triangle-scene .tri-svg {
  width: 300px;
  height: 280px;
  filter: drop-shadow(0 0 18px rgba(0,191,165,0.3));
  animation: triFloat 5s ease-in-out infinite;
}

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

/* Triangle sides glow animation */
.tri-side {
  stroke-dasharray: 500;
  stroke-dashoffset: 500;
  animation: drawLine 2.5s ease forwards;
}
.tri-side-1 { animation-delay: 0.2s; }
.tri-side-2 { animation-delay: 0.8s; }
.tri-side-3 { animation-delay: 1.4s; }

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* Vertex gear badges */
.tri-vertex {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.tri-vertex-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.tv-oferta   { top: 0;    left: 50%; transform: translateX(-50%); }
.tv-demanda  { bottom: 0; left: 0; }
.tv-conversao{ bottom: 0; right: 0; }

.tv-oferta    .tri-vertex-label { background: rgba(26,114,212,0.18); border: 1px solid rgba(26,114,212,0.5); color: #7eb8f7; }
.tv-demanda   .tri-vertex-label { background: rgba(0,191,165,0.15);  border: 1px solid rgba(0,191,165,0.4);  color: #00d4b8; }
.tv-conversao .tri-vertex-label { background: rgba(0,229,200,0.12);  border: 1px solid rgba(0,229,200,0.4);  color: #00e5c8; }

.tri-gear-icon {
  font-size: 22px;
  animation: spinSlowCW 6s linear infinite;
  display: block;
  filter: drop-shadow(0 0 6px rgba(0,191,165,0.5));
}
.tv-demanda  .tri-gear-icon { animation-name: spinSlowCCW; }
.tv-conversao .tri-gear-icon { animation-direction: reverse; animation-duration: 8s; }

@keyframes spinSlowCW  { from { transform: rotate(0deg);   } to { transform: rotate(360deg);  } }
@keyframes spinSlowCCW { from { transform: rotate(0deg);   } to { transform: rotate(-360deg); } }

/* Pulse dot in center */
.tri-center-pulse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(0,191,165,0.5);
  animation: centerPulse 2s ease-out infinite;
}
@keyframes centerPulse {
  0%   { box-shadow: 0 0 0 0   rgba(0,191,165,0.6); }
  70%  { box-shadow: 0 0 0 18px rgba(0,191,165,0);  }
  100% { box-shadow: 0 0 0 0   rgba(0,191,165,0);   }
}

/* Brain scene inside differentials section */
.brain-scene--diff {
  width: 300px;
  height: 300px;
}

/* =========================================
   SCROLL REVEAL ANIMATIONS
   ========================================= */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}


