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

:root {
  --purple-deep:   #4C1D95;
  --purple-main:   #6D28D9;
  --purple-bright: #7C3AED;
  --purple-vivid:  #8B5CF6;
  --purple-light:  #A78BFA;
  --purple-glow:   #C4B5FD;

  --bg:            #07070E;
  --bg-card:       #0F0F1A;
  --bg-card-hover: #141428;
  --border:        rgba(139, 92, 246, 0.15);
  --border-hover:  rgba(139, 92, 246, 0.4);

  --text:          #F1F5F9;
  --text-muted:    #94A3B8;
  --text-faint:    #475569;

  --green:         #22C55E;

  --radius:        12px;
  --radius-lg:     20px;
  --transition:    .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

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

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

/* =============================================
   SCROLL PROGRESS BAR
   ============================================= */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--purple-bright), var(--purple-glow));
  z-index: 999;
  transition: width .1s linear;
}

/* =============================================
   UTILITIES
   ============================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--purple-vivid), var(--purple-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 16px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--purple-bright), var(--purple-vivid));
  color: #fff;
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(124, 58, 237, 0.55);
}

.btn--outline {
  background: transparent;
  color: var(--purple-light);
  border: 1.5px solid var(--border-hover);
}
.btn--outline:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: var(--purple-vivid);
}

.btn--thick {
  padding: 18px 36px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 28px;
  background: rgba(255,255,255,0.95);
  color: #000;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn--thick:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.1);
}
.btn--thick .btn__arrow {
  opacity: 0.7;
  transform: translateX(0);
  transition: all 0.3s ease;
}
.btn--thick:hover .btn__arrow {
  opacity: 1;
  transform: translateX(6px);
}

.hero__btn-wrapper {
  display: inline-block;
  padding: 1px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(0,0,0,0.1));
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: box-shadow 0.3s ease;
}
.hero__btn-wrapper:hover {
  box-shadow: 0 15px 40px rgba(255,255,255,0.1);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn--ghost:hover { color: var(--text); }

.btn--sm  { padding: 8px 18px;  font-size: 14px; }
.btn--lg  { padding: 14px 28px; font-size: 16px; }
.btn--xl  { padding: 18px 36px; font-size: 18px; border-radius: 10px; }

/* =============================================
   SECTION SHARED
   ============================================= */
.section { padding: 100px 0; }

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section__desc {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
}

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(7, 7, 14, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  /* Garante que se o PNG for falso com fundo branco, a parte branca desapareça suavemente na navbar escura */
  background: transparent;
  mix-blend-mode: screen; 
  filter: contrast(1.1) drop-shadow(0 0 5px rgba(255,255,255,0.1));
}

