/* ============================================================================
   Marca Bela — landing (máquina de conversão)
   Design: off-white premium, preto do logo, rosé elegante como único acento.
   Mobile-first, sem dependências, animações leves com prefers-reduced-motion.
   ========================================================================== */
:root {
  /* Paleta oficial Marca Bela (roxo/lavanda) sobre off-white premium */
  --bg: #fbf8f5;          /* creme/off-white do projeto */
  --surface: #ffffff;
  --ink: #2b1846;         /* índigo profundo (texto/contraste) */
  --ink-2: #4a3f5e;
  --muted: #9b94a5;
  --line: #eee7ef;
  --rose: #7b6edc;        /* lavanda — acento decorativo (app.primary) */
  --rose-ink: #4a3fa0;    /* índigo-violeta p/ CTA (texto branco passa AA) */
  --rose-soft: #efebfb;   /* superfícies suaves (pinkSoft) */
  --rose-tint: #f5f1fd;   /* tint bem claro */
  --grad-a: #9e8fe6;      /* gradiente roxo do projeto */
  --grad-b: #6c5cc0;
  --gold: #b8860b;
  --ok: #2b8a3e;
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --sh-sm: 0 1px 2px rgba(43,24,70,.05);
  --sh-md: 0 12px 34px rgba(43,24,70,.09), 0 2px 6px rgba(43,24,70,.05);
  --sh-lg: 0 30px 70px rgba(43,24,70,.16);
  --r: 18px;
  --maxw: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-ink); }
.section { padding: 72px 0; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
h2 { font-size: clamp(28px, 6vw, 44px); }
h3 { font-size: 21px; letter-spacing: -.01em; }
.lead { color: var(--ink-2); font-size: clamp(16px, 4vw, 19px); }
.center { text-align: center; }
.ic-svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; display: block; }
.ic-svg.sm { width: 16px; height: 16px; }

