:root {
  --bg: #dddbd7; --ink: #181818; --verde: #2f3a33; --creme: #f2ede4;
  --areia: #ffd98a; --acento: #c56720; --muted: #54534f; --line: rgba(24,24,24,.17);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif; color: var(--ink); background: var(--bg);
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
[hidden] { display: none !important; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .48; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 4px; box-shadow: 0 0 0 3px var(--creme); }
img { max-width: 100%; display: block; }
.skip { position: absolute; left: 1rem; top: -5rem; padding: .8rem; background: var(--creme); color: var(--ink); z-index: 10; }
.skip:focus { top: 1rem; }
.screen { min-height: 100svh; }
.dark { color: var(--creme); background: var(--verde); isolation: isolate; position: relative; }
.dark::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../img/textura.webp') center / cover; mix-blend-mode: hard-light; opacity: .14; pointer-events: none; }
.wrap { max-width: 35rem; margin: 0 auto; padding: 3rem 1.5rem; }
.brand { display: inline-block; margin-bottom: 2.5rem; }
.brand img { height: 2rem; width: auto; }
.eyebrow { font: 900 .6875rem/1.6 'Doto', ui-monospace, monospace; text-transform: uppercase; letter-spacing: .15em; margin: 0 0 .8rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.6rem, 8vw, 3.7rem); line-height: 1.04; font-weight: 500; letter-spacing: -.045em; margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.9rem, 6vw, 2.65rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 500; margin-bottom: 1rem; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 500; }
.intro { font-size: 1.0625rem; line-height: 1.65; color: var(--muted); }
.dark .intro { color: #e0e0d6; }
.fine { font-size: .8125rem; line-height: 1.65; color: var(--muted); }
.dark .fine { color: #d1d5ca; }
.button { min-height: 3.25rem; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: .8rem 1.4rem; border-radius: 100px; border: 1px solid transparent; text-decoration: none; font-weight: 500; line-height: 1.35; }
.primary { background: linear-gradient(160deg, var(--creme), var(--areia)); color: var(--ink); border-color: #ede0c6; }
.secondary { background: transparent; color: inherit; border-color: var(--line); }
.dark .secondary { border-color: #6b786a; }
.stop { background: transparent; color: var(--creme); text-decoration: underline; text-underline-offset: .25em; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.entry .intro { max-width: 35ch; }
.entry .fine { margin: 1rem 0 0; }
.entry-scene { min-height: 19rem; border-radius: 1.5rem; margin-top: 2rem; background: linear-gradient(0deg, #181818a8, #18181800 70%), url('../img/foto-juliana-fone.webp') 34% 40% / cover; padding: 1.25rem; display: flex; align-items: end; }
.hint-preview { background: #2f3a33eb; border: 1px solid #ffd98a77; padding: 1rem; border-radius: 1rem; }
.hint-preview p { margin-bottom: .4rem; }
.hint-preview span { font-size: .7rem; color: #d1d5ca; }
.signature { margin: 1.5rem 0 0; font-size: .8rem; text-align: center; }
.field { display: grid; gap: .5rem; margin-top: 1.4rem; }
.field label { font-size: .875rem; }
.field input { width: 100%; min-height: 3.5rem; background: #ffffff09; color: var(--creme); border: 1px solid #899082; border-radius: .6rem; padding: .9rem 1rem; font-size: 1rem; }
.field input::placeholder { color: #bdc4b5; }
.field input[aria-invalid='true'] { border: 2px solid var(--areia); }
form .fine { margin-top: 1.2rem; }
.error { font-size: .875rem; min-height: 1.25rem; margin: .9rem 0; color: #822c12; }
.dark .error { color: var(--areia); }
.scenarios { display: grid; gap: 1rem; margin-top: 2rem; }
.scenario { display: grid; grid-template-columns: 3.25rem 1fr; text-align: left; align-items: start; gap: .2rem 1rem; padding: 1.4rem; color: inherit; border: 1px solid #adafa4; border-radius: 1.15rem; background: linear-gradient(80deg, #e6e4e0, #d4d2ce); }
.scenario strong { font-size: 1.2rem; font-weight: 500; }
.scenario .avatar { grid-row: span 3; width: 3.25rem; height: 3.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--verde); color: var(--creme); font-size: 1.35rem; }
.scenario .description { font-size: .875rem; color: var(--muted); }
.scenario .choose { margin-top: .7rem; font-size: .8rem; }
.scenario:disabled { opacity: 1; color: var(--muted); border-color: var(--line); background: var(--bg); }
.scenario:disabled .avatar { background: #c4c5bc; color: var(--muted); }
.scenario .coming-soon { justify-self: start; padding: .2rem .55rem; border: 1px solid var(--line); border-radius: .35rem; font-size: .6875rem; font-weight: 600; letter-spacing: .08em; }
/* 03 · playbook em carrossel: um comportamento por cartão, rolagem nativa com snap */
.icon { display: grid; place-items: center; flex: none; }
.icon svg, .round-button svg, .tip-tabs svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.playbook-intro { font-size: 1rem; margin-bottom: 0; }
.playbook-carousel { margin-top: 1.4rem; }
.playbook {
  list-style: none; display: flex; gap: .75rem; margin: 0 -1.5rem; padding: .25rem 1.5rem .5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.5rem; scrollbar-width: none; overscroll-behavior-x: contain;
}
.playbook::-webkit-scrollbar { display: none; }
.playbook li {
  flex: 0 0 min(84%, 22rem); scroll-snap-align: start; min-height: 15rem;
  display: flex; flex-direction: column; gap: .55rem; padding: 1.3rem;
  border: 1px solid #adafa4; border-radius: 1.4rem; background: linear-gradient(80deg, #e6e4e0, #d4d2ce);
}
.playbook-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.playbook-card-top .icon { width: 3.5rem; height: 3.5rem; padding: .85rem; border-radius: 1.1rem; background: var(--verde); color: var(--areia); }
.playbook-count { font: 900 .75rem 'Doto', monospace; letter-spacing: .1em; color: var(--muted); }
.playbook strong { margin-top: auto; font-size: 1.35rem; line-height: 1.12; font-weight: 500; letter-spacing: -.02em; }
.playbook p { margin: 0; font-size: .9375rem; color: var(--muted); }
.playbook-nav { display: flex; align-items: center; justify-content: space-between; margin-top: .4rem; }
.playbook-dots { display: flex; flex-wrap: wrap; }
.playbook-dots button { width: 1.5rem; height: 2.75rem; display: grid; place-items: center; padding: 0; border: 0; background: none; }
.playbook-dots button::after { content: ''; width: .45rem; height: .45rem; border-radius: 1rem; background: #18181840; transition: width .25s, background .25s; }
.playbook-dots button[aria-current='true']::after { width: 1.2rem; background: var(--verde); }
.playbook-arrows { display: flex; gap: .4rem; }
.round-button { width: 2.75rem; height: 2.75rem; padding: .7rem; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: inherit; display: grid; place-items: center; }
.store { margin-top: 1.4rem; font-size: .875rem; }
.store .eyebrow { color: var(--muted); margin-bottom: .4rem; }
.briefing { list-style: none; padding: 0; margin: 0 0 .6rem; color: var(--muted); font-size: .8125rem; }
.briefing li { display: inline; }
.briefing li + li::before { content: ' · '; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .75rem; border-radius: 100px; background: #ffffff8c; border: 1px solid var(--line); font-size: .8125rem; line-height: 1.3; }
.chip .icon { width: 1rem; height: 1rem; }
.chip small { color: var(--muted); font-size: .75rem; }
.chip small::before { content: '— '; }
.audio-check { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 1.3rem 0; border-bottom: 1px solid #73806c; }
.audio-check .button { font-size: .8125rem; padding: .6rem .9rem; }
.audio-check .fine { margin: .4rem 0 0; }
meter { display: block; width: 100%; height: 1rem; margin-top: .6rem; accent-color: var(--areia); }
.session-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.session-top time { font-size: .8rem; font-variant-numeric: tabular-nums; }
.session h2 { font-size: 1.4rem; margin: .3rem 0; }
.connection { font-size: .8125rem; color: #d1d5ca; }
.loading-status { display: flex; align-items: center; gap: .8rem; margin-top: 1.25rem; font-size: .875rem; }
.loading-status p { margin-bottom: 0; }
.loading-spinner { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.customer-wait { padding: 1rem; border: 1px solid #6b786a; border-radius: 1rem; color: var(--areia); }
.customer-wait .fine { margin-top: .35rem; }
.voice-scene { position: relative; isolation: isolate; min-height: 14rem; display: flex; flex-direction: column; justify-content: center; margin: 1rem 0; }
.voice-light { position: absolute; inset: 5% 12%; border-radius: 50%; background: #ffd98a22; filter: blur(35px); z-index: -1; }
.speech { font-size: clamp(1.6rem, 5vw, 2rem); letter-spacing: -.025em; line-height: 1.4; margin-bottom: 0; overflow-wrap: anywhere; }
.coach-card { border: 1px solid #ffd98a66; border-radius: 1rem; padding: 1rem 1.25rem; background: #ffffff08; }
.coach-card .eyebrow { color: var(--areia); margin-bottom: .5rem; }
.coach-card p:last-child { margin-bottom: 0; min-height: 3rem; font-size: 1rem; }
.session-playbook { margin: 1.2rem 0; font-size: .875rem; }
.session-playbook summary { cursor: pointer; min-height: 2.75rem; padding: .65rem 0; }
.session-playbook li { padding: .3rem 0; }
.session-controls { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.session-controls .button { font-size: .875rem; padding: .8rem; }
.analysis { padding-top: 7rem; }
.analysis-orb { width: 4rem; height: 4rem; border-radius: 50%; background: radial-gradient(circle at 30% 25%, var(--creme), var(--areia) 50%, var(--acento)); box-shadow: 0 0 50px #ffd98a33; margin-bottom: 2rem; }
#analysis-status { font-size: .875rem; color: var(--areia); }
.notice { padding: 1rem; background: #ffd98a66; border-radius: .5rem; font-size: .875rem; }
blockquote { margin: .5rem 0 0; padding: .1rem 0 .1rem .8rem; border-left: 2px solid var(--acento); font-size: .875rem; overflow-wrap: anywhere; }

/* 06 · análise em roda: o playbook em volta da nota */
.result-summary { font-size: .9375rem; line-height: 1.55; color: var(--muted); margin-bottom: .5rem; }
.wheel { position: relative; width: 15rem; height: 15rem; margin: 1rem auto 0; }
.wheel::before { content: ''; position: absolute; inset: 1.5rem; border-radius: 50%; border: 1.5px solid #1818181f; }
.wheel-area.empty .wheel::before, .wheel-area.empty .wheel-legend, .wheel-area.empty .wheel-detail { display: none; }
.wheel-center { position: absolute; inset: 4rem; border-radius: 50%; background: var(--verde); color: var(--creme); display: grid; place-content: center; justify-items: center; gap: .2rem; text-align: center; }
.wheel-center b { font-size: 1.7rem; line-height: 1; font-weight: 500; letter-spacing: -.03em; }
.wheel-center b:empty { display: none; }
.wheel-center span { font-size: .6875rem; color: #c9cfc4; }
.stars { display: flex; gap: .1rem; }
.stars .star { width: .9rem; height: .9rem; fill: none; stroke: #ffd98a99; stroke-width: 1.6; stroke-linejoin: round; }
.stars .star.full { fill: var(--areia); stroke: var(--areia); }
.stars.incomplete { font-size: .75rem; color: var(--creme); max-width: 6rem; line-height: 1.2; }
.wheel-node { position: absolute; width: 3rem; height: 3rem; margin: -1.5rem 0 0 -1.5rem; padding: .85rem; border-radius: 50%; border: 0; transition: transform .25s, box-shadow .25s; }
.wheel-node .icon { width: 100%; height: 100%; }
.wheel-node.met { background: var(--verde); color: var(--areia); }
.wheel-node.missed { background: var(--bg); border: 1.5px dashed var(--acento); color: #9a4b0d; }
.wheel-node.unknown { background: var(--bg); border: 1.5px dashed var(--muted); color: var(--muted); }
.wheel-node[aria-pressed='true'] { transform: scale(1.18); box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--ink); }
.wheel-legend { display: flex; justify-content: center; gap: 1rem; margin: .1rem 0 0; font-size: .75rem; color: var(--muted); }
.wheel-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.wheel-legend i { width: .7rem; height: .7rem; border-radius: 50%; }
.wheel-legend .met { background: var(--verde); }
.wheel-legend .not { border: 1.5px dashed var(--acento); }
.wheel-detail { margin-top: .6rem; min-height: 7rem; padding: .95rem 1.05rem; border-radius: 1.2rem; background: #ffffff8c; border: 1px solid var(--line); }
.wheel-detail .eyebrow { color: var(--muted); margin-bottom: .3rem; font-size: .6875rem; }
.wheel-detail h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.wheel-detail p { margin: 0; font-size: .875rem; color: var(--muted); }
.wheel-detail blockquote { color: var(--ink); border-left-color: var(--verde); }
/* um cartão, duas abas: abre no que fazer da próxima vez */
.tip { margin-top: .7rem; padding: .35rem .35rem .8rem; border-radius: 1.1rem; background: #ffd98a66; transition: background .25s; }
.tip[data-tab='good'] { background: #2f3a331a; }
.tip-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; padding: .2rem; border-radius: 100px; background: #18181810; margin-bottom: .7rem; }
.tip-tabs button { min-height: 2.5rem; border: 0; border-radius: 100px; background: none; color: var(--muted); font-size: .8125rem; }
.tip-tabs button[aria-selected='true'] { background: var(--creme); color: var(--ink); box-shadow: 0 .15rem .5rem #1818181a; }
.tip [role='tabpanel'] { padding: 0 .65rem; display: grid; gap: .1rem; }
.tip-list { list-style: none; padding: 0; margin: 0; }
.tip-list li, .tip-list p { margin: 0; font-size: .875rem; }
.tip-next { justify-self: start; min-height: 2.5rem; padding: 0; border: 0; background: none; color: inherit; font-size: .8125rem; text-decoration: underline; text-underline-offset: .2em; }
.result-actions { align-items: center; justify-content: space-between; }
.text-link { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; font-size: .9375rem; text-underline-offset: .2em; }
@media (hover: hover) { .button:hover:not(:disabled), .scenario:hover:not(:disabled) { filter: brightness(1.06); } }
@media (prefers-reduced-motion: reduce) { .playbook-dots button::after, .wheel-node { transition: none; } }
@media (prefers-reduced-motion: no-preference) { .loading-spinner { animation: loading-turn 1s linear infinite; } @keyframes loading-turn { to { transform: rotate(360deg); } } .voice-light { animation: breathe 5s ease-in-out infinite alternate; } @keyframes breathe { to { opacity: .4; transform: scale(.85); } } }
@media (max-width: 360px) { .wrap { padding: 2rem 1rem; } .audio-check { flex-wrap: wrap; } .actions .button { width: 100%; } }
@media (forced-colors: active) { :focus-visible { outline: 2px solid Highlight; } .button, .scenario, input { border: 1px solid ButtonText; } }
