/* Página inicial (landing). Usa as variáveis de cor de style.css. */

body.landing {
  display: block;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.landing h1, body.landing h2, body.landing h3 { margin: 0; letter-spacing: -.02em; line-height: 1.15; }
.lp-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

[data-theme="light"] .only-dark,
[data-theme="dark"] .only-light { display: none; }

/* ---------- Cabeçalho ---------- */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
}
.lp-header.scrolled { border-bottom-color: var(--col-border); }
.lp-header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--text);
  text-decoration: none;
}
.lp-nav { display: flex; gap: 28px; margin-left: 12px; }
.lp-nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.lp-nav a:hover { color: var(--text); }
.lp-header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* ---------- Botões ---------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background-color .15s !important;
}
.lp-btn svg { width: 18px; height: 18px; }
.lp-btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.lp-btn-primary { color: #fff; background: var(--accent); box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 35%, transparent); }
.lp-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 45%, transparent); }
[data-theme="dark"] .lp-btn-primary { color: #0d0f13; }
.lp-btn-light { color: #2f45c8; background: #fff; }
.lp-btn-light:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0, 0, 0, .2); }
.lp-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.lp-google { width: auto; height: 48px; margin: 0; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.lp-google svg { width: 20px; height: 20px; }
.landing a.loading { opacity: .7; pointer-events: none; }

/* ---------- Topo ---------- */
.lp-hero { position: relative; padding: 72px 0 40px; text-align: center; }
.lp-hero::before {
  content: '';
  position: absolute;
  inset: -120px 0 auto;
  height: 620px;
  z-index: -1;
  background:
    radial-gradient(600px 300px at 50% 30%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
    radial-gradient(400px 220px at 75% 55%, color-mix(in srgb, #30c27a 10%, transparent), transparent 70%);
  pointer-events: none;
}
.lp-pill {
  display: inline-block;
  margin: 0 0 22px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: var(--col);
  border: 1px solid var(--col-border);
  border-radius: 999px;
}
.lp-hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 700; letter-spacing: -.035em; }
.lp-lead { max-width: 620px; margin: 22px auto 0; font-size: clamp(17px, 2vw, 19px); color: var(--muted); }
.lp-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.lp-small { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.lp-small a { color: var(--text); }

/* ---------- Prints do app ---------- */
.lp-shot { margin: 56px auto 0; max-width: 1040px; }
.lp-window {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 30px 80px -20px rgba(16, 24, 40, .25), 0 0 0 1px rgba(16, 24, 40, .02);
}
[data-theme="dark"] .lp-window { box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.lp-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  background: var(--col);
  border-bottom: 1px solid var(--col-border);
}
.lp-window-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--card-border); }
.lp-window-bar em {
  margin: 0 auto;
  padding: 2px 40px;
  font-style: normal;
  font-size: 12px;
  color: var(--faint);
  background: var(--bg);
  border-radius: 6px;
  transform: translateX(-22px);
}
.lp-window img { display: block; width: 100%; height: auto; }

/* ---------- Seções ---------- */
.lp-section { padding: 88px 0; }
.lp-section > .lp-wrap > h2, .lp-split-text h2, .lp-privacy h2, .lp-faq-wrap h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -.03em;
  max-width: 720px;
}
.lp-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Recursos */
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.lp-card {
  padding: 26px 24px;
  background: var(--col);
  border: 1px solid var(--col-border);
  border-radius: 16px;
}
.lp-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 11px;
}
.lp-icon svg { width: 21px; height: 21px; }
.lp-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.lp-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Metas: texto + print */
.lp-split-section { padding-top: 40px; }
.lp-split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.lp-split-text p { color: var(--muted); font-size: 17px; margin: 18px 0 0; }
.lp-shot-side { margin: 0; max-width: none; }