.nav__logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.nav__logo-text span {
  background: linear-gradient(135deg, var(--purple-vivid), var(--purple-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   HERO (Centered V3)
   ============================================= */
.hero--centered {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
  text-align: center;
}

.hero__inner--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__content--centered {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* WebGL Canvas Shader */
.hero__canvas-shader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Mouse spotlight */
.hero__spotlight {
  position: absolute;
  inset: -50px;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 255, 255, 0.1), transparent 40%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease;
  opacity: 0; 
}
.hero:hover .hero__spotlight { opacity: 1; }  

/* Typography Serious Corporate -> Neon Challenge */
.hero__headline--serious {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.text-gradient {
  background: linear-gradient(to right, #9333EA, #A855F7, #D8B4FE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-cyan {
  background: linear-gradient(to right, #00f2fe, #4facfe, #9333EA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__spotlight {
  position: absolute;
  inset: -50px;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 58, 237, 0.15), transparent 40%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease;
  opacity: 0; 
}
.hero:hover .hero__spotlight { opacity: 1; }  

/* Native Glows */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* Typography Serious Corporate */
.hero__headline--serious {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.text-gradient {
  background: linear-gradient(to right, #9333EA, #A855F7, #D8B4FE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc--bright {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.max-w-desc {
  max-width: 600px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.spline-wrapper {
  position: relative;
  width: 100%;
  height: 500px; /* Base height for 3D */
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spline-3d {
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.hero__glow--1 {
  width: 600px; height: 600px;
  background: rgba(109, 40, 217, 0.18);
  top: -200px; right: -100px;
}

.hero__glow--2 {
  width: 400px; height: 400px;
  background: rgba(124, 58, 237, 0.12);
  bottom: -100px; left: -100px;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--purple-light);
  margin-bottom: 28px;
  font-family: 'JetBrains Mono', monospace;
}

.badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

.hero__headline {
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 24px;
}

.proof__item {
  display: flex;
  flex-direction: column;
}

.proof__item strong {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple-vivid), var(--purple-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'JetBrains Mono', monospace;
}

.proof__item span {
  font-size: 11px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.proof__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* =============================================
   HERO VISUAL (rings + CRM)
   ============================================= */
/* =============================================
   CRM SEÇÃO DEDICADA
   ============================================= */
.crm-feature { background: linear-gradient(180deg, rgba(15,15,26,.0) 0%, rgba(124,58,237,.03) 100%); }

.crm-feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.crm-mockup--large {
  animation: none;
  transform: rotateY(-5deg) rotateX(5deg);
  transform-style: preserve-3d;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(109,40,217,.2);
  transition: var(--transition);
}
.crm-feature__visual:hover .crm-mockup--large {
  transform: rotateY(0deg) rotateX(0deg);
}

.hero__rings {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ring {
  position: absolute;
  border-radius: 50%;
}

.ring--1 {
  width: 300px; height: 300px;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    rgba(139, 92, 246, 0.65) 20%,
    transparent 40%,
    rgba(167, 139, 250, 0.3) 60%,
    transparent 80%
  );
  animation: spin1 6s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1px), white calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1px), white calc(100% - 1px));
}

.ring--2 {
  width: 230px; height: 230px;
  background: conic-gradient(
    from 120deg,
    transparent 0%,
    rgba(196, 181, 253, 0.5) 15%,
    transparent 35%,
    rgba(109, 40, 217, 0.4) 55%,
    transparent 75%
  );
  animation: spin2 9s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1px), white calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1px), white calc(100% - 1px));
}

.ring--3 {
  width: 160px; height: 160px;
  background: conic-gradient(
    from 240deg,
    transparent 0%,
    rgba(139, 92, 246, 0.8) 10%,
    transparent 30%
  );
  animation: spin3 4s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1px), white calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1px), white calc(100% - 1px));
}

@keyframes spin1 { to { transform: rotate(360deg); } }
@keyframes spin2 { to { transform: rotate(-360deg); } }
@keyframes spin3 { to { transform: rotate(360deg); } }

.hero__mascot {
  position: absolute;
  width: 110px; height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot__img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
  animation: float 4s ease-in-out infinite;
}

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

/* Floating badges */
.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(15, 15, 26, 0.92);
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  animation: floatBadge 5s ease-in-out infinite;
}

.hero__float svg { color: var(--green); flex-shrink: 0; }

.hero__float--1 { top: 10px;  right: -10px; animation-delay: 0s; }
.hero__float--2 { top: 60px;  left: -20px;  animation-delay: 2s; }

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

/* =============================================
   CRM MOCKUP
   ============================================= */
.crm-mockup {
  width: 100%;
  max-width: 340px;
  background: rgba(10, 10, 20, 0.95);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0,0,0,.5), 0 0 30px rgba(109,40,217,.15);
  animation: floatBadge 6s ease-in-out infinite;
  animation-delay: 1s;
}

.crm-mockup__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(139, 92, 246, 0.08);
  border-bottom: 1px solid var(--border);
}

