/* Demonstração do Checkgenda (demonstracao.html): página para enviar a leads. Mesma marca da landing (âmbar, Poppins +
   Open Sans); as peças do produto ([data-ui]) seguem o visual do painel. */
:root {
  --bg: #faf9f6;
  --surface: #f1eee6;
  --surface-2: #e7e3d8;
  --ink: #14172b;
  --ink-2: #1f2444;
  --muted: #464a63;
  --on-dark: #f4f2ec;
  --on-dark-soft: #b9bccf;
  --accent: #d97706;
  --accent-soft: #fbe3c2;
  --trust: #2563eb;
  --wa-chat: #ebe5dc;
  --wa-out: #d9f7c9;
  --m: clamp(16px, 3.2vw, 44px);
  --gap: clamp(80px, 9vw, 136px);
  --s1: 14px;
  --s2: 16px;
  --s3: clamp(18px, 1.35vw, 20px);
  --s4: clamp(26px, 2.7vw, 40px);
  --s5: clamp(44px, 6vw, 92px);
  --r: 16px;
  --head: "Poppins", sans-serif;
  --text: "Open Sans", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--s2)/1.6 var(--text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--trust); outline-offset: 3px; }
::selection { background: var(--accent-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px;
  background: var(--accent); color: var(--ink); font: 700 var(--s2)/1 var(--text); text-decoration: none; border: 0; cursor: pointer;
  transition: transform 160ms var(--ease), background-color 160ms;
}
.btn:hover { background: #ea8a12; }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn.light { background: var(--on-dark); }
.btn.light:hover { background: #fff; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; transition: color 160ms; }
.link:hover { color: var(--accent); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--head); }
.brand svg { width: 34px; height: 34px; }
.brand .ring { fill: var(--on-dark); }
.brand-top { display: none !important; }

section { position: relative; }
.wrap { padding: 0 var(--m); }

/* ---------- Hero: dois campos de tom, a conversa à direita ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: max(100svh, 720px); color: var(--on-dark); }
.hero-text { background: var(--ink); padding: 40px var(--m); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.hero-stage { background: var(--ink-2); display: grid; place-items: center; padding: 96px var(--m) 56px; position: relative; }
.hero-top-link { position: absolute; top: 40px; right: var(--m); font-size: 15px; color: var(--on-dark-soft); text-decoration: none; }
.hero-top-link:hover { color: var(--on-dark); }
.hero-copy { max-width: 680px; margin: auto 0; }
.hero h1 { font-size: clamp(30px, 3.5vw, 52px); font-weight: 700; color: #fff; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero h1 .line > span { display: block; }
.hero-lead { margin-top: 24px; font-size: var(--s3); line-height: 1.45; color: var(--on-dark-soft); max-width: 44ch; }
.hero-lead b { color: var(--on-dark); font-weight: 600; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero-actions .link { color: var(--on-dark); }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--on-dark-soft); }

/* ---------- Peças do produto ---------- */
[data-ui] { font-family: var(--text); color: var(--ink); }

/* Conversa no WhatsApp com a agenda embaixo */
.demo { width: min(470px, 100%); }
.demo-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.demo-tab {
  min-height: 44px; padding: 6px 4px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: var(--on-dark-soft);
  font-size: var(--s1); font-weight: 600; cursor: pointer; transition: background-color 160ms, color 160ms, transform 160ms;
}
.demo-tab:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.demo-tab:active { transform: scale(0.97); }
.demo-tab[aria-selected="true"] { background: var(--on-dark); color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); }
.phone { background: var(--wa-chat); border-radius: 18px; overflow: hidden; }
.phone-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: #8a4a04; display: grid; place-items: center; font: 700 15px/1 var(--head); flex-shrink: 0; }
.phone-head b { display: block; font-size: 15px; line-height: 1.2; }
.phone-head small { font-size: 13px; color: #1f6b2b; }
.clock { margin-left: auto; font: 600 13px/1 var(--text); color: #42465f; background: var(--surface); padding: 6px 10px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.chat { height: 300px; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; justify-content: flex-end; }
.bubble { max-width: 84%; padding: 9px 12px 7px; border-radius: 12px; font-size: 15px; line-height: 1.4; background: #fff; }
.bubble.out { align-self: flex-end; background: var(--wa-out); }
.bubble small { display: block; margin-top: 2px; text-align: right; font-size: 13px; color: #4f546e; }
.bubble.typing { width: 58px; display: flex; gap: 4px; padding: 12px; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9da1b5; animation: dot 1s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.bubble.enter { animation: pop 320ms var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } }

.agenda { background: #fff; padding: 12px 16px 14px; }
.agenda-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); }
.agenda-head b { font: 600 14px/1.2 var(--head); color: var(--ink); }
.slots { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slot { position: relative; min-height: 52px; border-radius: 8px; background: var(--surface); padding: 8px 10px; font-size: 13px; line-height: 1.3; transition: background-color 400ms, color 400ms; }
.slot b { display: block; font-size: 14px; font-variant-numeric: tabular-nums; }
.slot.busy { background: var(--surface-2); color: var(--muted); }
.slot.booked { background: var(--accent); color: var(--ink); }
.slot .tick { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; opacity: 0; transform: scale(0.4); transition: opacity 300ms, transform 400ms var(--ease); }
.slot.booked .tick { opacity: 1; transform: none; }
.demo-foot { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--on-dark-soft); }
.demo-foot button { background: none; border: 0; padding: 8px 0; color: var(--on-dark); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.demo-foot button:hover { color: var(--accent); }

/* ---------- Painel em vídeo: lista de capítulos e a tela ---------- */
.tour { padding: var(--gap) var(--m) 0; }
.tour-say h2 { font-size: var(--s4); }
.tour-say p { margin-top: 12px; max-width: 56ch; }
.tour-body { margin-top: 32px; max-width: 1180px; display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 28px; align-items: start; }
.tour-list { display: flex; flex-direction: column; gap: 6px; }
.tour-list button {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border: 0; border-radius: 12px; background: var(--surface);
  text-align: left; cursor: pointer; transition: background-color 160ms, transform 160ms;
}
.tour-list button:hover { background: var(--surface-2); }
.tour-list button:active { transform: scale(0.99); }
.tour-list button b { font: 600 16px/1.3 var(--head); }
.tour-list button span { grid-column: 1; font-size: 14px; color: #42465f; }
.tour-list button i { grid-column: 2; grid-row: 1; font-style: normal; font-size: 13px; color: #42465f; font-variant-numeric: tabular-nums; }
.tour-list button[aria-selected="true"] { background: var(--accent-soft); box-shadow: inset 4px 0 0 var(--accent); }
.tour-list button[aria-selected="true"] span, .tour-list button[aria-selected="true"] i { color: var(--ink); }
.tour-screen { background: var(--ink-2); border-radius: 18px; padding: 10px; }
.tour-screen video { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 640; border-radius: 10px; background: #fff; }
.tour-cap { margin: 10px 6px 2px; font-size: 13px; color: var(--on-dark-soft); }

/* ---------- Showcase: a pergunta é o título ---------- */
.ask { padding: var(--gap) var(--m) 0; }
.ask h2 { font-size: 20px; font-weight: 600; letter-spacing: 0; color: var(--ink); }
.ask-line { display: flex; align-items: center; margin-top: 18px; }
.ask-input {
  width: 100%; border: 0; background: none; padding: 0; outline: none; font: 700 clamp(30px, 4vw, 60px)/1.2 var(--head); letter-spacing: -0.03em; border-radius: 12px;
  color: var(--ink); caret-color: var(--accent); text-overflow: clip;
}
.ask-input:focus-visible { outline: none; background-color: #fff3e2; }
.ask-body { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 48px; align-items: start; }
.ask-answer { background: var(--wa-chat); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 8px; min-height: 150px; }
.ask-answer .bubble { max-width: 92%; font-size: 15px; }
.ask-who { font-size: 13px; color: var(--muted); }
.ask-side { display: flex; flex-direction: column; gap: 22px; }
.ask-side p { max-width: 44ch; }
.examples { display: flex; flex-wrap: wrap; gap: 8px; }
.examples button {
  min-height: 44px; padding: 8px 18px; border: 0; border-radius: 999px; background: var(--surface); font-size: 15px; cursor: pointer; text-align: left;
  transition: background-color 160ms, transform 160ms;
}
.examples button:hover { background: var(--surface-2); }
.examples button:active { transform: scale(0.98); }
.ask-fine { font-size: 15px; color: var(--muted); }

/* ---------- Features: a lista de comandos ---------- */
.can { padding: var(--gap) var(--m) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 48px; align-items: start; }
.can-box { display: block; }
.can-search { display: flex; align-items: center; gap: 18px; background: var(--surface); padding: 0 22px; min-height: 1.9em; font-size: clamp(20px, 1.8vw, 26px); border-radius: var(--r); }
.can-search h2 { font-size: inherit; font-weight: 600; white-space: nowrap; letter-spacing: -0.02em; }
.can-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: var(--s2); color: var(--ink); padding: 14px 0; }
.can-search input::placeholder { color: var(--muted); }
.can-list { list-style: none; margin: 20px 0 0; padding: 0; }
.can-item { display: block; width: 100%; border: 0; border-radius: 12px; background: none; text-align: left; padding: 12px 20px; cursor: pointer; transition: background-color 180ms; }
.can-item .name { display: block; font: 600 clamp(20px, 1.8vw, 26px)/1.25 var(--head); letter-spacing: -0.02em; }
.can-item .what { display: none; margin-top: 6px; font-size: 15px; max-width: 60ch; }
.can-item[aria-selected="true"] { background: var(--accent-soft); box-shadow: inset 4px 0 0 var(--accent); }
.can-item[aria-selected="true"] .what { display: block; }
.can-shot { margin: 0; position: sticky; top: 24px; background: var(--surface); border-radius: var(--r); padding: 12px; }
.can-shot img { width: 100%; height: auto; border-radius: 10px; background: #fff; }
.can-shot figcaption { margin: 10px 4px 2px; font-size: 14px; color: var(--muted); }
.can-empty { padding: 18px; font-size: var(--s2); color: var(--muted); }

/* ---------- Stats: o total e o recibo ---------- */
.math { margin-top: var(--gap); background: var(--ink); color: var(--on-dark); display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; padding: 96px var(--m); }
.math-left { grid-column: 1 / 7; display: flex; flex-direction: column; gap: 48px; position: sticky; top: 48px; align-self: start; } /* o total fica à vista enquanto se preenche o recibo */
.math h2 { font-size: var(--s4); color: #fff; }
.total { font: 700 clamp(60px, 8vw, 128px)/0.9 var(--head); letter-spacing: -0.045em; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.total-cap { margin-top: 20px; color: var(--on-dark-soft); max-width: 48ch; }
.slip {
  grid-column: 8 / 13; align-self: start; width: 100%; max-width: 460px; justify-self: end; background: #fffdf8; color: var(--ink);
  padding: 26px 24px 46px; font-size: 15px; border-radius: 12px 12px 0 0; font-variant-numeric: tabular-nums;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 95% 100%, 90% calc(100% - 12px), 85% 100%, 80% calc(100% - 12px), 75% 100%, 70% calc(100% - 12px), 65% 100%, 60% calc(100% - 12px), 55% 100%, 50% calc(100% - 12px), 45% 100%, 40% calc(100% - 12px), 35% 100%, 30% calc(100% - 12px), 25% 100%, 20% calc(100% - 12px), 15% 100%, 10% calc(100% - 12px), 5% 100%, 0 calc(100% - 12px));
}
.slip-title { font: 700 16px/1.2 var(--head); }
.slip-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.slip h3 { font: 700 14px/1.2 var(--text); margin: 20px 0 6px; }
.row { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; }
.row .lab { flex: 0 1 auto; }
.row .dots { flex: 1; min-width: 16px; height: 4px; align-self: center; background-image: radial-gradient(circle, #9da1b5 1.6px, transparent 2px); background-size: 8px 4px; background-repeat: repeat-x; } /* taste-skill-ignore: pontilhado do recibo (data-ui) */
.row .val { flex-shrink: 0; text-align: right; font-weight: 600; }
.row input, .row select {
  width: 84px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; padding: 5px 8px; border: 1px solid #cfccc2; border-radius: 6px; background: #fff;
}
.row select { width: auto; text-align: left; }
.row input:focus, .row select:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); }
.row.final { margin-top: 18px; background: var(--ink); color: #fff; padding: 12px 12px; font-size: 16px; }
.row.final .dots { background-image: radial-gradient(circle, #6d7190 1.6px, transparent 2px); } /* taste-skill-ignore: pontilhado do recibo (data-ui) */

/* ---------- Como funciona: o controle desliza pelas etapas ---------- */
.steps { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.steps-say { background: var(--surface); padding: 72px var(--m) 140px; }
.steps-say h2 { max-width: 16ch !important; font-size: var(--s4); max-width: 13ch; }
.steps-say p.desc { margin-top: 24px; max-width: 42ch; }
.steps-show { background: var(--ink-2); display: grid; place-items: center; padding: 72px var(--m) 140px; }
.stage-ui { width: min(440px, 100%); background: #fff; border-radius: 16px; padding: 22px; min-height: 300px; }
.stage-ui[hidden] { display: none; }
.stage-ui .t { font: 600 16px/1.2 var(--head); }
.stage-ui .d { font-size: 14px; color: var(--muted); margin-top: 4px; }
.field { margin-top: 14px; font-size: 13px; color: var(--muted); }
.field span { display: block; margin-top: 5px; border: 1px solid #d9d6cc; border-radius: 8px; padding: 10px 12px; /* taste-skill-ignore: campo do painel (data-ui) */ font-size: 15px; color: var(--ink); background: #fff; }
.ui-btn { display: inline-block; margin-top: 18px; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 15px; padding: 11px 20px; border-radius: 999px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #dcf5df; color: #1f6b2b; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22a03a; }
.svc { display: grid; grid-template-columns: 1fr auto auto; gap: 6px 14px; margin-top: 14px; font-size: 15px; }
.svc span:nth-child(3n+2), .svc span:nth-child(3n) { color: var(--muted); font-variant-numeric: tabular-nums; }
.svc-head { font-size: 12px !important; color: var(--muted); }
.wa-steps { margin: 14px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.6; }
.steps-bar { position: absolute; left: var(--m); right: calc(50% + var(--m)); bottom: 48px; }
.steps-bar input[type="range"] { width: 100%; appearance: none; -webkit-appearance: none; height: 32px; background: transparent; cursor: pointer; }
.steps-bar input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: linear-gradient(to right, var(--ink) var(--p, 0%), var(--surface-2) var(--p, 0%)); } /* taste-skill-ignore: trilho do controle, parada dura (data-ui) */
.steps-bar input[type="range"]::-moz-range-track { height: 8px; background: var(--surface-2); }
.steps-bar input[type="range"]::-moz-range-progress { height: 8px; background: var(--ink); }
.steps-bar input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; background: var(--accent); border: 0; border-radius: 50%; }
.steps-bar input[type="range"]::-moz-range-thumb { width: 32px; height: 32px; background: var(--accent); border: 0; border-radius: 50%; }
.steps-names { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 6px; font-size: 15px; color: var(--muted); }
.steps-names button { background: none; border: 0; padding: 6px 0; text-align: left; color: inherit; cursor: pointer; }
.steps-names button.on { color: var(--ink); font-weight: 700; }
.swap { animation: swap 200ms ease both; }
@keyframes swap { from { opacity: 0; } }

/* ---------- Preços: tabela grande ---------- */
.prices { padding: var(--gap) var(--m) 0; }
.prices > h2 { font-size: var(--s4); margin-bottom: 24px; }
.th-note { display: block; font-size: var(--s2); font-weight: 400; max-width: 30ch; color: var(--ink); }
.prices table { width: 100%; border-collapse: collapse; font-size: var(--s2); }
.prices th, .prices td { text-align: left; padding: 14px 20px; vertical-align: top; }
.prices thead th { vertical-align: bottom; padding-top: 28px; }
.plan-name { display: block; font: 700 clamp(20px, 1.8vw, 26px)/1.15 var(--head); }
.plan-price { display: block; margin-top: 6px; font: 400 clamp(20px, 1.8vw, 26px)/1.15 var(--head); font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 14px; }
.plan-tag { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; }
.prices tbody tr:nth-child(odd) td, .prices tbody tr:nth-child(odd) th { background: var(--surface); }
.prices tbody th { font-weight: 400; color: var(--ink); width: 34%; }
.prices .rec { background: var(--accent) !important; }
.prices tfoot td { padding-top: 22px; padding-bottom: 28px; }
.prices tfoot .btn { width: 100%; }
.prices tfoot td:not(.rec) .btn, .plan-block:not(.rec) .btn { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); }
.prices tfoot td:not(.rec) .btn:hover, .plan-block:not(.rec) .btn:hover { background: var(--ink); color: #fff; }
.prices tfoot .rec .btn { background: var(--ink); color: #fff; }
.prices tfoot .rec .btn:hover { background: #2a3058; }
.prices-note { margin-top: 28px; max-width: 70ch; }
.prices-note a { font-weight: 600; }

/* ---------- Perguntas: blocos que abrem ---------- */
.faq { padding: var(--gap) var(--m) 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; }
.faq h2 { grid-column: 1 / 5; font-size: var(--s4); position: sticky; top: 96px; align-self: start; }
.faq-list { grid-column: 5 / 13; display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--surface); border-radius: 14px; overflow: hidden; transition: background-color 200ms; }
.faq summary { list-style: none; cursor: pointer; min-height: 64px; padding: 20px 60px 20px 24px; font: 600 16px/1.35 var(--head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 16px; height: 3px; background: currentColor; transition: transform 200ms var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] { background: var(--accent-soft); box-shadow: inset 4px 0 0 var(--accent); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { background: var(--surface-2); }
.faq details[open] summary:hover { background: transparent; }
.faq details p { padding: 0 24px 24px; max-width: 52ch; }

/* ---------- Chamada final: o nome do negócio e um botão grande, a ação mais forte do fim da página ---------- */
section.final { padding: var(--gap) var(--m); }
.final h2 { font-size: var(--s4); }
.final-note { margin-top: 12px; color: var(--muted); max-width: 60ch; }
.final-row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; max-width: 760px; }
.final-row label { flex-basis: 100%; font-weight: 600; font-size: var(--s1); }
.final-row input {
  flex: 1 1 260px; min-width: 0; min-height: 56px; padding: 0 18px; border: 2px solid var(--surface-2); border-radius: 14px;
  background: #fff; font-size: var(--s3); color: var(--ink);
}
.final-row input::placeholder { color: #6b6f86; }
.final-row input:focus { border-color: var(--accent); outline: 2px solid var(--accent-soft); }
.final-row .btn { flex: 0 1 auto; min-height: 56px; font-size: var(--s3); padding: 0 30px; white-space: normal; text-align: center; line-height: 1.2; }

/* ---------- Rodapé em blocos ---------- */
.foot { padding: 0 10px 10px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
.tile { background: var(--surface); padding: 24px; min-height: 200px; border-radius: var(--r); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.tile-say { grid-column: 1 / 5; }
.tile-say p:first-child { font-size: var(--s3); line-height: 1.35; }
.tile-legal { font-size: var(--s1); color: var(--muted); }
.tile-legal a { color: inherit; display: inline-flex; align-items: center; min-height: 24px; }
.tile-nav { grid-column: 5 / 8; }
.tile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tile-nav a { text-decoration: none; display: inline-flex; align-items: center; min-height: 24px; }
.tile-nav a:hover { color: var(--accent); }
.tile-time { grid-column: 8 / 10; }
.tile-time b { font: 700 var(--s4)/1 var(--head); font-variant-numeric: tabular-nums; }
.tile-mail { grid-column: 10 / 13; }
.tile-mail a { font-size: var(--s2); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.tile-mail a:hover { color: var(--accent); }
.tile-mark { grid-column: 1 / 9; background: var(--ink); min-height: 260px; align-items: center; justify-content: center; }
.tile-mark span { font: 700 clamp(44px, 6.5vw, 104px)/1 var(--head); letter-spacing: -0.045em; color: var(--on-dark); }
.tile-go { grid-column: 9 / 13; background: var(--surface); min-height: 260px; text-decoration: none; position: relative; transition: background-color 160ms; }
.tile-go:hover { background: var(--surface-2); }
.tile-go b { font: 600 clamp(22px, 1.8vw, 26px)/1.2 var(--head); max-width: 12ch; }
.tile-go svg { align-self: flex-end; width: 56px; height: 56px; transition: transform 200ms var(--ease); }
.tile-go:hover svg { transform: translate(4px, -4px); }

/* ---------- Entrada das partes ao rolar (o script marca; sem script tudo já aparece) ---------- */
.js .rise { opacity: 0; transform: translateY(24px); }
.js .rise.in { opacity: 1; transform: none; transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .hero-after { opacity: 0; transform: translateY(12px); }
.js.ready .hero-after { opacity: 1; transform: none; transition: opacity 400ms, transform 400ms var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .hero h1 .line > span, .js .hero-after { opacity: 1 !important; transform: none !important; transition: none !important; }
  .bubble.enter, .swap { animation: none; }
  .bubble.typing i { animation: none; }
}

/* ---------- Telas médias ---------- */
@media (max-width: 1080px) {
  .can { grid-template-columns: 1fr; }
  .can-shot { position: static; margin-top: 24px; }
  .math { grid-template-columns: 1fr; gap: 56px; }
  .math-left, .slip { grid-column: 1 / -1; }
  .math-left { position: static; }
  .slip { justify-self: start; }
  .faq h2 { grid-column: 1 / -1; position: static; max-width: none; margin-bottom: 32px; }
  .faq-list { grid-column: 1 / -1; }
  .tour-body { grid-template-columns: 1fr; gap: 16px; }
  .tour-screen { order: -1; }
}

/* ---------- Tablet: o herói já empilha ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-stage { order: -1; padding: 84px var(--m) 32px; }
  .hero-text > .brand { display: none; }
  .hero-stage .brand-top { display: inline-flex !important; position: absolute; top: 28px; left: var(--m); }
  .hero-text { padding-top: 40px; padding-bottom: 56px; }
}

/* ---------- Celular ---------- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-stage { order: 0; padding: 8px 12px 40px; background: var(--ink); }
  .hero-text { padding: 84px 20px 28px; gap: 0; position: relative; }
  .hero-text > .brand { display: inline-flex; position: absolute; top: 24px; left: 20px; }
  .hero-stage .brand-top { display: none !important; }
  .hero-top-link { display: none; }
  .hero h1 { font-size: 7vw; }
  .hero-lead { font-size: 16px; margin-top: 16px; }
  .chat { height: 250px; }
  .ask { min-height: 0; }
  .tour-screen { padding: 6px; border-radius: 14px; }
  .tour-screen video { aspect-ratio: 720 / 1404; } /* versão gravada em tela de celular (demonstracao.js) */
  .ask-input { font-size: 6.6vw; }
  .ask-body { grid-template-columns: 1fr; margin-top: 28px; gap: 28px; }
  .examples button { flex: 1 1 auto; }
  .can-search { flex-direction: column; align-items: stretch; gap: 0; padding: 16px 18px 4px; }
  .can-search h2 { font-size: 22px; white-space: normal; }
  .can-item .name { font-size: 19px; }
  .can-item { padding: 10px 12px; }
  .math { padding: 64px 16px; }
  .total { font-size: 16vw; }
  .slip { max-width: none; }
  .steps { grid-template-columns: 1fr; }
  .steps-show { order: -1; padding: 40px 16px; min-height: 46svh; }
  .steps-bar { position: static; padding: 18px 16px 0; background: var(--surface); }
  .steps-bar input[type="range"]::-webkit-slider-thumb { width: 40px; height: 40px; margin-top: -16px; }
  .steps-names { grid-template-columns: 1fr 1fr; font-size: 15px; }
  .steps-say { padding: 24px 16px 56px; }
  .steps-say h2 { max-width: 16ch !important; font-size: 7vw; }
  .prices table, .prices thead, .prices tbody, .prices tfoot { display: none; }
  .plan-blocks { display: flex !important; }
  .faq summary { font-size: 16px; min-height: 64px; padding: 18px 56px 18px 20px; }
  .faq details p { font-size: 15px; padding: 0 20px 20px; }
  .final-row input, .final-row .btn { flex-basis: 100%; }
  .foot { grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 6px 6px; }
  .tile { padding: 20px; min-height: 0; }
  .tile-mark { grid-column: 1 / -1; order: -2; min-height: 160px; }
  .tile-go { grid-column: 1 / -1; order: -1; min-height: 0; flex-direction: row; align-items: center; }
  .tile-go svg { width: 36px; height: 36px; align-self: center; }
  .tile-nav, .tile-mail, .tile-time, .tile-say { grid-column: span 1; }
  .tile-say { grid-column: 1 / -1; }
}

/* Planos empilhados no celular (a tabela some) */
.plan-blocks { display: none; flex-direction: column; gap: 20px; }
.plan-block { background: var(--surface); padding: 22px 20px; border-radius: var(--r); }
.plan-block.rec { background: var(--accent); }
.plan-block .plan-name { font-size: 24px; }
.plan-block .plan-price { font-size: 24px; }
.plan-block dl { margin: 18px 0 0; display: grid; gap: 12px; font-size: 15px; }
.plan-block dt { color: var(--muted); }
.plan-block.rec dt { color: #2e1e03; } /* 5,0:1 sobre o laranja */
.plan-block dd { margin: 2px 0 0; }
.plan-block .btn { width: 100%; margin-top: 20px; }
.plan-block.rec .btn { background: var(--ink); color: #fff; }
.mt-18 { margin-top: 18px; }
.mt-14 { margin-top: 14px; }
.ask-answer.mini { margin-top: 14px; min-height: 0; }

/* ---------- Página de captura: tudo numa coluna central, títulos e chamadas centralizados ---------- */
:root { --col: 1120px; }
.tour, .ask, .can, .prices, .faq, section.final, .math { padding-left: max(var(--m), calc((100% - var(--col)) / 2)); padding-right: max(var(--m), calc((100% - var(--col)) / 2)); }

/* Topo: título, texto e botão no centro, a conversa logo abaixo */
.hero { grid-template-columns: 1fr; min-height: 0; background: var(--ink); position: relative; }
.hero-text { align-items: center; text-align: center; }
.hero-copy { margin: 0 auto; max-width: 780px; }
.hero-lead { margin-left: auto; margin-right: auto; max-width: 52ch; }
.hero-actions { justify-content: center; }
.hero-stage { background: var(--ink); position: static; }
.demo { margin: 0 auto; }
.demo-foot { text-align: left; }
@media (min-width: 761px) {
  .hero-text { padding: 36px var(--m) 0; gap: 64px; }
  .hero h1 { font-size: clamp(34px, 4.4vw, 62px); }
  .hero-stage { padding: 48px var(--m) 80px; }
  .hero-top-link { top: 40px; }
  /* também no tablet: o texto vem antes da conversa, com a marca no topo */
  .hero-stage { order: 0; }
  .hero-text > .brand { display: inline-flex; }
  .hero-stage .brand-top { display: none !important; }
}
@media (max-width: 760px) {
  .hero-text > .brand { left: 50%; transform: translateX(-50%); }
}

/* Seções: título e texto de abertura no centro */
.tour-say { text-align: center; }
.tour-say p { margin-left: auto; margin-right: auto; }
.tour-body { margin-left: auto; margin-right: auto; }
.ask h2, .ask-input { text-align: center; }
.ask-body { max-width: 1000px; margin-left: auto; margin-right: auto; }
.prices > h2 { text-align: center; }
.prices-note { margin-left: auto; margin-right: auto; text-align: center; }
.faq { display: block; }
.faq h2 { position: static; text-align: center; max-width: none; margin-bottom: 0; }
.faq-list { max-width: 820px; margin: 32px auto 0; }
section.final { text-align: center; }
.final-note { margin-left: auto; margin-right: auto; }
.final-row { margin-left: auto; margin-right: auto; justify-content: center; max-width: 680px; }

/* Como funciona: título no centro, o controle das etapas logo abaixo e a tela da etapa embaixo dele */
@media (min-width: 761px) {
  .steps { grid-template-columns: 1fr; min-height: 0; background: var(--surface); padding: var(--gap) var(--m) 72px; }
  .steps-say { background: none; padding: 0; text-align: center; }
  .steps-say h2 { max-width: none !important; }
  .steps-say p.desc { margin-left: auto; margin-right: auto; }
  .steps-bar { position: static; order: 1; width: min(560px, 100%); margin: 32px auto 0; }
  .steps-names button { text-align: center; }
  .steps-show { order: 2; background: none; padding: 32px 0 0; }
  .stage-ui { box-shadow: 0 1px 0 rgba(20, 23, 43, 0.06), 0 12px 32px rgba(20, 23, 43, 0.08); }
}
.steps-say { text-align: center; }
.steps-say h2, .steps-say p.desc { margin-left: auto; margin-right: auto; }

/* O que o agente faz e a calculadora: o título no centro, em cima; embaixo, duas colunas (lista e recorte; total e recibo) */
.can-head, .math-head { grid-column: 1 / -1; text-align: center; margin-bottom: 36px; }
.can-head h2, .math-head h2 { font-size: var(--s4); }
.can-head p { margin: 12px auto 0; max-width: 56ch; }
.math-head h2 { color: #fff; }
.math-head > p { margin: 12px auto 0; max-width: 60ch; color: var(--on-dark-soft); }
.math-how { list-style: none; counter-reset: how; margin: 28px auto 0; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.math-how li { counter-increment: how; background: var(--ink-2); border-radius: 14px; padding: 18px 18px 18px 60px; position: relative; color: var(--on-dark-soft); font-size: 15px; line-height: 1.45; }
.math-how li::before { content: counter(how); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--ink); font: 700 15px/30px var(--head); text-align: center; }
.math-how b { color: #fff; font-weight: 600; }
@media (max-width: 760px) {
  .math-how { grid-template-columns: 1fr; }
  .can-head, .math-head { margin-bottom: 24px; }
}
