/* Landing page (/). Only --mh-* tokens from app.css; tints are derived with color-mix. */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { line-height: 1.55; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 12px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--mh-primary); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: calc(80px + env(safe-area-inset-top)); }

.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.lp-center { text-align: center; }
.lp-center .lp-sub { margin-inline: auto; }

.lp-skip { position: absolute; left: -9999px; top: 8px; z-index: 20; background: var(--mh-surface); color: var(--mh-text); padding: 8px 12px; border-radius: var(--mh-radius); }
.lp-skip:focus { left: 8px; }

/* Nav */
.lp-nav { position: sticky; top: 0; z-index: 10; padding-top: env(safe-area-inset-top); background: color-mix(in srgb, var(--mh-bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--mh-border); }
.lp-nav__inner { display: flex; align-items: center; gap: 24px; min-height: 64px; min-width: 0; }
.lp-nav-menu { display: none; position: relative; }
.lp-nav-menu summary { list-style: none; }
.lp-nav-menu summary::-webkit-details-marker { display: none; }
.lp-nav-menu nav { position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; display: grid; min-width: min(240px, calc(100vw - 32px)); padding: 8px; background: var(--mh-surface); border: 1px solid var(--mh-border); border-radius: var(--mh-radius); box-shadow: var(--mh-shadow-md); }
.lp-nav-menu a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: var(--mh-radius-sm); color: var(--mh-text); font-weight: 650; text-decoration: none; }
.lp-nav-menu a:hover { background: var(--mh-surface-3); }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--mh-text); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.lp-brand .mh-symbol { width: 34px; height: 34px; }
.lp-nav__links { display: flex; gap: 20px; margin-right: auto; }
.lp-nav__links a, .lp-link { color: var(--mh-muted); text-decoration: none; font-weight: 500; }
.lp-nav__links a:hover, .lp-link:hover { color: var(--mh-text); }
.lp-nav__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
@media (max-width: 860px) { .lp-nav__links { display: none; } .lp-nav-menu { display: block; } }
@media (max-width: 480px) {
  .lp-nav__inner { gap: 10px; }
  .lp-nav__actions { gap: 10px; }
  .lp-nav__actions .mh-btn { min-height: 44px; padding: 8px 12px; font-size: var(--mh-fs-sm); }
  .lp-brand { flex: none; }
  .lp-brand .mh-symbol { width: 30px; height: 30px; }
  .lp-brand .mh-wordmark { font-size: 1rem; }
  .lp-nav__actions { flex: none; }
  .lp-nav__actions .mh-btn { font-size: var(--mh-fs-xs); }
  .lp-cta { flex-direction: column; align-items: stretch; }
  .lp-cta .mh-btn, .lp-cta .lp-btn-lg { width: 100%; text-align: center; }
}
@media (max-width: 370px) { .lp-nav__actions .lp-link { display: none; } }

/* Buttons */
.mh-btn { font-weight: 600; }
.mh-btn:hover { background: var(--mh-primary-hover); }
.lp-btn-lg { padding: 14px 24px; font-size: 1.05rem; }
.lp-btn-ghost, .lp-btn-invert { display: inline-block; border-radius: var(--mh-radius); font-weight: 600; text-decoration: none; }
.lp-btn-ghost { color: var(--mh-text); border: 1px solid var(--mh-border); background: var(--mh-surface); }
.lp-btn-ghost:hover { border-color: var(--mh-primary); }
.lp-btn-invert { background: var(--mh-primary-text); color: var(--mh-primary); }
.lp-btn-invert:focus-visible { outline-color: var(--mh-primary-text); }

/* Typography helpers */
.lp-eyebrow { color: var(--mh-primary); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.lp-h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -.01em; max-width: 22ch; }
.lp-center .lp-h2 { margin-inline: auto; }
.lp-sub { color: var(--mh-muted); font-size: 1.1rem; max-width: 60ch; margin-bottom: 32px; }
.lp-lead { color: var(--mh-muted); font-size: 1.2rem; max-width: 52ch; margin-bottom: 28px; }
.lp-note { color: var(--mh-muted); font-size: .92rem; margin-top: 20px; }

