/* Iaque — estilos compartilhados (site, área do cliente e painel) */

:root {
  --bg: #faf6f0;
  --surface: #ffffff;
  --surface-2: #f4eee6;
  --ink: #12201b;
  --ink-2: #45504a;
  --muted: #6f756f;
  --line: #e9e1d6;
  --brand: #0d7a5f;
  --brand-ink: #ffffff;
  --brand-soft: #e3f3ec;
  --brand-dark: #0a5c48;
  --accent: #c8662e;
  --accent-dark: #a44c1c;
  --accent-soft: #fbeadd;
  --star: #f2a516;
  --ok: #138a4b;
  --bad: #c53b2e;
  --bad-soft: #fdecea;
  --warn-soft: #fff6dc;
  --warn-ink: #7a5600;
  --wa: #1fa855;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18, 32, 27, .05), 0 8px 24px rgba(18, 32, 27, .06);
  --shadow-lg: 0 2px 4px rgba(18, 32, 27, .06), 0 24px 48px rgba(18, 32, 27, .12);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Nunito", var(--font);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12110f; --surface: #1b1916; --surface-2: #24211d; --ink: #eeebe6; --ink-2: #c4bdb3;
    --muted: #958d83; --line: #302c27; --brand: #2bb38c; --brand-ink: #06231a; --brand-soft: #143a2e;
    --brand-dark: #4cc9a3; --bad: #f07b6f; --bad-soft: #3a1d1a; --warn-soft: #3a2f12; --warn-ink: #f3cf73;
    --accent: #e8955a; --accent-dark: #f0ac78; --accent-soft: #3a2416;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 24px 48px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12110f; --surface: #1b1916; --surface-2: #24211d; --ink: #eeebe6; --ink-2: #c4bdb3;
  --muted: #958d83; --line: #302c27; --brand: #2bb38c; --brand-ink: #06231a; --brand-soft: #143a2e;
  --brand-dark: #4cc9a3; --bad: #f07b6f; --bad-soft: #3a1d1a; --warn-soft: #3a2f12; --warn-ink: #f3cf73;
  --accent: #e8955a; --accent-dark: #f0ac78; --accent-soft: #3a2416;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-underline-offset: 3px; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(26px, 4vw, 34px); }
h2 { font-size: 22px; margin-top: 32px; }
h3 { font-size: 17px; }
p { margin: 0 0 1em; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
main.page { padding: 28px 0 48px; }

/* --- barra superior --- */
.demo-bar { background: var(--warn-soft); color: var(--warn-ink); font-size: 13px; text-align: center; padding: 6px 16px; }
.topbar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
          backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo img { width: 38px; height: 38px; flex: none; }
.logo .wordmark { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--ink); }
.nav form { margin: 0; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } .nav { gap: 12px; } }

/* --- botões --- */
button, .btn {
  font: 600 15px/1 var(--font); border: 1px solid var(--line); border-radius: 999px; padding: 11px 18px;
  cursor: pointer; background: var(--surface); color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .08s, background .15s, border-color .15s;
}
button:hover, .btn:hover { border-color: var(--muted); }
button:active, .btn:active { transform: translateY(1px); }
.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.danger { background: transparent; color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, transparent); }
.danger:hover { background: var(--bad-soft); border-color: var(--bad); }
.ghost { background: transparent; border-color: transparent; }
.btn-lg, .cta { font-size: 17px; padding: 15px 26px; }
.btn-sm { font-size: 14px; padding: 8px 14px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 50%, transparent); outline-offset: 2px; }

/* --- formulários --- */
label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 14px 0 6px; }
input, textarea, select {
  width: 100%; font: 16px/1.4 var(--font); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px; transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; accent-color: var(--brand); padding: 0; flex: none; }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); font-size: 15px; }
.check input { margin-top: 3px; }

/* --- blocos --- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.muted { color: var(--muted); font-size: 14px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.spread { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.stack > * + * { margin-top: 10px; }
.stars { color: var(--star); letter-spacing: 1px; }
.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.b-pending { background: var(--warn-soft); color: var(--warn-ink); }
.b-published { background: var(--brand-soft); color: var(--brand-dark); }
.b-rejected { color: var(--muted); }
.err { color: var(--bad); font-size: 14px; }
.banner { background: var(--warn-soft); color: var(--warn-ink); padding: 10px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: 14px; }
.notice { background: var(--brand-soft); color: var(--brand-dark); padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-weight: 500; }
.quote { white-space: pre-wrap; margin: 8px 0; }
.reply { white-space: pre-wrap; margin: 8px 0 0; padding: 10px 12px; border-left: 3px solid var(--brand); background: var(--surface-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-2); }
form.inline { display: inline; margin: 0; }
details summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: 14px; list-style: none; margin-top: 12px; }
details summary::-webkit-details-marker { display: none; }
details summary::before { content: "▸ "; }
details[open] summary::before { content: "▾ "; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
td, th { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 13px; color: var(--muted); font-weight: 600; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { margin: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 6px; display: block; }
.steps { display: flex; gap: 8px; margin-bottom: 8px; }
.steps span { height: 4px; flex: 1; border-radius: 4px; background: var(--line); }
.steps span.on { background: var(--brand); }

/* --- planos --- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line);
        border-radius: var(--radius); padding: 24px; margin: 0; cursor: default; font-weight: 400; color: var(--ink); font-size: 15px; box-shadow: var(--shadow); }
label.plan { cursor: pointer; }
label.plan:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand), var(--shadow); }
.plan.featured { border-color: var(--brand); }
.plan .plan-name { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--brand); color: var(--brand-ink); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price { font-family: var(--font-display); font-size: 38px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 16px; flex: 1; }
.plan li { padding: 5px 0 5px 26px; position: relative; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border-radius: 50%;
                   background: var(--brand-soft) 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='%230d7a5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* --- rodapé --- */
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.footer .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.footer a { color: var(--ink-2); text-decoration: none; margin-left: 18px; }
.footer a:first-child { margin-left: 0; }

