:root{color-scheme:dark;--bg: #10100f;--bg-soft: #171818;--panel: #1f2422;--panel-strong: #28312d;--line: rgba(215, 219, 208, .16);--text: #f4f1e8;--text-soft: #b9b6aa;--brand: #2f8f74;--brand-strong: #1f6d59;--accent: #c98f3d;--danger: #b95454;--success: #3f9564;--shadow: 0 24px 70px rgba(0, 0, 0, .26);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;letter-spacing:0}*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{min-width:320px;min-height:100vh;margin:0;color:var(--text);background:linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(180deg,#11110f,#151613 48%,#10100f);background-size:72px 72px,auto}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.62}.eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 12px;color:#d8d2bd;font-size:.78rem;font-weight:800;text-transform:uppercase}.eyebrow.quiet{color:var(--text-soft);text-transform:none}.brand-mark{width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;color:#fff7df;background:linear-gradient(135deg,#c98f3de6,#2f8f74f2);border:1px solid rgba(255,255,255,.16)}.brand-mark.large{width:72px;height:72px}.login-screen{min-height:100vh;display:grid;place-items:center;padding:32px 20px}.login-panel{width:min(1120px,100%);min-height:min(740px,calc(100vh - 64px));display:grid;grid-template-columns:minmax(320px,1fr) minmax(360px,.82fr);align-items:center;gap:56px;padding:56px;border:1px solid var(--line);background:#141613f0;box-shadow:var(--shadow)}.login-brand{display:grid;justify-items:start;gap:18px}.login-brand h1,.hero-copy h1,.card-heading h2{margin:0;color:var(--text);line-height:1.08}.login-brand h1{max-width:620px;font-size:clamp(2rem,4vw,4.2rem)}.login-brand p,.hero-copy p,.type-card span,.modal-copy{color:var(--text-soft);line-height:1.65}.login-brand p{max-width:520px;margin:0;font-size:1.04rem}.auth-card{display:grid;gap:22px;padding:24px;border:1px solid var(--line);background:#ffffff0b}.segmented-control{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:6px;background:#0000002e}.segmented-control button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;color:var(--text-soft);background:transparent;font-weight:800}.segmented-control button.active{color:var(--text);background:#2f8f7447}.login-form,.resource-form{display:grid;gap:18px}label,.form-field{display:grid;gap:9px;color:#e7e0d1;font-size:.95rem;font-weight:700}input,textarea,select{width:100%;border:1px solid rgba(215,219,208,.2);color:var(--text);background:#121412;outline:none;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease}input,select{min-height:50px;padding:0 15px}textarea{min-height:150px;padding:14px 15px;resize:vertical}input:focus,textarea:focus,select:focus{border-color:#49ae91eb;box-shadow:0 0 0 4px #2f8f742e}input[readonly]{color:#d7d0bf;background:#ffffff0b}.rich-text-editor{overflow:hidden;border:1px solid rgba(215,219,208,.2);background:#121412}.editor-toolbar{display:flex;flex-wrap:wrap;gap:8px;padding:10px;border-bottom:1px solid var(--line);background:#ffffff0b}.toolbar-group{display:inline-flex;gap:4px;padding-right:8px;border-right:1px solid var(--line)}.toolbar-group:last-child{padding-right:0;border-right:0}.toolbar-button,.toolbar-upload-button,.icon-button{width:36px;height:36px;display:inline-grid;place-items:center;border:0;color:#e5dfcf;background:#ffffff12}.toolbar-button:hover,.toolbar-upload-button:hover,.icon-button:hover{background:#2f8f743d}.toolbar-upload-button{gap:0;padding:0;cursor:pointer}.toolbar-upload-button.disabled{cursor:not-allowed;opacity:.62}.toolbar-upload-button input{display:none}.toolbar-image-counter{min-width:38px;display:inline-grid;place-items:center;color:var(--text-soft);font-size:.78rem;font-weight:800}.editor-surface{min-height:220px;padding:16px;color:var(--text);line-height:1.65;outline:none}.editor-surface:empty:before{content:"Descreva o conteúdo desta página...";color:#b9b6aab8}.editor-surface:focus{box-shadow:inset 0 0 0 3px #2f8f742e}.editor-surface h2,.editor-surface p,.editor-surface blockquote,.editor-surface ul,.editor-surface ol{margin-top:0}.editor-surface blockquote{margin-left:0;padding-left:16px;border-left:3px solid var(--accent);color:#ddd4bd}.image-upload-field,.layout-picker{display:grid;gap:9px;color:#e7e0d1;font-size:.95rem;font-weight:700}.layout-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.layout-option{min-height:50px;padding:0 12px;border:1px solid var(--line);color:#e5dfcf;background:#ffffff0e;font-weight:800}.layout-option:hover,.layout-option.active{border-color:#49ae919e;background:#2f8f7438}.layout-selection-summary,.image-upload-summary{color:var(--text-soft);line-height:1.45}.image-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.image-preview-card{overflow:hidden;border:1px solid var(--line);background:#ffffff0b}.image-preview-card img{width:100%;aspect-ratio:16 / 10;display:block;object-fit:cover;background:#0003}.image-preview-card div{min-height:46px;display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:center;gap:8px;padding:8px}.image-preview-card span{overflow:hidden;color:var(--text-soft);font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}.subitems-field{display:grid;gap:14px}.subitems-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;color:#e7e0d1;font-size:.95rem;font-weight:700}.subitems-list{display:grid;gap:14px}.subitem-card{display:grid;gap:14px;padding:16px;border:1px solid var(--line);background:#ffffff0b}.subitem-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.subitem-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.subitem-fields .wide-field{grid-column:1 / -1}.subitem-image-field{display:grid;gap:9px;color:#e7e0d1;font-size:.95rem;font-weight:700}.subitem-image-field small{color:var(--text-soft);line-height:1.45}.subitem-image-preview{max-width:340px;overflow:hidden;border:1px solid var(--line);background:#ffffff0b}.subitem-image-preview img{width:100%;aspect-ratio:16 / 9;display:block;object-fit:cover}.subitem-image-preview div{min-height:44px;display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:center;gap:8px;padding:8px}.subitem-image-preview span{overflow:hidden;color:var(--text-soft);font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}.subitems-empty{margin:0;padding:16px;color:var(--text-soft);border:1px dashed var(--line)}.preview-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:18px;background:#0000008a}.layout-preview-modal{width:min(760px,100%);max-height:min(680px,calc(100vh - 36px));overflow:auto;padding:20px;border:1px solid var(--line);background:#1f2422fa;box-shadow:var(--shadow)}.layout-preview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.layout-preview-heading h3{margin:0;font-size:1.35rem}.layout-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.layout-preview-card{display:grid;gap:10px;padding:12px;border:1px solid var(--line);background:#ffffff0b}.layout-preview-card.active{border-color:#49ae91b8;background:#2f8f7424}.layout-preview-card strong{font-size:.9rem}.layout-simulation{min-height:230px;display:grid;gap:10px;padding:12px;border:1px solid rgba(215,219,208,.12);background:#121412}.preview-image-slots{display:grid;gap:8px}.preview-image-slot{min-height:48px;display:grid;place-items:center;overflow:hidden;border:1px solid rgba(215,219,208,.12);background:linear-gradient(135deg,#2f8f7442,#c98f3d2e),#ffffff0e}.preview-image-slot img{width:100%;height:100%;display:block;object-fit:cover}.preview-image-slot span{width:34px;height:24px;border:1px solid rgba(255,255,255,.28);background:#ffffff14}.preview-text-block{display:grid;align-content:start;gap:7px;min-width:0}.preview-text-block>span{height:7px;background:#ffffff24}.preview-text-block>span:nth-child(1){width:76%}.preview-text-block>span:nth-child(2){width:58%}.preview-text-block>span:nth-child(3){width:88%}.preview-text-block div{max-height:86px;overflow:hidden;color:var(--text-soft);font-size:.72rem;line-height:1.45}.layout-simulation.single-image.variant-1{grid-template-rows:1fr auto}.layout-simulation.single-image.variant-1 .preview-image-slots{grid-template-columns:1fr}.layout-simulation.single-image.variant-1 .preview-image-slot{min-height:126px}.layout-simulation.single-image.variant-2{position:relative;min-height:230px}.layout-simulation.single-image.variant-2 .preview-image-slots{position:absolute;top:12px;right:12px;bottom:12px;left:12px}.layout-simulation.single-image.variant-2 .preview-image-slot{min-height:100%}.layout-simulation.single-image.variant-2 .preview-text-block{position:relative;align-self:end;padding:12px;background:#121412c7}.layout-simulation.gallery-3.variant-1{grid-template-columns:1.2fr .8fr}.layout-simulation.gallery-3.variant-1 .preview-image-slots{grid-template-rows:1fr 1fr 1fr}.layout-simulation.gallery-3.variant-2 .preview-image-slots{grid-template-columns:repeat(3,minmax(0,1fr))}.layout-simulation.gallery-3.variant-2 .preview-image-slot{min-height:82px}.layout-simulation.gallery-5.variant-1 .preview-image-slots{grid-template-columns:1.15fr .85fr;grid-template-rows:repeat(4,38px)}.layout-simulation.gallery-5.variant-1 .preview-image-slot:first-child{grid-row:span 4}.layout-simulation.gallery-5.variant-2 .preview-image-slots{grid-template-columns:repeat(5,minmax(0,1fr))}.layout-simulation.gallery-5.variant-2 .preview-image-slot{min-height:62px}.input-with-icon{position:relative;display:block}.input-with-icon svg{position:absolute;top:50%;left:15px;transform:translateY(-50%);color:#9ac9ba}.input-with-icon input{padding-left:46px}.primary-button,.ghost-button,.danger-button,.logout-button,.menu-item,.group-toggle,.submenu-item,.sidebar-toggle,.type-card{border:0;color:inherit}.primary-button,.ghost-button,.danger-button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 17px;font-weight:800}.primary-button{color:#fff;background:linear-gradient(135deg,var(--brand-strong),var(--brand))}.ghost-button{color:#e5dfcf;background:#ffffff12}.danger-button{color:#fff;background:var(--danger)}.status{margin:0;padding:14px 16px;border:1px solid transparent;line-height:1.5}.status.error{color:#ffe1df;background:#b954542e;border-color:#b9545475}.status.success{color:#e1f7e9;background:#3f95642e;border-color:#3f956475}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.workspace{min-height:100vh;display:grid;grid-template-columns:300px minmax(0,1fr);transition:grid-template-columns .18s ease}.workspace.sidebar-collapsed{grid-template-columns:96px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:14px;padding:20px;background:#0f100efa;border-right:1px solid var(--line)}.brand-lockup{min-height:70px;display:flex;align-items:center;gap:12px}.brand-lockup strong,.brand-lockup small{display:block}.brand-lockup strong{font-size:1.18rem}.brand-lockup small{margin-top:3px;color:var(--text-soft);font-size:.78rem;font-weight:800;text-transform:uppercase}.sidebar-toggle{width:42px;height:42px;display:grid;place-items:center;align-self:end;background:var(--panel)}.sidebar-toggle-label{display:none}.menu-groups{display:grid;align-content:start;gap:12px;flex:1;min-height:0;overflow-y:auto;padding-right:4px}.menu-group{display:grid;gap:6px}.menu-item,.group-toggle,.submenu-item,.logout-button{width:100%;min-height:42px;display:flex;align-items:center;gap:12px;padding:0 14px;text-align:left;background:#ffffff0b;transition:background .18s ease,color .18s ease}.menu-item:hover,.menu-item.active,.submenu-item:hover,.submenu-item.active,.group-toggle:hover,.logout-button:hover{background:#2f8f7438}.group-toggle{justify-content:space-between;background:var(--panel)}.group-label{display:inline-flex;align-items:center;gap:12px}.submenu{display:grid;gap:6px}.submenu-item{min-height:38px;padding-left:42px;color:#ddd6c6;background:#ffffff0f}.logout-button{margin-top:auto;color:#ffe1df;background:#b9545429}.workspace.sidebar-collapsed .sidebar{padding-inline:16px}.workspace.sidebar-collapsed .brand-lockup{justify-content:center}.workspace.sidebar-collapsed .brand-lockup span:last-child,.workspace.sidebar-collapsed .menu-item span,.workspace.sidebar-collapsed .group-label span,.workspace.sidebar-collapsed .submenu,.workspace.sidebar-collapsed .logout-button span{display:none}.workspace.sidebar-collapsed .group-toggle,.workspace.sidebar-collapsed .menu-item,.workspace.sidebar-collapsed .logout-button{justify-content:center;padding-inline:0}.workspace.sidebar-collapsed .group-label{justify-content:center;width:100%}.workspace.sidebar-collapsed .group-toggle svg:last-child{display:none}.content-shell{min-width:0;padding:28px}.content-body,.home-layout{display:grid;gap:24px}.hero-panel{min-height:440px;display:grid;grid-template-columns:minmax(320px,.95fr) minmax(320px,.7fr);align-items:center;gap:32px;padding:38px;border:1px solid var(--line);background:linear-gradient(135deg,#2f8f7438,#c98f3d1f),#1f2422f0;box-shadow:var(--shadow);overflow:hidden}.hero-copy{display:grid;justify-items:start;gap:18px}.hero-copy h1{font-size:clamp(3rem,7vw,7rem)}.hero-copy p{max-width:620px;margin:0;font-size:1.06rem}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}.hero-visual{position:relative;min-height:310px;display:grid;place-items:center}.visual-node{position:absolute;width:82px;height:82px;display:grid;place-items:center;color:#fff7df;border:1px solid rgba(255,255,255,.18);background:#ffffff14;box-shadow:0 18px 44px #00000038}.visual-node-main{width:132px;height:132px;background:linear-gradient(135deg,#2f8f74f2,#c98f3de6)}.visual-node:nth-child(2){top:26px;right:36px}.visual-node:nth-child(3){bottom:28px;left:28px}.visual-lines{width:86%;height:68%;border:1px solid rgba(255,255,255,.16);transform:rotate(-8deg)}.type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.type-card{min-height:190px;display:grid;align-content:start;justify-items:start;gap:14px;padding:22px;border:1px solid var(--line);background:#1f2422eb;box-shadow:var(--shadow);text-align:left;transition:border-color .18s ease,background .18s ease,transform .18s ease}.type-card:hover{border-color:#49ae917a;background:#2f8f7429;transform:translateY(-1px)}.type-icon{width:44px;height:44px;display:grid;place-items:center;color:#ffe8bd;background:#c98f3d33}.type-card strong{font-size:1.08rem}.resource-layout{display:grid;gap:24px}.resource-layout.single-column{max-width:1180px;margin-inline:auto;width:100%}.resource-card{padding:24px;border:1px solid var(--line);background:#1f2422f0;box-shadow:var(--shadow)}.form-card{justify-self:stretch}.card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px}.card-heading h2{font-size:clamp(1.45rem,2vw,2.15rem)}.heading-actions{display:flex;flex-wrap:wrap;gap:12px}.resource-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.resource-form .wide-field,.resource-form .layout-picker,.resource-form .image-upload-field,.resource-form .subitems-field,.resource-form .status,.form-actions{grid-column:1 / -1}.form-actions{display:flex;flex-wrap:wrap;gap:12px}.search-filters{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:16px;margin-bottom:18px}.search-filter-actions{display:flex;align-items:end;gap:12px}.table-shell{overflow:auto;border:1px solid var(--line)}table{width:100%;min-width:680px;border-collapse:collapse}th,td{padding:16px;border-bottom:1px solid var(--line);text-align:left}th{color:#ddd4bd;background:#ffffff0b}tbody tr{transition:background .18s ease}tbody tr:hover{background:#2f8f7424}.clickable-row{cursor:pointer}.empty-state{margin:0;padding:28px;color:var(--text-soft)}.empty-state-panel{display:grid;justify-items:start;gap:14px;padding:28px}.empty-state-panel .empty-state{padding:0}@media(max-width:1120px){.login-panel,.hero-panel{grid-template-columns:1fr}.type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:860px){.workspace,.workspace.sidebar-collapsed{grid-template-columns:1fr}.sidebar{position:static;height:auto}.workspace.sidebar-collapsed .sidebar{min-height:76px;padding:12px 18px;border-right:0;border-bottom:1px solid var(--line)}.workspace.sidebar-collapsed .menu-item,.workspace.sidebar-collapsed .menu-groups,.workspace.sidebar-collapsed .logout-button,.workspace.sidebar-collapsed .submenu{display:none}.workspace.sidebar-collapsed .brand-lockup{justify-content:flex-start}.workspace.sidebar-collapsed .brand-lockup span:last-child{display:block}.workspace.sidebar-collapsed .sidebar-toggle{position:fixed;top:12px;right:12px;z-index:30;box-shadow:var(--shadow)}.sidebar-toggle{width:auto;display:inline-flex;gap:8px;padding-inline:12px}.sidebar-toggle-label{display:inline;font-weight:800}.content-shell{padding:18px}.login-panel{min-height:auto;padding:28px;gap:28px}.hero-panel{min-height:auto;padding:26px}.hero-visual{min-height:240px}.type-grid,.image-preview-grid,.layout-options,.layout-preview-grid,.resource-form,.subitem-fields,.search-filters{grid-template-columns:1fr}.card-heading{flex-direction:column;align-items:flex-start}.search-filter-actions,.search-filter-actions .primary-button,.search-filter-actions .ghost-button{width:100%}.table-shell{overflow:visible;border:0}.table-shell table,.table-shell thead,.table-shell tbody,.table-shell tr,.table-shell td{display:block;width:100%}.table-shell table{min-width:0}.table-shell thead{display:none}.table-shell tbody{display:grid;gap:12px}.table-shell tr{border:1px solid var(--line);background:#ffffff0a}.table-shell td{display:grid;grid-template-columns:minmax(110px,.42fr) minmax(0,1fr);align-items:center;gap:12px;min-height:44px;padding:12px 14px;border-bottom:1px solid var(--line);word-break:break-word}.table-shell td:before{content:attr(data-label);color:var(--text-soft);font-size:.78rem;font-weight:800;text-transform:uppercase}.table-shell td:last-child{border-bottom:0}}@media(max-width:560px){.login-panel,.auth-card,.hero-panel,.resource-card{padding:20px}.hero-copy h1{font-size:2.8rem}.visual-node-main{width:108px;height:108px}.visual-node{width:68px;height:68px}.form-actions,.heading-actions,.form-actions .primary-button,.form-actions .ghost-button,.form-actions .danger-button,.heading-actions .primary-button,.heading-actions .ghost-button{width:100%}}