/* Hero */
.lp-hero { padding: 72px 0 88px; background: radial-gradient(1000px 500px at 85% 10%, color-mix(in srgb, var(--mh-primary) 14%, transparent), transparent 70%); }
.lp-hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.lp-hero__title { font-size: clamp(2.2rem, 5.4vw, 3.6rem); letter-spacing: -.02em; max-width: 16ch; margin-bottom: 20px; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .lp-hero { padding: 48px 0 64px; }
  .lp-hero__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Hero mock */
.lp-mock { position: relative; padding-bottom: 32px; }
.lp-mock__card { background: var(--mh-surface); border: 1px solid var(--mh-border); border-radius: calc(var(--mh-radius) * 1.6); padding: 24px; box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--mh-text) 30%, transparent); }
.lp-mock__label { color: var(--mh-muted); font-size: .9rem; margin-bottom: 4px; }
.lp-mock__value { font-size: 2rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.lp-mock__delta { color: var(--mh-primary); font-weight: 600; font-size: .9rem; }
.lp-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin: 16px 0 20px; }
.lp-bars span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: color-mix(in srgb, var(--mh-primary) 30%, var(--mh-surface)); }
.lp-bars span:last-child { background: var(--mh-primary); }
.lp-mock__rows { list-style: none; margin: 0; padding: 0; }
.lp-mock__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--mh-border); font-size: .95rem; font-variant-numeric: tabular-nums; }
.lp-mock__rows span { color: var(--mh-muted); }
.lp-neg { color: var(--mh-danger); }
.lp-mock__float { position: absolute; left: -16px; bottom: 0; max-width: 260px; box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--mh-text) 35%, transparent); }
@media (max-width: 860px) { .lp-mock__float { left: 8px; } }

/* Sections */
.lp-section { padding: 88px 0; }
.lp-band { background: var(--mh-surface); border-block: 1px solid var(--mh-border); }
.lp-band .mh-card { background: var(--mh-bg); }
.lp-grid { display: grid; gap: 20px; }
.lp-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .lp-grid--3 { grid-template-columns: 1fr; } .lp-section { padding: 64px 0; } }
.lp-pains .lp-h2 { margin-bottom: 28px; }
.lp-pain { border-left: 4px solid var(--mh-primary); }
.lp-feature { padding: 8px 0; }
.lp-icon { width: 40px; height: 40px; padding: 8px; margin-bottom: 14px; border-radius: var(--mh-radius); background: color-mix(in srgb, var(--mh-primary) 14%, transparent); fill: none; stroke: var(--mh-primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .lp-split { grid-template-columns: 1fr; gap: 32px; } }

/* WhatsApp */
.lp-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 16px; }
.lp-steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; }
.lp-steps li::before { content: counter(step); grid-row: span 2; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--mh-primary); color: var(--mh-primary-text); font-weight: 700; }
.lp-chat { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: calc(var(--mh-radius) * 1.6); background: var(--mh-bg); border: 1px solid var(--mh-border); }
.lp-bubble { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: .97rem; }
.lp-bubble--me { align-self: flex-end; background: var(--mh-primary); color: var(--mh-primary-text); border-bottom-right-radius: 4px; }
.lp-bubble--bot { align-self: flex-start; background: var(--mh-surface); border: 1px solid var(--mh-border); border-bottom-left-radius: 4px; }

/* Family */
.lp-roles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-roles li { display: grid; gap: 4px; padding: 18px 20px; }

/* FAQ */
.lp-faq { max-width: 760px; }
.lp-faq .lp-h2 { margin-bottom: 24px; }
.lp-faq details { border-bottom: 1px solid var(--mh-border); padding: 18px 0; }
.lp-faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; color: var(--mh-primary); font-size: 1.4rem; line-height: 1; }
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq details p { margin: 12px 0 0; }

/* Final CTA */
.lp-final { padding: 80px 0; background: var(--mh-primary); color: var(--mh-primary-text); }
.lp-final .lp-h2 { margin-bottom: 28px; }

/* Footer */
.lp-footer { padding: 28px 0 max(28px, env(safe-area-inset-bottom)); color: var(--mh-muted); font-size: .92rem; }
.lp-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.lp-footer__links { display: flex; flex-wrap: wrap; gap: 16px; }
/* Hero mock in the panel's brand surface (Floresta, Verde Broto), the same ring as the home hero. */
.lp-mock__card--brand { background: radial-gradient(120% 140% at 100% 0%, var(--mh-brand-bg-2) 0%, var(--mh-brand-bg) 55%); border-color: var(--mh-brand-line); color: var(--mh-brand-text); }
.lp-mock__card--brand .lp-mock__label, .lp-mock__card--brand .lp-mock__rows span { color: var(--mh-brand-muted); }
.lp-mock__card--brand .lp-mock__value { font-family: var(--mh-font-display); }
.lp-mock__card--brand .lp-mock__delta { color: var(--mh-brand-accent); }
.lp-mock__card--brand .lp-mock__rows li { border-top-color: var(--mh-brand-line); }
.lp-mock__card--brand .lp-bars span { background: var(--mh-brand-track); }
.lp-mock__card--brand .lp-bars span:last-child { background: var(--mh-brand-accent); }
.lp-mock__card--brand .lp-neg { color: var(--mh-brand-negative); }
.lp-mock__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lp-mock__ring { width: 96px; }
.lp-mock__ring .mh-ring-text strong { font-size: 1.5rem; }

