/* Página inicial (visitantes) — layout inspirado em landing de corretora */
:root {
  --lp-bg: #0a0e0c;
  --lp-surface: #121916;
  --lp-border: #1f2a24;
  --lp-text: #f4f1ee;
  --lp-muted: #a39e98;
  --lp-accent: #22c55e;
  --lp-accent-soft: #86efac;
  --lp-header-h: 64px;
}

.lp-body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--lp-bg);
  color: var(--lp-text);
  -webkit-font-smoothing: antialiased;
}

.lp-announce {
  text-align: center;
  font-size: 13px;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.14), rgba(134, 239, 172, 0.08));
  border-bottom: 1px solid var(--lp-border);
  color: var(--lp-muted);
}
.lp-announce strong { color: var(--lp-accent-soft); }
.lp-announce a {
  color: var(--lp-accent);
  font-weight: 600;
  margin-left: 8px;
  text-decoration: none;
}
.lp-announce a:hover { text-decoration: underline; }

.lp-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--lp-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid transparent;
  background: rgba(10, 14, 12, 0.88);
  backdrop-filter: blur(10px);
}
.lp-logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--lp-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-logo--image {
  font-size: 0; /* só imagem: evita gap de tipografia */
}
.lp-logo-img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
.lp-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-accent-soft), var(--lp-accent));
}
.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.lp-btn:active { transform: scale(0.98); }
.lp-btn-ghost {
  background: transparent;
  color: var(--lp-text);
  border-color: var(--lp-border);
}
.lp-btn-ghost:hover {
  border-color: var(--lp-muted);
  background: rgba(255, 255, 255, 0.04);
}
.lp-btn-primary {
  background: linear-gradient(135deg, #4ade80, var(--lp-accent));
  color: #052e16;
  border: none;
  box-shadow: 0 4px 24px rgba(34, 197, 94, 0.35);
}
.lp-btn-primary:hover {
  box-shadow: 0 6px 28px rgba(34, 197, 94, 0.48);
}

.lp-hero {
  position: relative;
  overflow: hidden;
  padding: 48px 20px 72px;
  max-width: 1200px;
  margin: 0 auto;
}
.lp-hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(34, 197, 94, 0.2), transparent 65%);
  pointer-events: none;
}
.lp-hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1fr 1fr; }
}
.lp-hero-copy { position: relative; z-index: 1; }
.lp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.lp-pill {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  color: var(--lp-muted);
}
.lp-pill strong { color: #7ee787; font-weight: 600; }
.lp-pill.down strong { color: #ff6b6b; }
.lp-h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.lp-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--lp-muted);
  line-height: 1.55;
  max-width: 36ch;
  margin: 0 0 28px;
}
.lp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.lp-trust {
  font-size: 14px;
  color: var(--lp-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-trust svg { flex-shrink: 0; }

.lp-visual {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  border: 1px solid var(--lp-border);
  background: linear-gradient(160deg, #141a16, #0e1210);
  display: flex;
  flex-direction: column;
  padding: 14px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  min-height: 340px;
}
/* Hero: só o gráfico — sem cartão exterior nem borda interior */
.lp-visual.lp-visual--chart-only {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  min-height: 0;
}
.lp-visual.lp-visual--chart-only .lp-chart-wrap {
  border: none;
  border-radius: 10px;
  background: #0c0f0d;
}
.lp-chart-wrap {
  flex: 0 0 auto;
  width: 100%;
  height: 300px;
  max-height: min(360px, 52vh);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0c0f0d;
  contain: strict;
  box-sizing: border-box;
}
.lp-chart-wrap #lpBtcChart {
  display: block;
  width: 100%;
  height: 300px;
  max-height: inherit;
  box-sizing: border-box;
}
@media (max-height: 700px) {
  .lp-chart-wrap,
  .lp-chart-wrap #lpBtcChart {
    height: 240px;
  }
  .lp-visual:not(.lp-visual--chart-only) {
    min-height: 268px;
  }
}

.lp-section {
  padding: 56px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.lp-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.lp-section-lead {
  color: var(--lp-muted);
  max-width: 52ch;
  margin: 0 0 36px;
  line-height: 1.55;
}
.lp-cards {
  display: grid;
  gap: 16px;
}
@media (min-width: 700px) {
  .lp-cards { grid-template-columns: repeat(3, 1fr); }
}
.lp-card {
  padding: 22px;
  border-radius: 14px;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
}
.lp-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.lp-card p {
  margin: 0;
  font-size: 14px;
  color: var(--lp-muted);
  line-height: 1.5;
}
.lp-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--lp-accent);
}
.lp-card-icon svg {
  display: block;
  flex-shrink: 0;
}

.lp-footer {
  padding: 40px 20px 32px;
  border-top: 1px solid var(--lp-border);
  max-width: 1200px;
  margin: 0 auto;
}
.lp-footer p {
  font-size: 12px;
  color: var(--lp-muted);
  line-height: 1.6;
  max-width: 90ch;
  margin: 0 0 12px;
}
.lp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  font-size: 13px;
}
.lp-footer-links a {
  color: var(--lp-muted);
  text-decoration: none;
}
.lp-footer-links a:hover { color: var(--lp-accent); }

/* Header em telas pequenas: botões compactos e alinhados (evita “Criar conta” em 2 linhas) */
@media (max-width: 640px) {
  :root {
    --lp-header-h: 52px;
  }
  .lp-header {
    padding: 0 10px;
    gap: 8px;
  }
  .lp-logo {
    min-width: 0;
  }
  .lp-logo-img {
    height: 28px;
    max-width: min(130px, 38vw);
  }
  .lp-logo:not(.lp-logo--image) {
    font-size: 1rem;
    gap: 6px;
  }
  .lp-logo-mark {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }
  .lp-nav-actions {
    gap: 6px;
    flex-shrink: 0;
  }
  .lp-header .lp-btn {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 8px;
    white-space: nowrap;
  }
  .lp-header .lp-btn-primary {
    box-shadow: 0 2px 14px rgba(34, 197, 94, 0.28);
  }
}

@media (max-width: 360px) {
  .lp-header {
    padding: 0 8px;
  }
  .lp-header .lp-btn {
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 7px;
  }
  .lp-nav-actions {
    gap: 4px;
  }
}
