:root {
  --brand: #7c3aed;
  --brand-ink: color-mix(in oklab, var(--brand) 70%, black);
  --brand-soft: color-mix(in oklab, var(--brand) 9%, white);
  --brand-softer: color-mix(in oklab, var(--brand) 4%, white);
  --ink: #1d1530;
  --muted: #6b6480;
  --line: #e9e5f2;
  --bg: #ffffff;
  --radius: 20px;
  --shadow: 0 1px 2px rgb(29 21 48 / 6%), 0 12px 32px -12px rgb(29 21 48 / 18%);
  --font: 'Rethink Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; }
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--brand-ink); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; border: 0; border-radius: 14px; padding: .8em 1.4em; font-size: 1rem; cursor: pointer; font-family: inherit; transition: transform .15s ease, box-shadow .15s ease, background .15s; box-shadow: 0 6px 18px -6px color-mix(in oklab, var(--brand) 60%, transparent); }
.btn:hover { transform: translateY(-1px); background: var(--brand-ink); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in oklab, var(--brand) 45%, white); outline-offset: 2px; }
.btn-lg { padding: 1em 1.8em; font-size: 1.08rem; border-radius: 16px; }
.btn-sm { padding: .55em 1em; font-size: .92rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--brand-ink); box-shadow: inset 0 0 0 2px color-mix(in oklab, var(--brand) 30%, white); }
.btn-ghost:hover { background: var(--brand-soft); }
.link { background: none; border: 0; color: var(--brand-ink); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; display: inline-block; margin-top: .8em; }

