/*
Theme Name: Akili Design — Elementor Free + Artigos (WPVibe Draft)
Theme URI: https://www.akilidesign.com.br/
Author: Akili Design
Description: Versão editável no Elementor Free, reconstruída a partir do site provisório aprovado.
Version: 1.2.0
Text Domain: akili-elementor-free
*/

/* One shared final layer for Home and internal pages. */
:root{--display:"Inter Tight",sans-serif;--body:"Manrope",sans-serif;--mono:"IBM Plex Mono",monospace}
body{font-family:var(--body)}
h1,h2,h3,h4,h5,h6,.elementor-heading-title{font-family:var(--display)!important}
.meta,.eyebrow,.section-index,.case-kicker,.article-box-kicker,.state,.n,.navlinks a,.menu-toggle,.footer-links{font-family:var(--mono)!important}
.site-header{position:fixed!important;inset:0 0 auto!important;height:76px!important;min-height:0!important;max-height:76px!important;padding:0!important;z-index:100!important;background:rgba(9,9,9,.96)!important;backdrop-filter:none!important;overflow:visible!important}
.site-header .nav{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;height:76px!important;gap:24px!important}
.site-header .navlinks{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:clamp(16px,2vw,30px)!important;padding:0!important;background:transparent!important}
.site-header .navlinks a{color:#e8e0d8!important;opacity:1!important}
.site-header .brand{min-width:0;position:relative;z-index:102}
.site-header .brand img{width:108px!important;height:42px!important;object-fit:contain!important}
.site-header .brand span{font:500 9px var(--mono);margin-left:0!important}
.site-header .menu-toggle{display:none!important}
.site-header .nav-cta{display:block!important;white-space:nowrap;color:#f6f1e9!important}
body .akili-motion,body .reveal,body [data-reveal]{filter:none!important;opacity:1!important;will-change:auto!important}
html.akili-motion-ready .akili-motion,html.akili-motion-ready .reveal,html.akili-motion-ready [data-reveal]{transform:none!important;filter:none!important;opacity:1!important}
@keyframes akili-qa-enter{from{translate:0 24px}to{translate:0 0}}
@keyframes akili-qa-enter-side{from{translate:20px 0}to{translate:0 0}}
@keyframes akili-qa-scan{0%,100%{background-position:0 0}50%{background-position:80px 0}}
@keyframes akili-qa-status{0%,100%{box-shadow:0 0 0 3px rgba(255,120,79,.14)}50%{box-shadow:0 0 0 8px rgba(255,120,79,0)}}
@media(prefers-reduced-motion:no-preference){
 .akili-motion.is-motion-visible,[data-reveal].in{animation:akili-qa-enter .75s cubic-bezier(.22,1,.36,1) both;animation-delay:var(--akili-motion-delay,0ms)}
 .akili-motion[data-motion="right"].is-motion-visible,.akili-motion[data-motion="left"].is-motion-visible{animation-name:akili-qa-enter-side}
 .prototype-status i,.preflight-status i{animation:akili-qa-status 2.8s ease-in-out infinite}
 .hero:before{animation:akili-qa-scan 18s ease-in-out infinite}
}
.hero{isolation:isolate}
.hero:before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background-image:linear-gradient(rgba(246,241,233,.10) 1px,transparent 1px),linear-gradient(90deg,rgba(246,241,233,.10) 1px,transparent 1px);background-size:80px 80px;opacity:.65}
.hero>*{position:relative;z-index:2}
.hero h1,.hero h1 span{filter:none!important;opacity:1!important}
.project:hover .project-media img{filter:saturate(1)!important}
.article-page .article-content,.article-page .article-content :is(p,li,dd,blockquote,span){color:#e8e0d8!important;background-color:transparent}
.article-page .article-content :is(h1,h2,h3,h4,h5,h6,strong,b){color:#f6f1e9!important}
.article-page .article-content a,.article-page .article-context-link{color:#ff784f!important}
.article-page .article-content a:hover,.article-page .article-context-link:hover{color:#ff9b7c!important}
.article-page .article-content{height:auto!important;max-height:none!important;overflow:visible!important;content-visibility:visible!important;contain:none!important}
.article-page .article-content :is(p,li,h2,h3){filter:none!important;opacity:1!important}
.article-page .article-related-copy,.article-page .article-related-copy p{color:#cfc1b8!important}
.article-page .article-related-copy h3,.article-page .article-related-copy h3 a{color:#f6f1e9!important}
.article-page [data-related-option][hidden]{display:none!important}
.article-page .article-inline-newsletter{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;color:#f6f1e9!important;background:#171310!important;overflow:visible!important}
.article-page .article-inline-newsletter :is(h3,p,label,span){color:#e8e0d8!important}
.article-page .article-newsletter-form{min-width:0}
.article-page .newsletter-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.article-page .newsletter-row input{min-width:0;width:100%;background:#fff!important;color:#090909!important}
.article-page .newsletter-consent{display:flex;gap:10px;align-items:flex-start}
.article-page .newsletter-consent input{width:16px;flex:0 0 16px}
.akili-global-footer{background:#090909!important;color:#f6f1e9!important}
.akili-global-footer .footer-top{display:grid!important;grid-template-columns:140px minmax(0,1fr)!important;align-items:center!important;gap:48px!important}
.akili-global-footer .footer-mark{display:block!important;margin:0!important;padding:12px 0!important}
.akili-global-footer .footer-mark img{display:block!important;width:108px!important;height:auto!important;object-fit:contain}
.akili-global-footer .footer-links{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:18px 24px!important;line-height:1.6}
.akili-global-footer .footer-legal{display:flex!important;justify-content:space-between;gap:24px!important;line-height:1.65}
@media(max-width:1000px){
 .site-header{height:66px!important;max-height:66px!important}
 .site-header .nav{height:66px!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important}
 .site-header .brand img{width:92px!important;height:36px!important}
 .site-header .brand span,.site-header .nav-cta{display:none!important}
 .site-header .menu-toggle{display:inline-flex!important;position:relative;z-index:103;min-width:44px;min-height:40px;justify-content:center;align-items:center}
 .site-header .navlinks{display:none!important}
 .site-header .navlinks.open{display:flex!important;position:absolute!important;inset:66px 0 auto!important;width:100%!important;max-height:calc(100svh - 66px);overflow-y:auto;background:#090909!important;flex-direction:column!important;align-items:stretch!important;padding:12px 20px 22px!important;border-bottom:1px solid rgba(255,255,255,.16)!important;gap:0!important}
 .site-header .navlinks.open a{padding:14px 0!important;border-bottom:1px solid rgba(255,255,255,.12)}
 .article-page .article-inline-newsletter{grid-template-columns:1fr!important}
}
@media(max-width:720px){
 .article-page .newsletter-row{grid-template-columns:1fr!important}
 .article-page .newsletter-row button{width:100%;min-height:48px}
 .article-page .article-inline-newsletter{padding:24px!important;gap:24px}
 .article-page .article-related-option{grid-template-columns:1fr!important}
 .article-page .article-content :is(img,figure){max-width:100%;height:auto}
 .akili-global-footer .footer-top{grid-template-columns:1fr!important;gap:28px!important}
 .akili-global-footer .footer-links{justify-content:flex-start!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px!important}
 .akili-global-footer .footer-legal{display:grid!important;gap:14px!important}
 .akili-global-footer .footer-links a{overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){.akili-motion,[data-reveal],.hero:before,.prototype-status i,.preflight-status i{animation:none!important;translate:none!important;transition:none!important}}

/* Internal-page cascade corrections verified against rendered articles. */
body .site-header,body.article-page .site-header,body.case-page .site-header{position:fixed!important;top:0!important;left:0!important;right:0!important;transform:none!important;backdrop-filter:none!important}
body .site-header .shell.nav{position:relative!important;inset:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;margin-inline:auto!important}
body.article-page{background:#090909!important;color:#e8e0d8!important}
body.article-page .article-header{background:#111!important;color:#f6f1e9!important;padding-top:64px!important}
body.article-page .article-header h1{color:#f6f1e9!important}
body.article-page .article-header .breadcrumb,body.article-page .article-header .breadcrumb a,body.article-page .article-byline{color:#cfc1b8!important}
body.article-page .article-related-box{display:block!important;background:#171310!important;border:1px solid #46352d!important}
body.article-page .article-related-option{background:#171310!important;display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important}
body.article-page .article-related-option[hidden]{display:none!important}
body.article-page .article-related-copy h3,body.article-page .article-related-copy h3 a{color:#f6f1e9!important}
body.article-page .article-newsletter-form{background:#201913!important;color:#e8e0d8!important;border:1px solid #574238!important}
body .akili-global-footer .footer-links a{color:#e8e0d8!important;opacity:1!important}
@media(max-width:720px){body.article-page .article-related-option{grid-template-columns:1fr!important}body.article-page .article-header h1{font-size:clamp(34px,10.8vw,52px)!important;line-height:1.06!important}}

body .site-header{padding:0!important}body .site-header .shell.nav{overflow:visible!important;padding:0 20px!important;width:100%!important;max-width:1440px!important;align-items:center!important}body .site-header .menu-toggle{white-space:nowrap!important;min-width:62px!important;margin:0!important}body.article-page .article-inline-newsletter,body.article-page .article-related-box{position:relative!important;left:auto!important;right:auto!important;transform:none!important;translate:none!important;width:100%!important;max-width:100%!important;margin:42px auto!important;box-sizing:border-box!important}body.article-page .article-inline-newsletter h3{font-size:clamp(28px,3vw,40px)!important;line-height:1.08!important}body.article-page .article-newsletter-form{padding:18px!important}body.article-page .article-related-box{padding:22px!important}

body.article-page .article-related-media{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;aspect-ratio:16/10!important;display:block!important;overflow:hidden!important}body.article-page .article-related-media img{position:static!important;inset:auto!important;display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;transform:none!important}body.article-page .article-related-copy{position:relative!important;inset:auto!important;min-width:0!important;padding:24px!important;background:#171310!important}body.article-page .article-related-option,body.article-page .article-related-box{border-radius:0!important}

/* Neutralize legacy per-article hotfixes injected after theme styles. */
html body.single-post.article-page .article-content,html body.single-post.article-page .article-content :is(p,li,dd,blockquote,span){color:#e8e0d8!important}html body.single-post.article-page .article-content :is(h1,h2,h3,h4,strong,b){color:#f6f1e9!important}html body.single-post.article-page .article-content a{color:#ff784f!important}html body.single-post.article-page .article-related-box{background:#171310!important;overflow:visible!important}html body.single-post.article-page .article-related-copy,html body.single-post.article-page .article-related-copy :is(h3,p,a,span){color:#e8e0d8!important;opacity:1!important}html body.single-post.article-page .article-newsletter-form{background:#201913!important;color:#e8e0d8!important}html body.single-post.article-page .newsletter-consent{color:#e8e0d8!important}html body .akili-motion,html body .reveal,html body [data-reveal],html .akili-motion-ready .akili-motion,html .akili-motion-ready .reveal,html .akili-motion-ready [data-reveal]{filter:none!important;opacity:1!important;transform:none!important;will-change:auto!important}

body .case-nav{margin-top:76px!important;padding:12px 0!important}body .case-nav-inner{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:40px!important}body .case-hero figcaption{color:#55483f!important;line-height:1.6!important}body .case-block p,body .case-block li{color:#d1c4ba!important}body .case-header h1{font-size:clamp(44px,7.2vw,100px)!important;line-height:1.04!important}@media(max-width:1000px){body .case-nav{margin-top:66px!important}body .case-nav-inner{gap:16px!important;flex-wrap:wrap!important}body .case-header h1{font-size:clamp(38px,11.8vw,64px)!important}}

/* Cases: readable system surfaces around original project assets. */
html body .case-nav{position:relative!important;top:auto!important;backdrop-filter:none!important;background:#090909!important}html body .case-question,html body .case-gallery-section,html body .case-visual{background:#171310!important;color:#e8e0d8!important;border:1px solid #46352d!important;border-radius:0!important}html body .case-question :is(h2,h3,p,strong,li),html body .case-gallery-section :is(h2,h3,p,strong,li),html body .case-visual figcaption{color:#e8e0d8!important}html body .case-gallery-head{padding:28px!important}html body .case-gallery-section{padding-bottom:28px!important}html body .case-gallery>.e-con,html body .case-gallery>figure{background:#201913!important;border:1px solid #46352d!important;border-radius:0!important}html body .case-gallery figcaption{color:#cfc1b8!important}html body .case-gallery img,html body .case-visual img{max-width:100%!important;height:auto!important;object-fit:contain!important}html body .case-visual figcaption{padding:16px!important}html body .case-gallery-section>.elementor-widget-text-editor{padding:16px 28px!important;color:#e8e0d8!important;background:#281a12!important}@media(max-width:720px){html body .case-gallery-head{padding:20px!important}html body .case-gallery-section>.elementor-widget-text-editor{padding:16px 20px!important}}

/* Shared case navigation and CTA contrast, audited on rendered cases. */
html body.case-page .elementor .elementor-element.case-nav{position:relative!important;top:auto!important;inset:auto!important;transform:none!important;z-index:1!important}
html body.case-page .case-next-link,html body.case-page .case-next-link strong{color:#f6f1e9!important}
html body.case-page .elementor .case-cta :is(h2,h3,p,a){color:#f6f1e9!important}
html body.case-page .case-next{background:#090909!important;color:#f6f1e9!important}

/* Layout and contrast fixes from Bantu case audit. */
html body.case-page .elementor .elementor-element.case-question{width:100%!important;max-width:none!important;margin-inline:0!important;display:grid!important;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr)!important;gap:36px!important;padding:36px!important;box-sizing:border-box!important}
html body.case-page .case-block>.elementor-element{min-width:0!important;width:auto!important}
html body.case-page .case-block h2{overflow-wrap:anywhere!important;font-size:clamp(32px,3.5vw,54px)!important}
html body.case-page .reference-note{background:#201913!important;color:#e8e0d8!important;padding:20px!important;border-left:3px solid #ff4b00!important}
html body.case-page .reference-note :is(div,p,strong),html body.case-page .case-block p{color:#e8e0d8!important;background-color:transparent!important}
@media(max-width:720px){html body.case-page .elementor .elementor-element.case-question{grid-template-columns:minmax(0,1fr)!important;gap:24px!important;padding:24px!important}}

/* Case captions and CTA spacing, verified in narrow viewports. */
html body.case-page .elementor .elementor-element.case-visual{background:#171310!important;color:#e8e0d8!important;border-radius:0!important}
html body.case-page .elementor .case-visual figcaption{color:#e8e0d8!important;padding:16px!important;line-height:1.6!important}
html body.case-page .elementor .case-cta>.elementor-widget-heading{margin-top:20px!important;margin-bottom:24px!important}
html body.case-page .elementor .case-cta .case-kicker{translate:none!important;animation:none!important}

/* Capa resiliente para vídeo externo. */
.video-frame{position:relative;isolation:isolate}.video-cover-fallback{position:absolute;inset:0;z-index:-1;display:flex;flex-direction:column;justify-content:center;padding:8%;background:linear-gradient(130deg,#261b13,#090909);color:#f6f1e9}.video-cover-fallback span{font:11px var(--font-mono);letter-spacing:.15em;color:#ff714d}.video-cover-fallback strong{font-family:var(--font-display);font-size:clamp(28px,4vw,64px);line-height:1.05;letter-spacing:-.04em;margin-top:20px}.video-frame img[hidden]{display:none!important}

/* Review 2026-10-04: compact article rhythm and signed-in header clearance. */
html body.article-page .article-content h2{font-size:clamp(30px,3.4vw,46px)!important;line-height:1.12!important;margin:56px 0 22px!important}
html body.article-page .article-content h3{font-size:clamp(24px,2.6vw,34px)!important;line-height:1.16!important;margin:36px 0 18px!important}
html body.article-page .article-content p{margin:0 0 24px!important;line-height:1.72!important}
html body.article-page .article-related-copy h3{font-size:clamp(24px,2.2vw,30px)!important;line-height:1.15!important;margin:16px 0!important}
html body.article-page .article-related-media{align-self:start!important;height:auto!important;aspect-ratio:16/10!important}
html body.article-page .article-related-media img{height:auto!important;aspect-ratio:16/10!important;filter:none!important;opacity:1!important;visibility:visible!important}
html body.admin-bar .site-header{top:32px!important}
@media(max-width:782px){html body.admin-bar .site-header{top:46px!important}}
@media(max-width:720px){html body.article-page .article-content h2{margin-top:40px!important}html body.article-page .article-related-copy{padding:20px!important}}

/* Legal page reading contrast. */
html body.legal-page .legal-content :is(p,li){color:#ded4ca!important;line-height:1.75!important}
html body.legal-page .legal-content a{color:#ff8c66!important;text-decoration:underline!important}

/* Article actions and professional profile links. */
.akili-article-actions{margin-top:24px;display:flex;flex-wrap:wrap;gap:12px}.akili-print-button,.person-links a,.case-live-link a,a.case-live-link{display:inline-flex;align-items:center;min-height:44px;padding:11px 16px;border:1px solid #624231;background:transparent;color:#f6f1e9!important;font:500 11px var(--mono);letter-spacing:.025em;text-decoration:none;cursor:pointer;transition:background .2s,color .2s,border-color .2s}.akili-print-button:hover,.person-links a:hover,.case-live-link a:hover,a.case-live-link:hover{background:#ff4b00;color:#090909!important;border-color:#ff4b00}.akili-print-button:focus-visible,.person-links a:focus-visible,.case-live-link a:focus-visible{outline:2px solid #ff8c66;outline-offset:4px}.person-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid #42352d}.person-links a{font-size:10px;padding:10px 12px}.akili-portfolio-project{padding:32px!important;display:block!important;background:linear-gradient(135deg,#211820,#101010)!important;border-top:2px solid #ff4b00!important}.akili-portfolio-project h3{color:#f6f1e9!important}.akili-portfolio-project p{color:#ded4ca!important}

/* Akili official display, angular controls and presentation video. */
:root{--display:"Space Grotesk",sans-serif}
h1,h2,h3,h4,h5,h6,.elementor-heading-title{font-family:"Space Grotesk",sans-serif!important;font-weight:500!important}
button,.button,.btn,.elementor-button,input[type=submit],input[type=button],.case-live-link,.akili-print-button,.person-links a,.video-controls a{border-radius:0!important;font-family:var(--mono,"IBM Plex Mono",monospace)!important}
.knowledge-main{position:relative}.knowledge-main::before,.knowledge-main::after{pointer-events:none!important}.knowledge-main a{position:relative;z-index:3;min-height:44px;pointer-events:auto}
#video-branding{display:block!important;width:var(--akili-viewport,100%)!important;max-width:none!important;margin-left:calc((100% - var(--akili-viewport,100%))/2)!important;padding:0!important;border:0!important;background:#090909}
#video-branding .video-info,#video-branding .video-cover-fallback{display:none!important}
#video-branding .video-frame{position:relative;width:100%;aspect-ratio:16/9;min-height:0!important;height:auto!important;padding:0!important;overflow:hidden;border:0!important;background:#090909}
#video-branding .video-frame>img{width:100%;height:100%;object-fit:cover;display:block}
#video-branding iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
#video-branding .video-play{width:52px;height:52px;min-width:0;min-height:0;background:#09090999;border:1px solid #f6f1e966;color:#f6f1e9;font-size:18px;box-shadow:none}
.video-controls{position:absolute;z-index:4;right:20px;bottom:16px;display:flex;gap:6px;align-items:center}
.video-controls button,.video-controls a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 12px;background:#090909bb;border:1px solid #f6f1e944;color:#f6f1e9;font:10px var(--mono);text-decoration:none}
.video-controls button:disabled{opacity:.4}.video-controls button:focus-visible,.video-controls a:focus-visible{outline:2px solid #ff784f;outline-offset:3px}.video-controls button:hover{background:#090909}
@media(max-width:600px){.video-controls{right:8px;bottom:8px;gap:4px}.video-controls button,.video-controls a{padding:0 8px;font-size:9px}}

#video-branding::before,#video-branding::after{display:none!important}

#video-branding iframe{z-index:1!important}#video-branding .video-controls{z-index:50!important;pointer-events:auto!important}#video-branding .video-controls>*{position:relative;z-index:51!important}

html body .elementor .elementor-element.elementor-widget-heading .elementor-heading-title,html body .hero h1,html body .case-header h1,html body .case-body h2,html body .case-body h3,html body .article-header h1,html body .article-content h2,html body .article-content h3,html body .section-head h2,html body .newsletter-copy h2{font-family:"Space Grotesk",sans-serif!important;font-weight:500!important}

/* Refinamento da chamada de contato e navegação global. */
html body #contato h2{font-size:clamp(36px,4.6vw,76px)!important;line-height:1.06!important;letter-spacing:-.045em!important;max-width:100%!important;text-wrap:balance;overflow-wrap:normal!important;word-break:normal!important;margin-bottom:32px!important}
.akili-back-to-top{position:fixed;right:24px;bottom:24px;z-index:90;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;min-height:48px;padding:0;border:1px solid #ff4b00;border-radius:0;background:#14110f;color:#f6f1e9;font:22px var(--mono);cursor:pointer;box-shadow:0 4px 20px #0003;transition:background .2s,color .2s}.akili-back-to-top:hover{background:#ff4b00;color:#090909}.akili-back-to-top:focus-visible{outline:2px solid #ff8c66;outline-offset:4px}.akili-projects-all{display:flex;justify-content:flex-end;margin-top:32px}.akili-projects-all a{border-radius:0!important;font-family:var(--mono)!important}
#video-branding .video-frame>img{filter:none!important;opacity:1!important;image-rendering:auto!important}.video-controls{bottom:64px!important}
@media(max-width:720px){html body #contato h2{font-size:clamp(36px,8vw,52px)!important}.akili-back-to-top{right:16px;bottom:16px}}
@media print{.akili-back-to-top{display:none!important}}
