/* ===== Tokens (paleta real ZD Agent fundo escuro + gradiente ciano/violeta) ===== */
:root{
  --bg: #090A14;
  --bg-panel: #12131F;
  --bg-panel-2: #171827;
  --border: #262A3D;
  --cyan: #22D3EE;
  --violet: #8B5CF6;
  --gradient: linear-gradient(90deg, #22D3EE, #8B5CF6);
  --gradient-soft: linear-gradient(90deg, rgba(34,211,238,0.14), rgba(139,92,246,0.14));
  --cyan-soft: rgba(34,211,238,0.12);
  --text: #F5F7FA;
  --text-muted: #93A0B5;
  --danger: #F0876B;

  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 12px;
  --radius-sm: 8px;
  --container: 1120px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }

a{ color: inherit; text-decoration: none; }

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

p{ margin: 0; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

:focus-visible{
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Buttons ===== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.2s ease, border-color 0.2s ease;
  min-height: 48px;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{
  background: var(--gradient);
  color: #FFFFFF;
}
.btn-primary:hover{ filter: brightness(1.12); }
.btn-ghost{
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover{ border-color: var(--cyan); color: var(--cyan); }
.btn-outline{
  background: transparent;
  border-color: var(--violet);
  color: var(--text);
  width: 100%;
}
.btn-outline:hover{ background: var(--gradient-soft); }
.btn-sm{ padding: 10px 20px; font-size: 0.85rem; min-height: 40px; }
.btn-block{ width: 100%; }

/* ===== Header ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9,10,20,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.logo{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  flex-shrink: 0;
}
.logo-img{
  height: 28px;
  width: auto;
}
.main-nav{
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.main-nav a{
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.main-nav a:hover{ color: var(--cyan); }

.menu-toggle{
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
}

.mobile-menu{
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  border-top: 1px solid var(--border);
}
.mobile-menu a:not(.btn){
  padding: 12px 4px;
  font-size: 0.98rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn{ margin-top: 12px; }
.mobile-menu.is-open{ display: flex; }

@media (max-width: 760px){
  .main-nav, .desktop-only{ display: none; }
  .menu-toggle{ display: flex; }
}

@media (max-width: 760px){
  .hide-mobile{ display: none !important; }
}

/* ===== Hero ===== */
.hero{
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  text-align: center;
}
.hero-glow{
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: 160vw;
  height: 620px;
  background: radial-gradient(closest-side, rgba(34,211,238,0.16), transparent 55%),
              radial-gradient(closest-side at 65% 40%, rgba(139,92,246,0.16), transparent 55%);
  pointer-events: none;
}
.hero-inner{ position: relative; }
.eyebrow{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--gradient);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1{
  font-size: clamp(1.9rem, 6vw, 3.1rem);
  max-width: 780px;
  margin: 0 auto 18px;
}
.hero-sub{
  font-size: clamp(0.98rem, 2.4vw, 1.08rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
  padding: 0 4px;
}

/* Video (player VTurb) */
.video-frame{
  position: relative;
  max-width: 820px;
  margin: 0 auto 32px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--bg-panel-2), var(--bg-panel));
  border: 1px solid var(--border);
  overflow: hidden;
}

@media (max-width: 640px){
  .video-frame{ margin: 0 auto 24px; border-radius: var(--radius-sm); }
}

.hero-ctas{
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-badges{
  list-style: none;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  font-size: 0.83rem;
  color: var(--text-muted);
}
.hero-badges li::before{
  content: "✓ ";
  color: var(--cyan);
}

@media (max-width: 640px){
  .hero{ padding: 40px 0 40px; }
  .hero-ctas{ flex-direction: column; align-items: stretch; }
  .hero-ctas .btn{ width: 100%; }
  .hero-badges{ flex-direction: column; gap: 10px; align-items: center; }
}

/* ===== Social proof ===== */
.social-proof{
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.social-proof-label{
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding: 0 12px;
}
.logo-row{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.logo-row img{
  width: 92px;
  height: 130px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.8);
  opacity: 0.7;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
.logo-row img:hover{
  filter: none;
  opacity: 1;
}
.logo-chip-text{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.logo-chip-text:hover{
  opacity: 1;
  color: var(--text);
}

@media (max-width: 640px){
  .logo-row img{ width: 76px; height: 108px; }
}

/* ===== Section base ===== */
.section{ padding: 64px 0; }
.section h2{
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  padding: 0 4px;
}

@media (min-width: 900px){
  .section{ padding: 88px 0; }
  .section h2{ margin-bottom: 48px; }
}

/* ===== Problem ===== */
.problem{ border-bottom: 1px solid var(--border); }
.problem-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.problem-card{
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.problem-card p{ color: var(--text-muted); font-size: 0.94rem; }
.icon-mark{
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.icon-warn{ color: var(--danger); background: rgba(240,135,107,0.12); }
.icon-check{ color: var(--cyan); background: var(--cyan-soft); }

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

/* ===== Funnel visual (signature) ===== */
.funnel-visual{
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin: 0 0 48px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.funnel-col{
  flex: 1 1 0;
  min-width: 148px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  border-top: 3px solid var(--border);
}
.funnel-col[style*="--stage:2"]{ border-top-color: rgba(34,211,238,0.5); }
.funnel-col[style*="--stage:3"]{ border-top-color: rgba(90,160,220,0.7); }
.funnel-col[style*="--stage:4"]{ border-top: 3px solid transparent; border-image: var(--gradient) 1; }
.funnel-col-title{
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.funnel-card{
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--text);
}
.funnel-card-won{
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}
.funnel-arrow{
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  flex-shrink: 0;
}

@media (max-width: 760px){
  .funnel-visual{ flex-direction: column; overflow-x: visible; }
  .funnel-arrow{ transform: rotate(90deg); align-self: center; }
  .funnel-col{ min-width: 0; }
}

/* ===== Feature grid ===== */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card{
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.feature-card h3{
  font-size: 1.02rem;
  margin-bottom: 10px;
}
.feature-card p{
  color: var(--text-muted);
  font-size: 0.9rem;
}
.feature-card-ia{
  border-color: var(--violet);
  background: linear-gradient(160deg, rgba(139,92,246,0.12), var(--bg-panel));
}
.badge-ia{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--gradient);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

@media (max-width: 900px){
  .feature-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  .feature-grid{ grid-template-columns: 1fr; }
}

/* ===== How it works ===== */
.how-it-works{ border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-panel); }
.steps{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step{
  text-align: center;
  position: relative;
}
.step-num{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 600;
}
.step p{ color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 760px){
  .steps{ grid-template-columns: 1fr 1fr; gap: 28px 16px; }
}
@media (max-width: 420px){
  .steps{ grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Differentiators ===== */
.check-list{
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.check-list li{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
  color: var(--text);
}

/* ===== Plans ===== */
.plans{ border-top: 1px solid var(--border); }
.plans-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 780px;
  margin: 0 auto;
}
.plan-card{
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.plan-card-featured{
  border-color: transparent;
  background: linear-gradient(var(--bg-panel), var(--bg-panel)) padding-box,
              var(--gradient) border-box;
  border: 1px solid transparent;
}
.plan-badge{
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.plan-card h3{ font-size: 1.15rem; margin-bottom: 8px; }
.plan-price{
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6vw, 2.1rem);
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 20px;
}
.plan-price span{
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}
.plan-price span:first-child{ display: block; margin-bottom: 2px; }
.plan-features{
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.plan-features li{
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
.plan-features li::before{
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
}
.plan-fine-print{
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}
.plans-note{
  text-align: center;
  color: var(--text-muted);
  font-size: 0.84rem;
  margin-top: 28px;
  padding: 0 12px;
}

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

/* ===== Form ===== */
.contact-form{ background: var(--bg-panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.contact-form-inner{ max-width: 520px; text-align: center; }
.contact-sub{ color: var(--text-muted); margin: 12px 0 32px; }
.lead-form{ text-align: left; display: flex; flex-direction: column; gap: 16px; }
.form-row{ display: flex; flex-direction: column; gap: 8px; }
.form-row label{
  font-size: 0.83rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.form-row input, .form-row select{
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  min-height: 48px;
}
.form-row input:focus, .form-row select:focus{
  border-color: var(--cyan);
  outline: none;
}
.form-row select{ appearance: none; cursor: pointer; }

/* ===== Final CTA ===== */
.final-cta{ text-align: center; }
.final-cta h2{ margin-bottom: 12px; }
.final-cta p{ color: var(--text-muted); margin-bottom: 28px; padding: 0 12px; }

/* ===== Footer ===== */
.site-footer{ padding: 48px 0 28px; border-top: 1px solid var(--border); }
.footer-inner{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
.footer-logo{ font-size: 1.05rem; }
.footer-tagline{ color: var(--text-muted); font-size: 0.86rem; margin-top: 10px; }
.footer-heading{
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.footer-links{ display: flex; flex-direction: column; gap: 9px; }
.footer-links a{ font-size: 0.86rem; color: var(--text-muted); transition: color 0.2s ease; }
.footer-links a:hover{ color: var(--cyan); }
.footer-muted{ font-size: 0.86rem; color: var(--text-muted); opacity: 0.6; }
.footer-copyright{
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.footer-legal{
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.6;
  margin-top: 6px;
}

@media (max-width: 760px){
  .footer-inner{ grid-template-columns: 1fr 1fr; gap: 28px 16px; }
}
@media (max-width: 460px){
  .footer-inner{ grid-template-columns: 1fr; gap: 24px; }
}
