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

:root {
  --purple-primary: #6B4EFF;
  --purple-light: #8B6FFF;
  --purple-dark: #4B2EDF;
  --purple-glow: rgba(107, 78, 255, 0.3);
  --bg-primary: #080810;
  --bg-secondary: #0d0d1a;
  --bg-card: #12121f;
  --bg-card-hover: #1a1a2e;
  --text-primary: #ffffff;
  --text-secondary: #9090aa;
  --border-color: rgba(107, 78, 255, 0.2);
}

html {
  scroll-behavior: smooth;
}

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

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 8, 16, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

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

.navbar-logo img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.navbar-logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  line-height: 1.2;
}

.navbar-logo-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-secondary);
  display: block;
  line-height: 1;
}

.navbar-cta {
  background: var(--purple-primary);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.navbar-cta:hover {
  background: var(--purple-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--purple-glow);
}

/* ─── HERO ─── */
.hero {
  display: flex;
  align-items: center;
  padding: 96px 40px 48px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(107, 78, 255, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(107, 78, 255, 0.12);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--purple-light);
  margin-bottom: 24px;
}

.hero-badge span {
  width: 7px;
  height: 7px;
  background: var(--purple-light);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.13;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 460px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--purple-primary);
  color: #fff;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 36px var(--purple-glow);
}

.hero-cta:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 0 56px var(--purple-glow);
}

.hero-cta svg,
.cta-button svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.hero-cta:hover svg,
.cta-button:hover svg {
  transform: translateX(4px);
}

/* Hero coluna direita */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color 0.2s, transform 0.2s;
}

.hero-card:hover {
  border-color: rgba(107, 78, 255, 0.45);
  transform: translateY(-2px);
}

.hero-card--assets {
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.hero-card-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero-assets {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-assets-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.asset-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color 0.2s;
}

.asset-chip:hover {
  border-color: var(--purple-primary);
}

.asset-chip--more {
  color: var(--text-secondary);
  font-style: italic;
  font-weight: 500;
  border-style: dashed;
}

.asset-chip--lg {
  padding: 8px 16px;
  font-size: 14px;
}

.hero-card--pix {
  border-color: rgba(107, 78, 255, 0.4);
  background: linear-gradient(135deg, rgba(107, 78, 255, 0.1) 0%, var(--bg-card) 100%);
}

.asset-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── SECTIONS BASE ─── */
section {
  padding: 96px 24px;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple-light);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 540px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

/* ─── WHY MADISON ─── */
.why {
  background: var(--bg-secondary);
  padding-top: 48px;
  padding-bottom: 48px;
}

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 24px;
  transition: background 0.2s, transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(107, 78, 255, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(107, 78, 255, 0.12);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(107, 78, 255, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}

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

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

/* ─── HOW IT WORKS ─── */
.how {
  background: var(--bg-primary);
}

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

.steps-grid::before {
  content: '';
  position: absolute;
  top: 35px;
  left: calc(12.5% + 8px);
  right: calc(12.5% + 8px);
  height: 1px;
  background: linear-gradient(90deg, var(--purple-primary), rgba(107, 78, 255, 0.2), var(--purple-primary));
  z-index: 0;
}

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

.step-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 0 28px var(--purple-glow);
  flex-shrink: 0;
  border: 3px solid var(--bg-primary);
}

.step h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── CTA FINAL ─── */
.cta-section {
  background: var(--bg-secondary);
  padding: 48px 24px;
}

.cta-box {
  background: linear-gradient(135deg, rgba(107, 78, 255, 0.12) 0%, rgba(75, 46, 223, 0.06) 100%);
  border: 1px solid rgba(107, 78, 255, 0.3);
  border-radius: 20px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(107, 78, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box-text {
  position: relative;
}

.cta-box h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.cta-box p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--purple-primary);
  color: #fff;
  text-decoration: none;
  padding: 18px 42px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 44px var(--purple-glow);
  position: relative;
}

.cta-button:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 0 64px var(--purple-glow);
}

/* ─── FOOTER ─── */
footer {
  padding: 40px 24px 48px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-primary);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.footer-logo span {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 780px;
}

.footer-disclaimer a {
  color: var(--purple-light);
  text-decoration: none;
}

.footer-disclaimer a:hover {
  text-decoration: underline;
}

/* ─── STICKY MOBILE CTA ─── */
.sticky-cta {
  display: none;
}

@media (max-width: 600px) {
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 12px 20px 28px;
    background: linear-gradient(to top, var(--bg-primary) 70%, transparent);
  }

  .sticky-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--purple-primary);
    color: #fff;
    text-decoration: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 0 32px var(--purple-glow);
    transition: background 0.2s;
  }

  .sticky-cta-button:hover {
    background: var(--purple-light);
  }
}
@media (max-width: 900px) {
  .navbar {
    padding: 14px 24px;
  }

  .hero {
    padding: 72px 24px 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-left {
    align-items: center;
    text-align: center;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 0;
  }

  .steps-grid::before {
    display: none;
  }
}

/* ─── RESPONSIVE: MOBILE ─── */
@media (max-width: 600px) {
  .navbar {
    padding: 12px 20px;
  }

  .navbar-logo-sub {
    display: none;
  }

  .navbar-cta {
    padding: 9px 16px;
    font-size: 13px;
  }

  .hero {
    padding: 68px 20px 52px;
  }

  section {
    padding: 72px 20px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .step {
    padding: 0;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 20px;
  }

  .cta-button {
    font-size: 16px;
    padding: 14px 24px;
    width: 100%;
    justify-content: center;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-assets {
    gap: 8px;
  }

  /* Hero right: lista simples sem cards no mobile */
  .hero-right {
    gap: 0;
  }

  .hero-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(107, 78, 255, 0.12);
    gap: 12px;
  }

  .hero-card:last-child {
    border-bottom: none;
  }

  .hero-card:hover {
    background: transparent;
    transform: none;
    border-color: rgba(107, 78, 255, 0.12);
    box-shadow: none;
  }

  .hero-card--assets {
    padding: 12px 0 0;
    border-bottom: none;
  }

  .hero-card-icon {
    font-size: 18px;
  }

  .hero-card h3 {
    font-size: 14px;
  }

  .hero-card p {
    font-size: 13px;
  }
}
