/* =========================================================
   Landing page do SaaS, autenticação e onboarding
   ========================================================= */
.lp { background: var(--bg); overflow-x: clip; }
.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.lp-nav { position: sticky; top: 0; z-index: 20; background: rgba(243, 242, 245, .9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.lp-nav.scrolled { border-bottom-color: var(--line); }
.lp-nav .lp-wrap { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.12rem; color: var(--ink); text-decoration: none !important; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--side); color: #fff; display: grid; place-items: center; }
.lp-links { display: flex; gap: 1.3rem; font-size: .93rem; font-weight: 500; }
.lp-links a { color: var(--ink-2); }
.lp-nav .lp-cta { margin-left: auto; display: flex; gap: .5rem; }

.lp-hero { padding: 4.5rem 0 3rem; }
.lp-hero .lp-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; }
.lp-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 1.2rem; max-width: 13ch; }
.lp-hero .sub { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; margin-bottom: 1.8rem; }
.lp-hero .row { gap: .75rem; }
.lp-proof { margin-top: 2rem; display: flex; gap: 1.8rem; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.lp-proof strong { display: block; font-size: 1.35rem; color: var(--ink); }

/* Mockup do celular no hero: a página real do salão em miniatura */
.hero-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.hero-phone { width: 290px; border-radius: 40px; background: #1d1620; padding: 10px; box-shadow: var(--shadow-3); position: relative; z-index: 2; }
.hero-phone .screen { border-radius: 31px; overflow: hidden; background: #faf7f8; height: 560px; }
.mini-cover { height: 150px; background: linear-gradient(160deg, #9c4668, #2b1d2f); position: relative; }
.mini-logo { position: absolute; left: 16px; bottom: -26px; width: 56px; height: 56px; border-radius: 16px; background: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #9c4668; font-size: 1.4rem; box-shadow: var(--shadow-2); }
.mini-body { padding: 36px 16px 16px; }
.mini-body h4 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; margin: 0; }
.mini-body .mm { font-size: .72rem; color: var(--muted); margin-bottom: 12px; }
.mini-offer { border-radius: 14px; background: #2b1d2f; color: #fff; padding: 12px; font-size: .78rem; margin-bottom: 10px; }
.mini-offer b { font-size: 1rem; display: block; }
.mini-svc { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee4e8; font-size: .8rem; }
.mini-svc small { color: var(--muted); display: block; }
.mini-btn { margin-top: 12px; border-radius: 12px; background: #9c4668; color: #fff; text-align: center; padding: 11px; font-weight: 700; font-size: .85rem; }
.hero-float { position: absolute; z-index: 3; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-3); padding: .8rem 1rem; font-size: .84rem; display: flex; gap: .65rem; align-items: center; }
.hero-float .fi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); flex-shrink: 0; }
.hero-float small { display: block; color: var(--muted); }
.hero-float.f1 { left: -10px; top: 80px; }
.hero-float.f2 { right: -10px; bottom: 90px; }
.hero-float.f2 .fi { background: var(--brand-soft); color: var(--brand); }
.hero-ring { position: absolute; width: 470px; height: 470px; border-radius: 50%; border: 1px solid var(--line-strong); }
.hero-ring.r2 { width: 350px; height: 350px; background: var(--brand-soft); border: 0; }

.lp-section { padding: 5rem 0; }
.lp-section h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; letter-spacing: -.015em; max-width: 20ch; }
.lp-section .lead { color: var(--muted); font-size: 1.08rem; max-width: 56ch; margin-bottom: 2.5rem; }
.lp-dark { background: var(--side); color: #f3edf4; }
.lp-dark .lead { color: #bfb2c4; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: st; }
.step { padding: 1.4rem; border-radius: var(--r-lg); background: var(--side-2); position: relative; }
.step::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; margin-bottom: 1rem; }
.step h3 { color: #fff; }
.step p { color: #bfb2c4; font-size: .93rem; margin: 0; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.feature { background: var(--surface); padding: 1.6rem; }
.feature .fic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 1rem; }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.split + .split { margin-top: 5rem; }
.split ul { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.split li { display: flex; gap: .6rem; align-items: flex-start; }
.split li svg { color: var(--brand); margin-top: 3px; }
.demo-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.3rem; box-shadow: var(--shadow-2); }
.demo-agenda { display: grid; grid-template-columns: 48px repeat(3, 1fr); gap: 6px; font-size: .74rem; }
.demo-agenda .h { color: var(--muted); padding-top: 2px; }
.demo-agenda .c { border-radius: 8px; padding: 6px; background: color-mix(in srgb, var(--c) 14%, white); border-left: 3px solid var(--c); }
.demo-agenda .e { border-radius: 8px; border: 1px dashed var(--line); }
.offer-card { border-radius: var(--r-lg); padding: 1.2rem; background: var(--side); color: #fff; display: grid; gap: .3rem; }
.offer-card .big { font-size: 1.8rem; font-weight: 800; }
.whats-bubble { background: #e7f7ec; border-radius: 16px 16px 16px 4px; padding: .8rem 1rem; font-size: .9rem; max-width: 330px; box-shadow: var(--shadow-1); }
.whats-bubble + .whats-bubble { margin-top: .6rem; }

.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.7rem; display: flex; flex-direction: column; gap: .9rem; }
.price-card.featured { background: var(--side); color: #fff; border-color: var(--side); }
.price-card.featured .muted, .price-card.featured li { color: #d6cbd9; }
.price-card .amount { font-size: 2.3rem; font-weight: 800; letter-spacing: -.02em; }
.price-card .amount small { font-size: .95rem; font-weight: 500; opacity: .7; }
.price-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .93rem; }
.price-card li { display: flex; gap: .5rem; }
.price-card li svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.price-card.featured li svg { color: #f0a9c5; }
.price-card .btn { margin-top: auto; }

.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin: .7rem 0 0; }

.lp-final { text-align: center; }
.lp-final h2 { margin: 0 auto .8rem; }
.lp-final .lead { margin: 0 auto 2rem; }
.lp-foot { padding: 2rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.lp-foot .lp-wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Autenticação ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { background: var(--side); color: #efe7f1; padding: 2.5rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side .brand { color: #fff; }
.auth-side .brand-mark { background: var(--brand); }
.auth-side blockquote { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.2; margin: 0; max-width: 18ch; }
.auth-side cite { display: block; margin-top: 1rem; font-style: normal; color: #bfb2c4; font-size: .92rem; }
.auth-main { display: grid; place-items: center; padding: 2rem 1.5rem; }
.auth-box { width: 100%; max-width: 420px; }
.auth-box.wide { max-width: 640px; }
.auth-box h1 { font-size: 1.8rem; }
.auth-box .sub { color: var(--muted); margin-bottom: 1.5rem; }
.auth-foot { margin-top: 1.25rem; text-align: center; color: var(--muted); font-size: .92rem; }
.demo-box { margin-top: 1.5rem; padding: 1rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-size: .88rem; }
.demo-box .row { margin-top: .5rem; }
.form-error { margin-bottom: 1rem; }

/* ---------- Onboarding ---------- */
.onb { min-height: 100vh; display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.onb-side { background: var(--side); color: var(--side-ink); padding: 2rem 1.5rem; }
.onb-side .brand { color: #fff; margin-bottom: 2rem; }
.onb-side .brand-mark { background: var(--brand); }
.onb-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.onb-steps li { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: 10px; font-size: .92rem; }
.onb-steps li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #6d5d73; font-size: .78rem; font-weight: 700; flex-shrink: 0; }
.onb-steps li.done span { background: var(--brand); border-color: var(--brand); color: #fff; }
.onb-steps li.current { background: var(--side-2); color: #fff; font-weight: 700; }
.onb-steps li.current span { border-color: #fff; }
.onb-main { padding: 2.5rem 2rem 6rem; display: flex; justify-content: center; }
.onb-card { width: 100%; max-width: 720px; }
.onb-progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 1.8rem; }
.onb-progress div { height: 100%; background: var(--brand); transition: width .3s; }
.onb-card h1 { font-size: 1.7rem; }
.onb-card .sub { color: var(--muted); margin-bottom: 1.5rem; }
.onb-actions { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; flex-wrap: wrap; }
.onb-actions .right { display: flex; gap: .5rem; margin-left: auto; }
.quick-list { display: grid; gap: .5rem; margin-top: 1rem; }
.quick-item { display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.quick-item .grow { flex: 1; min-width: 0; }
.quick-item small { color: var(--muted); display: block; }
.quick-add { display: grid; grid-template-columns: 2fr 1.4fr minmax(110px, 1fr) minmax(110px, 1fr) auto; gap: .5rem; align-items: end; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.quick-add .field > label { font-size: .78rem; }
.success-hero { text-align: center; padding: 1rem 0; }
.success-hero .big-check { width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin: 0 auto 1rem; }
.success-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: 2.2rem; }
.lp-links .link-btn { color: var(--ink-2); font-weight: 500; }

/* ---------- Marca SalãoSmart ---------- */
.brand-mark { background: transparent; width: auto; height: auto; border-radius: 0; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; letter-spacing: -.01em; color: #4a1f45; }
.auth-side .brand-mark, .onb-side .brand-mark, .brand-tile { background: #fff !important; padding: 4px; border-radius: 10px; display: grid; place-items: center; }
.auth-side .brand-name, .onb-side .brand-name { color: #fff; }
.app-version { margin-top: 1.5rem; text-align: center; font-size: .78rem; color: var(--faint); letter-spacing: .01em; }
