*,*::before,*::after { box-sizing: border-box; }

:root {
  /* Paleta do site de referência (drzap.com.br, tema v2) */
  --bg:          #ffffff;
  --bg-soft:     #f7f9fb;
  --ink:         #0f172a;
  --ink-2:       #0b2545;
  --ink-soft:    #475569;
  --ink-mute:    #64748b;
  --line:        #e7e7e7;
  --brand:       #315efb;
  --brand-2:     #5f81ff;
  --brand-deep:  #1d4ed8;
  --brand-tint:  #eef2ff;
  --brand-light: #a5b8ff;
  --blue:        #0284c7;
  --blue-tint:   #e0f2fe;
  --success:     #15803d;
  --success-tint:#dcfce7;
  --danger:      #dc2626;
  --danger-tint: #fdecec;
  --warning:     #d97706;
  --dark:        #0a101d;
  --dark-2:      #11214f;
  --navy:        #162c6d;
  --radius:      20px;
  --radius-sm:   12px;
  --shadow:      0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
  --shadow-lg:   0 2px 4px rgba(15,23,42,.04), 0 24px 60px rgba(15,23,42,.12);
  --font-head:   "Manrope", system-ui, sans-serif;
  --font-body:   "Inter", system-ui, sans-serif;
  --wrap:        1200px;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.025em; margin: 0; color: var(--ink); }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ms { font-family: "Material Symbols Outlined"; font-weight: normal; font-style: normal; line-height: 1; font-size: 24px; display: inline-block; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; user-select: none; }
.ms.fill { font-variation-settings: "FILL" 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--brand-deep); background: var(--brand-tint);
  padding: 6px 12px; border-radius: 999px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(49,94,251,.2); }

