/* ===================================================
   Variáveis e Reset
=================================================== */
:root {
  --roxo: #7800FF;
  --roxo-escuro: #2A005F;
  --roxo-claro: #E6D6FF;
  --preto: #050505;
  --cinza: #555555;
  --branco: #FFFFFF;
  --bg-suave: #F7F4FF;
  --gradiente: linear-gradient(135deg, #7800FF 0%, #2A005F 100%);
  --sombra: 0 20px 50px rgba(42, 0, 95, 0.12);
  --sombra-card: 0 12px 30px rgba(42, 0, 95, 0.08);
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--preto);
  background: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.highlight {
  color: var(--roxo);
}

.highlight-light {
  background: linear-gradient(120deg, #C9A7FF, #E6D6FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================================================
   Botões
=================================================== */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 18px 34px;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn--primary {
  background: var(--gradiente);
  color: #fff;
  box-shadow: 0 14px 30px rgba(120, 0, 255, 0.35);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(120, 0, 255, 0.45);
}

.btn--light {
  background: #fff;
  color: var(--roxo-escuro);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.btn--light:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Bullets com check */
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--roxo-claro);
  color: var(--roxo);
  font-size: 0.8rem;
  font-weight: 800;
  margin-right: 10px;
}

/* ===================================================
   SEÇÃO 1 — HERO
=================================================== */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background:
    radial-gradient(circle at 85% 15%, rgba(120, 0, 255, 0.10), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(120, 0, 255, 0.06), transparent 40%),
    var(--branco);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 54px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-block;
  background: var(--roxo-claro);
  color: var(--roxo-escuro);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--cinza);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero__bullets {
  list-style: none;
  margin-bottom: 34px;
}

.hero__bullets li {
  display: flex;
  align-items: center;
  font-weight: 500;
  margin-bottom: 12px;
  color: #222;
}

/* ===================================================
   Mockup do sistema (laptop)
=================================================== */
.hero__mockup {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Animação de entrada do computador */
@keyframes laptopEntrada {
  from {
    opacity: 0;
    transform: perspective(1200px) rotateX(14deg) translateY(50px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: perspective(1200px) rotateX(0deg) translateY(0) scale(1);
  }
}

/* Flutuação contínua suave após a entrada */
@keyframes laptopFlutua {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Entrada dos chips */
@keyframes chipEntrada {
  from { opacity: 0; transform: translateY(14px) scale(0.85); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.laptop {
  width: 100%;
  max-width: 560px;
  transform-origin: center bottom;
  animation:
    laptopEntrada 1s cubic-bezier(0.16, 0.84, 0.44, 1) both,
    laptopFlutua 6s ease-in-out 1.1s infinite;
}

.float-chip {
  opacity: 0;
  animation: chipEntrada 0.6s ease both;
}

.float-chip--1 { animation-delay: 0.7s; }
.float-chip--2 { animation-delay: 0.95s; }

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  .laptop,
  .float-chip {
    animation: none;
    opacity: 1;
  }
}

.laptop__screen {
  background: #0e0a1f;
  border-radius: 16px 16px 0 0;
  padding: 12px;
  box-shadow: var(--sombra);
}

.laptop__base {
  height: 16px;
  background: linear-gradient(180deg, #d4cfe0, #b6afc9);
  border-radius: 0 0 14px 14px;
  width: 112%;
  margin-left: -6%;
  box-shadow: 0 14px 24px rgba(42, 0, 95, 0.18);
}

.app {
  display: grid;
  grid-template-columns: 78px 1fr 120px;
  background: #f4f1fb;
  border-radius: 8px;
  overflow: hidden;
  height: 340px;
  font-size: 9px;
}

/* Sidebar escura */
.app__sidebar {
  background: linear-gradient(180deg, #2A005F, #1a0140);
  color: #fff;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
}

.app__logo {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 18px;
}

.app__logo-mark {
  width: 18px;
  height: 18px;
  background: var(--roxo);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.app__logo-text {
  font-weight: 800;
  font-size: 10px;
}

.app__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app__nav-bottom {
  margin-top: auto;
}

.app__nav-item {
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 7px;
  border-radius: 6px;
  white-space: nowrap;
  font-weight: 500;
}

.app__nav-item.is-active {
  background: rgba(120, 0, 255, 0.35);
  color: #fff;
  font-weight: 700;
}

/* Conteúdo principal */
.app__main {
  padding: 12px;
  overflow: hidden;
}

.app__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.app__app-title {
  font-weight: 800;
  font-size: 11px;
  color: var(--preto);
}

.app__avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gradiente);
}

.app__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.kpi {
  background: #fff;
  border-radius: 8px;
  padding: 9px;
  box-shadow: 0 4px 10px rgba(42, 0, 95, 0.06);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kpi__label {
  color: var(--cinza);
  font-weight: 600;
}

.kpi__value {
  font-size: 15px;
  font-weight: 900;
  color: var(--roxo-escuro);
}

.kpi__bar {
  height: 4px;
  background: #ece6f8;
  border-radius: 4px;
  overflow: hidden;
}

.kpi__bar i {
  display: block;
  height: 100%;
  background: var(--gradiente);
}

/* Tabela */
.app__table {
  background: #fff;
  border-radius: 8px;
  padding: 6px 8px;
  box-shadow: 0 4px 10px rgba(42, 0, 95, 0.06);
}

.app__table-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.9fr;
  align-items: center;
  padding: 6px 2px;
  border-bottom: 1px solid #f0ecf8;
}

.app__table-row:last-child {
  border-bottom: none;
}

.app__table-row--head {
  color: var(--cinza);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 7px;
  letter-spacing: 0.5px;
}

.tag {
  justify-self: start;
  padding: 2px 7px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 7px;
}

.tag--ok {
  background: #e3f9ec;
  color: #15924c;
}

.tag--wait {
  background: var(--roxo-claro);
  color: var(--roxo);
}

/* Painel de proposta */
.app__proposal {
  background: #fff;
  padding: 12px 9px;
  border-left: 1px solid #ece6f8;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proposal__head {
  font-weight: 800;
  font-size: 10px;
}

.proposal__panel {
  height: 52px;
  border-radius: 8px;
  background: var(--gradiente);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
}

.proposal__line {
  height: 7px;
  border-radius: 4px;
  background: #ece6f8;
}

.proposal__line--sm {
  width: 60%;
}

.proposal__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  margin-top: auto;
}

.proposal__total strong {
  color: var(--roxo-escuro);
  font-size: 11px;
}

.proposal__btn {
  background: var(--roxo);
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 7px;
  border-radius: 6px;
}

/* Chips flutuantes */
.float-chip {
  position: absolute;
  background: #fff;
  border-radius: 50px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--sombra-card);
  color: var(--roxo-escuro);
}

.float-chip--1 {
  top: 6%;
  left: -4%;
}

.float-chip--2 {
  bottom: 8%;
  right: -2%;
}

/* ===================================================
   Cabeçalho de seção (reutilizável)
=================================================== */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--cinza);
}

/* ===================================================
   SEÇÃO 2 — COMO FUNCIONA
=================================================== */
.how {
  padding: 100px 0;
  background: var(--bg-suave);
}

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

.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--sombra-card);
  border: 1px solid #efe9fb;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(42, 0, 95, 0.14);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--gradiente);
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.step__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.25;
}