.lp-checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.lp-checks li { position: relative; padding-left: 32px; font-weight: 500; }
.lp-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Como funciona */
.lp-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 44px 0 0; padding: 0; }
.lp-steps li { padding: 26px 24px; border: 1px solid var(--col-border); border-radius: 16px; }
.lp-step-n {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
}
[data-theme="dark"] .lp-step-n { color: #0d0f13; }
.lp-steps h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.lp-steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* Privacidade */
.lp-privacy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--col);
  border: 1px solid var(--col-border);
  border-radius: 24px;
}
.lp-privacy p { color: var(--muted); font-size: 17px; margin: 18px 0 20px; }
.lp-link { font-weight: 600; color: var(--accent); text-decoration: none; }
.lp-link:hover { text-decoration: underline; }
.lp-checks-big { margin: 0; gap: 16px; }
.lp-checks-big li {
  padding: 16px 18px 16px 50px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
}
.lp-checks-big li::before { left: 18px; top: 18px; }

/* Dúvidas */
.lp-faq-wrap { max-width: 800px; }
.lp-faq { margin-top: 36px; border-top: 1px solid var(--col-border); }
.lp-faq details { border-bottom: 1px solid var(--col-border); }
.lp-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: '+';
  flex: none;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--muted);
  transition: transform .2s !important;
}
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { margin: 0 0 20px; color: var(--muted); }
.lp-faq a { color: var(--accent); }

/* Chamada final */
.lp-final {
  padding: 64px 32px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #5b78ff, #3d55e0);
  border-radius: 24px;
}
.lp-final img { margin-bottom: 20px; border-radius: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.lp-final h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.03em; }
.lp-final p { margin: 12px 0 28px; font-size: 18px; opacity: .85; }

/* Rodapé */
.lp-footer { padding: 32px 0 48px; border-top: 1px solid var(--col-border); }
.lp-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lp-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.lp-footer nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.lp-footer nav a:hover { color: var(--text); }

/* Planos */
.lp-sub { margin: 14px 0 0; max-width: 620px; color: var(--muted); font-size: 17px; }
.lp-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; align-items: stretch; }
.lp-price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  background: var(--col);
  border: 1px solid var(--col-border);
  border-radius: 18px;
}
.lp-price-featured { background: var(--card); border: 2px solid var(--accent); box-shadow: 0 18px 40px -22px rgba(79, 107, 255, .55); }
.lp-price-badge {
  position: absolute; top: -13px; left: 24px;
  padding: 4px 12px; font-size: 12px; font-weight: 700; color: #fff;
  background: var(--accent); border-radius: 999px;
}
.lp-price h3 { margin: 0; font-size: 18px; font-weight: 600; }
.lp-price-value { margin: 14px 0 0; display: flex; align-items: baseline; gap: 4px; }
.lp-price-value strong { font-size: 36px; font-weight: 700; letter-spacing: -.03em; }
.lp-price-value span { color: var(--muted); font-size: 15px; }
.lp-price-note { margin: 4px 0 0; min-height: 22px; color: var(--muted); font-size: 14px; }
.lp-price-note strong { color: var(--text); font-weight: 600; }
.lp-price ul { list-style: none; margin: 22px 0 26px; padding: 0; display: grid; gap: 11px; flex: 1; align-content: start; }
.lp-price li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.lp-price li svg { flex: none; width: 17px; height: 17px; margin-top: 3px; color: var(--ok); }
.lp-price .lp-btn { width: 100%; }
.lp-btn-ghost { color: var(--text); background: var(--card); border-color: var(--card-border); }
.lp-btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.lp-price-foot { margin: 22px 0 0; color: var(--muted); font-size: 14px; text-align: center; }

/* ---------- Telas menores ---------- */
@media (max-width: 900px) {
  .lp-nav { display: none; }
  .lp-grid, .lp-steps { grid-template-columns: 1fr 1fr; }
  .lp-pricing { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; gap: 26px; }
  .lp-split, .lp-privacy { grid-template-columns: 1fr; gap: 32px; }
  .lp-privacy { padding: 32px 24px; }
  .lp-section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .lp-wrap { padding: 0 18px; }
  .lp-hero { padding-top: 44px; }
  .lp-br { display: none; }
  .lp-cta { flex-direction: column; align-items: stretch; }
  .lp-cta > * { width: 100%; }
  .lp-grid, .lp-steps { grid-template-columns: 1fr; }
  .lp-shot { margin-top: 40px; }
  .lp-window { border-radius: 12px; }
  .lp-window-bar em { display: none; }
  .lp-final { padding: 48px 22px; }
  .lp-btn-sm { padding: 0 12px; }
}
