/* Site de vendas — cores vêm do super admin (--brand, --brand-2, --dark são definidas pelo site.js) */
:root {
  --brand: #e4572e;
  --brand-2: #f4a259;
  --brand-ink: #ffffff;
  --dark: #1d1a2b;
  --bg: #fbfaf8;
  --surface: #ffffff;
  --soft: #f3f1ed;
  --text: #1b1a22;
  --muted: #5f5d6b;
  --border: #e6e3dd;
  --ok: #15803d;
  --err: #b91c1c;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 16, 40, .05), 0 8px 30px rgba(20, 16, 40, .07);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  overflow-wrap: break-word; /* endereços longos (ex.: seurestaurante.sitepronto.top) quebram em vez de alargar a página */
}
html { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.icon { flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------------------------------------------------------- botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 20px color-mix(in srgb, var(--brand) 35%, transparent); }
.btn-ghost { background: transparent; border-color: currentColor; }
.btn-light { background: #fff; color: var(--dark); }
.btn-block { width: 100%; }
.btn-plain { background: none; color: var(--muted); text-decoration: underline; font-weight: 600; padding-block: .5rem; }
.btn-plain:hover { color: var(--text); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-sm { padding: .5rem 1rem; font-size: .92rem; }

/* ---------------------------------------------------------------- topo */
.nav {
  position: sticky; top: 0; z-index: 50; color: #fff;
  background: color-mix(in srgb, var(--dark) 88%, transparent); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.nav .wrap { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.logo { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.2rem; text-decoration: none; letter-spacing: -.02em; }
.logo img { height: 36px; width: auto; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.nav-links { display: flex; gap: 1.4rem; margin-left: auto; }
.nav-links a { text-decoration: none; opacity: .8; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.nav-links a:hover { opacity: 1; }
.nav .btn { padding: .6rem 1.1rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: inherit; cursor: pointer; padding: .4rem; }
.nav-links .nav-menu-cta { display: none; }
/* menu recolhido até a largura em que todos os links cabem numa linha só */
@media (max-width: 1080px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--dark); padding: .5rem 16px 1rem; border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav-toggle { display: block; }
  .nav .nav-cta { display: none; }
  .nav-links .nav-menu-cta { display: flex; margin-top: .9rem; padding: .8rem 1rem; border: 0; opacity: 1; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, color-mix(in srgb, var(--brand) 55%, transparent), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, color-mix(in srgb, var(--brand-2) 35%, transparent), transparent 60%),
    var(--dark);
  padding: 5rem 0 6rem;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); font-size: .85rem; font-weight: 600; margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand-2), #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; opacity: .85; max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.2rem; }
.hero-notes { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .9rem; opacity: .8; }
.hero-notes span { display: inline-flex; align-items: center; gap: .35rem; }
@media (max-width: 960px) {
  .hero { padding: 3.5rem 0 4rem; }
  .hero .wrap { grid-template-columns: 1fr; }
}

/* maquete do produto (feita em HTML, sem imagens) */
.mock { position: relative; min-height: 420px; }
.mock-window {
  background: #fff; color: var(--text); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  overflow: hidden; width: 100%; max-width: 520px; margin-left: auto;
}
.mock-bar { display: flex; gap: 6px; padding: .7rem .9rem; background: #f1efeb; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6d2ca; }
.mock-body { padding: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.mock-col h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .5rem; }
.mock-ticket { border: 1px solid var(--border); border-radius: 10px; padding: .55rem .6rem; margin-bottom: .5rem; font-size: .78rem; background: #fff; }
.mock-ticket b { display: flex; justify-content: space-between; font-size: .85rem; }
.mock-ticket .tag { display: inline-block; margin-top: .3rem; padding: .05rem .45rem; border-radius: 999px; font-size: .68rem; font-weight: 700; }
.tag-new { background: color-mix(in srgb, var(--brand) 15%, #fff); color: var(--brand); }
.tag-ok { background: #dcfce7; color: #15803d; }
.tag-go { background: #dbeafe; color: #1d4ed8; }
.mock-phone {
  position: absolute; left: 0; bottom: -30px; width: 210px; background: #fff; color: var(--text);
  border-radius: 26px; border: 7px solid #111; box-shadow: 0 25px 60px rgba(0, 0, 0, .45); overflow: hidden;
}
.mock-phone .wa-head { background: #075e54; color: #fff; padding: .6rem .7rem; font-size: .78rem; font-weight: 700; display: flex; gap: .4rem; align-items: center; }
.mock-phone .wa-body { background: #ece5dd; padding: .6rem; display: flex; flex-direction: column; gap: .4rem; min-height: 230px; }
.bubble { max-width: 85%; padding: .4rem .55rem; border-radius: 8px; font-size: .72rem; line-height: 1.35; background: #fff; }
.bubble.me { align-self: flex-end; background: #dcf8c6; }
.bubble a { color: #0b66c3; font-weight: 700; text-decoration: none; }
@media (max-width: 960px) {
  .mock { min-height: 0; padding-bottom: 2rem; }
  .mock-window { margin: 0 auto; }
  .mock-phone { display: none; }
}
@media (max-width: 520px) { .mock-body { grid-template-columns: 1fr 1fr; } .mock-col:last-child { display: none; } }

/* ---------------------------------------------------------------- seções */
section { padding: 5.5rem 0; }
@media (max-width: 640px) { section { padding: 3.5rem 0; } .section-head { margin-bottom: 2rem; } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .kicker { color: var(--brand); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin-top: .4rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.alt { background: var(--soft); }

.strip { background: var(--surface); border-bottom: 1px solid var(--border); padding: 1.6rem 0; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.6rem; color: var(--muted); font-weight: 700; }
.strip span { display: inline-flex; align-items: center; gap: .5rem; }
.strip .icon { color: var(--brand); }

.grid { display: grid; gap: 1.2rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.feature h3 { font-size: 1.08rem; margin: .9rem 0 .4rem; }
.feature p { color: var(--muted); margin: 0; font-size: .96rem; }
.feat-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand);
}

/* canais: blocos alternados */
.channel { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
.channel:last-child { margin-bottom: 0; }
.channel.rev .channel-text { order: 2; }
.channel h3 { font-size: 1.7rem; font-weight: 800; }
.channel ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; }
.channel li { display: flex; gap: .6rem; align-items: flex-start; overflow-wrap: anywhere; }
.channel > * { min-width: 0; }
.channel li .icon { color: var(--ok); margin-top: .2rem; }
.channel-visual {
  border-radius: 22px; min-height: 280px; padding: 1.6rem; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, #fff), color-mix(in srgb, var(--brand-2) 18%, #fff));
}
.channel-visual .panel { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 1rem; width: 100%; max-width: 360px; font-size: .9rem; }
.panel-row { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; border-bottom: 1px dashed var(--border); }
.panel-row:last-child { border: 0; }
.panel-total { font-weight: 800; font-size: 1.05rem; }
.pill { padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; }
@media (max-width: 860px) {
  .channel { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .channel.rev .channel-text { order: 0; }
}

/* passos */
.steps { counter-reset: s; }
.step { position: relative; padding-top: 2.2rem; }
.step::before {
  counter-increment: s; content: counter(s); position: absolute; top: 0; left: 1.5rem; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 40%, transparent);
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- preços */
.cycle-toggle { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin-top: 1rem; }
.cycle-toggle button { border: 0; background: none; padding: .55rem 1.2rem; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; color: var(--muted); }
.cycle-toggle button.on { background: var(--dark); color: #fff; }
.cycle-toggle .save { color: var(--ok); font-size: .78rem; margin-left: .3rem; }
.cycle-toggle button.on .save { color: #86efac; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.4rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 2rem 1.6rem; }
.plan.hl { border: 2px solid var(--brand); transform: translateY(-8px); box-shadow: 0 20px 50px color-mix(in srgb, var(--brand) 20%, transparent); }
.plan .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: var(--brand-ink);
  font-size: .75rem; font-weight: 800; padding: .3rem .8rem; border-radius: 999px; white-space: nowrap; text-transform: uppercase; letter-spacing: .05em;
}
.plan h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.plan .desc { color: var(--muted); font-size: .94rem; min-height: 2.8em; }
.price { margin: 1rem 0 .2rem; display: flex; align-items: baseline; gap: .3rem; }
.price .cur { font-weight: 700; color: var(--muted); }
.price .val { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; }
.price .per { color: var(--muted); font-weight: 600; }
.price-note { color: var(--muted); font-size: .85rem; min-height: 1.4em; }
.plan ul { list-style: none; padding: 0; margin: 1.3rem 0 1.6rem; display: grid; gap: .6rem; flex: 1; }
.plan li { display: flex; gap: .55rem; font-size: .95rem; }
.plan li .icon { color: var(--ok); margin-top: .15rem; }
.plan .btn + .btn { margin-top: .5rem; }
.pay-methods { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.4rem; margin-top: 2rem; color: var(--muted); font-size: .92rem; }
.pay-methods span { display: inline-flex; align-items: center; gap: .4rem; }

/* ---------------------------------------------------------------- demo */
.demo-box {
  border-radius: 24px; padding: 2.6rem; color: #fff; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center;
  background: linear-gradient(135deg, var(--dark), color-mix(in srgb, var(--dark) 70%, var(--brand)));
}
.demo-box h2 { font-size: 2rem; }
.demo-box p { opacity: .85; }
.cred { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: 16px; padding: 1.2rem; }
.cred-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.cred-row:last-of-type { border: 0; }
.cred code { font-size: 1rem; font-weight: 700; background: rgba(255, 255, 255, .12); padding: .1rem .5rem; border-radius: 6px; }
.demo-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
@media (max-width: 800px) { .demo-box { grid-template-columns: 1fr; padding: 1.6rem; } }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 1.3rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 700; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; }

/* ---------------------------------------------------------------- chamada final e rodapé */
.final { text-align: center; }
.final .card { padding: 3rem 1.5rem; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: var(--brand-ink); border: 0; }
.final h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.final p { opacity: .9; font-size: 1.1rem; }
.final .btn-light { margin-top: .6rem; }

footer { background: var(--dark); color: rgba(255, 255, 255, .75); padding: 3rem 0 2rem; font-size: .93rem; }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
footer h4 { color: #fff; margin: 0 0 .8rem; }
footer a { text-decoration: none; display: flex; align-items: center; gap: .45rem; margin-bottom: .5rem; }
footer a:hover { color: #fff; }
footer .logo { color: #fff; margin-bottom: .8rem; }
.copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; grid-column: 1 / -1; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

/* ---------------------------------------------------------------- modal (termos) */
.modal-back { position: fixed; inset: 0; background: rgba(10, 8, 20, .55); z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal { background: var(--surface); border-radius: 18px; max-width: 640px; width: 100%; max-height: 85vh; overflow: auto; padding: 1.8rem; }
.modal-actions { display: flex; justify-content: flex-end; margin-top: 1rem; }

/* ---------------------------------------------------------------- cadastro */
.signup-page { min-height: 100vh; display: flex; flex-direction: column; }
.signup-page main { flex: 1; padding: 2.5rem 0 4rem; }
.signup-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .signup-grid { grid-template-columns: minmax(0, 1fr); } .summary { order: -1; } }
@media (max-width: 400px) { .form-card, .summary { padding: 1.1rem; } .form-card h1 { font-size: 1.5rem; } .slug-input span { padding: .75rem .55rem; font-size: .85rem; } }
.form-card h1 { font-size: 1.8rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; }
legend { font-weight: 800; font-size: 1.05rem; margin-bottom: .9rem; display: flex; align-items: center; gap: .5rem; }
legend .n { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-size: .82rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label, .field .label { font-weight: 600; font-size: .92rem; }
.field input, .field select {
  font: inherit; padding: .75rem .9rem; border-radius: 10px; border: 1.5px solid var(--border); background: #fff; color: var(--text); width: 100%;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.field .hint { color: var(--muted); font-size: .84rem; }
.field .hint.ok { color: var(--ok); font-weight: 600; }
.field .hint.err { color: var(--err); font-weight: 600; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.slug-input { display: flex; align-items: stretch; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; }
.slug-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.slug-input input { border: 0 !important; box-shadow: none !important; border-radius: 0; min-width: 0; }
.slug-input span { background: var(--soft); padding: .75rem .8rem; color: var(--muted); font-weight: 600; white-space: nowrap; font-size: .92rem; display: flex; align-items: center; }
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .7rem; }
.choice label {
  display: flex; gap: .7rem; align-items: flex-start; border: 1.5px solid var(--border); border-radius: 12px; padding: .9rem; cursor: pointer; background: #fff;
}
.choice label:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, #fff); }
.choice input { margin-top: .25rem; accent-color: var(--brand); }
.choice small { display: block; color: var(--muted); font-weight: 500; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; font-size: .94rem; }
.check input { margin-top: .3rem; accent-color: var(--brand); width: 17px; height: 17px; flex: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); font-weight: 700; cursor: pointer; text-decoration: underline; }
.summary { position: sticky; top: 90px; }
/* no celular o resumo fica no topo, sem acompanhar a rolagem (senão cobre o formulário) */
@media (max-width: 900px) { .summary { position: static; } }
.summary h3 { font-size: 1.05rem; }
.sum-row { display: flex; justify-content: space-between; padding: .45rem 0; color: var(--muted); }
.sum-total { display: flex; justify-content: space-between; border-top: 1px solid var(--border); margin-top: .5rem; padding-top: .8rem; font-weight: 800; font-size: 1.15rem; }
.secure { display: flex; gap: .5rem; align-items: center; color: var(--muted); font-size: .85rem; margin-top: 1rem; }
.alert { padding: .9rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 600; }
.alert-err { background: #fee2e2; color: var(--err); }
.alert-info { background: color-mix(in srgb, var(--brand) 10%, #fff); color: var(--text); }

/* acompanhamento / sucesso */
.status-card { max-width: 620px; margin: 0 auto; text-align: center; }
.status-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; }
.status-icon.wait { background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); }
.status-icon.ok { background: #dcfce7; color: var(--ok); }
.status-icon.err { background: #fee2e2; color: var(--err); }
.qr { width: 240px; height: 240px; margin: 1rem auto; border-radius: 12px; border: 1px solid var(--border); background: #fff; padding: 8px; }
.pix-code { display: flex; gap: .5rem; margin: .8rem 0; }
.pix-code input { flex: 1; min-width: 0; font: inherit; font-size: .85rem; padding: .7rem; border: 1.5px solid var(--border); border-radius: 10px; background: var(--soft); }
.access { text-align: left; background: var(--soft); border-radius: 14px; padding: 1.2rem; margin: 1.4rem 0; }
.access .cred-row { border-color: var(--border); }
.access code { background: #fff; padding: .1rem .5rem; border-radius: 6px; font-weight: 700; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); display: inline-block; animation: pulse 1.4s infinite; margin-right: .4rem; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 60%, transparent); } 70% { box-shadow: 0 0 0 12px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.spinner { width: 34px; height: 34px; border: 3px solid var(--border); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; margin: 3rem auto; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast-box { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 200; display: grid; gap: .5rem; }
.toast { background: var(--dark); color: #fff; padding: .75rem 1.1rem; border-radius: 12px; box-shadow: var(--shadow); font-weight: 600; }
.toast.err { background: var(--err); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* comparativo de planos */
details.compare { margin-top: 2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 1.2rem; }
details.compare summary { cursor: pointer; padding: 1rem 0; font-weight: 800; text-align: center; color: var(--brand); list-style: none; }
details.compare summary::-webkit-details-marker { display: none; }
.compare-wrap { overflow-x: auto; padding-bottom: 1rem; }
.compare-wrap table { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare-wrap th, .compare-wrap td { padding: .65rem .5rem; border-bottom: 1px solid var(--border); text-align: center; }
.compare-wrap th:first-child, .compare-wrap td:first-child { text-align: left; }
.compare-wrap td small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; }
.compare-wrap tr.grp td { background: var(--soft); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); text-align: left; }
.compare-wrap .yes { color: var(--ok); display: inline-flex; }
.compare-wrap .no { color: var(--muted); }

/* ---------- segmentos atendidos */
.segments { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .8rem; }
@media (max-width: 520px) {
  .segments { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .segment { padding: .85rem; }
  .segment .seg-links { font-size: .82rem; }
}
.segment { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem; }
.segment .seg-icon { font-size: 1.9rem; line-height: 1; }
.segment b { font-size: 1.02rem; }
.segment .seg-links { font-size: .88rem; color: var(--muted); }
.segment .seg-links a { font-weight: 600; }
.seg-more { grid-column: 1 / -1; text-align: center; color: var(--muted); font-size: .92rem; margin: .4rem 0 0; }
/* abas das demonstrações */
.demo-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.demo-tabs button { border: 1px solid rgba(255,255,255,.35); background: transparent; color: inherit; border-radius: 999px; padding: .4rem .8rem; font: inherit; font-size: .9rem; cursor: pointer; }
.demo-tabs button.on { background: #fff; color: var(--dark, #140750); border-color: #fff; font-weight: 700; }
.demo-tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------------------------------------------------------------- termos de uso e privacidade (/termos, /privacidade) */
.legal-nav { position: static; }
.legal-nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.legal-page { max-width: 820px; padding-top: 2rem; padding-bottom: 3rem; }
.legal-page h1 { font-size: 2rem; margin: 0 0 .25rem; }
.legal-page h2 { font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
.legal-page p, .legal-page li { line-height: 1.65; }
.legal-page ul { padding-left: 1.25rem; }
.legal-page .muted { opacity: .7; }
.legal-summary { background: rgba(127, 127, 127, .1); border-radius: 12px; padding: .9rem 1rem; margin: 1rem 0; line-height: 1.55; }
.legal-links { margin-top: 2rem; opacity: .85; }

/* ---------------------------------------------------------------- calculadora "compare com os apps" (/comparar) */
.cmp-hero { background: radial-gradient(900px 500px at 85% -10%, color-mix(in srgb, var(--brand) 45%, transparent), transparent 60%), var(--dark); color: #fff; padding: 3.5rem 0 5rem; }
.cmp-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; max-width: 820px; margin: .6rem 0; }
.cmp-hero .lead { max-width: 720px; opacity: .88; font-size: 1.1rem; }
.cmp-calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.2rem; margin-top: -3rem; margin-bottom: 3rem; align-items: start; }
.cmp-card { background: #fff; color: #1d1a2b; border-radius: 18px; padding: 1.5rem; box-shadow: 0 18px 50px rgba(20, 16, 40, .14); }
.cmp-card h2 { margin: 0 0 1rem; font-size: 1.25rem; }
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.cmp-grid label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .92rem; }
.cmp-grid input, .cmp-grid select { font: inherit; padding: .6rem .7rem; border: 1px solid #d9d6e3; border-radius: 10px; width: 100%; background: #fff; color: inherit; }
.cmp-grid input[type=range] { padding: 0; border: 0; accent-color: var(--brand); }
.cmp-presets { display: flex; gap: .35rem; flex-wrap: wrap; }
.cmp-presets button { font: 600 .78rem/1 inherit; padding: .35rem .55rem; border-radius: 99px; border: 1px solid #d9d6e3; background: #f6f5fa; cursor: pointer; color: inherit; }
.cmp-hint, .cmp-range { font-weight: 500; font-size: .82rem; color: #6b6878; }
.cmp-rows { display: grid; gap: .6rem; }
.cmp-rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed #e4e1ec; }
.cmp-rows b { text-align: right; }
.cmp-rows .bad b { color: #c2410c; }
.cmp-rows .good b { color: #15803d; }
.cmp-save { text-align: center; margin: 1.2rem 0 .6rem; }
.cmp-save span { display: block; color: #6b6878; font-weight: 600; }
.cmp-save strong { display: block; font-size: clamp(2rem, 5vw, 2.8rem); color: #15803d; line-height: 1.1; }
.cmp-save small { color: #6b6878; font-weight: 600; }
.cmp-note { font-size: .85rem; color: #6b6878; }
.cmp-table-wrap { margin-bottom: 4rem; }
.cmp-table { border: 1px solid #e4e1ec; border-radius: 16px; overflow: hidden; background: #fff; color: #1d1a2b; }
.cmp-tr { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1rem; padding: .85rem 1.1rem; border-top: 1px solid #efedf4; }
.cmp-th { background: #f6f5fa; font-weight: 800; border-top: 0; }
.cmp-tr span:first-child { font-weight: 600; }
@media (max-width: 860px) {
  .cmp-calc { grid-template-columns: 1fr; margin-top: -2rem; }
  .cmp-grid { grid-template-columns: 1fr; }
  .cmp-tr { grid-template-columns: 1fr 1fr; }
  .cmp-tr span:first-child { grid-column: 1 / -1; }
}
