/* =========================================================
   /leadapp/ — destino do botão "Cadastrar" do app Meu Vista.
   Identidade do app (meu-planejador-app, cliente meuvista): degradê roxo → ciano do logo
   (#943DFF → #10a4c3) e as ilustrações do carrossel da tela de login.
   Mobile-first: estilos base = celular, @media min-width = telas maiores.
   ========================================================= */

.app {
  --app-roxo: #943dff;
  --app-ciano: #10a4c3;
  --app-degrade: linear-gradient(90deg, var(--app-roxo) 0%, var(--app-ciano) 100%);
}

html, body { margin: 0; }
body {
  background: var(--bg-deep);
  color: var(--fg-muted);
  font-family: var(--font-texto);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Topo da página ---------- */
.app {
  position: relative;
  overflow: hidden;
  padding: 40px 0 64px;
}
.app__glow { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.app__glow--roxo { top: -200px; left: -180px; width: 560px; height: 560px; background: rgba(148, 61, 255, 0.28); }
.app__glow--ciano { bottom: -240px; right: -160px; width: 560px; height: 560px; background: rgba(16, 164, 195, 0.22); }

.app__grade {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.app__texto { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.app__texto p { margin: 0; max-width: 580px; font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.app__texto strong { color: var(--fg-white); font-weight: 600; }

.app__selo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(220, 219, 235, 0.14);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.app__selo img { width: 32px; height: 32px; border-radius: 9px; }

.app__titulo {
  margin: 4px 0 0;
  font-family: var(--font-titulo);
  font-size: clamp(34px, 7vw, 60px);
  line-height: 1.08;
  letter-spacing: -1.4px;
  font-weight: 700;
  color: var(--fg-white);
  text-wrap: balance;
}
.app__destaque {
  background: var(--app-degrade);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.app__texto .app__sub { font-size: clamp(18px, 2.6vw, 21px); line-height: 1.4; color: var(--app-ciano); font-weight: 600; }
.app__texto .app__passo { padding-top: 6px; font-size: 18px; font-weight: 600; color: var(--fg-white); }

.app__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 8px;
  padding: 14px 30px;
  border-radius: 9999px;
  background: var(--app-degrade);
  color: var(--fg-white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(16, 164, 195, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.app__btn:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(148, 61, 255, 0.35); color: var(--fg-white); }

/* Planejador procurando plataforma → demonstração (formulário da Home) */
.app__planejador {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 6px;
  padding-top: 20px;
  border-top: 1px solid rgba(220, 219, 235, 0.12);
  width: 100%;
  max-width: 580px;
}
.app__texto .app__planejador p { font-size: 15px; color: var(--fg-dim); }
.app__btn-contorno {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 9999px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  box-shadow: inset 0 0 0 1.5px var(--teal);
}
.app__btn-contorno:hover { background: rgba(78, 206, 197, 0.12); color: var(--teal-hover); }

/* Celulares: a mesma imagem do app que a Home usa */
.app__tela { margin: 0; justify-self: center; width: min(100%, 520px); }
.app__tela img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5));
}

/* ---------- Telas maiores ---------- */
@media (min-width: 1000px) {
  .app { padding: 72px 0 96px; }
  .app__grade { grid-template-columns: minmax(0, 1fr) 520px; gap: 56px; padding: 0 24px; }
}