/* Conversion round (1.17.0): badge, proof numbers, differentiators, testimonials, dock, pricing. */
.lp-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px; border-radius: var(--mh-radius-pill); background: var(--mh-primary-soft); color: var(--mh-primary); font-size: var(--mh-fs-sm); font-weight: 650; }
.lp-badge .mh-icon { width: 16px; height: 16px; }
.lp-hero__title, .lp-h1, .lp-h2 { font-family: var(--mh-font-display); }
.lp-h1 { font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -.02em; max-width: 22ch; margin-inline: auto; margin-bottom: 16px; }
.lp-proof { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 32px 0 0; padding: 20px 0 0; border-top: 1px solid var(--mh-border); }
.lp-proof li { display: grid; gap: 2px; }
.lp-proof strong { font-family: var(--mh-font-display); font-size: var(--mh-fs-xl); font-variant-numeric: tabular-nums; color: var(--mh-text); }
.lp-proof span { color: var(--mh-muted); font-size: var(--mh-fs-sm); line-height: 1.35; }
@media (max-width: 420px) { .lp-proof { grid-template-columns: 1fr; } .lp-proof li { grid-template-columns: 76px 1fr; align-items: baseline; gap: 10px; } }

.lp-split--flip > :first-child { order: 2; }
@media (max-width: 860px) { .lp-split--flip > :first-child { order: 0; } }
.lp-cta--center { justify-content: center; }

/* WhatsApp: audio and receipt bubbles */
.lp-bubble--audio, .lp-bubble--photo { display: inline-flex; align-items: center; gap: 10px; }
.lp-bubble--audio small, .lp-bubble--photo small { opacity: .85; font-size: var(--mh-fs-xs); }
.lp-audio { display: inline-flex; align-items: center; gap: 3px; }
.lp-audio .mh-icon { width: 18px; height: 18px; margin-right: 4px; }
.lp-audio i { display: block; width: 3px; border-radius: 2px; background: currentColor; opacity: .85; height: 8px; }
.lp-audio i:nth-child(3n) { height: 16px; } .lp-audio i:nth-child(4n) { height: 12px; } .lp-audio i:nth-child(5n) { height: 20px; }
.lp-bubble--photo .mh-icon { width: 28px; height: 28px; padding: 4px; border-radius: 8px; background: color-mix(in srgb, var(--mh-primary-text) 18%, transparent); }

/* Score */
.lp-score { padding: 24px; }
.lp-score__head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.lp-score__ring { width: 104px; flex: none; }
.lp-score__ring .mh-ring-text strong { font-size: 1.5rem; }
.lp-score__level { font-family: var(--mh-font-display); font-weight: 700; font-size: var(--mh-fs-xl); margin-bottom: 4px; color: var(--mh-primary); }
.lp-parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-parts li { display: grid; grid-template-columns: minmax(0, 9.5rem) 1fr auto; align-items: center; gap: 12px; font-size: var(--mh-fs-sm); }
.lp-parts b { position: relative; height: 8px; border-radius: var(--mh-radius-pill); background: var(--mh-surface-3); overflow: hidden; }
.lp-parts b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: var(--mh-primary); }
.lp-parts strong { font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { .lp-parts li { grid-template-columns: 1fr auto; } .lp-parts b { grid-column: 1 / -1; grid-row: 2; } }

/* Report and checks */
.lp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lp-checks li { display: flex; gap: 10px; align-items: flex-start; }
.lp-checks .mh-icon { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--mh-primary); }
.lp-checks--card { padding: 24px; }
.lp-report { padding: 24px; border-left: 4px solid var(--mh-primary); }
.lp-report__month { color: var(--mh-primary); font-weight: 700; font-size: var(--mh-fs-sm); letter-spacing: .06em; text-transform: uppercase; }
.lp-report__next { display: flex; gap: 8px; align-items: center; margin: 16px 0 0; padding: 12px 14px; border-radius: var(--mh-radius-sm); background: var(--mh-primary-soft); color: var(--mh-text); font-weight: 600; }
.lp-report__next .mh-icon { flex: none; color: var(--mh-primary); }

/* Budget plan */
.lp-plan { padding: 24px; display: grid; gap: 14px; }
.lp-plan__row { display: grid; grid-template-columns: 5.5rem 1fr; align-items: center; gap: 12px; font-size: var(--mh-fs-sm); color: var(--mh-muted); }
.lp-plan__bar { display: flex; height: 18px; border-radius: var(--mh-radius-pill); overflow: hidden; background: var(--mh-surface-3); }
.lp-plan__bar i { width: var(--w); }
.lp-plan__needs { background: var(--mh-investimento); }
.lp-plan__wants { background: var(--mh-patrimonio); }
.lp-plan__save { background: var(--mh-primary); }
.lp-plan__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 4px 0 0; font-size: var(--mh-fs-sm); color: var(--mh-muted); }
.lp-plan__key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: -8px; vertical-align: middle; }

