:root {
  color-scheme: light;
  --ink: #241c2c;
  --text: #514a59;
  --subtle: #655b6e;
  --accent: #562b86;
  --accent-dark: #422064;
  --accent-wash: #f2ebf9;
  --paper: #f8f6fa;
  --white: #fff;
  --line: #e5dfea;
  --line-strong: #c9bdcf;
  --frame: 1120px;
  --work: 828px;
  --gutter: clamp(18px, 4vw, 42px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 100%;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden], .symbols { display: none !important; }
body { margin: 0; }
main { background: var(--white); }
h1, h2, h3, p { margin: 0; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #8658b5; outline-offset: 3px; }
::selection { background: #eadcf8; color: var(--ink); }
.ico { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { transform: translateY(-160%); z-index: 5; position: absolute; top: 12px; left: 12px; padding: 12px 16px; border-radius: 8px; background: var(--accent); color: white; }
.skip:focus { transform: translateY(0); }
.frame { width: 100%; max-width: calc(var(--frame) + 2 * var(--gutter)); padding-inline: var(--gutter); margin-inline: auto; }
.topbar { background: var(--paper); }
.topbar-inner { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: .95rem; font-weight: 750; letter-spacing: -.015em; min-height: 44px; }
.brand img { width: 34px; height: 34px; }
.brand-detail { font-weight: 500; color: var(--subtle); margin-left: 5px; }
.top-date { color: var(--subtle); font-size: .85rem; font-weight: 650; white-space: nowrap; }
.hero { background: var(--paper); padding: clamp(27px, 4.4vw, 54px) 0 clamp(37px, 5vw, 59px); border-bottom: 1px solid var(--line); }
.intro { max-width: 710px; animation: enter .45s ease both; }
.eyebrow { display: flex; align-items: center; gap: 8px; letter-spacing: .115em; color: var(--accent); text-transform: uppercase; font-size: .73rem; font-weight: 750; line-height: 1.35; }
.accent-dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; margin-right: 3px; }
.eyebrow-separator { color: #8f819c; }
h1 { margin-top: 12px; font-size: clamp(2.52rem, 6.4vw, 4.8rem); line-height: .99; letter-spacing: -.055em; font-weight: 760; text-wrap: balance; }
.lead { color: var(--text); margin-top: 15px; max-width: 51ch; font-size: clamp(1rem, 1.9vw, 1.17rem); line-height: 1.53; }
.profiles { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(10px, 2.4vw, 24px); margin-top: clamp(24px, 3vw, 31px); animation: settle .32s ease-out both; }
.profile { display: flex; width: 100%; min-width: 0; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--white); color: var(--ink); overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s; }
.profile-art { display: grid; width: 100%; aspect-ratio: 1.88; place-items: center; padding: clamp(3px, .6vw, 7px); background: #eee8f3; overflow: hidden; border-bottom: 1px solid var(--line); }
.profile-art img { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 12px 12px 4px 4px; }
.profile-details { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 6px; padding: clamp(11px, 2vw, 20px) clamp(10px, 2vw, 24px); }
.profile-name { display: flex; flex-direction: column; gap: 4px; font-size: clamp(1rem, 2.3vw, 1.37rem); font-weight: 750; letter-spacing: -.028em; line-height: 1.2; }
.profile-person { color: var(--subtle); font-size: clamp(.8rem, 1.7vw, 1rem); font-weight: 520; letter-spacing: 0; }
.profile-arrow { display: grid; place-items: center; border-radius: 50%; width: 38px; height: 38px; flex: 0 0 auto; color: var(--accent); background: var(--accent-wash); transition: background .2s, color .2s, transform .2s; }
.profile-arrow .selected-icon { display: none; }
.profile[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.profile[aria-pressed="true"] .profile-arrow { background: var(--accent); color: var(--white); }
.profile[aria-pressed="true"] .profile-arrow .ico { display: none; }
.profile[aria-pressed="true"] .profile-arrow .selected-icon { display: block; }
@media (hover: hover) {
  .profile:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 9px 27px #44205f16; }
  .profile[aria-pressed="true"]:hover { box-shadow: 0 0 0 2px var(--accent), 0 9px 27px #44205f16; }
  .profile:hover .profile-arrow { transform: translateX(2px); }
}
.noscript { color: var(--subtle); margin-top: 15px; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes settle { from { transform: translateY(5px); } to { transform: translateY(0); } }
#roteiro.revealed .workframe { animation: enter .25s ease both; }
.steps { position: sticky; top: 0; z-index: 3; background: #fffffff2; border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(12px)) { .steps { backdrop-filter: blur(12px); } }
.steps-inner { min-height: 54px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); max-width: calc(var(--work) + 2 * var(--gutter)); }
.steps a { display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; white-space: nowrap; position: relative; min-height: 53px; color: var(--subtle); font-size: .88rem; font-weight: 650; }
.steps a:hover, .steps a[aria-current="location"] { color: var(--accent); }
.steps a[aria-current="location"]::after { content: ""; position: absolute; inset: auto 18% 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); }
.step-nav-num { font-variant-numeric: tabular-nums; font-size: .75rem; color: currentColor; opacity: .75; }
.workframe { width: 100%; max-width: calc(var(--work) + 2 * var(--gutter)); padding-inline: var(--gutter); margin-inline: auto; }
.stage { display: grid; padding: clamp(37px, 6vw, 68px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 56px; }
.stage:last-child { border-bottom: 0; }
.stage-main { min-width: 0; }
.stage-topline { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.index { font-variant-numeric: tabular-nums; margin-right: 3px; }
h2 { margin-top: 10px; font-size: clamp(1.85rem, 4.1vw, 2.86rem); line-height: 1.09; letter-spacing: -.052em; font-weight: 750; text-wrap: balance; }
h2:focus { outline: none; }
.supporting { color: var(--text); line-height: 1.55; margin: 11px 0 22px; max-width: 62ch; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid transparent; border-radius: 10px; font-size: .91rem; line-height: 1.25; font-weight: 700; text-decoration: none; transition: background .16s, color .16s, border-color .16s; }
.button.primary { color: var(--white); background: var(--accent); flex: 0 0 auto; }
.button.primary:hover { background: var(--accent-dark); }
.button.quiet { color: var(--accent); background: transparent; border-color: var(--line); }
.button.quiet:hover { background: var(--accent-wash); border-color: var(--line-strong); }
.button.small { padding-inline: 11px; font-size: .8rem; }
.button.small .ico { width: 17px; height: 17px; }
.button.muted { color: var(--subtle); }
.text-tool { border: 1px solid var(--line-strong); border-radius: 16px; background: var(--paper); }
.fieldbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 13px 12px 16px; gap: 10px; border-bottom: 1px solid var(--line); }
.field-title { font-size: .93rem; font-weight: 720; line-height: 1.28; }
textarea, select { color: var(--ink); font-size: 1rem; }
textarea { display: block; width: 100%; min-width: 0; padding: 14px 16px; line-height: 1.55; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white); resize: vertical; }
textarea::placeholder { color: #746a7c; opacity: 1; }
textarea.prompt { border: none; border-radius: 0 0 16px 16px; background: #fcfbfd; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .875rem; line-height: 1.7; min-height: 164px; padding: 16px; }
textarea.prompt:focus-visible { outline-offset: -4px; }
.writable { min-height: 112px; }
.field-help { color: var(--subtle); font-size: .83rem; line-height: 1.55; }
#prompt-help { margin-top: 10px; }
.draftline { margin-top: 12px; display: flex; flex-direction: column; gap: 0; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.check input { accent-color: var(--accent); width: 19px; height: 19px; margin: 2px 0 0; flex: 0 0 auto; }
.saving { min-height: 37px; width: fit-content; align-items: center; font-size: .88rem; font-weight: 670; }
.saving input { margin-top: 0; }
.objection-list { border-top: 1px solid var(--line); }
.objection { border-bottom: 1px solid var(--line); }
.objection summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 57px; padding-block: 13px; color: var(--ink); cursor: pointer; list-style: none; font-size: 1.07rem; line-height: 1.36; font-weight: 680; }
.objection summary::-webkit-details-marker { display: none; }
.objection summary::after { content: "+"; font-size: 1.33rem; line-height: 1; color: var(--accent); width: 30px; height: 30px; border-radius: 50%; background: var(--accent-wash); display: grid; place-items: center; flex: 0 0 auto; }
.objection[open] summary::after { content: "−"; }
.objection-body { padding: 3px 0 19px; }
.objection[open] .objection-body { animation: enter .2s ease both; }
.moves { list-style: none; padding: 0 0 0 15px; margin: 0; border-left: 2px solid #ddccec; display: grid; gap: 13px; }
.moves strong { display: block; font-size: .9rem; margin-bottom: 3px; }
.moves p { color: var(--text); font-size: .97rem; line-height: 1.55; }
.objection-ref { color: var(--subtle); font-size: .79rem; margin-top: 14px; line-height: 1.5; }
.check-head { display: flex; align-items: baseline; gap: 12px; justify-content: space-between; padding-bottom: 11px; border-bottom: 1px solid var(--line); }
h3, legend, .notes-title { font-size: 1.15rem; line-height: 1.25; font-weight: 730; letter-spacing: -.022em; }
.count { flex: 0 0 auto; color: var(--accent); font-weight: 650; font-size: .82rem; font-variant-numeric: tabular-nums; }
.checklist .check { padding: 12px 2px; min-height: 49px; border-bottom: 1px solid var(--line); line-height: 1.45; color: var(--text); font-size: .96rem; }
.checklist .check b { color: var(--ink); font-weight: 680; }
.picklists { margin: 30px 0 26px; padding: 0; border: 0; min-width: 0; }
.picklists legend { padding: 0 0 7px; }
.decision-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 3vw, 22px); margin-top: 14px; }
.decision { padding: 14px; border-radius: 13px; background: var(--paper); }
.decision small { display: block; color: var(--subtle); font-size: .81rem; margin: 3px 0 9px; }
.decision select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--white); }
.reason-label { display: block; margin: 13px 0 5px; color: var(--text); font-size: .82rem; font-weight: 650; }
.decision textarea { padding: 8px 10px; border-radius: 9px; font-size: .94rem; }
.notes-title { display: flex; gap: 12px; align-items: baseline; margin-bottom: 10px; }
.notes-title span { color: var(--subtle); font-weight: 500; letter-spacing: 0; font-size: .78rem; }
.after-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 19px; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: baseline; justify-content: space-between; min-height: 82px; padding-block: 20px; gap: 10px 24px; }
.footer-inner span { white-space: nowrap; color: var(--accent); font-weight: 700; }
.footer-inner p { color: var(--subtle); font-size: .82rem; line-height: 1.45; }
dialog { color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 0; width: min(1180px, calc(100% - 24px)); max-width: none; max-height: 90vh; overflow: auto; }
dialog::backdrop { background: #26192c9e; }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; gap: 10px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--white); z-index: 1; }
.dialog-bar h2 { margin: 0; font-size: 1.2rem; letter-spacing: -.025em; }
.dialog-hint { color: var(--subtle); font-size: .83rem; margin: 10px 16px; }
.dialog-image { padding: 0 8px 8px; }
.dialog-image img { width: 100%; height: auto; object-fit: contain; }
.confirm { width: min(410px, calc(100% - 28px)); }
.confirm-body { padding: 23px; }
.confirm h2 { margin-top: 0; font-size: 1.5rem; }
.confirm p { color: var(--text); margin-top: 9px; line-height: 1.55; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

@media (max-width: 600px) {
  .topbar-inner { min-height: 59px; }
  .top-date { font-size: .76rem; }
  .profile { border-radius: 13px; }
  .profile-art img { border-radius: 8px 8px 3px 3px; }
  .profile-arrow { width: 28px; height: 28px; }
  .profile-arrow .ico { width: 16px; height: 16px; }
  .steps-inner { padding-inline: 5px; }
  .steps a { font-size: .8rem; gap: 0; }
  .step-nav-num { display: none; }
  textarea.prompt, .decision textarea { font-size: 1rem; }
  .decision-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; min-height: auto; }
}
@media (max-width: 370px) {
  .brand-detail { display: none; }
  .fieldbar { align-items: flex-start; flex-direction: column; }
  .profile-details { padding-inline: 9px; }
  .profile-arrow { width: 23px; height: 23px; }
  .button { padding-inline: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
