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

:root {
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-glow: rgba(37, 99, 235, 0.25);
  --blue-dim: rgba(37, 99, 235, 0.08);
  --dark: #07090f;
  --dark2: #0b0f1a;
  --dark3: #0f1623;
  --surface: #131929;
  --surface2: #1a2236;
  --border: rgba(37, 99, 235, 0.14);
  --border2: rgba(255, 255, 255, 0.06);
  --white: #f1f5f9;
  --muted: rgba(241, 245, 249, 0.46);
  --muted2: rgba(241, 245, 249, 0.24);
  --accent: #60a5fa;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--surface2);
  border-radius: 3px;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border2);
  transition: background 0.3s;
}

.nav-logo {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span {
  color: #2563eb;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--blue);
  color: white !important;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.4s ease !important;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ── BG ESTÁTICO ── */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 80% 50% at 50% -10%,
      rgba(37, 99, 235, 0.1) 0%,
      transparent 70%
    ),
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size:
    auto,
    48px 48px,
    48px 48px;
}

/* ── SECTIONS ── */
section {
  position: relative;
  z-index: 1;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 180px 5% 80px;
}

.hero-title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, #60a5fa, #2563eb, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 44px;
  font-weight: 400;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--blue-light);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid var(--border2);
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.4s;
}

.btn-secondary:hover {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.hero-free-tag {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--muted2);
  animation: fadeUp 0.7s 0.4s ease both;
}

.hero-free-tag span {
  color: #4ade80;
  font-weight: 600;
}

/* HERO PREVIEW MOCKUP */
.hero-mockup {
  margin-top: 64px;
  width: 100%;
  max-width: 900px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(37, 99, 235, 0.1);
  animation: fadeUp 0.8s 0.5s ease both;
}

.mockup-bar {
  background: var(--dark2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border2);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) {
  background: #ff5f57;
}

.mockup-dot:nth-child(2) {
  background: #febc2e;
}

.mockup-dot:nth-child(3) {
  background: #28c840;
}

.mockup-url {
  flex: 1;
  background: var(--surface2);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: var(--muted2);
  font-family: monospace;
}

.mockup-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 300px;
}

.mockup-sidebar {
  background: var(--dark3);
  border-right: 1px solid var(--border2);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-field {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 6px;
  padding: 8px 10px;
}

.mockup-field-label {
  font-size: 0.55rem;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.mockup-field-value {
  font-size: 0.68rem;
  color: var(--muted);
}

.mockup-field-btn {
  background: var(--blue-dim);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 700;
  text-align: center;
}

.mockup-preview {
  background: #e8e8e8;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 16px;
}

.mockup-email {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mockup-email-header {
  background: #1e293b;
  padding: 14px;
  text-align: center;
}

.mockup-email-logo {
  width: 80px;
  height: 10px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.2)
  );
  border-radius: 4px;
  margin: 0 auto;
}

.mockup-email-banner {
  height: 90px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8, #1e40af);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

.mockup-email-body {
  padding: 16px;
}

.mockup-email-title {
  height: 8px;
  background: #1e293b;
  border-radius: 4px;
  width: 70%;
  margin: 0 auto 12px;
}

.mockup-email-line {
  height: 5px;
  background: #e2e8f0;
  border-radius: 3px;
  margin-bottom: 6px;
}

.mockup-email-line.short {
  width: 65%;
}

.mockup-email-btn {
  margin-top: 14px;
  background: var(--blue);
  color: #fff;
  border-radius: 7px;
  padding: 8px;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
}

.mockup-email-footer {
  background: #1e293b;
  padding: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.mockup-email-footer-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SECTION COMMON ── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 5%;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 60px;
}

/* ── FEATURES ── */
#features {
  border-top: 1px solid var(--border2);
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 32px 28px;
  transition:
    border-color 0.3s,
    transform 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--blue-light),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── HOW IT WORKS ── */
#como-usar {
  background: var(--dark2);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
}

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

.steps-grid::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--border),
    var(--blue-light),
    var(--border),
    transparent
  );
  z-index: 0;
}

.step-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Serif Display", serif;
  font-size: 1.5rem;
  color: var(--blue-light);
  margin-bottom: 24px;
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.25);
  flex-shrink: 0;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── FREE SECTION ── */
#gratuito {
  border-top: 1px solid var(--border2);
}

.free-card {
  background: linear-gradient(
    135deg,
    var(--surface) 0%,
    rgba(37, 99, 235, 0.08) 100%
  );
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.free-card::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--blue);
  filter: blur(80px);
  opacity: 0.12;
  pointer-events: none;
}

.free-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4ade80;
  margin-bottom: 20px;
}

.free-title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.free-desc {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
}

.free-features {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.free-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

.free-features li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── CTA FINAL ── */
#cta-final {
  text-align: center;
  border-top: 1px solid var(--border2);
}

.cta-glow {
  display: inline-block;
  position: relative;
}

.cta-glow::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cta-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 40px;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border2);
  padding: 32px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted2);
}

.footer-copy span {
  color: var(--muted);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .steps-grid::before {
    display: none;
  }
  .free-card {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }
  .mockup-body {
    grid-template-columns: 1fr;
  }
  .mockup-sidebar {
    display: none;
  }
}
@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.4rem;
  }
}

/* ── FERRAMENTAS ── */
.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.tool-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  cursor: pointer;
}

.tool-card:hover {
  border-color: var(--accent);
  background: rgba(255,255,255,0.05);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.tool-card-whatsapp:hover {
  border-color: #25d366;
}

.tool-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
}

.tool-info {
  flex: 1;
}

.tool-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white, #f0f0f2);
}

.tool-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted2, rgba(240,240,242,0.5));
}

.tool-arrow {
  color: var(--muted2, rgba(240,240,242,0.3));
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.2s;
}

.tool-card:hover .tool-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

.tool-card-whatsapp:hover .tool-arrow {
  color: #25d366;
}

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