/* Botões ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 56px; padding: 0 26px; border: none; border-radius: 999px;
  font-family: var(--sans); font-size: 17px; font-weight: 600; cursor: pointer;
  background: var(--rose-ink); color: #fff; box-shadow: 0 10px 26px rgba(74,63,160,.30);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .2s;
  text-align: center; width: auto;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(74,63,160,.38); background: #3a3086; }
.btn:active { transform: translateY(0) scale(.99); }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: none; border: 1px solid var(--line); }
.btn.ghost:hover { background: #fff; border-color: var(--rose); color: var(--rose-ink); }
.btn-sub { display: block; font-size: 13px; color: var(--muted); margin-top: 10px; }

/* Header ------------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,249,.82); backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--sh-sm); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand img { height: 58px; width: auto; }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.nav-links { display: none; gap: 28px; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; padding: 40px 0 24px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -30% auto -30%; height: 560px; z-index: -1;
  background: radial-gradient(60% 60% at 50% 0%, var(--rose-soft) 0%, rgba(249,238,241,0) 70%);
}
.hero-grid { display: grid; gap: 34px; align-items: center; }
.hero h1 { font-size: clamp(34px, 9vw, 60px); }
.hero h1 em { font-style: italic; color: var(--rose-ink); }
.hero .lead { margin-top: 18px; max-width: 30ch; }
.hero-cta { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero-cta .btn { width: 100%; }
.trust { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--muted); font-size: 14px; }
.trust b { color: var(--ink); }
.stars { color: var(--gold); letter-spacing: 1px; }
.hero-stores { margin-top: 22px; }
.hero-stores-label { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.hero-stores .stores { justify-content: flex-start; margin-top: 10px; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; height: auto; filter: drop-shadow(0 26px 44px rgba(43,24,70,.26)); }

/* Mockup de celular (CSS puro) -------------------------------------------- */
.phone {
  --pw: 300px;
  width: var(--pw); max-width: 82vw; margin: 0 auto;
  border-radius: 42px; background: #0e0b12; padding: 10px;
  box-shadow: var(--sh-lg); position: relative;
}
.phone::after { content:''; position:absolute; top:20px; left:50%; transform:translateX(-50%); width:96px; height:26px; background:#0e0b12; border-radius:0 0 16px 16px; z-index:3; }
.phone-screen { border-radius: 33px; background: var(--bg); overflow: hidden; }
.ps-top { padding: 34px 18px 14px; background: linear-gradient(160deg, var(--rose-soft), #fff); }
.ps-top small { color: var(--rose-ink); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.ps-top h4 { font-family: var(--display); font-size: 22px; margin-top: 2px; }
.ps-body { padding: 14px 16px 22px; display: flex; flex-direction: column; gap: 10px; }
.appt {
  display: flex; align-items: center; gap: 11px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 11px 12px; box-shadow: var(--sh-sm);
}
.appt .time { font-weight: 700; font-size: 13px; color: var(--ink); width: 42px; }
.appt .who { flex: 1; min-width: 0; }
.appt .who strong { display: block; font-size: 13px; }
.appt .who small { color: var(--muted); font-size: 11px; }
.appt .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.appt .dot.wait { background: var(--gold); }
.appt .crown { color: var(--gold); font-size: 13px; }
.appt.done { opacity: .62; }

/* Faixa de números -------------------------------------------------------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 12px; padding: 40px 0; text-align: center; }
.stat .n { font-family: var(--display); font-size: clamp(30px, 8vw, 44px); font-weight: 600; color: var(--ink); }
.stat .n span { color: var(--rose-ink); }
.stat p { color: var(--muted); font-size: 14px; margin-top: 2px; }

/* Dor --------------------------------------------------------------------- */
.pain { background: linear-gradient(180deg, #fff 0%, var(--rose-tint) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pain-grid { display: grid; gap: 16px; margin-top: 36px; }
.pain-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--sh-sm); transition: transform .2s, box-shadow .25s, border-color .2s; }
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: #f2d7de; }
.pain-card .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: #fdecef; color: #c9455f; }
.pain-card h3 { font-size: 18px; margin: 12px 0 6px; color: var(--ink); }
.pain-card p { color: var(--ink-2); font-size: 15px; }

/* Transformação (antes/depois) ------------------------------------------- */
.ba { display: grid; gap: 16px; margin-top: 36px; }
.ba-col { border-radius: var(--r); padding: 24px; border: 1px solid var(--line); background: #fff; }
.ba-col.before { background: #faf7f5; }
.ba-col.after { background: linear-gradient(165deg, var(--rose-tint), #fff); border-color: var(--rose-soft); }
.ba-col h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--sans); font-weight: 700; }
.ba-col.before h3 { color: var(--muted); }
.ba-col.after h3 { color: var(--rose-ink); }
.ba-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.ba-list li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); align-items: flex-start; }
.ba-list .mk { flex-shrink: 0; font-weight: 700; }
.before .mk { color: #c9455f; }
.after .mk { color: var(--ok); }

/* Funcionalidades --------------------------------------------------------- */
.feat-grid { display: grid; gap: 16px; margin-top: 8px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px;
  box-shadow: var(--sh-sm); transition: transform .2s, box-shadow .25s, border-color .2s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--rose-soft); }
.feat .ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--rose-soft); color: var(--rose-ink); margin-bottom: 14px;
}
.feat h3 { font-size: 18px; margin-bottom: 6px; }
.feat p { color: var(--ink-2); font-size: 15px; }

/* Como funciona ----------------------------------------------------------- */
.steps { display: grid; gap: 16px; margin-top: 8px; counter-reset: s; }
.step { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.step .num { counter-increment: s; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 18px; }
.step .num::before { content: counter(s); }
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* Demonstração ------------------------------------------------------------ */
.demo-tiles { display: grid; gap: 16px; margin-top: 8px; }
.tile { border-radius: 22px; padding: 26px; border: 1px solid var(--line); background: #fff; box-shadow: var(--sh-sm); overflow: hidden; }
.tile h3 { font-size: 19px; margin-bottom: 4px; }
.tile p { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; }
/* mini widget financeiro */
.fin { background: linear-gradient(165deg, #fff, var(--rose-tint)); border-radius: 16px; padding: 18px; border: 1px solid var(--rose-soft); }
.fin .big { font-family: var(--display); font-size: 32px; font-weight: 600; }
.fin .up { color: var(--ok); font-weight: 600; font-size: 14px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; margin-top: 16px; }
.bars span { flex: 1; background: var(--rose); border-radius: 6px 6px 0 0; opacity: .85; }
/* lista de clientes */
.crm { display: flex; flex-direction: column; gap: 10px; }
.crm-row { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 10px 12px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--rose-soft); color: var(--rose-ink); display: grid; place-items: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.crm-row .who strong { display: block; font-size: 14px; }
.crm-row .who small { color: var(--muted); font-size: 12px; }
.crm-row .tagv { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--gold); }

/* Depoimentos ------------------------------------------------------------- */
.tst-grid { display: grid; gap: 16px; margin-top: 8px; }
.tst { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--sh-sm); }
.tst .stars { font-size: 15px; }
.tst blockquote { font-size: 16px; color: var(--ink); margin: 12px 0 18px; line-height: 1.55; }
.tst .by { display: flex; align-items: center; gap: 12px; }
.tst .by .avatar { background: var(--ink); color: #fff; }
.tst .by strong { display: block; font-size: 14px; }
.tst .by small { color: var(--muted); font-size: 12px; }

/* Oferta / preço ---------------------------------------------------------- */
.offer { background: var(--ink); color: #fff; border-radius: 26px; padding: 34px 24px; text-align: center; box-shadow: var(--sh-lg); }
.offer h2 { color: #fff; }
.offer .price { font-family: var(--display); font-size: 56px; font-weight: 600; margin: 6px 0 0; }
.offer .price small { font-size: 18px; color: #cfc7d2; font-family: var(--sans); }
.offer .old { color: #9a90a6; text-decoration: line-through; font-size: 17px; }
.offer .incl { list-style: none; text-align: left; max-width: 380px; margin: 22px auto; display: flex; flex-direction: column; gap: 11px; }
.offer .incl li { display: flex; gap: 10px; color: #e8e2ee; font-size: 15px; }
.offer .incl .ck { color: #79e0a0; font-weight: 700; }
.offer .btn { margin-top: 6px; }
.badge-guar { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: #cfc7d2; }

/* Comece hoje: oferta (esquerda) + formulário (direita) ------------------- */
.offer-grid { display: grid; gap: 30px; align-items: center; }
.offer-info h2 { font-size: clamp(26px, 6vw, 40px); }
.offer-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.offer-price .old { color: var(--muted); text-decoration: line-through; font-size: 20px; }
.offer-price strong { font-family: var(--display); font-size: 54px; font-weight: 600; color: var(--ink); line-height: 1; }
.offer-price strong small { font-size: 22px; }
.offer-price .per { color: var(--muted); font-size: 16px; }
.offer-info .incl { list-style: none; margin: 22px 0; display: flex; flex-direction: column; gap: 13px; }
.offer-info .incl li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; }
.offer-info .incl .ic-svg { color: var(--rose-ink); flex-shrink: 0; margin-top: 1px; stroke-width: 2.2; }
.offer-info .badge-guar { color: var(--muted); }
.offer-grid .signup-card { margin: 0 auto; max-width: 540px; width: 100%; }
/* campos em 2 colunas (form mais baixo e largo); e-mail e plano ocupam a linha */
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field-grid .field.full { grid-column: 1 / -1; }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }
@media (min-width: 860px) {
  .offer-grid { grid-template-columns: 0.82fr 1.18fr; gap: 44px; }
  .offer-grid .signup-card { max-width: 100%; }
}

/* Formulário de cadastro (conversão) — IDs preservados p/ app.js ---------- */
.signup-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 22px; box-shadow: var(--sh-md); max-width: 480px; margin: 0 auto; }
.signup-card h2 { font-size: 26px; }
.signup-card .sub { color: var(--muted); font-size: 14px; margin: 6px 0 22px; }
.field { margin-bottom: 15px; text-align: left; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 13px; padding: 14px;
  font-size: 16px; font-family: var(--sans); background: #fff; color: var(--ink); transition: border-color .2s;
}
.field input:focus { outline: none; border-color: var(--rose); }
.plans { display: flex; gap: 10px; }
.plans label {
  flex: 1; border: 1.5px solid var(--line); border-radius: 13px; padding: 13px; cursor: pointer;
  display: flex; flex-direction: column; gap: 2px; transition: border-color .2s, background .2s; position: relative;
}
.plans label:has(input:checked) { border-color: var(--rose-ink); background: var(--rose-tint); }
.plans input { position: absolute; opacity: 0; pointer-events: none; }
.plans .pn { font-weight: 600; font-size: 14px; }
.plans .price { font-family: var(--display); font-size: 19px; }
.plans .per { color: var(--muted); font-size: 12px; }
.plans .save { position: absolute; top: -9px; right: 10px; background: var(--rose-ink); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.msg { margin-top: 14px; font-size: 14px; line-height: 1.5; }
.msg.error { color: #c0392b; }
.msg.ok { color: var(--ok); }
.result { text-align: center; }
.pay-wait { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ink-2); font-size: 15px; }
.pay-again { display: inline-block; margin-top: 16px; font-size: 13px; color: var(--muted); }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--rose-ink); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }
.form-legal { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }

/* FAQ --------------------------------------------------------------------- */
.faq { max-width: 720px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 17px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; position: absolute; right: 4px; top: 16px; font-size: 26px; font-weight: 300; color: var(--rose-ink); transition: transform .25s; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; }

/* Footer ------------------------------------------------------------------ */
.foot { padding: 40px 0 120px; color: var(--muted); font-size: 13px; text-align: center; border-top: 1px solid var(--line); }
.foot .brand { justify-content: center; margin-bottom: 12px; }

/* Selos das lojas --------------------------------------------------------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px; background: var(--ink); color: #fff;
  border-radius: 13px; padding: 9px 18px; min-height: 56px; box-shadow: var(--sh-sm);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.store-badge .glyph { height: 27px; width: auto; fill: #fff; flex-shrink: 0; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.08; text-align: left; }
.store-badge small { font-size: 11px; opacity: .82; letter-spacing: .01em; }
.store-badge strong { font-size: 18px; font-weight: 600; font-family: var(--sans); letter-spacing: -.01em; }
.stores-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
.foot .stores { margin: 0 0 20px; }
.foot .store-badge { min-height: 48px; padding: 7px 15px; }

/* Sticky CTA (mobile) ----------------------------------------------------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; box-shadow: var(--sh-lg); }

/* Reveal on scroll -------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* Desktop ----------------------------------------------------------------- */
@media (min-width: 760px) {
  .nav-links { display: flex; }
  .hero { padding: 60px 0 40px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .hero-cta { flex-direction: row; align-items: center; }
  .hero-cta .btn { width: auto; }
  .phone { --pw: 340px; }
  .hero-visual { margin-right: -7%; }
  .hero-visual img { width: 116%; max-width: none; }
  .stats-in { grid-template-columns: repeat(4, 1fr); }
  .pain-grid, .feat-grid, .tst-grid, .demo-tiles { grid-template-columns: repeat(3, 1fr); }
  .ba { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .sticky-cta { display: none; }
  .section { padding: 96px 0; }
}
@media (min-width: 1024px) {
  .demo-tiles { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .btn, .feat { transition: none; }
}