.step__text {
  color: var(--cinza);
  font-size: 0.98rem;
}

/* ===================================================
   SEÇÃO 3 — CTA FINAL
=================================================== */
.cta {
  padding: 100px 0 0;
  background: var(--branco);
}

.cta__card {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, rgba(120, 0, 255, 0.45), transparent 50%),
    var(--gradiente);
  border-radius: 32px;
  padding: 70px 60px;
  color: #fff;
  text-align: center;
  box-shadow: 0 30px 60px rgba(42, 0, 95, 0.35);
  overflow: hidden;
}

.cta__title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.12;
  max-width: 760px;
  margin: 0 auto 18px;
}

.cta__text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  margin: 0 auto 30px;
}

.cta__bullets {
  list-style: none;
  display: inline-grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 34px;
  text-align: left;
  margin: 0 auto 38px;
}

.cta__bullets li {
  display: flex;
  align-items: center;
  font-weight: 500;
}

.cta__bullets .check {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 24px;
  color: var(--cinza);
  font-size: 0.9rem;
}

/* ===================================================
   RESPONSIVIDADE
=================================================== */
@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero__content {
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__bullets {
    display: inline-block;
    text-align: left;
  }

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

@media (max-width: 760px) {
  .hero {
    padding: 50px 0 70px;
  }

  .float-chip--1 { left: 2%; }
  .float-chip--2 { right: 2%; }

  .app {
    font-size: 8px;
    height: 300px;
  }

  .cta__card {
    padding: 50px 26px;
  }

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

@media (max-width: 560px) {
  .container {
    padding: 0 18px;
  }

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

  .btn {
    width: 100%;
  }

  /* Mockup compacto no mobile, sem cortes */
  .app {
    grid-template-columns: 64px 1fr;
    height: auto;
  }

  .app__proposal {
    display: none;
  }

  .app__cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .float-chip {
    font-size: 0.75rem;
    padding: 8px 12px;
  }
}