.crm-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.crm-dot--red    { background: #FF5F56; }
.crm-dot--yellow { background: #FFBD2E; }
.crm-dot--green  { background: #27C93F; }

.crm-mockup__title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-left: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.crm-live {
  color: var(--green);
  font-size: 10px;
  animation: pulse 1.5s infinite;
}

.crm-mockup__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}

.crm-metric {
  background: var(--bg-card);
  padding: 12px 10px;
  text-align: center;
}

.crm-metric__val {
  display: block;
  font-size: 20px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(135deg, var(--purple-vivid), var(--purple-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.crm-metric__label {
  font-size: 9px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.crm-mockup__pipeline {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.crm-stage {
  display: grid;
  grid-template-columns: 80px 1fr 24px;
  align-items: center;
  gap: 8px;
}

.crm-stage__label {
  font-size: 10px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.crm-stage__bar {
  height: 4px;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  overflow: hidden;
}

.crm-stage__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple-bright), var(--purple-vivid));
  border-radius: 2px;
  transition: width 1s ease;
}

.crm-stage__fill--green {
  background: linear-gradient(90deg, #16A34A, var(--green));
}

.crm-stage__count {
  font-size: 10px;
  color: var(--text-faint);
  font-family: 'JetBrains Mono', monospace;
  text-align: right;
}

.crm-mockup__notification {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(34, 197, 94, 0.08);
  border-top: 1px solid rgba(34, 197, 94, 0.15);
  font-size: 11px;
  color: var(--green);
  font-family: 'JetBrains Mono', monospace;
}

/* =============================================
   MARQUEE
   ============================================= */
.marquee-wrap {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(139, 92, 246, 0.03);
  padding: 14px 0;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  animation: marqueeScroll 28s linear infinite;
  font-size: 13px;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-faint);
}

.marquee__track:hover { animation-play-state: paused; }

.marquee__dot {
  color: var(--purple-vivid);
  opacity: 0.5;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   PROBLEMS
   ============================================= */
.problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.problem-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.problem-card__icon {
  width: 48px; height: 48px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-light);
  margin-bottom: 18px;
}

.problem-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.problem-card--highlight {
  background: linear-gradient(135deg, rgba(109,40,217,.15), rgba(124,58,237,.08));
  border-color: var(--border-hover);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.problem-highlight__text {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

/* =============================================
   SOLUTION
   ============================================= */
.solution { background: linear-gradient(180deg, var(--bg) 0%, rgba(15,15,26,.6) 100%); }

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

.solution__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.solution__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-bright), var(--purple-vivid));
  opacity: 0;
  transition: var(--transition);
}

.solution__card:hover::before { opacity: 1; }
.solution__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.solution__number {
  font-size: 48px;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(135deg, var(--purple-vivid), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
}

.solution__card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.solution__card > p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.solution__list li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 7px 0 7px 18px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.solution__list li:last-child { border-bottom: none; }

.solution__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple-vivid);
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works { background: var(--bg); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
  position: relative;
}

.step__num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-bright), var(--purple-vivid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: #fff;
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.4);
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.step__line {
  position: absolute;
  top: 30px;
  left: calc(50% + 30px);
  right: calc(-50% + 30px);
  height: 1px;
  background: linear-gradient(90deg, var(--purple-vivid), rgba(139,92,246,0.2));
}

.step__content h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.step__content p  { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* =============================================
   OFFER
   ============================================= */
.offer { background: linear-gradient(180deg, rgba(15,15,26,.6) 0%, var(--bg) 100%); }

.offer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.offer__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.offer__card--featured {
  background: linear-gradient(135deg, rgba(109,40,217,.2), rgba(124,58,237,.1));
  border-color: var(--border-hover);
  box-shadow: 0 0 40px rgba(109, 40, 217, 0.2);
}

.offer__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-faint);
  background: rgba(255,255,255,.05);
  border-radius: 4px;
  padding: 4px 10px;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
}

.offer__tag--featured {
  background: rgba(139, 92, 246, 0.2);
  color: var(--purple-light);
}

.offer__card h3 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.offer__card > p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.offer__list li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 9px 0 9px 22px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.offer__list li:last-child { border-bottom: none; margin-bottom: 28px; }

.offer__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--purple-vivid);
  font-weight: 700;
}

.offer__note {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-faint);
  font-family: 'JetBrains Mono', monospace;
}

/* =============================================
   CTA FINAL
   ============================================= */
.cta-final {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.cta-final__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-final__inner { position: relative; }

.cta-final__title {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-final__sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 13px;
  color: var(--text-faint);
  font-family: 'JetBrains Mono', monospace;
}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  width: 100%;
  max-width: 400px;
  background: #0F0F1A;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 40px rgba(109,40,217,.2);
  transform: translateY(20px);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  max-height: 75vh;
}

.modal-overlay.open .modal { transform: translateY(0); }

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(109,40,217,.08);
}

.modal__agent { display: flex; align-items: center; gap: 12px; }

.modal__agent-avatar {
  position: relative;
  width: 40px; height: 40px;
}

.modal__agent-avatar img {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--purple-vivid);
}

