/* v51: semantic ink follows the actual surface, not a legacy source-frame color. */
[data-qa-tone="dark"]{--qa-text:#fbfaf3;--qa-body:#bbbcc8;--qa-accent:#baa3f3;--qa-focus:#baa3f3}
[data-qa-tone="light"]{--qa-text:#080f2d;--qa-body:#50566b;--qa-accent:#4d1684;--qa-focus:#4d1684}
body.editorial-v23 .case-chapter [data-qa-ink="text"]{color:var(--qa-text)!important}
body.editorial-v23 .case-chapter [data-qa-ink="body"]{color:var(--qa-body)!important}
body.editorial-v23 .case-chapter [data-qa-ink="accent"]{color:var(--qa-accent)!important}
body.editorial-v23 .case-chapter [data-qa-ink] [data-qa-ink]{color:inherit}
.case-chapter .carousel-nav-heading{color:var(--qa-accent,#baa3f3)!important}
.case-chapter .carousel-nav-buttons button:focus-visible{outline-color:var(--qa-focus,currentColor)}
/* Text/data slides use a complete column; image sequences keep the existing next-image preview. */
.mobile [data-carousel-kind="text"]>.carousel-slide{flex-basis:100%!important;width:100%!important;max-width:100%!important}
.mobile [data-carousel-kind="text"] .fig-node{max-width:100%}
.case-index{width:100%;padding:0 var(--gutter) 40px;background:var(--navy);color:var(--paper)}
.case-index h2{margin:0;padding-top:24px;border-top:1px solid var(--hairline);font-size:18px;line-height:26px;font-weight:600}
.case-index ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 28px;list-style:none;margin:12px 0 0;padding:0}
.case-index li{min-width:0}.case-index a{display:flex;align-items:baseline;gap:12px;min-height:48px;padding:12px 0;font-size:16px;line-height:24px;font-weight:500;color:var(--lilac);text-decoration:underline;text-underline-offset:4px}
.case-index-number{flex:none;font-size:12px;line-height:24px;color:var(--paper-muted)}
.case-index a:hover{color:var(--paper)}.case-index a:focus-visible{outline:2px solid var(--lilac);outline-offset:4px}
.case-chapter-anchor{display:block;scroll-margin-top:0}.case-chapter-anchor:focus-visible{outline:2px solid var(--qa-accent,currentColor);outline-offset:6px}
.motion-settings{display:flex;justify-content:flex-start;width:100%}.motion-settings button{min-height:48px;padding:12px 16px;border:1px solid currentColor;border-radius:4px;color:var(--qa-accent,var(--lilac));font-size:14px;line-height:22px;text-decoration:underline;text-underline-offset:4px}
.motion-settings button:hover{background:color-mix(in srgb,currentColor 10%,transparent)}
.skip-navigation{position:relative;z-index:1101}.skip-navigation .skip:focus-visible{outline-color:var(--navy)}
@media(max-width:1023px){.case-index{padding-bottom:32px}.case-index ol{grid-template-columns:1fr;gap:0}}
/* Brand rows can wrap when visitors enlarge text spacing; optical logo sizes stay intact. */
@media(max-width:1023px){.company-band .credential-brand-names{flex-wrap:wrap;white-space:normal!important}.credential-brands,.credential-projects{min-width:0;max-width:100%}}
/* Approved palette hierarchy: yellow highlights on covers, lilac through the case. */
:root{--kaio-yellow:#f8cd00}
body[data-delivery-art]{--dl-accent:var(--lilac)}
body[data-delivery-art] .case-chapter .dl-icon{color:var(--qa-accent,var(--lilac))}
.cover-delivery .delivery-result-lead strong,.cover-compensa .compensa-result-lead strong,.cover-consul .consul-result-lead strong,.cover-velocity .velocity-result-lead strong{background:var(--kaio-yellow);color:var(--navy)!important;box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:2px 8px;border-radius:0}
.case-intro .type-meta,.case-opening .type-meta{color:var(--kaio-yellow)}
/* v52: hover changes the ink; only carousel controls keep the yellow surface. */
a[href]:hover,button:not([disabled]):hover{color:var(--kaio-yellow)!important;text-decoration-color:currentColor!important}
.motion-settings button:hover{background:transparent}
.carousel-nav-buttons button:hover:not(:disabled){background-color:var(--kaio-yellow)!important;color:var(--navy)!important}
.action:hover{filter:none}
a[href]:hover *,button:not([disabled]):hover *{color:inherit!important}
a[href]:focus-visible,button:focus-visible{outline:3px solid var(--kaio-yellow)!important;outline-offset:4px;box-shadow:0 0 0 5px var(--navy)}
@media(prefers-reduced-motion:no-preference){a[href],button{transition:color .16s ease,background-color .16s ease}}
.works-intro h1{overflow-wrap:anywhere}
@media(max-width:359px){.mobile .cover-consul .consul-result-lead strong{font-size:32px;line-height:40px;white-space:normal;max-width:100%}}
@media(max-width:1023px){body.editorial-v23 .mobile [data-carousel-kind="text"]>.carousel-slide{height:auto!important;min-height:0!important;justify-content:flex-start!important;gap:16px!important}}
a:hover [data-name="Seta da marca"],button:not([disabled]):hover [data-name="Seta da marca"]{background:currentColor;mask:url('/assets/b2240.svg') center/contain no-repeat;-webkit-mask:url('/assets/b2240.svg') center/contain no-repeat}
a:hover [data-name="Seta da marca"] img,button:not([disabled]):hover [data-name="Seta da marca"] img{visibility:hidden}
/* v53: the header signature stays white; underline only its name on hover. */
.site-nav a[data-name="Identidade"]:hover{color:var(--paper,#fbfaf3)!important;background:transparent;text-decoration:none}
.site-nav a[data-name="Identidade"]:hover > p{text-decoration:underline;text-decoration-color:currentColor!important;text-underline-offset:.22em;text-decoration-thickness:1px}
/* v54: preserve the approved filled hover specifically on the Menu button. */
.site-nav button[data-action="Menu"]:hover{background-color:var(--kaio-yellow)!important;color:var(--navy)!important}
/* v54: consistent hover ink, without a second underline cue. Keep identity exception. */
body :is(a[href],button:not(:disabled)):hover,
body :is(a[href],button:not(:disabled)):hover *{text-decoration:none!important}
body.editorial-v23 :is(a[href],button:not(:disabled)):hover *{color:inherit!important}
body .site-nav a[data-name="Identidade"]:hover > p{text-decoration:underline!important}
body.editorial-v23 :is(a[href],button:not(:disabled)):hover{color:var(--kaio-yellow)!important}
body.editorial-v23 .site-nav a[data-name="Identidade"]:hover{color:var(--paper,#fbfaf3)!important}
body.editorial-v23 .site-nav button[data-action="Menu"]:hover,
body.editorial-v23 .carousel-nav-buttons button:hover:not(:disabled){color:var(--navy)!important}
/* v56: inset and full-width reading for Delivery's six-risk carousel only. */
@media(max-width:1023px){
 body.editorial-v23[data-delivery-art] .mobile [data-node-id="213:6521"]{padding:20px!important;gap:16px!important;width:100%!important;box-sizing:border-box}
 body.editorial-v23[data-delivery-art] .mobile [data-node-id="213:6521"] .carousel-track{width:100%!important;max-width:100%!important;gap:20px!important}
 body.editorial-v23[data-delivery-art] .mobile [data-node-id="213:6521"] .carousel-slide{flex:0 0 100%!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;justify-content:flex-start!important;gap:16px!important;padding:20px 0 0!important}
 body.editorial-v23[data-delivery-art] .mobile [data-node-id="213:6521"] .carousel-slide>p{width:100%!important;margin:0!important}
 body.editorial-v23[data-delivery-art] .mobile [data-node-id="213:6521"] .carousel-slide>.dl-icon{width:32px!important;height:34px!important;margin:0!important}
 body.editorial-v23[data-delivery-art] .mobile [data-node-id="213:6521"] [data-name="Ilustração original / diagnóstico"]{width:180px!important;max-width:100%!important;height:auto!important;aspect-ratio:230/239.608}
}
/* v56: close uses the same outlined and filled-hover treatment as Menu. */
body.editorial-v23 #menu [data-close-menu]{color:var(--paper)!important;border:1px solid rgba(186,163,243,.5);border-radius:4px;background:transparent}
body.editorial-v23 #menu [data-close-menu] p{color:inherit!important}
body.editorial-v23 #menu [data-close-menu]:hover{background-color:var(--kaio-yellow)!important;color:var(--navy)!important;text-decoration:none!important}
/* v57: approved yellow emphasis on case metadata and quick-read labels/icons. */
body.editorial-v23 [data-name="Contribuição e contexto"] .type-meta,
body.editorial-v23 [class$="-quick-read-item"] h3,
body.editorial-v23 [class$="-quick-read-item"] > svg.qr-role-icon{color:var(--kaio-yellow)!important}
/* v60: contextual footnote follows the existing compact result-card rhythm. */
.mobile [data-node-id="212:6386"] .delivery-result-context{font-size:14px!important;line-height:22px!important;font-weight:400!important;margin:0!important}
/* v62: signature is always white; hover only underlines the name. */
body.editorial-v23 .site-nav :is(a[data-name="Identidade"],a[data-name="Navigation / Home"]),
body.editorial-v23 .site-nav :is(a[data-name="Identidade"],a[data-name="Navigation / Home"]) *,
body.editorial-v23 .site-nav :is(a[data-name="Identidade"],a[data-name="Navigation / Home"]):hover,
body.editorial-v23 .site-nav :is(a[data-name="Identidade"],a[data-name="Navigation / Home"]):hover *{color:#fbfaf3!important;background-color:transparent!important;text-decoration:none!important}
body.editorial-v23 .site-nav :is(a[data-name="Identidade"],a[data-name="Navigation / Home"]):hover > p{color:#fbfaf3!important;text-decoration:underline!important;text-decoration-color:#fbfaf3!important;text-underline-offset:.22em;text-decoration-thickness:1px}
/* v66 — same header geometry across Home, About, Work and cases. */
body.editorial-v23 .persistent-header{align-items:center!important;justify-content:space-between!important}
body.editorial-v23 .persistent-header :is(a[data-name="Identidade"],a[data-name="Navigation / Home"]){height:48px!important;min-width:0!important;overflow:visible!important;gap:16px!important;align-items:center!important}
body.editorial-v23 .persistent-header :is(a[data-name="Identidade"],a[data-name="Navigation / Home"])>p{width:auto!important;white-space:nowrap!important;margin:0!important;font-size:14px!important;font-weight:600!important;line-height:20px!important;letter-spacing:0!important}
body.editorial-v23 .persistent-header :is([data-name="Marca K original"],[data-name="Brand / K"]){width:32px!important;height:40px!important;flex:0 0 32px!important;aspect-ratio:4/5!important}
@media(min-width:1024px){body.editorial-v23 .persistent-header :is([data-name="Navegação"],[data-name="Navigation / Actions"]) a{min-width:0!important;width:auto!important;height:48px!important;display:flex!important;align-items:center!important;padding:0!important}body.editorial-v23 .persistent-header :is([data-name="Navegação"],[data-name="Navigation / Actions"]) a>p{width:auto!important;min-width:0!important}}
@media(max-width:1023px){body.editorial-v23 .persistent-header :is([data-name="Marca K original"],[data-name="Brand / K"]){width:24px!important;height:30px!important;flex-basis:24px!important}body.editorial-v23 .persistent-header :is(a[data-name="Identidade"],a[data-name="Navigation / Home"]){gap:12px!important}body.editorial-v23 .persistent-header button{height:48px!important;min-height:48px!important;width:80px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-family:Manrope,sans-serif!important;font-size:16px!important;font-weight:500!important;line-height:24px!important;letter-spacing:0!important}body.editorial-v23 .persistent-header button p{font:inherit!important;margin:0!important;width:auto!important}}
body.editorial-v23 .persistent-header button:hover,body.editorial-v23 .persistent-header button:hover *{background-color:#f8cd00!important;color:#080f2d!important;text-decoration:none!important}