/* Topo */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 12px max(16px, calc((100% - 1120px) / 2)); background: rgb(255 255 255 / 86%); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; min-width: 0; }
.brand span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar { gap: 12px; }
.topbar .btn { white-space: nowrap; flex: none; }
.brand img { height: 34px; width: auto; border-radius: 8px; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* Hero */
.hero { background: radial-gradient(120% 80% at 50% 0%, var(--brand-soft), #fff 70%); padding: 40px 0 16px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy { text-align: center; }
.eyebrow { display: inline-block; background: #fff; border: 1px solid var(--line); color: var(--brand-ink); font-weight: 600; font-size: .9rem; padding: .35em .9em; border-radius: 999px; margin-bottom: 1.2em; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 36em; margin-inline: auto; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 1.6em 0 1em; }
.proof { color: #f5a524; font-size: .95rem; margin: 0; }
.proof span { color: var(--muted); }
.hero-media { max-width: 420px; margin-inline: auto; width: 100%; }
@media (min-width: 900px) {
  .hero { padding: 88px 0 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-copy { text-align: left; }
  .lead { margin-inline: 0; }
  .hero-ctas { justify-content: flex-start; }
}

/* Vídeos */
.video { position: relative; border-radius: var(--radius); overflow: hidden; background: #0e0a18; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.video video, .video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
/* Arquivos de vídeo seguem a proporção natural (vertical ou horizontal); embeds ficam 16:9. */
.video:has(video) { aspect-ratio: auto; }
.video video { height: auto; max-height: 78vh; object-fit: contain; }
.video-hero { margin-inline: auto; }
.video-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.video-grid figure { margin: 0; }
.video-grid figcaption { padding: 12px 4px 0; display: grid; gap: 2px; }
.video-grid figcaption span { color: var(--muted); font-size: .94rem; }

/* Seções */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 72px 0; } }
section[id] { scroll-margin-top: 72px; }
.section.alt { background: var(--brand-softer); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--brand-ink); margin-bottom: .6em; }
.body { color: var(--muted); font-size: 1.05rem; }
.two-col { display: grid; gap: 40px; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } }

.steps { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 16px; counter-reset: s; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps p { margin: 0; padding-top: 6px; }
.step-n { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } .steps li { flex-direction: column; } }

.cards { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start; }
.card p { margin: 0; }
.check { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; }

/* Teaser do chat */
.teaser { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .teaser { grid-template-columns: 1fr 360px; } }
.phone { background: #efeae2; border-radius: 28px; padding: 14px; box-shadow: var(--shadow); border: 8px solid #1d1530; max-width: 360px; margin-inline: auto; width: 100%; }
.phone-head { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 8px 10px; margin-bottom: 12px; }
.phone-head img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.phone-head small { display: block; color: #1fa855; font-size: .78rem; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.avatar.sm { width: 40px; height: 40px; }
.bubble { max-width: 85%; padding: 8px 12px; border-radius: 14px; margin: 6px 0; font-size: .95rem; box-shadow: 0 1px 1px rgb(0 0 0 / 8%); }
.bubble.bot { background: #fff; border-top-left-radius: 4px; }
.bubble.me { background: #d9fdd3; margin-left: auto; border-top-right-radius: 4px; }

/* Depoimentos */
.testimonials { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 28px; }
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.testimonial p { margin: 0; font-size: 1.02rem; }
.testimonial footer { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.testimonial footer img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testimonial small { display: block; color: var(--muted); }

/* Oferta */
.offers { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 380px)); justify-content: center; margin-top: 28px; }
.offer { position: relative; background: #fff; border-radius: 24px; padding: 28px 24px; box-shadow: var(--shadow); border: 2px solid transparent; text-align: center; }
.offer.featured { border-color: var(--brand); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; padding: .3em .9em; border-radius: 999px; white-space: nowrap; }
.price-from { color: var(--muted); margin: .4em 0 0; }
.price-main { font-size: clamp(2.2rem, 7vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; margin: 0; color: var(--ink); }
.price-main small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price-n { font-size: .55em; vertical-align: .35em; color: var(--brand-ink); }
.price-sub { color: var(--muted); margin: .2em 0 .4em; }
.price-note { color: var(--muted); font-size: .85rem; margin: 0 0 .6em; }
.price-save { display: inline-block; background: #e7f8ee; color: #137a3f; font-weight: 600; font-size: .9rem; padding: .25em .8em; border-radius: 999px; }
.bullets { list-style: none; padding: 0; margin: 18px 0 22px; text-align: left; display: grid; gap: 8px; }
.bullets li { padding-left: 1.6em; position: relative; }
.bullets li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-ink); font-weight: 800; }
.guarantee { text-align: center; color: var(--muted); margin-top: 28px; }
.guarantee.small { font-size: .9rem; margin-top: 18px; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); }

.final { background: linear-gradient(160deg, var(--brand), var(--brand-ink)); color: #fff; }
.final .btn { background: #fff; color: var(--brand-ink); }
.footer { padding: 28px 0 96px; color: var(--muted); font-size: .9rem; }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--muted); }

.sticky-cta { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #1d1530; color: #fff; padding: 10px 10px 10px 18px; border-radius: 18px; box-shadow: 0 12px 30px -8px rgb(0 0 0 / 40%); font-size: .95rem; transform: translateY(150%); transition: transform .3s ease; }
.sticky-cta.show { transform: none; }
@media (min-width: 900px) { .sticky-cta { left: auto; right: 24px; width: 380px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Chat ---------- */
.chat-body { background: #efeae2; }
.chat { display: flex; flex-direction: column; height: 100dvh; max-width: 760px; margin: 0 auto; background: #efeae2; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; }
.chat-head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.chat-head small { display: block; color: #1fa855; font-size: .8rem; }
.chat-head .back { text-decoration: none; font-size: 1.8rem; color: var(--ink); line-height: 1; padding: 0 4px; }
.chat-log { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 16px 12px 8px; display: flex; flex-direction: column; gap: 6px; }
.msg { flex: none; max-width: 82%; padding: 8px 12px 6px; border-radius: 14px; background: #fff; box-shadow: 0 1px 1px rgb(0 0 0 / 8%); white-space: pre-wrap; word-wrap: break-word; animation: pop .18s ease-out; }
.msg.me { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 4px; }
.msg.bot { align-self: flex-start; border-top-left-radius: 4px; }
.msg.human::before { content: 'Equipe'; display: block; font-size: .72rem; font-weight: 700; color: var(--brand-ink); }
.msg time { display: block; text-align: right; font-size: .7rem; color: var(--muted); margin-top: 2px; }
.msg.video { padding: 6px; width: min(82%, 380px); }
.msg.video { flex: none; }
.chat .msg.video .video { aspect-ratio: 16 / 9; box-shadow: none; border-radius: 10px; }
.chat .msg.video .video video { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.msg.video p { margin: 6px 4px 0; font-size: .92rem; }
.offer-card { display: grid; gap: 8px; }
.offer-card .btn { width: 100%; }
.typing { align-self: flex-start; background: #fff; border-radius: 14px; padding: 10px 14px; display: flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9a93ad; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@keyframes pop { from { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .msg { animation: none; } }
.quick { display: flex; gap: 8px; padding: 0 12px 8px; flex-wrap: wrap; }
.quick button { border: 1px solid color-mix(in oklab, var(--brand) 35%, white); background: #fff; color: var(--brand-ink); border-radius: 999px; padding: .45em 1em; font: inherit; font-size: .92rem; cursor: pointer; }
.chat-input { display: flex; gap: 8px; padding: 10px 12px max(10px, env(safe-area-inset-bottom)); background: #f6f4f0; }
.chat-input input { flex: 1; border: 0; border-radius: 22px; padding: 12px 16px; font: inherit; font-size: 16px; background: #fff; }
.chat-input button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 1.1rem; cursor: pointer; }

/* ---------- Checkout ---------- */
.checkout-body { background: #f7f6fb; }
.checkout-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.secure { color: #137a3f; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.checkout { width: min(1000px, 100% - 32px); margin: 24px auto 64px; display: grid; gap: 20px; align-items: start; }
@media (min-width: 860px) { .checkout { grid-template-columns: 1fr 1.1fr; } .order { position: sticky; top: 20px; } }
.order, .steps-form { background: #fff; border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.order h2 { font-size: 1.25rem; }
.order-item { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-block: 1px solid var(--line); }
.order-item h3 { margin: 0 0 4px; font-size: 1.05rem; }
.order-item p { margin: 0; color: var(--muted); font-size: .9rem; }
.order-price { text-align: right; display: grid; }
.order-price s { color: var(--muted); font-size: .9rem; }
.order-total { margin: 14px 0 0; }
.flash { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff4e5; color: #8a4b00; padding: 10px 14px; border-radius: 12px; margin-bottom: 12px; }
.countdown { font-variant-numeric: tabular-nums; font-size: 1.1rem; }
.progress { list-style: none; padding: 0; margin: 0 0 18px; display: flex; gap: 8px; counter-reset: p; }
.progress li { flex: 1; font-size: .85rem; font-weight: 600; color: var(--muted); border-top: 4px solid var(--line); padding-top: 8px; counter-increment: p; }
.progress li::before { content: counter(p) '. '; }
.progress li.on { color: var(--brand-ink); border-color: var(--brand); }
fieldset { border: 0; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; }
legend { font-weight: 700; font-size: 1.15rem; margin-bottom: 8px; }
label { display: grid; gap: 6px; font-weight: 500; font-size: .92rem; }
input, select, textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); outline: none; }
.row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.methods { display: grid; gap: 10px; }
.method { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; }
.method:has(input:checked) { border-color: var(--brand); background: var(--brand-softer); }
.method input { width: auto; accent-color: var(--brand); }
.method small { color: var(--muted); margin-left: auto; }
.js [data-step="2"] { display: none; }
.js .on-2 [data-step="1"] { display: none; }
.js .on-2 [data-step="2"] { display: grid; }
.error { background: #fdecec; color: #a11d1d; padding: 10px 14px; border-radius: 12px; }
.fineprint { color: var(--muted); font-size: .8rem; margin-top: 12px; }

/* Páginas simples */
.simple { background: var(--brand-softer); min-height: 100vh; padding: 64px 0; }
.plist { list-style: none; padding: 0; display: grid; gap: 12px; }
.plist a { display: grid; background: #fff; border-radius: 16px; padding: 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.plist span { color: var(--muted); }