.modal__agent-status {
  position: absolute;
  bottom: 1px; right: 1px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #0F0F1A;
  animation: pulse 2s infinite;
}

.modal__agent strong { display: block; font-size: 14px; font-weight: 700; }
.modal__agent small  { font-size: 12px; color: var(--text-faint); }

.modal__close {
  background: none;
  border: none;
  color: var(--text-faint);
  cursor: pointer;
  padding: 4px;
  transition: var(--transition);
  border-radius: 6px;
}
.modal__close:hover { color: var(--text); background: rgba(255,255,255,.05); }

.modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  min-height: 200px;
}

.chat__placeholder {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.chat__bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.65;
}

.chat__form-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(109,40,217,.15);
  border: 1px solid rgba(139,92,246,.4);
  border-radius: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text);
  transition: background .2s, border-color .2s;
  max-width: 85%;
  cursor: pointer;
}
.chat__form-link:hover { background: rgba(109,40,217,.28); border-color: rgba(139,92,246,.7); }
.chat__form-link__icon { font-size: 20px; flex-shrink: 0; }
.chat__form-link strong { display: block; font-size: 14px; font-weight: 700; }
.chat__form-link small  { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.chat__form-link__arrow { margin-left: auto; color: var(--purple-light); font-size: 16px; flex-shrink: 0; }

.chat__bubble--agent {
  background: rgba(109,40,217,.2);
  border: 1px solid rgba(139,92,246,.25);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat__bubble--user {
  background: var(--purple-bright);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* Typing indicator */
.chat__typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 14px 18px;
}

.chat__typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--purple-light);
  animation: typingDot .9s infinite ease-in-out;
}

.chat__typing span:nth-child(2) { animation-delay: .15s; }
.chat__typing span:nth-child(3) { animation-delay: .30s; }

@keyframes typingDot {
  0%, 80%, 100% { transform: scale(.7); opacity: .4; }
  40%            { transform: scale(1);  opacity: 1; }
}

/* =============================================
   YARA — BOLHA FLUTUANTE
   ============================================= */
.yara-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 10, 20, 0.96);
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  padding: 10px 20px 10px 10px;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0,0,0,.5), 0 0 20px rgba(109,40,217,.2);
  backdrop-filter: blur(16px);
  transition: transform .25s ease, box-shadow .25s ease;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.yara-bubble.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.yara-bubble.hidden {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.yara-bubble:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.6), 0 0 30px rgba(109,40,217,.35);
}

.yara-bubble__avatar {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.yara-bubble__avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--purple-vivid);
}

.yara-bubble__status {
  position: absolute;
  bottom: 1px; right: 1px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #0A0A14;
  animation: pulse 2s infinite;
}

.yara-bubble__info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.yara-bubble__info strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.yara-bubble__info span {
  font-size: 11px;
  color: var(--green);
  font-family: 'JetBrains Mono', monospace;
}

.yara-bubble__badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--purple-bright);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0A0A14;
  animation: badgePop .4s cubic-bezier(.34,1.56,.64,1) forwards;
}

@keyframes badgePop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

/* Lead captado — aviso sutil */
.chat__notice {
  font-size: 11px;
  color: var(--green);
  text-align: center;
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  opacity: 0.8;
}

.modal__footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

.modal__input-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.modal__input {
  flex: 1;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.modal__input:focus { border-color: var(--purple-vivid); }
.modal__input::placeholder { color: var(--text-faint); }

.modal__send {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--purple-bright), var(--purple-vivid));
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.modal__send:hover { transform: scale(1.05); }

.modal__disclaimer {
  font-size: 11px;
  color: var(--text-faint);
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple-deep); border-radius: 3px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero__inner { gap: 40px; }
  .hero__rings { width: 260px; height: 260px; }
  .ring--1 { width: 260px; height: 260px; }
  .ring--2 { width: 200px; height: 200px; }
  .ring--3 { width: 140px; height: 140px; }
}

