/* XP Obras — landing (home pública e política de privacidade). Segue CLAUDE-landing.md e design/templates/Home*.html.
   Mesmos tokens do sistema; tudo escopado em .lp para não vazar. Substitui landing.css. */

.lp { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: #111827; font-size: 16px; line-height: 1.6; background: #fff; -webkit-font-smoothing: antialiased; }
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
:where(.lp) :where(h1, h2, h3, p) { margin: 0; }
.lp a { color: #4F46E5; }
.lp a:hover { color: #3730A3; }
.lp-wrap, .lp-home-container { max-width: 1120px; margin: 0 auto; padding: 0 32px; width: 100%; }
.lp :focus-visible { outline: 2px solid #4F46E5; outline-offset: 2px; }
.lp .lp-dark :focus-visible { outline-color: #A5B4FC; }

/* Botões (48px; .s = 40px) */
.lp .lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 8px; border: 1px solid #D1D5DB; background: #fff; color: #374151; font: inherit; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background 150ms ease, border-color 150ms ease, color 150ms ease; }
.lp .lp-btn:hover { background: #F9FAFB; border-color: #9CA3AF; color: #111827; }
.lp .lp-btn--p { background: #4F46E5; border-color: #4F46E5; color: #fff; }
.lp .lp-btn--p:hover { background: #4338CA; border-color: #4338CA; color: #fff; }
.lp .lp-btn--w { background: #fff; border-color: #fff; color: #111827; }
.lp .lp-btn--w:hover { background: #EEF2FF; border-color: #EEF2FF; color: #111827; }
.lp .lp-btn--g { background: transparent; border-color: #3B3F6B; color: #fff; }
.lp .lp-btn--g:hover { background: rgba(255, 255, 255, 0.06); border-color: #6B6F8A; color: #fff; }
.lp .lp-btn--s { height: 40px; padding: 0 16px; font-size: 14px; }
.lp .lp-btn--block { width: 100%; }

/* Navegação */
.lp-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid #E5E7EB; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lp-header__bar { display: flex; align-items: center; gap: 32px; height: 64px; }
.lp .lp-logo { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: #111827; text-decoration: none; }
.lp .lp-logo:hover { color: #111827; }
.lp-nav { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.lp .lp-nav a, .lp .lp-nav button { color: #374151; text-decoration: none; font: inherit; font-size: 14px; font-weight: 500; background: none; border: 0; padding: 0; cursor: pointer; }
.lp .lp-nav a:hover, .lp .lp-nav button:hover { color: #4F46E5; }
.lp-header__cta { display: flex; gap: 8px; }
.lp-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: #111827; align-items: center; justify-content: center; cursor: pointer; }
.lp-burger svg { width: 22px; height: 22px; }
.lp-drawer { display: none; border-top: 1px solid #E5E7EB; background: #fff; padding: 12px 16px 20px; }
.lp-drawer.is-open { display: block; }
.lp .lp-drawer a.lp-drawer__link, .lp .lp-drawer button.lp-drawer__link { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0 8px; color: #111827; text-decoration: none; font: inherit; font-size: 15px; font-weight: 500; background: none; border: 0; text-align: left; cursor: pointer; border-radius: 8px; }
.lp .lp-drawer a.lp-drawer__link:hover, .lp .lp-drawer button.lp-drawer__link:hover { background: #F7F7F9; }
.lp-drawer__cta { display: grid; gap: 8px; margin-top: 12px; }

/* Seções */
.lp-sec { padding: 88px 0; scroll-margin-top: 64px; }
.lp-sec--alt { background: #F7F7F9; }
.lp-h2 { margin: 0 0 8px; font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; text-align: center; }
.lp-h2--left { text-align: left; }
.lp-lead { margin: 0 auto; max-width: 620px; text-align: center; color: #6B7280; font-size: 17px; }
.lp-lead--left { text-align: left; margin: 0; }
.lp-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #4F46E5; margin-bottom: 12px; }

/* Cartões */
.lp-card { background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04); }
.lp-ic { width: 40px; height: 40px; border-radius: 10px; background: #EEF2FF; color: #4F46E5; display: flex; align-items: center; justify-content: center; flex: none; }
.lp-ic--sm { width: 28px; height: 28px; border-radius: 8px; }
.lp-ck { width: 28px; height: 28px; border-radius: 50%; background: #ECFDF5; color: #059669; display: flex; align-items: center; justify-content: center; flex: none; }
.lp-grid { display: grid; gap: 16px; margin-top: 40px; }
.lp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-pillar { padding: 24px; }
.lp-pillar .lp-ic { margin-bottom: 14px; }
.lp-pillar h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.lp-pillar p { font-size: 14px; color: #6B7280; }
.lp-q { display: flex; gap: 16px; padding: 20px 24px; align-items: flex-start; }
.lp-q b { display: block; font-weight: 600; font-size: 16px; }
.lp-q span { color: #6B7280; font-size: 14px; }
.lp-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lp-split { display: grid; gap: 56px; align-items: start; }
.lp-split--5-7 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.lp-split--7-5 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.lp-step { padding: 28px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.lp-step b { font-weight: 600; font-size: 16px; }
.lp-step span.lp-txt { font-size: 14px; color: #6B7280; }
.lp-num { width: 36px; height: 36px; border-radius: 50%; background: #4F46E5; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.lp-fact { padding: 24px; }
.lp-fact .lp-kicker { margin-bottom: 8px; }
.lp-fact p { font-size: 14px; color: #6B7280; }
.lp-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 32px; font-size: 14px; color: #374151; }
.lp-li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.lp-li svg { flex: none; margin-top: 4px; }
.lp-trust .lp-li { align-items: center; }

/* Faixas escuras: #0E0F1F + padrão isométrico */
.lp-dark { background: #0E0F1F; color: #C7C8D9; position: relative; overflow: hidden; }
.lp-dark .lp-pat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; pointer-events: none; }
.lp-dark > .lp-wrap { position: relative; }
.lp-hero { padding: 96px 0 88px; }
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lp-hero .lp-kicker { color: #A5B4FC; margin-bottom: 16px; }
.lp-hero h1 { font-size: 52px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: #fff; margin-bottom: 20px; }
.lp-hero__lead { font-size: 18px; color: #A5A8C4; max-width: 520px; margin-bottom: 32px; }
.lp-hero__lead b { color: #fff; font-weight: 600; }
.lp-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-assure { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 13px; color: #A5A8C4; }
.lp-assure span { display: inline-flex; align-items: center; gap: 6px; }

/* Vídeo/captura do hero (ganchos do landing-video.js mantidos) */
.lp-home-video { margin: 0; }
.lp-home-video__frame { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid #262A36; background: #171A23; aspect-ratio: 16 / 10; }
.lp-home-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-home-video__frame video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }
.lp-home-video__play { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(14, 15, 31, 0.10); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; color: #fff; }
.lp-home-video__play[hidden] { display: none; }
.lp-home-video__poster[hidden] { display: none; }
.lp-home-video__btn { width: 64px; height: 64px; border-radius: 50%; background: #4F46E5; display: flex; align-items: center; justify-content: center; transition: transform 150ms ease, background 150ms ease; }
.lp-home-video__play:hover .lp-home-video__btn { background: #4338CA; transform: scale(1.05); }
.lp-home-video__btn svg { width: 26px; height: 26px; margin-left: 3px; }
.lp-home-video__label { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: rgba(14, 15, 31, 0.85); border: 1px solid #3B3F6B; border-radius: 999px; padding: 6px 12px; font-size: 12px; color: #fff; font-weight: 500; }
.lp-home-video__label small { font-size: 12px; color: #A5B4FC; }
.lp-home-video.is-loading .lp-home-video__btn { opacity: 0.5; }

/* Faixa do meio / final */
.lp-mid { padding: 64px 0; }
.lp-mid__row { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.lp-mid__text { flex: 1 1 420px; }
.lp-mid h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin-bottom: 8px; }
.lp-mid p { color: #A5A8C4; margin-bottom: 16px; }
.lp-mid__bullets { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: #C7C8D9; }
.lp-final { padding: 88px 0; text-align: center; }
.lp-final h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin-bottom: 12px; }
.lp-final p.lp-final__lead { margin: 0 auto 28px; max-width: 520px; color: #A5A8C4; font-size: 17px; }
.lp-final p.lp-final__small { margin: 16px 0 0; font-size: 13px; color: #8A8EA8; }

/* Diárias: card com captura real */
.lp-capture { padding: 24px; background: #F7F7F9; }
.lp-capture b { display: block; font-weight: 600; font-size: 18px; margin-bottom: 12px; }
.lp-capture__img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid #E5E7EB; background: #fff; }
.lp-capture .lp-btn { margin-top: 16px; }
.lp-capture p { font-size: 14px; color: #6B7280; margin-bottom: 4px; }

/* Instalar app (aparece só quando o navegador permite; ganchos do pwa.js) */
.lp-instalar[hidden] { display: none; }
.lp-instalar { padding: 0 0 56px; }
.lp-instalar__card { position: relative; display: flex; gap: 20px; align-items: flex-start; padding: 24px; background: #F7F7F9; border: 1px solid #E5E7EB; border-radius: 12px; }
.lp-instalar__icone { width: 48px; height: 48px; border-radius: 12px; background: #4F46E5; display: flex; align-items: center; justify-content: center; flex: none; }
.lp-instalar__texto { flex: 1 1 auto; min-width: 0; padding-right: 32px; }
.lp-instalar__titulo { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.lp-instalar__lead { font-size: 14px; color: #6B7280; margin-bottom: 12px; }
.lp-instalar__passos { margin: 0; padding-left: 20px; font-size: 14px; color: #374151; }
.lp-instalar [hidden] { display: none; }
.lp-instalar__fechar { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: transparent; color: #6B7280; font-size: 22px; cursor: pointer; border-radius: 8px; }
.lp-instalar__fechar:hover { background: #E5E7EB; }

/* Rodapé */
.lp-footer { background: #0E0F1F; border-top: 1px solid #262A36; color: #8A8EA8; font-size: 13px; }
.lp-footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 28px 32px; }
.lp-footer__brand { display: flex; align-items: center; gap: 10px; color: #C7C8D9; }
.lp-footer__brand b { font-weight: 700; font-size: 15px; color: #fff; }
.lp-footer nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.lp .lp-footer a { color: #A5A8C4; text-decoration: none; }
.lp .lp-footer a:hover { color: #fff; text-decoration: underline; }
.lp-footer__copy { flex: 1 0 100%; }

/* Política de privacidade (mesmo layout, classes lp-legal__*) */
.lp-legal__hero { background: #0E0F1F; padding: 64px 0 56px; position: relative; overflow: hidden; }
.lp-legal__hero::before { content: ""; position: absolute; inset: 0; background: url("/img/bg-iso.svg") center top / cover no-repeat; opacity: 0.9; pointer-events: none; }
.lp-legal__hero .lp-home-container { position: relative; }
.lp-legal__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #A5B4FC; margin-bottom: 12px; }
.lp-legal__title { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: #fff; margin-bottom: 8px; }
.lp-legal__meta { font-size: 14px; color: #A5A8C4; }
.lp-legal__wrap { padding-top: 40px; padding-bottom: 80px; }
.lp-legal__paper { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04); padding: 40px; }
.lp-legal__lead { font-size: 17px; color: #374151; margin-bottom: 24px; }
.lp-legal__body h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin: 32px 0 8px; }
.lp-legal__body h2:first-of-type { margin-top: 8px; }
.lp-legal__body p, .lp-legal__body li { font-size: 15px; color: #374151; }
.lp-legal__body p { margin-bottom: 12px; }
.lp-legal__body ul { padding-left: 20px; margin: 0 0 12px; }
.lp-legal__body li { margin-bottom: 6px; }
.lp-legal__body li::marker { color: #4F46E5; }
.lp-legal__actions { margin-top: 32px; padding-top: 24px; border-top: 1px solid #F3F4F6; }
.lp .lp-legal__btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid #D1D5DB; border-radius: 8px; color: #374151; font-size: 14px; font-weight: 600; text-decoration: none; background: #fff; }
.lp .lp-legal__btn:hover { background: #F9FAFB; color: #111827; }
.lp-legal__icon-back { display: inline-flex; }

/* Aviso de cookies compacto e Flash */
.lp .lp-main > .cp-toast-area { position: fixed; top: 72px; right: 16px; z-index: 60; }

/* Mobile */
@media (max-width: 899.98px) {
  .lp-wrap, .lp-home-container { padding: 0 16px; }
  .lp-header__bar { gap: 8px; }
  .lp-nav, .lp-header__cta .lp-btn--p { display: none; }
  .lp-header__cta { margin-left: auto; }
  .lp-burger { display: inline-flex; }
  .lp-sec { padding: 48px 0; }
  .lp-h2 { font-size: 26px; }
  .lp-lead { font-size: 16px; }
  .lp-grid { margin-top: 28px; }
  .lp-grid--4, .lp-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .lp-split, .lp-split--5-7, .lp-split--7-5 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lp-hero { padding: 40px 0 48px; }
  .lp-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lp-hero h1 { font-size: 34px; }
  .lp-hero__lead { font-size: 16px; margin-bottom: 24px; }
  .lp-actions .lp-btn { flex: 1 1 100%; }
  .lp-mid { padding: 48px 0; }
  .lp-mid .lp-btn { width: 100%; }
  .lp-final { padding: 56px 0; }
  .lp-final h2 { font-size: 28px; }
  
  .lp-instalar__card { flex-direction: column; }
  .lp-footer__row { padding: 24px 16px; }
  .lp-footer nav { margin-left: 0; }
  .lp-legal__title { font-size: 30px; }
  .lp-legal__paper { padding: 24px 20px; }
}
.lp-actions form { display: contents; }
.lp .lp-logo { display: inline-flex; align-items: center; gap: 9px; }
.lp .lp-logo .xp-marca__icone { display: block; width: auto; height: 28px; }