/* --- página inicial --- */
.hero { padding: 64px 0 56px; }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.2vw, 54px); letter-spacing: -.035em; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; margin-bottom: 28px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.trust span::before { content: "✓ "; color: var(--brand); font-weight: 800; }
@media (max-width: 900px) { .hero { padding: 40px 0; } .hero .container { grid-template-columns: 1fr; gap: 40px; } }

.mock { position: relative; display: grid; gap: 14px; padding-top: 124px; }
.mock .card { position: relative; z-index: 1; margin: 0; box-shadow: var(--shadow-lg); }
.mascot-peek { position: absolute; top: 0; right: 28px; width: 160px; z-index: 0; }
@media (max-width: 520px) { .mock { padding-top: 98px; } .mascot-peek { width: 126px; right: 8px; } }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: #7c6cd6; flex: none; }
.review-head strong { display: block; font-size: 15px; }
.review-head .muted { font-size: 13px; }
.ai-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--accent-dark); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.wa-card { background: #e7ddd3; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-lg); margin-left: 40px; }
.wa-bubble { background: #fff; color: #111; border-radius: 10px; border-top-left-radius: 2px; padding: 10px 12px; font-size: 14px; line-height: 1.45; }
.wa-bubble b { display: block; color: #0b6b53; font-size: 13px; margin-bottom: 2px; }
.wa-btns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 6px; }
.wa-btns span { background: #fff; color: #128c7e; text-align: center; font-size: 13px; font-weight: 700; padding: 8px 4px; border-radius: 8px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wa-card { background: #0b141a; } :root:not([data-theme="light"]) .wa-bubble, :root:not([data-theme="light"]) .wa-btns span { background: #202c33; color: #e9edef; } :root:not([data-theme="light"]) .wa-btns span { color: #53bdeb; } :root:not([data-theme="light"]) .wa-bubble b { color: #25d366; } }
@media (max-width: 520px) { .wa-card { margin-left: 0; } }

.section { padding: 72px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; }
.section-head p { color: var(--ink-2); font-size: 17px; margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .section { padding: 52px 0; } }
.feature { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.section.alt .feature { background: var(--bg); }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-dark); margin-bottom: 14px; }
.feature .icon svg { width: 22px; height: 22px; }
.feature:nth-child(2) .icon { background: var(--accent-soft); color: var(--accent-dark); }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--ink-2); margin: 0; font-size: 15px; }
.step-n { font-size: 13px; font-weight: 800; color: var(--brand); letter-spacing: .06em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { padding: 8px 0 8px 32px; position: relative; color: var(--ink-2); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); font-weight: 800; font-size: 13px; display: grid; place-items: center; }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { color: var(--ink); font-size: 17px; font-weight: 700; padding: 16px 0; margin: 0; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::before { content: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin: 0 0 16px; }

.cta-band { background: var(--brand); color: var(--brand-ink); border-radius: 24px; padding: 48px 32px; text-align: center; }
.cta-band .mascot { width: 150px; display: block; margin: -96px auto 12px; }
.section:has(.cta-band .mascot) { padding-top: 120px; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 10px; }
.cta-band p { opacity: .9; margin-bottom: 24px; }
.cta-band .btn { background: var(--brand-ink); color: var(--brand); border-color: var(--brand-ink); }

/* cabeçalhos dentro das páginas internas */
main.page header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
main.page header h1 { margin: 0; }

/* escolha de negócios (passo 2) */
.options { display: grid; gap: 10px; }
.option { display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 16px 18px; background: var(--surface);
          border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 400; color: var(--ink);
          box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.option input { margin-top: 3px; }
.option:hover { border-color: var(--muted); }
.option:has(input:checked:not(:disabled)) { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand), var(--shadow); }
.option.is-disabled { cursor: default; opacity: .75; box-shadow: none; }
.option.is-disabled:hover { border-color: var(--line); }
.option-body { flex: 1; display: grid; gap: 2px; }
.option-body strong { font-size: 16px; }
.tip { display: flex; gap: 12px; align-items: flex-start; background: var(--brand-soft); color: var(--ink); padding: 14px 16px; border-radius: var(--radius-sm); margin: 16px 0; font-size: 15px; }
.tip svg { width: 20px; height: 20px; flex: none; color: var(--brand-dark); margin-top: 2px; }

/* canais conectados (Instagram) */
.channel { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 14px 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.channel > span { flex: 1; min-width: 200px; }
.channel form.inline { margin: 0; }
.ig-icon { width: 22px; height: 22px; color: #c13584; flex: none; }

/* conversa do direct */
.thread { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.bubble { margin: 0; max-width: 85%; padding: 8px 12px; border-radius: 16px; border-bottom-left-radius: 4px; background: var(--surface-2); align-self: flex-start; }
.bubble.ours { align-self: flex-end; border-radius: 16px; border-bottom-right-radius: 4px; background: var(--brand-soft); color: var(--ink); }

/* relatório mensal */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 12px 0 16px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.stat-n { font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 1.1; }
.bar-row { display: grid; grid-template-columns: auto 1fr 32px; align-items: center; gap: 10px; margin-top: 8px; }
.bar { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--brand); border-radius: 8px; }

/* mascote nas telas de entrada */
.mascot-top { display: block; width: 120px; margin: 0 auto 8px; }
