/* Shared refinement. Palettes and contrast remain owned by each published theme. */
:root{--studio-gutter:clamp(12px,2.4vw,32px);--studio-radius:24px;--studio-shadow:0 14px 44px #0000001c;--studio-nav-top:16px}
html{scroll-padding-top:calc(var(--codex-header-height,112px) + 20px)}
html:root .navbar{top:var(--studio-nav-top);left:var(--studio-gutter);right:var(--studio-gutter);width:auto;max-width:1520px;min-height:76px;height:auto;margin-inline:auto;padding:12px clamp(16px,2vw,30px);gap:20px;border:1px solid var(--season-border,var(--appearance-border,#ffffff24))!important;border-radius:999px!important;box-shadow:0 12px 40px #00000026,inset 0 1px #ffffff0a;transition:box-shadow .18s,border-color .18s!important}
html:root .navbar.scrolled{padding:12px clamp(16px,2vw,30px);box-shadow:0 10px 32px #00000038}
html:root .navbar>nav{gap:clamp(10px,1.2vw,22px);min-width:0}
html:root .navbar nav a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;letter-spacing:.065em;white-space:nowrap;border-radius:999px;padding:8px 10px!important}
html:root .navbar nav a::after{bottom:3px}
html:root .navbar>.logo{flex:0 1 auto;margin-right:auto}
html:root .navbar>.logo>span{font-size:12px;letter-spacing:.2em}
html:root .navbar .nav-actions{gap:8px}
html:root .navbar :is(.codex-theme-toggle,.codex-client-link,.menu-toggle){width:44px;min-width:44px;height:44px;border-radius:50%!important;background:transparent;flex:none}
html:root .navbar .button.small{min-height:44px;border-radius:999px!important;padding:12px 22px;letter-spacing:.08em}
html:root .mobile-menu{left:var(--studio-gutter);right:var(--studio-gutter);width:auto;border:1px solid var(--season-border,var(--appearance-border,#ffffff24));border-radius:26px!important;padding:22px;box-shadow:var(--studio-shadow);overscroll-behavior:contain}
html:root .mobile-menu nav{gap:4px}
html:root .mobile-menu nav a{min-height:48px;padding:13px 16px;border-radius:14px}
html:root .mobile-menu>.button{border-radius:999px}
/* Each hero owns its actions; a seasonal announcement never owns Explore. */
html:root .codex-scroll-down,html:root .codex-cover .back-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;max-width:100%;width:fit-content;padding:11px 18px;margin-top:24px;border:1px solid #ffffff50;border-radius:999px;background:#0b101828;color:#f4f5f7;font:600 12px/1.4 Inter,system-ui,sans-serif;letter-spacing:.02em;text-transform:none;text-decoration:none;white-space:normal;overflow-wrap:anywhere;transition:background .18s,transform .18s}
html:root .codex-cover :is(.back-link,.codex-scroll-down):hover{background:#ffffff16;transform:translateY(-2px)}
.codex-cover .back-link+.codex-scroll-down{margin-left:10px}
html:root .seasonal-banner{border-radius:24px!important;box-shadow:0 8px 30px #0000000a}
html:root .seasonal-banner-link{border-radius:999px;min-height:46px;font-weight:600}
html:root :is(.service-card,.resource-card,.contato-card,.depoimento-card,.faq-item,.codex-model-card,.codex-block){border-radius:20px}
html:root .section-heading>p{max-width:64ch;line-height:1.7}
html:root .section-heading h2{line-height:1.12;text-wrap:balance}
/* Private workspace: one visual language across every section. */
:is(.codex-admin-panel,.codex-master-panel){--studio-panel-shadow:0 8px 26px #0000000b}
html:root .codex-admin-panel .topbar,html:root .codex-master-panel .master-header{border-radius:24px;border:1px solid var(--admin-border);box-shadow:var(--studio-panel-shadow);margin:16px auto;width:calc(100% - 32px);max-width:1460px;padding:18px 24px}
html:root .codex-admin-panel .sidebar{border-right:1px solid var(--admin-border);padding-inline:16px}
html:root .codex-admin-panel .nav-button{border-radius:14px;min-height:46px;margin-bottom:4px}
html:root .codex-master-panel main{max-width:1460px;padding-top:24px}
html:root .codex-master-panel .hero h1{font-size:clamp(36px,5.2vw,70px);line-height:1.04;letter-spacing:-.045em;text-wrap:balance}
html:root :is(.codex-admin-panel,.codex-master-panel) :is(.panel,.card,.stat-card,.security-grid article,.codex-settings-group){box-shadow:var(--studio-panel-shadow);border-radius:18px}
html:root :is(.codex-admin-panel,.codex-master-panel) :is(.management-row,.member-card,.vault-row){padding:18px 20px;gap:16px}
html:root :is(.codex-admin-panel,.codex-master-panel) :is(.btn,button.primary,.management-row button,.member-controls button){border-radius:12px;min-height:44px;font-weight:600}
html:root .codex-master-panel .master-nav{position:sticky;top:12px;z-index:30;display:flex;flex-wrap:wrap;overflow:visible;gap:4px;padding:8px;margin:28px 0 24px;border:1px solid var(--admin-border);border-radius:22px;background:var(--admin-surface);box-shadow:var(--studio-panel-shadow);scroll-padding-inline:10px;scrollbar-width:thin;backdrop-filter:none}
html:root .codex-master-panel .master-nav button{flex:none;min-height:44px;padding:11px 17px;border:1px solid transparent;border-radius:14px;white-space:nowrap;font-size:13px;font-weight:600;line-height:1.35}
html:root .codex-master-panel .master-nav button.active{box-shadow:0 2px 7px #00000014}
.studio-section-picker{display:none}
.studio-section-picker span{display:block;font-size:11px;line-height:1.4;color:var(--admin-muted);margin-bottom:5px}
.studio-section-picker select{width:100%;min-height:46px;max-width:100%;font:600 15px/1.4 Inter,system-ui,sans-serif;padding:10px 38px 10px 13px;border:1px solid var(--admin-border);border-radius:14px;background:var(--admin-surface);color:var(--admin-text)}
html:root #view-finance .finance-app{padding:0;max-width:none}
html:root .codex-master-panel #finance .finance-app{padding:0;max-width:none}
html:root :is(.codex-admin-panel,.codex-master-panel) :is(.content,main){padding-bottom:120px}
@media(min-width:1600px){html:root .navbar>nav{gap:20px}}
@media(max-width:1280px){html:root .navbar{max-width:1100px}}
@media(max-width:820px){
 :root{--studio-nav-top:12px}
 html:root .navbar{min-height:68px;padding:10px 14px;border-radius:28px!important;gap:12px}
 html:root .navbar>.logo>span{font-size:11px;letter-spacing:.11em}
 html:root .navbar .codex-logo{width:34px!important;height:34px!important;flex-basis:34px}
 html:root .codex-master-panel .master-nav{display:none}
 .studio-section-picker{display:block;position:sticky;top:12px;z-index:30;margin:24px 0;padding:12px;border:1px solid var(--admin-border);border-radius:20px;background:var(--admin-surface);box-shadow:var(--studio-panel-shadow)}
 html:root .codex-master-panel .master-section{scroll-margin-top:128px}
 html:root .codex-admin-panel .topbar,html:root .codex-master-panel .master-header{width:calc(100% - 24px);margin:12px auto;padding:16px;border-radius:20px}
 html:root :is(.codex-admin-panel,.codex-master-panel) :is(.management-row,.member-card,.vault-row){padding:16px}
 html:root .codex-master-panel .management-row>div:last-child{display:flex;flex-direction:row;gap:8px;width:100%}
 html:root .codex-master-panel .management-row>div:last-child button{width:auto;min-width:0;flex:1;padding-inline:10px}
}
@media(max-width:480px){html:root .navbar>.logo{gap:9px;max-width:calc(100% - 112px)}html:root .codex-cover .back-link+.codex-scroll-down{margin-left:0}.codex-cover :is(.back-link,.codex-scroll-down){margin-right:8px}html:root .seasonal-banner{border-radius:20px!important}}
@media(prefers-reduced-motion:reduce){html:root .navbar,html:root :is(.back-link,.codex-scroll-down){transition:none!important}}

/* Component refinement: theme tokens own the palette; components own spacing. */
body:has(.navbar){--studio-surface:var(--season-surface,var(--appearance-surface,var(--bg-medium,#111216)));--studio-canvas:var(--season-background,var(--appearance-bg,var(--bg-dark,#08090b)));--studio-ink:var(--season-text,var(--appearance-ink,var(--text-primary,#f4f5f7)));--studio-muted:var(--season-muted,var(--appearance-muted,var(--text-secondary,#adb3bf)));--studio-line:var(--season-border,var(--appearance-border,var(--border-color,#383e49)));--studio-focus:var(--season-link,var(--appearance-link,var(--text-primary,#f4f5f7)))}
html:root main .button{min-height:48px;padding:14px 24px;font-weight:650;letter-spacing:.06em;line-height:1.4;box-shadow:0 4px 14px #0000000a;transition:transform .18s,box-shadow .18s,border-color .18s}
html:root .services-grid{gap:var(--appearance-spacing,20px);background:transparent;border:0}
html:root main :is(.service-card,.feature-item,.processo-item,.resource-card,.contato-card,.depoimento-card){border:1px solid var(--studio-line);border-color:color-mix(in srgb,var(--studio-line) 45%,var(--studio-surface))!important;box-shadow:0 4px 18px #00000008;min-width:0;transition:border-color .18s,box-shadow .18s,transform .18s}
html:root main .service-card{padding:28px;min-height:320px;border-radius:22px}
html:root .service-card::before{display:none}
html:root .service-card .number{position:absolute;top:28px;right:28px;font-size:11px;line-height:1.5;letter-spacing:.08em;color:var(--studio-muted);font-variant-numeric:tabular-nums}
html:root :is(.service-icon,.contato-icon){width:48px;height:48px;display:grid;place-items:center;flex:none;border:0;border-radius:15px;background:var(--studio-canvas);color:var(--studio-ink);margin-bottom:24px}
html:root .contato-icon{margin:0}
html:root .service-icon svg{width:24px;height:24px}
html:root .service-card h3{font-size:clamp(20px,2vw,24px);line-height:1.25;letter-spacing:-.025em;padding-right:12px}
html:root .service-card p{line-height:1.75;margin-bottom:24px;color:var(--studio-muted)!important}
html:root .codex-showcase-search span{color:var(--studio-muted)!important}
html:root .service-card>a{width:fit-content;max-width:100%;min-height:44px;display:inline-flex;align-items:center;padding:10px 14px;margin-top:auto;border:1px solid var(--studio-line);border-radius:999px;letter-spacing:0;text-transform:none;font-size:12px;font-weight:650;line-height:1.4}
html:root [data-services-carousel]>.service-card{flex:0 0 100%}
html:root [data-services-carousel]:focus-visible{outline:2px solid var(--studio-focus);outline-offset:4px;border-radius:24px}
html:root .services-carousel-controls{gap:10px;font-size:12px;line-height:1.5;padding-inline:2px;margin-top:10px}
html:root .services-carousel-controls button{min-height:44px;min-width:88px;border-radius:999px;background:var(--studio-surface);color:var(--studio-ink);border:1px solid var(--studio-line);font:600 12px/1.5 Inter,system-ui,sans-serif}
@media(min-width:720px){html:root [data-services-carousel]>.service-card{flex-basis:calc((100% - var(--appearance-carouselGap,20px)) / 2)}}
@media(min-width:1200px){html:root [data-services-carousel]>.service-card{flex-basis:calc((100% - var(--appearance-carouselGap,20px) - var(--appearance-carouselGap,20px)) / 3)}}
@media(max-width:620px){html:root .services-carousel-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:0}.services-carousel-controls span{grid-column:1/-1}html:root .services-carousel-controls button{min-width:0;width:100%}}
/* The section canvas and the card surface stay distinct in every palette. */
html:root main :is(.diferenciais-section,.processo-section){background:transparent!important;padding-block:clamp(64px,7vw,104px)}
html:root main :is(.diferenciais-section,.processo-section) .section-heading{margin-bottom:clamp(32px,4vw,52px);max-width:850px}
html:root main :is(.diferenciais-section,.processo-section) .section-heading h2{font-size:clamp(36px,5.5vw,76px);letter-spacing:-.045em;line-height:1.06;margin-bottom:24px}
html:root :is(.features-grid,.processo-grid){gap:20px;grid-template-columns:repeat(4,minmax(0,1fr))}
html:root main :is(.feature-item,.processo-item){background:var(--studio-surface)!important;border-radius:22px;padding:clamp(22px,2.2vw,32px);height:100%}
html:root .feature-item>svg{box-sizing:content-box;width:25px;height:25px;padding:12px;border-radius:15px;background:var(--studio-canvas);color:var(--studio-ink);margin-bottom:24px}
html:root :is(.feature-item,.processo-item) h3{font-size:18px;line-height:1.4;letter-spacing:-.02em;margin-bottom:12px}
html:root :is(.feature-item,.processo-item) p{font-size:14px;line-height:1.8;margin:0}
html:root .processo-item>span{display:grid;place-items:center;width:48px;height:48px;margin-bottom:28px;border-radius:50%;background:var(--studio-canvas);font-size:16px;font-weight:650;line-height:1;letter-spacing:.02em;font-variant-numeric:tabular-nums;color:var(--studio-ink)}
html:root .contato-card{border-radius:22px;padding:28px;gap:20px;align-items:flex-start}
html:root .contato-card strong{font-size:clamp(18px,2vw,23px);letter-spacing:-.025em;overflow-wrap:anywhere}
html:root .contato-card p{line-height:1.7}
html:root .contato-card a.back-link{display:inline-flex;align-items:center;min-height:44px;margin-top:12px;padding:10px 14px;border:1px solid var(--studio-line);border-radius:999px;letter-spacing:0;text-transform:none;font-size:12px;line-height:1.4}
html:root :is(.resource-card,.depoimento-card){padding:28px;border-radius:22px}
html:root .faq-list{display:grid;gap:12px;border:0!important;background:transparent!important;padding:0;max-width:1000px}
html:root :is(.faq-item,.resource-faq,.faq-list>details){border:1px solid color-mix(in srgb,var(--studio-line) 45%,var(--studio-surface));border-radius:18px;background:var(--studio-surface);padding:0;margin:0;min-width:0;box-shadow:none}
html:root :is(.faq-question,.faq-list summary,.resource-faq summary){display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:80px;padding:24px 28px;font-size:clamp(15px,1.5vw,18px);font-weight:600;line-height:1.5;text-align:left;border:0;border-radius:17px;list-style:none}
html:root :is(.faq-question,.faq-list summary,.resource-faq summary):focus-visible{outline:2px solid var(--studio-focus);outline-offset:3px}
html:root :is(.faq-list summary,.resource-faq summary)::-webkit-details-marker{display:none}
html:root :is(.faq-list summary,.resource-faq summary)::marker{content:''}
html:root .faq-icon{width:24px;height:24px;color:var(--studio-muted)}
html:root .faq-icon::before{top:11px;left:4px;width:16px;height:2px;background:currentColor}
html:root .faq-icon::after{top:4px;left:11px;width:2px;height:16px;background:currentColor}
html:root .faq-item.open .faq-icon::before{background:currentColor}
html:root :is(.faq-list summary,.resource-faq summary)::after{content:'+';float:none;display:grid;place-items:center;width:24px;height:24px;flex:none;color:var(--studio-muted);font-size:24px;font-weight:400}
html:root :is(.faq-list details[open],.resource-faq[open])>summary::after{content:'−'}
html:root :is(.faq-answer p,.faq-list details p,.resource-faq p){padding:0 28px 26px;margin:0;font-size:15px;line-height:1.8;max-width:85ch}
html:root .codex-floating-dock #backToTop{padding:0;font:600 11px/1 Inter,system-ui,sans-serif;letter-spacing:0}
html:root .project-arrow{display:none}
@media(max-width:1000px){html:root :is(.features-grid,.processo-grid){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){html:root :is(.features-grid,.processo-grid){grid-template-columns:1fr;gap:14px}html:root :is(.faq-question,.faq-list summary,.resource-faq summary){padding:20px;gap:16px;min-height:72px}html:root :is(.faq-answer p,.faq-list details p,.resource-faq p){padding:0 20px 22px;font-size:14px}}
html:root #orcamentoForm .budget-section{border:1px solid var(--studio-line);border-radius:24px;padding:clamp(20px,4vw,38px);margin-bottom:22px;background:var(--studio-surface);box-shadow:0 8px 26px #0000000b}
html:root .budget-section-title{gap:16px;align-items:center;margin-bottom:26px}
html:root .budget-section-title h2{font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.035em}
html:root .budget-number{display:grid;place-items:center;min-width:44px;height:44px;border:1px solid var(--studio-line);border-radius:14px;font-size:12px}
html:root .budget-field :is(input,select,textarea){min-height:50px;padding:13px 15px;border-radius:14px;font-size:16px;line-height:1.5}
html:root .budget-field label{font-size:12px;letter-spacing:.01em;line-height:1.5;margin-bottom:8px}
html:root #orcamentoForm .feature{position:relative;min-width:0}
html:root #orcamentoForm .feature input[type=checkbox]{display:block;position:absolute;width:1px;height:1px;opacity:0;clip-path:inset(50%);pointer-events:none}
html:root #orcamentoForm .feature label{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 14px;border:1px solid var(--studio-line);border-radius:13px;font-size:13px;line-height:1.5;cursor:pointer}
html:root #orcamentoForm .feature input:checked+label{box-shadow:inset 0 0 0 1px currentColor}
html:root #orcamentoForm .feature input:checked+label::before{margin:0}
html:root #orcamentoForm .feature:focus-within label{outline:2px solid var(--studio-focus);outline-offset:3px}
.studio-contact-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;color:var(--studio-ink)}
html:root .studio-contact-actions>a.back-link{margin:0!important}
.studio-copy-button,.studio-progress-next{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 15px;border:1px solid var(--studio-line);border-radius:999px;background:var(--studio-surface);color:var(--studio-ink);font:600 12px/1.5 Inter,system-ui,sans-serif;cursor:pointer}
.studio-copy-button svg{width:17px;height:17px;flex:none}
.studio-copy-feedback{flex-basis:100%;font-size:12px;line-height:1.6;color:var(--studio-muted);overflow-wrap:anywhere}
.studio-copy-feedback:empty{display:none}
.studio-contact-actions input{width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid var(--studio-line);border-radius:10px;background:var(--studio-canvas);color:var(--studio-ink);font-size:16px}
.studio-form-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 24px;padding:22px 26px;margin-bottom:24px;border:1px solid var(--studio-line);border-radius:22px;background:var(--studio-surface);color:var(--studio-ink)}
.studio-form-progress strong{display:block;font-size:17px;letter-spacing:-.02em;line-height:1.4}
.studio-form-progress p{margin:5px 0 0;font-size:12px;line-height:1.6;color:var(--studio-muted)}
.studio-form-progress progress{display:block;width:100%;height:7px;border:0;border-radius:999px;overflow:hidden;appearance:none;background:var(--studio-line);accent-color:var(--studio-focus)}
.studio-form-progress progress::-webkit-progress-bar{border-radius:999px;background:var(--studio-line)}
.studio-form-progress progress::-webkit-progress-value{border-radius:999px;background:var(--studio-focus)}
.studio-form-progress progress::-moz-progress-bar{border-radius:999px;background:var(--studio-focus)}
.studio-progress-track{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
.studio-progress-count{font-size:11px;line-height:1.5;color:var(--studio-muted);white-space:nowrap}
html:root :is(.studio-copy-button,.studio-progress-next):focus-visible{outline:2px solid var(--studio-focus);outline-offset:3px}
/* Administrative surfaces and controls. */
html:root :is(.codex-admin-panel,.codex-master-panel) :is(.btn,.ghost,.primary,.control){transition:border-color .16s,box-shadow .16s,background-color .16s}
html:root :is(.codex-admin-panel,.codex-master-panel) :is(.card-head,.cardhead){padding:20px 22px;gap:16px;border-bottom:1px solid var(--admin-border)}
html:root :is(.codex-admin-panel,.codex-master-panel) :is(.page-head,.section-head){margin-bottom:24px;gap:18px}
html:root :is(.codex-admin-panel,.codex-master-panel) :is(.stat-card,.metric-grid>article,.security-grid>article){border-radius:20px;padding:24px;box-shadow:0 6px 20px #00000008}
html:root .metric-grid strong{font-size:clamp(25px,3vw,38px);letter-spacing:-.04em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html:root .codex-admin-panel .codex-quick-action{border-radius:18px;padding:22px;box-shadow:0 5px 18px #00000008;min-height:100px;justify-content:center}
html:root .codex-admin-panel .codex-quick-action strong{font-size:14px;letter-spacing:-.01em;line-height:1.5}
html:root .codex-admin-panel .codex-quick-action small{line-height:1.6}
html:root .codex-admin-panel .codex-admin-search{padding:14px;border-radius:16px}
html:root :is(.codex-admin-panel,.codex-master-panel) :is(.control,.drawer-form input:not([type=checkbox]):not([type=radio]),.drawer-form select,.drawer-form textarea,.master-form input:not([type=checkbox]):not([type=radio]),.master-form select){min-height:46px;border-radius:12px;padding:11px 13px;line-height:1.5}
html:root .codex-master-panel .drawer-form{padding:22px;border:1px solid var(--admin-border);border-radius:18px;background:var(--admin-surface-raised)}
html:root :is(.codex-admin-panel,.codex-master-panel) :is(.badge,.finance-badge){border-radius:999px;padding:4px 9px;line-height:1.4}
html:root :is(.codex-admin-panel,.codex-master-panel) .table-wrap{border:1px solid var(--admin-border);border-radius:16px}
html:root :is(.codex-admin-panel,.codex-master-panel) .table-wrap :is(th,td){padding:14px 16px;line-height:1.5}
html:root :is(.codex-admin-panel,.codex-master-panel) .table-wrap th{background:var(--admin-surface-raised);font-size:11px;font-weight:650;letter-spacing:.03em}
.studio-command-trigger{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:10px 14px;border:1px solid var(--admin-border);border-radius:14px;background:var(--admin-surface);color:var(--admin-text);font-size:12px;font-weight:600;cursor:pointer}
.studio-command-trigger svg{width:17px;height:17px;flex:none}
.studio-command-trigger kbd{font:500 10px/1.4 system-ui,sans-serif;padding:3px 5px;border:1px solid var(--admin-border);border-radius:5px;color:inherit;opacity:.8}
.studio-command-dialog{margin:auto;width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--admin-border);border-radius:26px;background:var(--admin-surface);color:var(--admin-text);box-shadow:0 28px 90px #00000050;font:14px/1.5 Inter,system-ui,sans-serif}
.studio-command-dialog::backdrop{background:#080d16b3;backdrop-filter:blur(5px)}
.studio-command-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}
.studio-command-head h2{font-size:23px;line-height:1.25;letter-spacing:-.035em;margin:0 0 6px;color:inherit}
.studio-command-head p{font-size:12px;line-height:1.6;margin:0;color:var(--admin-muted)}
.studio-command-close{width:44px;height:44px;min-width:44px;border:1px solid var(--admin-border);border-radius:50%;background:var(--admin-surface-raised);color:var(--admin-text);font:24px/1 system-ui;cursor:pointer}
.studio-command-search{display:block;width:100%;min-height:50px;min-width:0;padding:13px 15px;border:1px solid var(--admin-border);border-radius:15px;background:var(--admin-bg);color:var(--admin-text);font:400 16px/1.5 Inter,system-ui,sans-serif}
.studio-command-results{display:grid;gap:6px;max-height:min(360px,48dvh);overflow:auto;overscroll-behavior:contain;margin-top:16px;padding:3px}
.studio-command-result{display:flex;justify-content:space-between;align-items:center;gap:14px;min-width:0;min-height:48px;padding:12px 15px;text-align:left;border:1px solid transparent;border-radius:13px;background:var(--admin-surface);color:var(--admin-text);font:600 13px/1.5 Inter,system-ui,sans-serif;cursor:pointer;overflow-wrap:anywhere}
.studio-command-result:hover{background:var(--admin-surface-raised);border-color:var(--admin-border);color:var(--admin-text)}
.studio-command-result[aria-current=page]{border-color:var(--admin-border);background:var(--admin-surface-raised)}
.studio-command-result small{color:var(--admin-muted);font-size:11px;flex:none}
.studio-command-footer{margin:16px 0 0;font-size:11px;line-height:1.6;color:var(--admin-muted)}
.studio-command-dialog :focus-visible{outline:2px solid var(--admin-accent);outline-offset:2px}
html:root :is(.portal-card,.history-item){border-radius:22px;box-shadow:0 8px 26px #0000000b}
html:root .portal-card :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border-radius:13px;min-height:48px;font-size:16px}
html:root :is(.portal-card,.auth-switch,.account-tabs) button{border-radius:13px;min-height:46px}
@media(hover:hover){html:root main :is(.service-card,.resource-card,.contato-card):hover{transform:translateY(-3px);box-shadow:0 14px 32px #00000015}html:root .codex-admin-panel .codex-quick-action:hover{box-shadow:0 9px 24px #00000014}}
@media(max-width:820px){html:root :is(.codex-admin-panel,.codex-master-panel) :is(.control,input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px}.studio-command-trigger kbd{display:none}}
@media(max-width:600px){html:root main :is(.service-card,.feature-item,.resource-card,.contato-card,.depoimento-card){padding:22px}html:root .contato-card{gap:14px}.studio-form-progress{grid-template-columns:1fr;padding:20px;gap:16px}.studio-progress-next{width:100%}.studio-command-dialog{padding:20px;border-radius:22px}html:root #orcamentoForm .budget-section{border-radius:20px}}
@media(prefers-reduced-motion:reduce){html:root main :is(.button,.service-card,.feature-item,.processo-item,.resource-card,.contato-card,.depoimento-card){transition:none;transform:none!important}}
@media(prefers-reduced-motion:reduce){html:root .faq-answer{transition:none}}

/* Workspace navigation shares surfaces with the selected light/dark palette. */
.codex-admin-panel{--studio-content-gutter:clamp(16px,2.5vw,36px)}
html:root .codex-admin-panel .content{width:100%;max-width:calc(1460px + var(--studio-content-gutter) + var(--studio-content-gutter));margin-inline:auto;padding-inline:var(--studio-content-gutter)}
html:root .codex-admin-panel :is(.topbar,.main>.seasonal-banner){width:calc(100% - var(--studio-content-gutter) - var(--studio-content-gutter));max-width:1460px;margin-inline:auto}
html:root .codex-admin-panel .sidebar .nav-button{display:flex;align-items:center;gap:12px;padding:12px;min-height:46px;text-align:left;line-height:1.5}
html:root .codex-admin-panel .nav-index{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px}
.nav-index svg{display:block;width:20px;height:20px}
html:root .codex-admin-panel .nav-button.active{box-shadow:none;background:var(--admin-action-bg);color:var(--admin-action-text)}
html:root .codex-admin-panel .nav-button.active .nav-index{color:inherit!important}
html:root .codex-admin-nav-group{margin:22px 0 8px;padding:0 12px;font-size:10px;line-height:1.6;letter-spacing:.11em}
html:root .codex-admin-nav-group::before{display:none}
html:root .codex-admin-panel .codex-quick-action{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;justify-content:stretch;gap:16px;padding:22px;text-align:left}
html:root .codex-quick-action>.codex-quick-icon{position:static;translate:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--admin-surface-raised);color:var(--admin-text)}
.codex-quick-icon svg{width:21px;height:21px}
.codex-quick-action>div{min-width:0}
.codex-quick-action :is(strong,small){display:block;overflow-wrap:anywhere}
html:root .codex-quick-action small{font-size:12px;line-height:1.6;margin-top:6px}
.codex-quick-links{grid-column:1/-1;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:6px}
.codex-page-jumps{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}
.codex-page-jumps .btn{min-height:44px;border-radius:999px}
#coverEditor,.codex-page-manager,#editorPageSelect{scroll-margin-top:32px}
html:root .studio-tour,html:root .studio-tour::backdrop{background:var(--studio-canvas,var(--bg-dark,#09090b));color:var(--studio-ink,var(--text-primary,#fff))}
html:root .studio-tour header{background:var(--studio-surface);border-bottom:1px solid var(--studio-line);color:var(--studio-ink)}
html:root .studio-tour header :is(strong,small){color:inherit}
html:root .studio-tour :is(button,a){min-height:44px;border:1px solid var(--studio-line);border-radius:12px;background:var(--studio-surface);color:var(--studio-ink);font:600 12px/1.5 Inter,system-ui,sans-serif;padding:10px 14px;text-decoration:none}
html:root .studio-tour .studio-tour-loading{background:var(--studio-canvas);color:var(--studio-ink);text-align:center;gap:16px;padding:24px}
.studio-tour.error .studio-tour-loading{display:grid}
html:root .studio-tour-progress{background:var(--studio-line)}
html:root .studio-tour-progress i{background:var(--studio-ink)}
html:root .studio-tour-start{border-radius:999px}
@media(max-width:600px){html:root .studio-tour header{padding:12px;gap:12px}html:root .studio-tour nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}html:root .studio-tour nav button{min-width:0;padding:10px 6px;font-size:11px}html:root .studio-tour nav [data-action=close]{grid-column:2/-1}.codex-quick-links{justify-content:stretch}.codex-quick-links a{flex:1;justify-content:center}}

/* 1.2.4: public chrome uses the same surface roles in every palette. */
html:root .navbar{box-shadow:0 8px 28px #0000001a,inset 0 1px #ffffff0c}
html:root .navbar nav a{font-weight:600;letter-spacing:.045em}
html:root .navbar nav a:is(:hover,:focus-visible){background:color-mix(in srgb,var(--season-text,var(--text-primary,#fff)) 7%,transparent)}
html:root .navbar nav a:focus-visible,html:root .mobile-menu nav a:focus-visible{outline:2px solid currentColor;outline-offset:2px}
html:root .mobile-menu{gap:16px;padding:20px;scrollbar-width:thin}
html:root .mobile-menu nav a{font-weight:600;line-height:1.5}
html:root footer[data-codex-shared-footer]{width:calc(100% - 32px);max-width:1520px;margin:40px auto 16px;border:1px solid var(--studio-line);border-radius:28px;background:var(--studio-surface);overflow:hidden}
html:root [data-codex-shared-footer] .footer-content{padding:clamp(28px,4vw,56px);gap:clamp(24px,4vw,60px)}
html:root [data-codex-shared-footer] :is(.footer-links,.footer-contato)>h4{font-size:11px;letter-spacing:.09em;text-transform:uppercase;margin-bottom:12px}
html:root [data-codex-shared-footer] .footer-links:not(.codex-footer-resources){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:4px 12px}
html:root [data-codex-shared-footer] .footer-links:not(.codex-footer-resources)>h4{grid-column:1/-1}
html:root [data-codex-shared-footer] :is(.footer-links,.footer-contato)>a{min-height:44px;font-size:13px;line-height:1.7;border-radius:9px;padding:8px 0}
html:root [data-codex-shared-footer] :is(.footer-links,.footer-contato)>a:focus-visible{outline:2px solid currentColor;outline-offset:3px}
html:root [data-codex-shared-footer] .footer-bottom{padding:22px clamp(28px,4vw,56px);border-top:1px solid var(--studio-line);gap:18px;line-height:1.8}
html:root .codex-floating-dock{padding:6px;gap:8px;border:1px solid var(--studio-line);border-radius:999px;background:var(--studio-surface);box-shadow:0 10px 32px #00000028;max-height:calc(100dvh - 32px);overflow-y:auto;scrollbar-width:none}
html:root .codex-floating-dock :is(#backToTop,.codex-social-float){border:1px solid var(--studio-line);background:var(--studio-surface)!important;color:var(--studio-ink)!important;box-shadow:none;padding:0}
html:root .codex-floating-dock #backToTop svg{display:block;width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:2}
html:root .codex-floating-dock .whatsapp-float{background:#118c4a!important;color:#fff!important;box-shadow:none}
html:root .codex-floating-dock .whatsapp-float:hover{background:#096a37!important}
html:root .codex-floating-dock :is(a,button){min-width:44px;min-height:44px;flex:none;transform:none}
html:root .codex-floating-dock :is(a,button):focus-visible{outline:2px solid var(--studio-ink);outline-offset:2px}
html:root .codex-floating-dock:not(:has(>a:not([hidden]),>#backToTop.visible:not([hidden]))){display:none}
@media(max-width:620px){html:root footer[data-codex-shared-footer]{width:calc(100% - 24px);border-radius:24px;margin-top:28px;margin-bottom:12px}html:root [data-codex-shared-footer] .footer-content{padding:28px 76px 28px 22px;gap:26px}html:root [data-codex-shared-footer] .footer-bottom{padding:22px 76px 26px 22px}.codex-footer-release{justify-content:flex-start}}
