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

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

:root {
  --blue: #1E40FF;
  --blue-light: #63A5FF;
  --blue-dim: rgba(30, 64, 255, 0.12);
  --bg: #050810;
  --bg2: #0a0f1e;
  --bg3: #0f1628;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.55);
  --border: rgba(30, 64, 255, 0.2);
  --border-light: rgba(255, 255, 255, 0.07);
  --nav-height: 72px;
}

html { scroll-behavior: smooth; }

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

/* =====================
   NAV
   ===================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: var(--nav-height);
  background: rgba(5, 8, 16, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--border-light);
  transition: background 0.3s;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-svg { width: 34px; height: 34px; }

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: #fff;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: #2d50ff !important;
  transform: translateY(-1px);
}

/* =====================
   HAMBURGER BUTTON
   ===================== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.hamburger:hover {
  border-color: var(--border);
  background: var(--blue-dim);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Hamburger open state */
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =====================
   MOBILE MENU OVERLAY
   ===================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  z-index: 190;
  background: rgba(5, 8, 16, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 2rem 2rem;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu ul li {
  border-bottom: 0.5px solid var(--border-light);
}

.mobile-menu ul li:last-child {
  border-bottom: none;
  padding-top: 1rem;
}

.mobile-link {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 1rem 0;
  transition: color 0.2s;
}

.mobile-link:hover { color: var(--blue-light); }

.mobile-cta {
  display: inline-flex !important;
  width: 100%;
  justify-content: center;
  background: var(--blue) !important;
  color: #fff !important;
  border-radius: 8px;
  padding: 14px 24px !important;
  font-weight: 600 !important;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

/* =====================
   HERO
   ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 20%, rgba(30,64,255,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(99,165,255,0.08) 0%, transparent 60%);
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,64,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,64,255,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30,64,255,0.15);
  border: 1px solid rgba(30,64,255,0.35);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--blue-light);
  font-weight: 500;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.badge-dot {
  width: 6px; height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}

.accent { color: var(--blue); }
.accent-light { color: var(--blue-light); }

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 24px rgba(30,64,255,0.35);
  white-space: nowrap;
}

.btn-primary:hover {
  background: #2d50ff;
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(30,64,255,0.5);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--blue-light);
  background: rgba(99,165,255,0.06);
}

/* =====================
   STATS BAR
   ===================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg2);
}

.stat {
  padding: 1.75rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border-light);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--blue-light);
}

.stat-label {
  font-size: clamp(11px, 1.5vw, 13px);
  color: var(--text-muted);
  margin-top: 4px;
}

/* =====================
   SECTIONS GERAIS
   ===================== */
section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1rem;
}

h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* =====================
   SECTION IMAGES
   ===================== */
.section-image-wrap {
  width: 100%;
  margin-bottom: 3rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.section-image {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================
   DIFERENCIAIS
   ===================== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.diff-card {
  background: var(--bg2);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

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

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

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

.diff-icon {
  width: 44px; height: 44px;
  background: var(--blue-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.diff-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* =====================
   MÓDULOS
   ===================== */
.modules-full {
  background: var(--bg2);
  padding: 5rem 0;
}

.modules-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.module-card {
  background: var(--bg3);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.2s;
}

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

.module-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.module-num {
  width: 32px; height: 32px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.module-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: rgba(30,64,255,0.1);
  border: 1px solid rgba(30,64,255,0.2);
  color: var(--blue-light);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
}

/* =====================
   BLUEPRINTS
   ===================== */
.blueprints {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.bp-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bp-card {
  background: var(--bg2);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  transition: border-color 0.3s;
}

.bp-card:hover { border-color: var(--border); }

.bp-num {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(30,64,255,0.9);
  line-height: 1;
}

.bp-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.bp-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 1rem;
}

.bp-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  row-gap: 10px;
}

.bp-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.step-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =====================
   PARA QUEM
   ===================== */
.forquem {
  background: var(--bg2);
  padding: 5rem 0;
}

.forquem-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.audience-card {
  background: var(--bg3);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s;
}

.audience-card:hover { border-color: rgba(99,165,255,0.3); }

.check-icon {
  width: 22px; height: 22px;
  background: rgba(30,64,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.audience-card span {
  font-size: 14px;
  color: var(--text-muted);
}

/* =====================
   CTA FINAL
   ===================== */
.cta-final {
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(30,64,255,0.15) 0%, transparent 70%);
}

.cta-final h2 {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto 1rem;
}

.cta-final p {
  position: relative;
  z-index: 2;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.cta-final .btn-primary {
  position: relative;
  z-index: 2;
  font-size: 16px;
  padding: 16px 40px;
}

/* =====================
   FOOTER
   ===================== */
footer {
  border-top: 1px solid var(--border-light);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
}

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

/* =====================
   ANIMAÇÕES
   ===================== */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

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

.hero-content > * {
  animation: fadeUp 0.7s ease both;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.55s; }

/* =====================
   RESPONSIVO — TABLET (≤900px)
   ===================== */
@media (max-width: 900px) {
  nav { padding: 0 1.5rem; }

  .nav-links { display: none; }

  .hamburger { display: flex; }

  .mobile-menu { display: block; }

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

  .modules-grid { grid-template-columns: 1fr 1fr; }

  footer {
    padding: 1.5rem 2rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =====================
   RESPONSIVO — MOBILE (≤600px)
   ===================== */
@media (max-width: 600px) {
  :root { --nav-height: 64px; }

  nav { padding: 0 1.25rem; }

  .logo-text { font-size: 18px; }

  .logo-svg { width: 30px; height: 30px; }

  .hero {
    padding: calc(var(--nav-height) + 3rem) 1.25rem 3rem;
    min-height: auto;
  }

  h1 {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
    letter-spacing: -0.8px;
  }

  .br-desktop { display: none; }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 1rem;
  }

  .stat:last-child { border-bottom: none; }

  section {
    padding: 3.5rem 1.25rem;
  }

  h2 {
    font-size: clamp(1.4rem, 6vw, 2rem);
    letter-spacing: -0.5px;
  }

  .modules-full { padding: 3.5rem 0; }

  .modules-inner { padding: 0 1.25rem; }

  .modules-grid { grid-template-columns: 1fr; }

  .blueprints { padding: 3.5rem 1.25rem; }

  .bp-card {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.5rem;
  }

  .bp-num {
    font-size: 2rem;
  }

  .forquem { padding: 3.5rem 0; }

  .forquem-inner { padding: 0 1.25rem; }

  .audience-grid { grid-template-columns: 1fr; }

  .cta-final {
    padding: 4rem 1.25rem;
  }

  .cta-final .btn-primary {
    width: 100%;
    font-size: 15px;
    padding: 14px 24px;
  }

  footer {
    padding: 1.5rem 1.25rem;
    gap: 0.75rem;
  }

  .section-image-wrap {
    border-radius: 10px;
    margin-bottom: 2rem;
  }
}

/* =====================
   RESPONSIVO — SMALL (≤380px)
   ===================== */
@media (max-width: 380px) {
  h1 { font-size: 1.6rem; }
  .hero-badge { font-size: 11px; padding: 5px 12px; }
  .hero-sub { font-size: 0.88rem; }
}
