/* Site do FastMind: identidade "Papel": creme, traço laranja do rosto, roxo do cabelo, azul dos neurônios. */
:root {
  --bg: #f7f3ea; --bg2: #efe7d6; --card: #fffdf8; --line: #e2d9c6; --text: #1f1d1a; --muted: #6f675b;
  --accent: #d9481f; --accent-ink: #b23a17; --purple: #7b3fa0; --blue: #2f6fb0; --ok: #2f8f4e;
  --scheme: light; --face: #d9481f; --face2: #7b3fa0; --radius: 16px;
  --shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 8px 30px rgba(60, 40, 20, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 Inter, "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); }
img { max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.hidden { display: none !important; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 12px; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); max-width: 820px; }
.center h2 { margin-inline: auto; }
h3 { font-size: 1.12rem; }
.hl { color: var(--accent); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }

/* botões */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-ink); }
.btn.lg { padding: 14px 22px; font-size: 1.02rem; }
.btn:disabled { opacity: .55; cursor: default; transform: none; }

/* topo */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.nav nav { display: flex; align-items: center; gap: 18px; }
.nav nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav nav a:not(.btn):hover { color: var(--text); }

/* herói */
.hero { padding: 64px 0 40px; background:
  radial-gradient(800px 400px at 85% 30%, rgba(217, 72, 31, .10), transparent 70%),
  radial-gradient(600px 400px at 10% 10%, rgba(47, 111, 176, .07), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.pill { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.lead { font-size: 1.15rem; color: #3d3831; max-width: 600px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; scroll-margin-top: 90px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .92rem; color: var(--muted); }
.pulse { margin-top: 14px; font-size: .92rem; min-height: 1.4em; }
.pulse b { color: var(--accent-ink); }
.stage { background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); overflow: hidden; }
.face { height: 340px; background:
  repeating-linear-gradient(0deg, rgba(217, 72, 31, .05) 0 2px, transparent 2px 6px),
  radial-gradient(circle at 50% 55%, rgba(217, 72, 31, .10), transparent 65%); }
.face canvas { width: 100%; height: 100%; display: block; }
.chat { padding: 14px 16px 18px; border-top: 1px solid var(--line); min-height: 132px; display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.bubble { max-width: 88%; padding: 8px 12px; border-radius: 14px; animation: pop .25s ease-out; }
.bubble.me { align-self: flex-end; background: #f1e6d3; border-bottom-right-radius: 4px; }
.bubble.ai { align-self: flex-start; background: #fbe7de; border-bottom-left-radius: 4px; }
.bubble .src { display: inline-block; margin-left: 6px; font-size: .78rem; color: var(--accent-ink); font-weight: 700; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* seções */
.band { padding: 72px 0; }
.band.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card .ico { font-size: 1.6rem; margin-bottom: 8px; }
.card p { margin: 0; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.vs > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.vs .me { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217, 72, 31, .10); }
.vs ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.vs li { padding-left: 28px; position: relative; }
.vs .x li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.05em; height: 1.05em; background: #a0968a; -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M18%206%206%2018%22/%3E%3Cpath%20d%3D%22m6%206%2012%2012%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M18%206%206%2018%22/%3E%3Cpath%20d%3D%22m6%206%2012%2012%22/%3E%3C/svg%3E") center / contain no-repeat; }
.vs .ok li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.05em; height: 1.05em; background: var(--ok); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%206%209%2017l-5-5%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%206%209%2017l-5-5%22/%3E%3C/svg%3E") center / contain no-repeat; }
/* ícones Lucide (ISC) em SVG embutido */
.i { width: 1.05em; height: 1.05em; vertical-align: -.17em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.card .ico .i { width: 30px; height: 30px; color: var(--accent); stroke-width: 1.75; }
.trust span, .pill, .secure { display: inline-flex; align-items: center; gap: 6px; }
.trust .i, .table td .i { color: var(--ok); }
.table td.no .i { color: #a0968a; }
.done h3 .i { color: var(--accent); }

.table { margin-top: 24px; overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.table table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table th, .table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table th { font-size: 1.05rem; }
.table th small { color: var(--muted); font-weight: 500; }
.table .pro { background: rgba(217, 72, 31, .05); }
.table th.pro { color: var(--accent-ink); }

/* preços */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; text-align: left; }
.price { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.price.feat { border: 2px solid var(--accent); }
.price .tag { position: absolute; top: -12px; left: 18px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.price .amt { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.price .amt small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.price ul { padding-left: 18px; margin: 4px 0 8px; flex: 1; color: #3d3831; font-size: .94rem; }
.price .left { font-size: .85rem; font-weight: 700; color: var(--accent-ink); }
.price .bar { height: 6px; background: var(--bg2); border-radius: 9px; overflow: hidden; }
.price .bar i { display: block; height: 100%; background: var(--accent); }
.price .btn { justify-content: center; }
.secure { color: var(--muted); font-size: .9rem; margin-top: 18px; }

/* formulário */
.form { display: grid; gap: 14px; margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input:not([type=checkbox]), .form select, .modal input { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); }
.form input:focus, .form select:focus, .modal input:focus { outline: 2px solid rgba(217, 72, 31, .35); border-color: var(--accent); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
legend { font-weight: 600; font-size: .92rem; margin-bottom: 6px; width: 100%; }
.form .chk { display: flex; flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 500; }
.form .chk input { margin-top: 5px; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; }
.err { color: #b42318; min-height: 1.2em; font-size: .92rem; }
.done { margin-top: 20px; background: var(--card); border: 2px solid var(--accent); border-radius: var(--radius); padding: 22px; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share input { flex: 1; min-width: 220px; font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 20px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 0; color: #3d3831; }

footer { border-top: 1px solid var(--line); padding: 26px 0; font-size: .92rem; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
footer .wrap > div { display: flex; gap: 16px; align-items: center; }
footer a { color: var(--muted); }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(31, 29, 26, .45); display: none; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal.open { display: flex; }
.modal .box { position: relative; width: 100%; max-width: 420px; background: var(--card); border-radius: 18px; padding: 24px; display: grid; gap: 8px; }
.modal .x { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 1.6rem; cursor: pointer; color: var(--muted); }
.modal .sel { display: flex; justify-content: space-between; padding: 10px 12px; background: var(--bg); border-radius: 10px; margin-bottom: 6px; }
.modal label { font-weight: 600; font-size: .9rem; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* universo de neurônios atrás do rosto (o mesmo graph3d.js do app) */
:root { --episodic: #d9481f; --semantic: #1f6fb2; --procedural: #2f8f4e; --entity: #7b3fa0; --document: #b7791f; --question: #c53030; --star: #b7a98a; }
.face { position: relative; }
.face canvas { position: absolute; inset: 0; }
.face #universe { pointer-events: none; }
/* RAG */
.rag { margin-top: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: .9fr 1.6fr; gap: 22px; align-items: center; box-shadow: var(--shadow); }
.rag h3 { margin: 0 0 6px; }
.rag-intro p { margin: 0; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: s; }
.flow li { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 14px; display: grid; gap: 4px; font-size: .92rem; }
.flow li .i { width: 22px; height: 22px; color: var(--accent); }
.flow li span:last-child { color: var(--muted); }
.flow .n { position: absolute; top: -10px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.sub { margin: 34px 0 0; font-size: 1.25rem; }
.specs { margin-top: 16px; }
.feat h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pro-tag { font-size: .68rem; font-weight: 800; letter-spacing: .04em; color: var(--accent-ink); background: rgba(217, 72, 31, .10); border: 1px solid rgba(217, 72, 31, .25); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.card.feat .ico .i { width: 26px; height: 26px; }
@media (max-width: 960px) { .rag { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .flow { grid-template-columns: 1fr; } }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .prices { grid-template-columns: 1fr 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .grid3, .vs, .prices, .row2 { grid-template-columns: 1fr; }
  .face { height: 260px; }
  .band { padding: 52px 0; }
  .hero { padding-top: 36px; }
}

/* ===== Protótipo navegável do app (js/proto.js) ===== */
.proto-shell { margin-top: 26px; }
.p-scale { position: relative; width: 100%; }
.p-win { position: absolute; top: 0; left: 0; transform-origin: 0 0; background: #fbf8f2; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 80px rgba(60, 40, 20, .18), 0 2px 6px rgba(60, 40, 20, .08); overflow: hidden; display: flex; flex-direction: column; font-size: 14px; color: var(--text); user-select: none; }
.p-win .i { width: 18px; height: 18px; vertical-align: -4px; }
.p-win .sp { flex: 1; }
.p-win button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.p-title { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 0 0 12px; border-bottom: 1px solid var(--line); background: #faf6ee; font-size: 13px; }
.p-pill { border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; color: var(--muted); font-size: 12px; }
.p-status { color: var(--muted); font-size: 12px; margin-right: 12px; }
.p-wbtn { width: 44px; height: 34px; display: grid; place-items: center; color: var(--muted); }
.p-wbtn .i { width: 14px; height: 14px; }
.p-body { flex: 1; display: flex; min-height: 0; padding: 8px; gap: 8px; }
.p-side { width: 76px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; align-items: stretch; padding: 8px 4px; gap: 2px; }
.p-me { display: grid; justify-items: center; gap: 2px; font-size: 11px; margin-bottom: 6px; }
.p-meimg { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fbe7de; }
.p-nav { position: relative; display: grid; justify-items: center; gap: 2px; padding: 6px 2px; border-radius: 10px; font-size: 11px !important; color: var(--muted) !important; }
.p-nav .i { width: 20px; height: 20px; }
.p-nav:hover { background: var(--bg); }
.p-nav.on { background: #fbe1d6; color: var(--accent) !important; }
.p-nav em { position: absolute; top: 2px; right: 10px; background: var(--accent); color: #fff; font-style: normal; font-size: 9px; font-weight: 700; padding: 0 5px; border-radius: 999px; }
.p-main { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.p-top { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px 10px 2px; }
.p-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.p-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.p-seg b { padding: 2px 7px; border-radius: 999px; font-weight: 600; }
.p-seg b.on { background: var(--accent); color: #fff; }
.p-brain { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--text); display: inline-flex; gap: 6px; align-items: center; }
.p-brain .i { width: 14px; height: 14px; }
.p-local { background: #e6f5ea; color: var(--ok); border: 1px solid #bfe3c8; border-radius: 999px; padding: 3px 9px; font-weight: 600; display: inline-flex; gap: 5px; align-items: center; }
.p-local i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.p-search { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; min-width: 150px; }
.p-dots { display: inline-flex; gap: 5px; }
.p-dots i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.p-time { display: flex; align-items: center; gap: 8px; height: 18px; color: var(--muted); }
.p-time .i { width: 13px; height: 13px; }
.p-tl { flex: 1; height: 2px; background: var(--line); }
.p-now { width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); margin-right: 20px; }
.p-stage { position: relative; flex: 1; min-height: 0; border-radius: 14px; overflow: hidden; background: radial-gradient(circle at 50% 50%, #fbf6ec, #f5efe3); }
.p-stage > canvas { position: absolute; inset: 0; height: 100%; }
.p-stage[data-mode="face"] > canvas { opacity: .55; pointer-events: none; }
.p-face { position: absolute; left: 50%; top: 46%; width: 420px; height: 400px; transform: translate(-50%, -50%); cursor: zoom-in; transition: opacity .3s; }
.p-face canvas { width: 100%; height: 100%; display: block; }
.p-stage[data-mode="universe"] .p-face { opacity: 0; pointer-events: none; }
.p-hint { position: absolute; bottom: -6px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.p-hint .i { width: 13px; height: 13px; }
.p-over { position: absolute; inset: 0; pointer-events: none; }
.p-over > * { pointer-events: auto; }
.p-input { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 6px 10px; font-size: 13px; }
.p-input input { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #f6f1e7; font: inherit; }
.p-round { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.p-send { color: var(--accent); cursor: pointer; }
.p-chk { display: inline-flex; align-items: center; gap: 4px; }
.p-link { color: var(--accent); }
.p-ok { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); }
/* painéis */
.p-panel { position: absolute; top: 10px; bottom: 10px; width: 470px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.p-panel.right { right: 10px; } .p-panel.left { left: 10px; width: 390px; }
.p-ptabs { display: flex; align-items: center; gap: 2px; padding: 6px 8px; border-bottom: 1px solid var(--line); color: var(--muted); }
.p-ptab { padding: 8px 8px; border-bottom: 2px solid transparent; font-size: 13px; color: var(--muted) !important; }
.p-ptab.on { color: var(--accent) !important; border-color: var(--accent); }
.p-ptab .i { width: 15px; height: 15px; }
.p-x { color: var(--muted) !important; padding: 4px; }
.p-pbody { flex: 1; overflow: auto; padding: 12px 14px; display: grid; gap: 10px; align-content: start; }
.p-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.p-chip { border: 1px solid var(--line) !important; border-radius: 999px; padding: 5px 11px !important; font-size: 12.5px; display: inline-flex; gap: 5px; align-items: center; background: var(--card) !important; }
.p-chip.on { border-color: var(--accent) !important; color: var(--accent) !important; background: #fdeee7 !important; }
.p-chip .i { width: 14px; height: 14px; }
.p-muted { color: var(--muted); font-size: 12.5px; margin: 0; }
.p-f { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.p-f.w { grid-column: 1 / -1; }
.p-inp { background: #f2ece1; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; color: var(--text); min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 13px; }
.p-inp .i { width: 14px; height: 14px; }
.p-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.p-opts { display: grid; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; font-size: 13px; }
.p-opts span { padding: 5px 12px; } .p-opts span.on { background: #2f6fb0; color: #fff; }
.p-range { display: block; width: 100%; height: 4px; background: linear-gradient(90deg, var(--accent) 60%, var(--line) 60%); border-radius: 4px; }
.p-md { background: #f2ece1; border: 1px solid var(--line); border-radius: 9px; padding: 10px; font-size: 12px; margin: 0; white-space: pre-wrap; font-family: ui-monospace, Consolas, monospace; }
.p-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.p-btn { border: 1px solid var(--line) !important; border-radius: 10px; padding: 6px 11px !important; background: #f6f1e7 !important; font-size: 12.5px; display: inline-flex; gap: 5px; align-items: center; }
.p-btn.pri { background: linear-gradient(90deg, #f3c9b7, #c9d6ea) !important; border-color: #e4b8a5 !important; }
.p-btn .i { width: 14px; height: 14px; }
.p-drop { border: 2px dashed var(--line); border-radius: 12px; padding: 26px; display: grid; justify-items: center; gap: 4px; text-align: center; color: var(--muted); font-size: 13px; }
.p-drop .i { width: 30px; height: 30px; color: var(--accent); } .p-drop b { color: var(--text); }
.p-file { font-size: 13px; display: flex; gap: 6px; align-items: center; }
.p-ta { background: #f2ece1; border: 1px solid var(--line); border-radius: 9px; padding: 10px; min-height: 80px; color: var(--muted); font-size: 13px; }
.p-ta.solid { color: var(--text); min-height: 0; }
.p-chk2 { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.p-tag { font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #efe7d6; color: var(--muted); }
.p-back { color: var(--accent); font-size: 13px; display: inline-flex; gap: 4px; align-items: center; }
.p-mhead { display: flex; gap: 8px; align-items: center; }
.p-badge { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; color: #fff; }
.p-badge.ep { background: var(--episodic); } .p-badge.pro { background: var(--accent); } .p-badge.ok { background: var(--ok); } .p-badge.rem { background: var(--purple); }
.p-pic { position: relative; border-radius: 10px; overflow: hidden; }
.p-pic svg { display: block; width: 100%; height: auto; }
.p-pic span { position: absolute; left: 10px; right: 10px; bottom: 8px; background: rgba(31, 29, 26, .72); color: #fff; font-size: 12px; padding: 5px 9px; border-radius: 7px; }
.p-win h5 { margin: 6px 0 0; font-size: 11.5px; letter-spacing: .12em; color: var(--muted); }
.p-syn { display: flex; gap: 8px; align-items: center; font-size: 12.5px; border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; background: #fffdf8; }
.p-syn i { width: 8px; height: 8px; border-radius: 50%; } .p-syn span { color: var(--muted); font-size: 11px; }
.p-q { border: 1px solid var(--line); border-left: 3px solid var(--episodic); border-radius: 9px; padding: 9px 10px; display: grid; gap: 5px; font-size: 13px; }
.p-q small { color: var(--muted); }
.p-qrow { display: flex; gap: 6px; } .p-qrow .p-inp { flex: 1; color: var(--muted); }
.p-card { border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; background: #fffdf8; display: grid; gap: 8px; font-size: 13px; }
.p-card.row { display: flex; align-items: center; gap: 10px; }
.p-card.row > div { display: grid; }
.p-card em { color: var(--accent); font-style: normal; }
/* chat */
.p-chead { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--muted); }
.p-chead b { color: var(--text); display: block; font-size: 15px; } .p-chead small { font-size: 12px; }
.p-chips2 { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px 12px; border-bottom: 1px solid var(--line); color: var(--purple); }
.p-chips2 span { border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; font-size: 12px; color: var(--muted); }
.p-msgs { flex: 1; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.p-b { max-width: 88%; padding: 8px 11px; border-radius: 12px; font-size: 13px; line-height: 1.45; }
.p-b.ai { background: #f1ece3; align-self: flex-start; } .p-b.me { background: #fbe1d6; align-self: flex-end; }
.p-cite { color: var(--accent); font-weight: 700; font-size: 12px; }
.p-recall { border-top: 1px solid var(--line); padding: 8px 12px; display: grid; gap: 5px; }
.p-recall div { border-left: 3px solid var(--c); background: #f6f1e7; border-radius: 6px; padding: 4px 9px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* telas cheias */
.p-full { position: absolute; inset: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.p-fhead { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.p-fhead > b { font-size: 17px; }
.p-ctabs { display: flex; justify-content: center; gap: 4px; border-bottom: 1px solid var(--line); }
.p-ctabs button { padding: 10px 14px; border-bottom: 2px solid transparent; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.p-ctabs button.on { color: var(--accent); border-color: var(--accent); }
.p-cbody { flex: 1; overflow: auto; padding: 14px 120px; display: grid; gap: 10px; align-content: start; }
.p-note { display: flex; gap: 9px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; padding: 9px 12px; font-size: 13px; color: #4a443b; background: #fffdf8; }
.p-note .i { color: var(--accent); flex: none; margin-top: 1px; }
.p-note.warn { border-left-color: #b7791f; } .p-note.warn .i { color: #b7791f; }
.p-lic { display: flex; gap: 10px; align-items: center; }
.p-usage { display: grid; gap: 4px; font-size: 12.5px; }
.p-usage i, .p-res i { display: block; height: 7px; background: var(--line); border-radius: 7px; overflow: hidden; }
.p-usage b, .p-res b { display: block; height: 100%; background: var(--accent); }
.p-sync { display: flex; gap: 16px; align-items: flex-start; } .p-sync > div:last-child { display: grid; gap: 7px; font-size: 13px; }
.p-qr { width: 150px; height: 150px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; background: #fff; flex: none; }
.p-qr .i { width: 110px; height: 110px; stroke-width: 1.4; }
.p-themes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.p-themes span { display: grid; justify-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.p-themes i { width: 70px; height: 44px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; }
.p-themes b { width: 18px; height: 18px; border-radius: 50%; }
.p-themes span.on i { outline: 2px solid var(--accent); }
.p-ch { display: flex; align-items: center; gap: 8px; } .p-ch .p-badge { margin-left: auto; }
.p-okmsg { color: var(--ok); font-size: 12.5px; display: inline-flex; gap: 4px; align-items: center; }
.p-tbl { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; font-size: 13px; }
.p-tbl > div { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr 1.2fr; padding: 8px 12px; border-top: 1px solid var(--line); }
.p-tbl > div:first-child { border-top: 0; }
.p-tbl .h { color: var(--muted); background: #f6f1e7; } .p-tbl .t { font-weight: 700; }
.p-inst { display: grid; gap: 8px; } .p-inst .i { color: var(--accent); }
.p-res { display: grid; gap: 8px; } .p-res div { display: grid; grid-template-columns: 140px 1fr 70px; gap: 10px; align-items: center; font-size: 13px; } .p-res em { font-style: normal; color: var(--muted); }
.p-help { flex: 1; display: grid; grid-template-columns: 280px 1fr; min-height: 0; }
.p-help nav { border-right: 1px solid var(--line); padding: 10px; display: grid; gap: 2px; align-content: start; overflow: auto; font-size: 13.5px; color: var(--muted); }
.p-help nav span { padding: 7px 10px; border-radius: 8px; } .p-help nav span.on { background: #fdeee7; color: var(--accent); }
.p-help article { padding: 18px 28px; overflow: auto; font-size: 14px; line-height: 1.6; }
.p-help h4 { margin: 0 0 8px; font-size: 20px; }
.p-leg { white-space: nowrap; } .p-leg i { display: inline-block; width: 9px; height: 9px; margin-right: 4px; }
.p-modal { position: absolute; inset: 0; background: rgba(60, 50, 40, .35); display: grid; place-items: center; }
.p-cal { width: 92%; height: 92%; background: #fbf8f2; border-radius: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.p-calh { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); } .p-calh > b { font-size: 18px; }
.p-calb { flex: 1; display: grid; grid-template-columns: 1fr 260px; min-height: 0; }
.p-grid7 { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 1fr; gap: 5px; padding: 10px; }
.p-grid7 small { text-align: center; color: var(--muted); font-size: 11px; align-self: end; }
.p-grid7 span { background: #f1ece3; border-radius: 9px; padding: 5px 8px; display: flex; flex-direction: column; justify-content: space-between; font-size: 12px; }
.p-grid7 span.today { outline: 2px solid var(--accent); } .p-grid7 span.today b { color: var(--accent); }
.p-grid7 em { display: flex; gap: 3px; } .p-grid7 em i { width: 6px; height: 6px; border-radius: 50%; background: var(--semantic); }
.p-grid7 em i.ep { background: var(--episodic); } .p-grid7 em i.rem { background: var(--purple); }
.p-calb aside { border-left: 1px solid var(--line); padding: 14px; display: grid; gap: 8px; align-content: start; font-size: 13px; }
.p-toast { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; box-shadow: var(--shadow); font-size: 13.5px; display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; }
.p-toast .i { color: var(--accent); }
/* descrição abaixo do protótipo */
.p-info { margin-top: 18px; display: grid; gap: 14px; }
.p-icard { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.p-icard .ico .i { width: 28px; height: 28px; color: var(--accent); }
.p-icard h3 { margin: 0 0 4px; font-size: 1.05rem; } .p-icard p { margin: 0; }
.p-jump { display: flex; flex-wrap: wrap; gap: 6px; }
.p-jump button { font: inherit; font-size: .88rem; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 12px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.p-jump button.on { border-color: var(--accent); color: var(--accent); background: #fdeee7; }
.p-jump .i { width: 15px; height: 15px; }
.proto-tip { font-size: .9rem; margin-top: 8px; display: inline-flex; gap: 6px; align-items: center; }
/* modelos: o que vai e o que volta */
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.models .card h3 { display: flex; align-items: center; gap: 8px; }
.models .card .i { color: var(--accent); }
.dataflow { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.dataflow h3 { margin: 0 0 12px; }
.df-row { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: center; }
.df-box { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: .92rem; }
.df-box b { display: flex; gap: 6px; align-items: center; margin-bottom: 4px; }
.df-arrow { display: grid; justify-items: center; gap: 2px; font-size: .78rem; color: var(--muted); text-align: center; }
.df-arrow .i { color: var(--accent); width: 22px; height: 22px; }
.df-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.df-list h4 { margin: 0 0 6px; font-size: .98rem; display: flex; gap: 6px; align-items: center; }
.df-list ul { margin: 0; padding-left: 18px; color: #4a443b; font-size: .92rem; display: grid; gap: 4px; }
.lang-btn { font: inherit; font-weight: 700; font-size: .85rem; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 11px; cursor: pointer; color: var(--muted); }
@media (max-width: 960px) { .models, .df-list { grid-template-columns: 1fr; } .df-row { grid-template-columns: 1fr; } .df-arrow { transform: rotate(90deg); } }
.p-ptab { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.p-pbody { display: flex; flex-direction: column; } .p-pbody > * { flex: none; }
.p-pic svg { height: 150px; width: 100%; }
.p-grid7 { grid-template-rows: auto; grid-auto-rows: 1fr; }
.p-grid7 small { align-self: center; padding: 4px 0; }

/* protótipo: Agenda em Dia / Semana / Mês */
.p-seg { display: inline-flex; background: #f1ece3; border-radius: 999px; padding: 3px; gap: 2px; }
.p-seg button { border: 0; background: none; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; }
.p-seg button.on { background: var(--accent); color: #fff; }
.p-day { display: flex; flex-direction: column; min-height: 0; padding: 10px; gap: 8px; }
.p-allday { display: grid; gap: 4px; } .p-allday small, .p-week small { color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.p-hours { flex: 1; overflow: hidden; display: grid; grid-auto-rows: 1fr; }
.p-hr { display: grid; grid-template-columns: 48px 1fr; align-items: center; border-top: 1px solid var(--line); min-height: 0; }
.p-hr small { color: var(--muted); font-size: 11px; } .p-hr.now { background: #fbe9e1; } .p-hr.now small { color: var(--accent); font-weight: 700; }
.p-ev { display: flex; align-items: center; gap: 6px; font-size: 12px; background: #f1ece3; border-left: 3px solid var(--episodic); border-radius: 6px; padding: 3px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-ev .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--episodic); flex: none; }
.p-ev.sem { border-left-color: var(--semantic); } .p-ev.sem .dot { background: var(--semantic); }
.p-ev.rem { background: #efe1c8; border-left-color: #c89a3c; } .p-ev .i { width: 13px; height: 13px; flex: none; }
.p-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; padding: 10px; min-height: 0; }
.p-week > div { background: #f6f1e8; border-radius: 9px; padding: 6px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.p-week > div.today { outline: 2px solid var(--accent); } .p-week .p-ev { white-space: normal; align-items: flex-start; font-size: 11px; }
.p-quick { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; color: var(--muted); background: #fff; }
.p-calb aside .p-card .i { width: 13px; height: 13px; vertical-align: -2px; }
.p-calb aside .p-card { display: block; line-height: 1.45; padding: 8px 10px; }
.p-hours { grid-template-rows: repeat(9, minmax(0, 1fr)); }
.p-week .p-ev { display: block; white-space: normal; line-height: 1.35; padding: 4px 6px; }
.p-week .p-ev .dot { display: inline-block; margin-right: 4px; vertical-align: 1px; } .p-week .p-ev .i { vertical-align: -2px; margin-right: 3px; }
.p-week .p-ev b { display: block; }

/* menu do celular (hambúrguer) */
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--text); align-items: center; justify-content: center; cursor: pointer; }
.burger .i { width: 22px; height: 22px; }
@media (max-width: 920px) {
  .burger { display: inline-flex; }
  .nav .wrap { position: relative; }
  .nav nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px 18px;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0,0,0,.08); max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav nav.open { display: flex; }
  .nav nav a:not(.btn) { padding: 12px 6px; border-radius: 10px; font-size: 1.05rem; color: var(--text); }
  .nav nav a:not(.btn):hover { background: var(--card); }
  .nav nav .lang-btn { align-self: flex-start; margin: 6px 0; }
  .nav nav .btn.primary { justify-content: center; margin-top: 6px; }
  body.menu-open { overflow: hidden; }
}
/* tabela Grátis × Pro cabe no celular sem rolar para o lado (o Pro some fora da tela) */
@media (max-width: 640px) {
  .table table { min-width: 0; table-layout: fixed; }
  .table th, .table td { padding: 10px 8px; font-size: .86rem; overflow-wrap: anywhere; }
  .table th:first-child, .table td:first-child { width: 42%; }
  .table th { font-size: .95rem; }
}