/* Testimonials */
.lp-quote { margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.lp-quote blockquote { margin: 0; font-size: var(--mh-fs-lg); }
.lp-quote blockquote p { margin: 0; }
.lp-quote figcaption { display: grid; gap: 2px; margin-top: auto; }
.lp-quote__highlight { font-family: var(--mh-font-display); font-weight: 700; color: var(--mh-primary); margin: 0; }

/* Final CTA */
.lp-final__sub { opacity: .9; margin: -12px 0 24px; }

/* Phone dock: the main button one tap away (the footer leaves room for it). */
.lp-dock { display: none; }
@media (max-width: 860px) {
  .lp-dock { display: block; position: fixed; inset: auto 0 0 0; z-index: 9; padding: 10px 16px max(10px, env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--mh-surface) 94%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--mh-border); }
  .lp-dock__btn { display: flex; justify-content: center; width: 100%; min-height: 48px; }
  .lp-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
}

/* Pricing page */
.lp-pricing-hero { padding-bottom: 32px; background: radial-gradient(900px 400px at 50% 0%, color-mix(in srgb, var(--mh-primary) 12%, transparent), transparent 70%); }
.lp-plans-section { padding: 16px 0 88px; }
.lp-period__input { position: absolute; opacity: 0; pointer-events: none; }
.lp-period { display: flex; width: max-content; margin: 0 auto 28px; padding: 4px; border-radius: var(--mh-radius-pill); background: var(--mh-surface-3); }
.lp-period label { min-height: 40px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: var(--mh-radius-pill); cursor: pointer; font-weight: 650; color: var(--mh-muted); }
#periodo-mensal:checked ~ .lp-period label[for="periodo-mensal"], #periodo-anual:checked ~ .lp-period label[for="periodo-anual"] { background: var(--mh-surface); color: var(--mh-text); box-shadow: var(--mh-shadow-sm); }
#periodo-mensal:focus-visible ~ .lp-period label[for="periodo-mensal"], #periodo-anual:focus-visible ~ .lp-period label[for="periodo-anual"] { outline: 3px solid var(--mh-primary); outline-offset: 2px; }
.lp-price__yearly { display: none; }
#periodo-anual:checked ~ .lp-plans .lp-price__monthly { display: none; }
#periodo-anual:checked ~ .lp-plans .lp-price__yearly { display: block; }
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.lp-plan-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 24px; }
.lp-plan-card--highlight { border: 2px solid var(--mh-primary); box-shadow: var(--mh-shadow-md); }
.lp-plan-card__flag { position: absolute; top: -13px; left: 24px; margin: 0; padding: 3px 12px; border-radius: var(--mh-radius-pill); background: var(--mh-primary); color: var(--mh-primary-text); font-size: var(--mh-fs-xs); font-weight: 700; }
.lp-plan-card__name { font-family: var(--mh-font-display); font-size: var(--mh-fs-xl); margin: 0; }
.lp-price p { margin: 0; }
.lp-price__value { font-family: var(--mh-font-display); font-size: var(--mh-fs-2xl); font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-price__note { display: block; color: var(--mh-muted); font-size: var(--mh-fs-sm); }
.lp-price__note strong { color: var(--mh-primary); }
.lp-plan-card__refund { display: flex; gap: 8px; align-items: center; margin: 0; color: var(--mh-muted); font-size: var(--mh-fs-sm); }
.lp-plan-card__refund .mh-icon { flex: none; width: 18px; height: 18px; color: var(--mh-primary); }
.lp-plan-card__cta { text-align: center; }
.lp-plan-card__list { list-style: none; margin: 8px 0 0; padding: 16px 0 0; border-top: 1px solid var(--mh-border); display: grid; gap: 10px; font-size: var(--mh-fs-sm); }
.lp-plan-card__list li { display: flex; gap: 8px; align-items: flex-start; }
.lp-plan-card__list .mh-icon { flex: none; width: 18px; height: 18px; color: var(--mh-primary); }
.lp-plan-card__off { color: var(--mh-subtle); }
.lp-plan-card__off .mh-icon { color: var(--mh-subtle); }
.lp-plan-card__list li > span::first-letter { text-transform: uppercase; }
/* Phones: the dock carries the main button, so the header keeps the brand, the menu and Sign in. */
@media (max-width: 480px) { .lp-nav__actions .mh-btn { display: none; } }
@media (max-width: 420px) { .lp-proof li { grid-template-columns: 5.5rem 1fr; } }
.lp-plans > .mh-card { margin: 0; }