.section { padding: 112px 0; position: relative; }
.section.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; line-height: 1.05; margin-top: 16px; }
.section-head p { font-size: 18px; color: var(--ink-soft); margin-top: 18px; }
.grad { background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn .ms { font-size: 20px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(49,94,251,.3); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cfd6e0; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1b2436; }
.btn-lg { padding: 17px 28px; font-size: 16px; }

/* ---------------- NAV ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(231,234,240,.7);
}
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff;
  box-shadow: 0 6px 14px rgba(49,94,251,.35);
}
.logo-mark .ms { font-size: 22px; transform: rotate(-45deg); }
.logo span.rk { color: var(--brand); }
.logo-text .rk { margin-left: .12em; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { white-space: nowrap; font-size: 15px; font-weight: 500; color: var(--ink-soft); padding: 8px 14px; border-radius: 999px; transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 9px 18px; font-size: 14px; box-shadow: 0 4px 12px rgba(49,94,251,.22); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.mobile-menu { display: none; }

/* ---------------- HERO ---------------- */
.hero { padding: 152px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(95,129,255,.18), transparent 70%),
    radial-gradient(500px 360px at 5% 30%, rgba(49,94,251,.08), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; margin-top: 22px; }
.hero .lead { font-size: 19px; color: var(--ink-soft); margin-top: 24px; max-width: 560px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 36px; color: var(--ink-mute); font-size: 14px; }
.avatars { display: flex; }
.avatars span {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff;
}
.avatars span:first-child { margin-left: 0; }
.stars { color: #f5a524; display: flex; }
.stars .ms { font-size: 18px; }
.hero-proof strong { color: var(--ink); }

/* Hero visual */
.hero-visual { position: relative; height: 560px; }
.phone {
  position: absolute; right: 0; top: 0; width: 320px; height: 560px;
  background: #0b141a; border-radius: 40px; padding: 12px; box-shadow: var(--shadow-lg);
}
.phone-screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #efeae2; display: flex; flex-direction: column; }
.chat-head { background: #075e54; color: #fff; padding: 18px 16px 14px; display: flex; align-items: center; gap: 10px; }
.chat-head .pic { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: grid; place-items: center; }
.chat-head .pic .ms { font-size: 20px; transform: rotate(-45deg); }
.chat-head b { font-size: 14px; display: block; line-height: 1.2; }
.chat-head small { font-size: 11px; opacity: .8; }
.chat-body { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.4; }
.msg { max-width: 82%; padding: 8px 10px 16px; border-radius: 10px; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,.08); opacity: 0; transform: translateY(8px); animation: pop .4s ease forwards; }
.msg time { position: absolute; right: 8px; bottom: 3px; font-size: 10px; color: #667781; }
.msg.in { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.msg.out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 2px; }
.msg.slot { padding-bottom: 10px; }
.slot-list { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.slot-list span { font-size: 12px; padding: 4px 8px; border-radius: 6px; background: var(--brand-tint); color: var(--brand-deep); font-weight: 600; }
.slot-list span.on { background: var(--brand); color: #fff; }
.msg:nth-child(1) { animation-delay: .3s; }
.msg:nth-child(2) { animation-delay: 1.1s; }
.msg:nth-child(3) { animation-delay: 1.9s; }
.msg:nth-child(4) { animation-delay: 2.7s; }
.msg:nth-child(5) { animation-delay: 3.5s; }
@keyframes pop { to { opacity: 1; transform: none; } }

.float-card {
  position: absolute; background: #fff; border-radius: 16px; padding: 14px 16px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px; font-size: 13px;
  animation: bob 6s ease-in-out infinite;
}
.float-card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card b { display: block; font-family: var(--font-head); font-size: 20px; line-height: 1.1; }
.float-card small { color: var(--ink-mute); }
.fc-1 { left: 0; top: 70px; }
.fc-1 .ic { background: var(--brand-tint); color: var(--brand); }
.fc-2 { left: 20px; bottom: 180px; animation-delay: -3s; }
.fc-2 .ic { background: var(--blue-tint); color: var(--blue); }
.fc-3 { right: -24px; bottom: 36px; animation-delay: -1.5s; }
.fc-3 .ic { background: var(--success-tint); color: var(--success); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------------- SEGMENTS MARQUEE ---------------- */
.segments { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); padding: 28px 0; overflow: hidden; }
.segments p { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 18px; }
.marquee { display: flex; gap: 12px; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.chip .ms { font-size: 20px; color: var(--brand); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------------- PROBLEM ---------------- */
.problems { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.problem {
  border-radius: var(--radius); padding: 40px; border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.problem .tag { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.problem h3 { font-size: 28px; font-weight: 800; margin-top: 12px; line-height: 1.15; }
.problem p { color: var(--ink-soft); margin-top: 14px; }
.problem .big { font-family: var(--font-head); font-weight: 800; font-size: 64px; line-height: 1; margin-top: 32px; letter-spacing: -0.04em; }
.problem .big-caption { color: var(--ink-mute); font-size: 14px; margin-top: 6px; }
.problem .ico { position: absolute; right: 28px; top: 28px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; }
.problem .ico .ms { font-size: 30px; }
.problem.p1 .tag, .problem.p1 .big { color: var(--blue); }
.problem.p1 .ico { background: var(--blue-tint); color: var(--blue); }
.problem.p2 .tag, .problem.p2 .big { color: var(--danger); }
.problem.p2 .ico { background: var(--danger-tint); color: var(--danger); }
.problem-bridge { text-align: center; margin-top: 40px; font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--ink-2); }
.problem-bridge span { color: var(--brand); }

/* ---------------- ENGINE (steps) ---------------- */
.engine { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.engine::before {
  content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 16px); opacity: .5;
}
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step .num {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; margin-bottom: 22px;
  box-shadow: 0 8px 18px rgba(49,94,251,.3);
}
.step .num .ms { font-size: 28px; }
.step small { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--brand-deep); text-transform: uppercase; }
.step h3 { font-size: 22px; font-weight: 800; margin-top: 6px; }
.step p { color: var(--ink-soft); font-size: 15px; margin-top: 10px; }
.step ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.step li { display: flex; gap: 8px; align-items: flex-start; }
.step li .ms { font-size: 18px; color: var(--brand); margin-top: 2px; }

/* ---------------- SPLIT FEATURE ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; line-height: 1.06; margin-top: 16px; }
.split .desc { font-size: 18px; color: var(--ink-soft); margin-top: 18px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.checks li { display: flex; gap: 14px; }
.checks .ms { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-size: 20px; }
.checks b { display: block; font-family: var(--font-head); font-size: 17px; }
.checks span.t { color: var(--ink-soft); font-size: 15px; }

.dash {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 24px; position: relative;
}
.dash-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dash-top b { font-family: var(--font-head); font-size: 17px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--success); background: var(--success-tint); padding: 4px 10px; border-radius: 999px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.agenda { display: grid; gap: 10px; }
.appt { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-soft); }
.appt .hr { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink-2); }
.appt .who b { display: block; font-size: 14px; }
.appt .who small { color: var(--ink-mute); font-size: 12px; }
.badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; display: inline-flex; gap: 4px; align-items: center; }
.badge .ms { font-size: 15px; }
.b-ok { background: var(--success-tint); color: var(--success); }
.b-wait { background: #fff4e5; color: #b35c00; }
.b-new { background: var(--blue-tint); color: var(--blue); }
.dash-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.kpi { padding: 14px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); }
.kpi small { font-size: 12px; color: var(--ink-mute); }
.kpi b { display: block; font-family: var(--font-head); font-size: 22px; margin-top: 2px; }
.kpi .up { color: var(--success); font-size: 12px; font-weight: 600; }

/* ---------------- DIFFERENTIALS ---------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color .2s, transform .2s; }
.feature:hover { border-color: rgba(49,94,251,.5); transform: translateY(-3px); }
.feature .ms { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); font-size: 26px; }
.feature h3 { font-size: 19px; font-weight: 700; margin-top: 18px; }
.feature p { color: var(--ink-soft); font-size: 15px; margin-top: 8px; }

/* ---------------- RESULTS (dark) ---------------- */
.results { background: linear-gradient(160deg, var(--navy) 0%, var(--dark-2) 45%, var(--dark) 100%); color: #fff; overflow: hidden; }
.results::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 20% 0%, rgba(49,94,251,.25), transparent 70%),
              radial-gradient(600px 400px at 90% 100%, rgba(49,94,251,.18), transparent 70%);
}
.results .wrap { position: relative; }
.results h2 { color: #fff; }
.results .section-head p { color: #a7b0c0; }
.results .eyebrow { background: rgba(95,129,255,.16); color: var(--brand-light); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.stat { background: rgba(10,16,29,.55); padding: 36px 28px; }
.stat b { font-family: var(--font-head); font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; display: block; }
.stat b em { font-style: normal; color: var(--brand-light); }
.stat span { display: block; color: #a7b0c0; margin-top: 12px; font-size: 15px; }
.results-note { color: #6b778c; font-size: 13px; margin-top: 20px; text-align: center; }

/* ---------------- TESTIMONIALS ---------------- */
.rating-row { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; color: var(--ink-soft); flex-wrap: wrap; }
.rating-row b { font-family: var(--font-head); font-size: 28px; color: var(--ink); }
.t-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 24px 24px; scrollbar-width: none; max-width: var(--wrap); margin: 0 auto; }
.t-track::-webkit-scrollbar { display: none; }
.t-card { flex: 0 0 360px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.t-card .stars { margin-bottom: 14px; }
.t-card blockquote { margin: 0; font-size: 16px; color: var(--ink-2); flex: 1; }
.t-person { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.t-person .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; }
.t-person b { display: block; font-size: 15px; }
.t-person small { color: var(--ink-mute); font-size: 13px; }
.t-metric { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--brand-deep); background: var(--brand-tint); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.t-nav { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.t-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: border-color .15s; }
.t-nav button:hover { border-color: var(--brand); color: var(--brand); }

/* ---------------- FAQ ---------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(49,94,251,.5); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--font-head); font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ms { transition: transform .2s; color: var(--brand); }
.faq details[open] summary .ms { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 22px; }

/* ---------------- FINAL CTA ---------------- */
.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-2) 55%, var(--dark) 100%); border-radius: 32px; padding: 72px 64px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
}
.cta-box::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 400px at 0% 0%, rgba(49,94,251,.35), transparent 70%),
              radial-gradient(500px 300px at 100% 100%, rgba(49,94,251,.25), transparent 70%);
}
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; line-height: 1.04; }
.cta-box .desc { color: #b4bdcc; font-size: 18px; margin-top: 18px; }
.cta-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: #b4bdcc; font-size: 14px; }
.cta-trust span { display: inline-flex; align-items: center; gap: 6px; }
.cta-trust .ms { color: var(--brand-light); font-size: 20px; }

.form-card { background: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 22px; font-weight: 800; }
.form-card h3 + p { color: var(--ink-mute); font-size: 14px; margin-top: 6px; }
.field { margin-top: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; font: inherit; font-size: 15px; padding: 13px 14px; border-radius: 12px;
  border: 1px solid #d5dbe4; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(49,94,251,.15); }
.form-card .btn { width: 100%; margin-top: 22px; }
.form-fine { font-size: 12px; color: var(--ink-mute); text-align: center; margin-top: 12px; }
.form-error { display: none; color: var(--danger); font-size: 14px; margin-top: 12px; text-align: center; }
.form-error.on { display: block; }
.form-success { display: none; text-align: center; padding: 24px 0; }
.form-success.on { display: block; }
.form-success .ms { width: 64px; height: 64px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-size: 36px; margin: 0 auto 16px; }
.form-success h3 { font-size: 22px; }
.form-success p { color: var(--ink-soft); margin-top: 8px; }
.form-success .btn { margin-top: 20px; }

/* ---------------- FOOTER ---------------- */
footer { background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%); color: #94a3b8; padding: 80px 0 40px; margin-top: 112px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
footer .logo { color: #fff; }
footer .about { margin-top: 18px; font-size: 15px; max-width: 320px; }
footer h4 { font-family: var(--font-head); color: #fff; font-size: 15px; margin: 0 0 16px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
footer ul a:hover { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: background .15s, color .15s; }
.socials a:hover { background: var(--brand); color: #fff; }
.socials svg { width: 18px; height: 18px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding-top: 28px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .msg { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1024px) {
  .hero-grid, .split, .cta-box { grid-template-columns: 1fr; }
  .hero-visual { height: 560px; max-width: 520px; margin: 0 auto; width: 100%; }
  .engine { grid-template-columns: 1fr 1fr; }
  .engine::before { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { padding: 56px 40px; }
}
@media (max-width: 1080px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: grid; }
  .mobile-menu {
    position: fixed; top: 72px; left: 0; right: 0; z-index: 49; background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 16px 20px; box-shadow: var(--shadow);
  }
  .mobile-menu.open { display: grid; gap: 4px; }
  .mobile-menu a { padding: 12px 8px; font-weight: 500; border-radius: 10px; }
  .mobile-menu .btn { margin-top: 8px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero { padding: 120px 0 64px; }
  .hero .lead { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-visual { height: 520px; }
  .phone { width: 280px; height: 500px; right: 50%; transform: translateX(50%); }
  .fc-1 { left: 0; top: 30px; }
  .fc-2 { display: none; }
  .fc-3 { right: 0; bottom: 0; }
  .nav-cta .btn-primary { display: none; }
  .problems, .engine, .features, .stats, .foot-grid { grid-template-columns: 1fr; }
  .problem { padding: 32px 24px; }
  .problem .ico { position: static; width: 48px; height: 48px; margin-bottom: 18px; }
  .problem .big { font-size: 52px; }
  .t-card { flex-basis: 85%; }
  .t-track { padding: 4px 16px 24px; }
  .cta-box { padding: 40px 20px; border-radius: 24px; }
  .form-card { padding: 24px 20px; }
  .dash { padding: 16px; }
  .appt { grid-template-columns: 48px 1fr; }
  .appt .badge { grid-column: 2; justify-self: start; }
  .dash-foot { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .kpi { padding: 10px; }
  .kpi b { font-size: 18px; }
  footer { margin-top: 80px; }
}

/* =====================================================================
   Componentes da home (guarda-chuva) e das páginas de nicho
   ===================================================================== */

/* Etiqueta de nicho ao lado do logo */
.niche-tag {
  font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0;
  color: var(--brand-deep); background: var(--brand-tint); padding: 3px 9px; border-radius: 999px; margin-left: 4px;
}
footer .niche-tag { background: rgba(95,129,255,.16); color: var(--brand-light); }

/* Hero da home: funil */
.funnel-card {
  position: absolute; right: 0; top: 64px; width: 440px; background: #fff; border: 1px solid var(--line);
  border-radius: 24px; box-shadow: var(--shadow-lg); padding: 26px;
}
.funnel-card .dash-top { margin-bottom: 18px; }
.funnel { display: grid; gap: 10px; }
.f-row { display: grid; grid-template-columns: 110px 1fr 52px; gap: 12px; align-items: center; font-size: 14px; }
.f-row span:first-child { color: var(--ink-soft); font-weight: 500; }
.f-bar { height: 30px; border-radius: 8px; background: var(--bg-soft); overflow: hidden; }
.f-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); width: 0; animation: grow 1.2s cubic-bezier(.2,.8,.2,1) forwards; }
.f-row:nth-child(2) i { animation-delay: .15s; }
.f-row:nth-child(3) i { animation-delay: .3s; }
.f-row:nth-child(4) i { animation-delay: .45s; }
.f-row:nth-child(5) i { animation-delay: .6s; }
@keyframes grow { to { width: var(--w); } }
.f-row b { font-family: var(--font-head); text-align: right; }
.revenue { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.revenue small { color: var(--ink-mute); font-size: 13px; }
.revenue-top { display: flex; justify-content: space-between; align-items: baseline; }
.revenue-top b { font-family: var(--font-head); font-size: 30px; letter-spacing: -0.03em; }
.revenue svg { width: 100%; height: 70px; margin-top: 8px; }
.hero-home .fc-1 { left: 0; top: -8px; }
.hero-home .fc-2 { left: 0; bottom: 60px; }
.hero-home .fc-3 { right: 20px; bottom: 0; }

/* Grade de nichos */
.niches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.niche {
  position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; min-height: 220px;
}
.niche .ms.ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: var(--bg-soft); color: var(--ink-2); }
.niche h3 { font-size: 19px; font-weight: 800; margin-top: 18px; }
.niche p { color: var(--ink-soft); font-size: 14px; margin-top: 6px; flex: 1; }
.niche .go { margin-top: 18px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-mute); }
.niche .go .ms { font-size: 18px; }
.niche.live { border-color: rgba(49,94,251,.45); box-shadow: var(--shadow); }
.niche.live .ms.ico { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.niche.live .go { color: var(--brand-deep); }
a.niche:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.niche .pill { position: absolute; top: 20px; right: 20px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-mute); }
.niche.live .pill { background: var(--brand-tint); color: var(--brand-deep); }
.niche.other { background: linear-gradient(135deg, var(--navy), var(--dark-2)); border-color: var(--dark-2); }
.niche.other h3 { color: #fff; }
.niche.other p { color: #a7b0c0; }
.niche.other .ms.ico { background: rgba(255,255,255,.08); color: var(--brand-light); }
.niche.other .go { color: var(--brand-light); }

/* Faixa "um motor, qualquer negócio" */
.universal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.u-item { text-align: center; padding: 8px 12px; }
.u-item .ms { font-size: 34px; color: var(--brand); }
.u-item h3 { font-size: 20px; font-weight: 800; margin-top: 12px; }
.u-item p { color: var(--ink-soft); font-size: 15px; margin-top: 8px; }

@media (max-width: 1024px) {
  .niches { grid-template-columns: repeat(2, 1fr); }
  .funnel-card { position: relative; width: 100%; max-width: 460px; margin: 60px auto 0; right: auto; top: 0; }
  .hero-home .hero-visual { height: auto; padding-bottom: 60px; }
}
@media (max-width: 640px) {
  .niches, .universal { grid-template-columns: 1fr; }
  .niche { min-height: 0; }
  .funnel-card { padding: 18px; margin-top: 70px; }
  .f-row { grid-template-columns: 88px 1fr 44px; font-size: 13px; }
  .hero-home .fc-2 { display: none; }
  .hero-home .fc-1 { top: 0; left: 0; }
  .hero-home .fc-3 { right: 0; bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .f-bar i { width: var(--w); }
}

/* Serviços modulares */
.services { display: grid; grid-template-columns: 1fr 56px 1fr; align-items: stretch; }
.service {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 24px; padding: 36px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(49,94,251,.4); }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 18px rgba(49,94,251,.3);
}
.service-ico .ms { font-size: 28px; }
.service-tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-deep); background: var(--brand-tint); padding: 6px 12px; border-radius: 999px; }
.service h3 { font-size: 26px; font-weight: 800; line-height: 1.15; margin-top: 24px; }
.service-desc { color: var(--ink-soft); margin-top: 12px; }
.service-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; font-size: 15px; color: var(--ink-2); }
.service-list li { display: flex; gap: 10px; align-items: flex-start; }
.service-list .ms { font-size: 20px; color: var(--brand); flex: none; margin-top: 1px; }
.service-fit { margin: auto 0 0; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.service-list { margin-bottom: 24px; }
.service-fit b { color: var(--ink); }
.service .btn { margin-top: 20px; }
.services-plus { display: grid; place-items: center; position: relative; z-index: 2; }
.services-plus .ms {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 28px;
  background: #fff; color: var(--brand); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; z-index: 1;
}
.combo {
  margin-top: 28px; border-radius: 24px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-2) 60%, var(--dark) 100%); color: #fff; position: relative; overflow: hidden;
}
.combo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 240px at 0% 0%, rgba(95,129,255,.35), transparent 70%); }
.combo > * { position: relative; }
.combo-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--brand-light); background: rgba(95,129,255,.16); padding: 6px 12px; border-radius: 999px; }
.combo-badge .ms { font-size: 18px; }
.combo h3 { color: #fff; font-size: 26px; font-weight: 800; margin-top: 14px; line-height: 1.2; }
.combo p { color: #b4bdcc; margin-top: 10px; max-width: 640px; }
.combo .btn { flex: none; }

@media (max-width: 1024px) {
  .services { grid-template-columns: 1fr; }
  .services-plus { height: 20px; }
  .combo { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .service { padding: 28px 22px; }
  .service h3 { font-size: 22px; }
  .combo { padding: 28px 22px; }
  .combo h3 { font-size: 22px; }
  .combo .btn { width: 100%; }
}
