:root {
  --red: #F01F2A;
  --red-dark: #C9161F;
  --blue: #3850A5;
  --blue-dark: #263B85;
  --ink: #141826;
  --body: #4A5068;
  --muted: #6B7189;
  --line: #E4E7F0;
  --tint: #F5F7FC;
  --white: #FFFFFF;
  --wa: #25D366;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 24, 38, .08);
  --grad: linear-gradient(90deg, var(--red), var(--blue));
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); color: var(--body); background: var(--white); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--blue); }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
h2 em { font-size: 1.08em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .85em 1.5em; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; transition: transform .15s, background .15s, color .15s, box-shadow .15s; cursor: pointer; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 8px 20px rgba(240, 31, 42, .25); }
.btn--primary:hover { background: var(--red-dark); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--light { background: var(--white); color: var(--blue-dark); }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.btn-row--center { justify-content: center; }
.link-row { display: flex; flex-wrap: wrap; gap: 22px; font-weight: 600; font-size: .95rem; }

/* Promo */
.promo { background: var(--grad); color: #fff; text-align: center; font-size: .9rem; font-weight: 600; padding: 9px 20px; }
.promo a { color: #fff; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--red); }
.nav .nav__cta { color: #fff; padding: .7em 1.3em; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 64px; background:
  radial-gradient(600px 300px at 90% 10%, rgba(56,80,165,.12), transparent 70%),
  radial-gradient(500px 300px at 0% 90%, rgba(240,31,42,.08), transparent 70%); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow, .label { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow { background: rgba(240,31,42,.08); padding: 6px 12px; border-radius: 999px; }
.lead { font-size: 1.12rem; max-width: 34em; }
.caption { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* Dashboard mock */
.mock { background: #fff; border-radius: 16px; box-shadow: 0 30px 60px rgba(20,24,38,.16); border: 1px solid var(--line); overflow: hidden; transform: perspective(1400px) rotateY(-6deg); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--tint); border-bottom: 1px solid var(--line); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5D9E5; }
.mock__bar i:first-child { background: #FF6159; } .mock__bar i:nth-child(2) { background: #FFBD2E; } .mock__bar i:nth-child(3) { background: #28C941; }
.mock__bar span { margin-left: 12px; font-size: .72rem; color: var(--muted); background: #fff; padding: 2px 12px; border-radius: 6px; }
.mock__body { display: grid; grid-template-columns: 56px 1fr; min-height: 300px; }
.mock__side { background: var(--blue-dark); padding: 12px 10px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.mock__side img { width: 36px; background: #fff; border-radius: 8px; padding: 3px; margin-bottom: 6px; }
.mock__side b { width: 26px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.25); }
.mock__side b.on { background: var(--red); }
.mock__main { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.mock__kpis small { display: block; font-size: .66rem; color: var(--muted); }
.mock__kpis strong { display: block; color: var(--ink); font-size: 1.05rem; }
.mock__kpis em { font-style: normal; font-size: .66rem; font-weight: 700; }
.mock__kpis .up { color: #16A34A; } .mock__kpis .down { color: var(--red); }
.mock__chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.mock__chart span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--blue), rgba(56,80,165,.45)); }
.mock__chart span:last-child { background: linear-gradient(180deg, var(--red), rgba(240,31,42,.45)); }
.mock__rows p { height: 10px; margin: 0 0 8px; border-radius: 5px; background: var(--tint); }
.mock__rows p:nth-child(2) { width: 80%; } .mock__rows p:nth-child(3) { width: 60%; }

/* Stats */
.stats { padding: 0 0 24px; }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; text-align: center; box-shadow: var(--shadow); }
.stat strong { display: block; font-size: 1.9rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: .88rem; color: var(--muted); font-weight: 500; }

/* Sections */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.muted { color: var(--muted); }
.note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 28px; }

/* Module cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(56,80,165,.35); }
.card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.card__icon { width: 50px; height: 50px; display: grid; place-items: center; font-size: 1.5rem; background: var(--tint); border-radius: 14px; }
.card__num { font-weight: 800; color: var(--line); font-size: 1.6rem; }
.card p { font-size: .95rem; }
.card__link { margin-top: auto; font-weight: 700; padding-top: 10px; }
.checks { list-style: none; padding: 0; margin: 0 0 20px; }
.checks li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .93rem; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%; background: rgba(56,80,165,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%233850A5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }

/* Why */
.why { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.reasons { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 18px; }
.reasons li { display: flex; gap: 16px; align-items: flex-start; }
.reasons__icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; font-size: 1.3rem; background: #fff; border-radius: 12px; box-shadow: var(--shadow); }
.reasons strong { color: var(--ink); }
.reasons p { margin: 2px 0 0; font-size: .95rem; }
.why__art { background: #fff; border-radius: 28px; padding: 48px; box-shadow: var(--shadow); position: relative; }
.why__art::after { content: ""; position: absolute; inset: auto 24px -12px; height: 12px; border-radius: 0 0 20px 20px; background: var(--grad); opacity: .85; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 16px; }
.step__tag { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; }
.plan .checks { flex: 1; }
.plan--popular { border: 2px solid var(--blue); box-shadow: 0 20px 40px rgba(56,80,165,.18); transform: translateY(-8px); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan__text { color: var(--muted); font-size: .93rem; }
.plan__price { font-size: 2.6rem; font-weight: 800; color: var(--ink); line-height: 1; margin: 8px 0 22px; }
.plan__price .cur { font-size: 1.2rem; vertical-align: top; margin-right: 2px; }
.plan__price small { font-size: .9rem; font-weight: 500; color: var(--muted); }

/* CTA */
.cta { background: linear-gradient(120deg, var(--blue-dark), var(--blue) 55%, #5B3B8C 80%, var(--red)); color: #fff; padding: 88px 0; text-align: center; }
.cta h2 { color: #fff; }
.cta h2 em { color: #fff; }
.cta p { font-size: 1.1rem; opacity: .9; }

/* Footer */
.footer { background: #0F1322; color: #A9AFC4; padding: 64px 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__logo { background: #fff; border-radius: 14px; padding: 8px 12px; margin-bottom: 16px; height: auto; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a, .footer address span { display: block; color: #A9AFC4; margin-bottom: 8px; font-style: normal; }
.footer a:hover { color: #fff; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.socials a { display: inline; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding: 20px; text-align: center; font-size: .85rem; }

/* WhatsApp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37,211,102,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }

/* Responsive */
@media (max-width: 1024px) {
  .cards, .plans { grid-template-columns: repeat(2, 1fr); }
  .plan--popular { transform: none; }
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .nav__cta { margin-top: 12px; border-bottom: 0; }
  .hero { padding: 44px 0 48px; }
  .hero__inner, .why { grid-template-columns: 1fr; gap: 40px; }
  .mock { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .why__art { max-width: 420px; margin: 0 auto; padding: 32px; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .cards, .plans, .footer__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid .stat:last-child { grid-column: 1 / -1; }
  .btn-row .btn { flex: 1 1 100%; }
  .brand img { height: 50px; }
  .mock__body { grid-template-columns: 44px 1fr; min-height: 240px; }
  .mock__main { padding: 12px; }
  .mock__kpis strong { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Demo pop-up */
body.modal-open { overflow: hidden; }
.modal { width: min(620px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 22px; box-shadow: 0 40px 80px rgba(20,24,38,.3); color: var(--body); background: var(--white); }
.modal::backdrop { background: rgba(15,19,34,.6); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .2s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__form { position: relative; padding: 36px 32px 30px; }
.modal__form::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--grad); }
.modal h2 { font-size: 1.9rem; margin-bottom: .3em; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--tint); font-size: 1.5rem; line-height: 1; color: var(--ink); cursor: pointer; }
.modal__close:hover { background: var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; font-size: .9rem; font-weight: 600; color: var(--ink); }
.field legend { padding: 0; margin-bottom: 10px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; width: 100%; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(56,80,165,.12); }
.field .is-invalid, .is-invalid { border-color: var(--red) !important; }
.req { color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--ink); transition: all .15s; }
.chip span::before { content: "+ "; color: var(--muted); }
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:checked + span::before { content: "✓ "; color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(56,80,165,.2); }
.field__error, .form-error { color: var(--red-dark); font-size: .88rem; font-weight: 600; margin: 8px 0 0; }
.form-error { background: rgba(240,31,42,.07); padding: 10px 14px; border-radius: 10px; margin: 0 0 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.modal__done { text-align: center; padding: 20px 0 6px; }
.modal__tick { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 2rem; display: grid; place-items: center; }
@media (max-width: 560px) {
  .modal__form { padding: 30px 18px 22px; }
  .field-grid { grid-template-columns: 1fr; }
  .modal h2 { font-size: 1.6rem; }
}