@media (max-width: 900px) {
  .hero__inner, .crm-feature__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .problems__grid  { grid-template-columns: repeat(2, 1fr); }
  .solution__grid  { grid-template-columns: 1fr; }
  .offer__grid     { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  /* NAV */
  .nav                         { padding: 12px 0; }
  .nav__logo-img               { height: 32px; }
  .nav__logo-text              { font-size: 16px; }
  .nav__cta                    { font-size: 12px; padding: 8px 14px; white-space: nowrap; }

  /* GERAL */
  .section                     { padding: 60px 0; }
  .container                   { padding: 0 16px; }
  .section__title              { font-size: clamp(22px, 6vw, 36px); }
  .section__desc               { font-size: 15px; }

  /* HERO */
  .hero                        { padding-top: 80px; }
  .hero__headline--serious     { font-size: clamp(26px, 7vw, 40px); }
  .hero__desc--bright          { font-size: 15px; }
  .hero__actions               { flex-direction: column; }
  .hero__btn-wrapper           { width: 100%; }
  .hero__btn-wrapper .btn      { width: 100%; justify-content: center; }

  /* PROBLEMA */
  .problems__grid              { grid-template-columns: 1fr; gap: 12px; }
  .problem-card                { padding: 20px; }
  .problem-card--highlight     { grid-column: 1; }
  .problem-card__icon          { width: 40px; height: 40px; margin-bottom: 12px; }
  .problem-card h3             { font-size: 15px; }
  .problem-card p              { font-size: 14px; }

  /* SOLUÇÃO */
  .solution__grid              { grid-template-columns: 1fr; }
  .solution__card              { padding: 24px; }
  .solution__number            { font-size: 36px; }

  /* CRM */
  .crm-feature__inner          { flex-direction: column; }
  .crm-mockup--large           { width: 100%; }

  /* COMO FUNCIONA */
  .steps                       { grid-template-columns: 1fr; gap: 32px; }
  .step                        { flex-direction: row; align-items: flex-start; text-align: left; padding: 0; gap: 20px; }
  .step__num                   { width: 48px; height: 48px; font-size: 18px; flex-shrink: 0; margin-bottom: 0; }
  .step__line                  { display: none; }

  /* OFERTA */
  .offer__grid                 { grid-template-columns: 1fr; }

  /* MODAL */
  .modal-overlay               { padding: 0; align-items: flex-end; justify-content: center; }
  .modal                       { max-width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 90vh; height: 90vh; }

  /* YARA BUBBLE */
  .yara-bubble__info           { display: none; }
  .yara-bubble                 { padding: 10px; border-radius: 50%; width: 60px; height: 60px; justify-content: center; }
  .yara-bubble__badge          { top: 0; right: 0; }
}

@media (max-width: 400px) {
  .problems__grid { grid-template-columns: 1fr; }
}

@keyframes pathAnim { 0% { stroke-dashoffset: 1000; opacity: 0.3; } 50% { opacity: 0.6; } 100% { stroke-dashoffset: 0; opacity: 0.3; } }
@keyframes revealLetter { 0% { opacity: 0; transform: translateY(100px); } 100% { opacity: 1; transform: translateY(0); } }

/* == Ambient Blurred Orbs (V8) == */
.hero__bg-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: floatOrb 20s ease-in-out infinite alternate;
}

.ambient-orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(124, 58, 237, 0.4); /* Purple */
  top: -10%;
  left: 20%;
}

.ambient-orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(0, 242, 254, 0.2); /* Cyan */
  bottom: -10%;
  right: 15%;
  animation-delay: -10s;
  animation-direction: alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(100px, 50px) scale(1.1); }
  66% { transform: translate(-50px, 150px) scale(0.9); }
  100% { transform: translate(-100px, -50px) scale(1.05); }
}

.nav__logo-img { height: 60px; width: auto; object-fit: contain; }
.nav__logo-text { font-size: 26px; }


/* Centraliza��o do Hero Mestre */
.hero--centered { text-align: center; }
.hero__inner--centered { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 80vh; }
.hero__content--centered { display: flex; flex-direction: column; align-items: center; max-width: 800px; margin: 0 auto; }
.hero__headline--serious { text-align: center; margin-bottom: 24px; }
.hero__actions--centered { display: flex; justify-content: center; align-items: center; margin-top: 32px; }
.max-w-desc { text-align: center; margin: 0 auto 40px auto; }



.marquee-wrap { margin-top: -120px; position: relative; z-index: 20; }
@media (max-width: 600px) { .marquee-wrap { margin-top: 0; } }

