/* Sales2Me landing — design system.
   One message per screen, generous space, large type, quiet color. The brand violet plays the role
   an accent plays in a restrained palette: buttons, links and the one gradient word of the hero. */

:root {
  --bg: #ffffff;
  --bg2: #f5f5f7;
  --ink: #1d1d1f;
  --ink2: #6e6e73;
  --line: #d2d2d7;
  --line2: #e8e8ed;
  --brand: #6353db;
  --brand-d: #5243c9;
  --brand-ink: #4b3bc9;
  --brand-l: #f1effd;
  --dark: #000000;
  --dark2: #1d1d1f;
  --danger: #b3261e;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.012em; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(99, 83, 219, 0.45); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap-w { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sec { padding: clamp(80px, 11vw, 148px) 0; }
.sec-gray { background: var(--bg2); }
.sec-dark { background: var(--dark); color: #f5f5f7; }
.center { text-align: center; }

/* ---------- type ---------- */
h1, h2, h3, .h4 { text-wrap: balance; }
p.lead, .card p, .step p, .feat p { text-wrap: pretty; }
.eyebrow { font-size: clamp(17px, 2vw, 21px); font-weight: 600; letter-spacing: -0.01em; color: var(--brand-ink); }
.sec-dark .eyebrow { color: #a99cff; }
.h1 { font-size: clamp(44px, 8.2vw, 92px); line-height: 1.04; font-weight: 700; letter-spacing: -0.045em; }
.h2 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.07; font-weight: 700; letter-spacing: -0.04em; }
.h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; }
.lead { font-size: clamp(19px, 2.3vw, 24px); line-height: 1.38; color: var(--ink2); letter-spacing: -0.018em; font-weight: 400; }
.sec-dark .lead { color: #a1a1a6; }
.grad { white-space: nowrap; background: linear-gradient(92deg, #5b49e0 0%, #8b6cff 55%, #c25bf0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.sec-head { max-width: 800px; margin: 0 auto; text-align: center; }
.sec-head .h2 { margin-top: 10px; }
.sec-head .lead { margin-top: 20px; }

/* ---------- buttons and links ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 24px; border: 0; border-radius: 980px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; text-decoration: none !important; transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
.pill-p { background: var(--brand); color: #fff !important; }
.pill-p:hover { background: var(--brand-d); }
.pill-p:active { transform: scale(0.98); }
.pill-p[disabled] { opacity: 0.6; cursor: progress; }
.pill-s { background: rgba(0, 0, 0, 0.06); color: var(--ink) !important; }
.pill-s:hover { background: rgba(0, 0, 0, 0.1); }
.pill-sm { min-height: 32px; padding: 0 14px; font-size: 13px; }
.more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: clamp(17px, 2vw, 21px); font-weight: 500; color: var(--brand-ink); }
.more::after { content: "›"; font-size: 1.25em; line-height: 1; transition: transform 0.25s var(--ease); }
.more:hover { text-decoration: none; }
.more:hover::after { transform: translateX(4px); }
.sec-dark .more { color: #a99cff; }

/* ---------- navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.nav-in { height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 13px; color: var(--ink); opacity: 0.8; letter-spacing: -0.01em; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .login { font-size: 13px; color: var(--ink); opacity: 0.8; }
.nav-cta .login:hover { opacity: 1; text-decoration: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 0; text-align: center; overflow: hidden; }
.hero .h1 { margin: 14px auto 0; max-width: 980px; }
.hero .lead { margin: 26px auto 0; max-width: 700px; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; }
.hero-visual { position: relative; max-width: 1040px; margin: clamp(52px, 7vw, 88px) auto 0; padding: 0 24px; }
.win { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 50px 120px -40px rgba(0, 0, 0, 0.4); }
.win-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 16px; background: #f5f5f7; border-bottom: 1px solid var(--line2); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); display: block; }
.hero-win { max-height: 520px; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); box-shadow: none; }
.hero-win img { width: 100%; object-fit: cover; object-position: top left; }
.hero-shadow { position: absolute; inset: 0 24px; border-radius: 20px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07), 0 50px 120px -40px rgba(0, 0, 0, 0.4); pointer-events: none; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.device { background: #111; padding: 7px; border-radius: 38px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 40px 80px -30px rgba(0, 0, 0, 0.55); }
.device img { border-radius: 31px; width: 100%; }
.hero-phone { position: absolute; right: 6px; bottom: 40px; width: clamp(110px, 19%, 200px); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.fact { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; text-align: center; }
.fact svg { color: var(--brand); }

/* ---------- icons ---------- */
.ic { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-s { width: 20px; height: 20px; }
.ic-fill { fill: currentColor; stroke: none; }

/* ---------- segmented control ---------- */
.seg { display: inline-flex; padding: 4px; gap: 2px; background: rgba(0, 0, 0, 0.07); border-radius: 980px; }
.seg button { min-height: 40px; padding: 0 22px; border: 0; border-radius: 980px; background: transparent; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14); }
.seg-dark { background: rgba(255, 255, 255, 0.14); }
.seg-dark button { color: #f5f5f7; }
.seg-dark button[aria-selected="true"] { background: #f5f5f7; color: #000; box-shadow: none; }
.seg-scroll { max-width: 100%; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.seg-scroll::-webkit-scrollbar { display: none; }

/* ---------- problems ---------- */
.pains-bar { margin-top: 40px; display: flex; justify-content: center; }
.pains { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border-radius: 28px; padding: 34px 32px 36px; }
.card .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.card .tag-bad { color: var(--danger); }
.card .tag-good { color: var(--brand-ink); }
.card .h4 { margin-top: 14px; font-size: 24px; line-height: 1.17; font-weight: 700; letter-spacing: -0.03em; }
.card p { margin-top: 12px; color: var(--ink2); font-size: 17px; line-height: 1.47; }

/* ---------- flow ---------- */
.flow { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.step { border-top: 1px solid var(--line); padding-top: 28px; }
.step .n { font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -0.05em; color: var(--brand); }
.step h3 { margin-top: 18px; font-size: 24px; line-height: 1.17; font-weight: 700; letter-spacing: -0.03em; }
.step p { margin-top: 10px; color: var(--ink2); }

/* ---------- platform (dark showcase) ---------- */
.stage-bar { margin-top: 44px; display: flex; justify-content: center; }
.stage { margin: 56px auto 0; max-width: 1040px; display: flex; justify-content: center; position: relative; }
.stage .win { width: 100%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 60px 120px -40px rgba(120, 100, 255, 0.35); }
.stage .win img { width: 100%; max-height: 640px; object-fit: cover; object-position: top left; }
.stage-sm { max-width: 700px; }
.stage .win-form img { object-fit: cover; object-position: top; max-height: 600px; }
.stage .device { width: min(272px, 62vw); }
.stage-overlay { position: absolute; right: 3%; bottom: -36px; width: min(230px, 30%); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); border: 1px solid rgba(255, 255, 255, 0.14); background: #fff; }
.stage-text { margin: 72px auto 0; max-width: 940px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px 64px; align-items: start; }
.stage-text p { margin-top: 16px; }
.points { display: grid; gap: 14px; }
.points li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.4; color: #e8e8ed; }
.points svg { color: #a99cff; margin-top: 2px; }
.sec-gray .points li, .sec .points li { color: var(--ink); }
.sec-dark .points li { color: #e8e8ed; }

/* ---------- vendedor app ---------- */
.app-grid { margin-top: 72px; display: grid; grid-template-columns: minmax(280px, 0.9fr) 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.app-phone { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.app-phone .device { width: min(300px, 72vw); }
.app-ctl { display: flex; align-items: center; gap: 18px; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.07); cursor: pointer; transition: background 0.25s ease; }
.round:hover { background: rgba(0, 0, 0, 0.12); }
.round-p { background: var(--brand); color: #fff; }
.round-p:hover { background: var(--brand-d); }
.app-count { min-width: 56px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink2); }
.steps { display: grid; }
.steps li { border-bottom: 1px solid var(--line); }
.steps li:first-child { border-top: 1px solid var(--line); }
.steps button { width: 100%; text-align: left; display: flex; gap: 18px; align-items: flex-start; padding: 22px 4px; border: 0; background: transparent; cursor: pointer; }
.steps .sn { font-size: 15px; font-weight: 600; color: var(--ink2); font-variant-numeric: tabular-nums; padding-top: 6px; min-width: 24px; }
.steps .st { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.2; font-weight: 700; letter-spacing: -0.03em; color: #a1a1a6; transition: color 0.3s ease; }
.steps button:hover .st { color: #6e6e73; }
.steps .on .st { color: var(--ink); }
.steps .on .sn { color: var(--brand); }
.steps .sd { display: block; margin-top: 10px; font-size: 17px; font-weight: 400; letter-spacing: -0.012em; line-height: 1.47; color: var(--ink2); }

/* ---------- app download ---------- */
.dl-block { margin-top: clamp(72px, 9vw, 120px); padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); text-align: center; }
.dl-block .lead { max-width: 620px; margin: 14px auto 0; }
.dl { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 16px; min-width: 272px; padding: 15px 28px 15px 22px; border-radius: 20px; border: 0; font: inherit; text-align: left; text-decoration: none !important; }
.store .store-ic { width: 36px; height: 36px; }
.store small { display: block; font-size: 12px; font-weight: 500; opacity: 0.78; letter-spacing: 0; }
.store b { display: block; font-size: 25px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.store-android { background: #000; color: #fff !important; transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.store-android .store-ic { color: #3ddc84; }
.store-android:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -20px rgba(0, 0, 0, 0.6); }
.store-android:active { transform: scale(0.99); }
.store-ios { background: transparent; color: #8e8e93; border: 1.5px dashed var(--line); cursor: not-allowed; }
.store-ios .store-ic { color: #aeaeb2; }
.dl-meta { margin-top: 22px; font-size: 15px; color: var(--ink2); }
.how { max-width: 560px; margin: 26px auto 0; text-align: left; }
.how summary { cursor: pointer; text-align: center; list-style: none; font-size: 17px; font-weight: 500; color: var(--brand-ink); }
.how summary::-webkit-details-marker { display: none; }
.how summary::after { content: "›"; margin-left: 6px; display: inline-block; transition: transform 0.25s var(--ease); }
.how[open] summary::after { transform: rotate(90deg); }
.how ol { margin-top: 18px; padding-left: 22px; list-style: decimal; display: grid; gap: 8px; color: var(--ink); }
.how p { margin-top: 14px; font-size: 14px; color: var(--ink2); }
@media (max-width: 600px) { .store { width: 100%; min-width: 0; } }

/* ---------- features ---------- */
.feats { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { background: var(--bg2); border-radius: 24px; padding: 30px 26px 32px; transition: transform 0.4s var(--ease), background 0.3s ease; }
.feat:hover { transform: translateY(-4px); background: #efeff2; }
.feat svg { color: var(--brand); }
.feat h3 { margin-top: 22px; font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -0.025em; }
.feat p { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--ink2); }
.feats-cta { margin-top: 48px; text-align: center; }

/* ---------- roadmap ---------- */
.road { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.road .card { background: var(--dark2); color: #f5f5f7; }
.road .card .tag { color: #a99cff; }
.road .card p { color: #a1a1a6; }
.road .card .h4 { color: #fff; }

/* ---------- demo form ---------- */
.demo-card { max-width: 760px; margin: 56px auto 0; background: #fff; border-radius: 32px; padding: clamp(28px, 5vw, 56px); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select { height: 52px; border-radius: 14px; border: 1px solid var(--line); padding: 0 16px; font: inherit; font-size: 17px; font-weight: 400; color: var(--ink); background: #fff; -webkit-appearance: none; appearance: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.field select { background-image: linear-gradient(45deg, transparent 50%, #6e6e73 50%), linear-gradient(135deg, #6e6e73 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(99, 83, 219, 0.18); }
.field .err { color: var(--danger); font-size: 13px; font-weight: 500; }
.demo-note { margin-top: 16px; font-size: 13px; color: var(--ink2); text-align: center; }
.demo-alert { margin-top: 18px; color: var(--danger); font-size: 15px; font-weight: 500; text-align: center; }
.demo-submit { margin-top: 28px; display: flex; justify-content: center; }
.demo-state { text-align: center; padding: 32px 8px; }
.demo-state .badge { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; color: #fff; background: #1f9d63; }
.demo-state .badge.busy { background: var(--brand); }
.demo-state h3 { margin-top: 24px; font-size: 30px; line-height: 1.15; font-weight: 700; letter-spacing: -0.035em; }
.demo-state p { margin-top: 10px; color: var(--ink2); }
.progress { margin: 28px auto 0; max-width: 420px; }
.progress-track { height: 8px; border-radius: 999px; background: var(--line2); overflow: hidden; }
.progress-meta { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--ink2); }

/* ---------- family and footer ---------- */
.family { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.family .card { background: var(--bg2); padding: 40px 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.family .logo-box { height: 56px; display: flex; align-items: center; }
.family .logo-box img { height: 56px; width: auto; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 980px; font-size: 13px; font-weight: 600; background: var(--brand-l); color: var(--brand-ink); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: #1f9d63; display: block; }
.chip-soon { background: rgba(0, 0, 0, 0.06); color: var(--ink2); }
.foot { background: var(--bg2); padding: 56px 0 72px; color: var(--ink2); font-size: 13px; line-height: 1.5; }
.foot-top { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.foot-top img { height: 44px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot-links a, .foot-links span { color: var(--ink2); font-size: 13px; }
.foot-links a:hover { color: var(--ink); }
.foot p { margin-top: 24px; max-width: 760px; }

/* ---------- whatsapp ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 14px; border-radius: 980px; background: #fff; color: var(--ink) !important; font-size: 15px; font-weight: 600; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 12px 32px -10px rgba(0, 0, 0, 0.35); text-decoration: none !important; transition: transform 0.25s var(--ease); }
.wa:hover { transform: translateY(-2px); }
.wa svg { color: #25a85a; }

/* ---------- motion ---------- */
.rv { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.fade { animation: fade 0.6s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .feats { grid-template-columns: repeat(3, 1fr); }
  .pains, .flow, .road { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-cta .login { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .stage-text, .app-grid, .family { grid-template-columns: 1fr; }
  .app-grid { gap: 48px; }
  .hero-phone { bottom: 24px; }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .fields { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pains, .flow, .road, .feats { grid-template-columns: 1fr; }
  .wrap, .wrap-w { padding: 0 20px; }
  .hero-visual { padding: 0 20px; }
  .card { padding: 28px 24px 30px; }
  .hero-win { max-height: 320px; }
  .stage-overlay { display: none; }
  .wa span { display: none; }
  .wa { padding: 0; width: 48px; height: 48px; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .fade { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
