/* Polimento aprovado: alterações restritas à apresentação, 28/09. */
/* Keep the home header above its overlay hero throughout the scroll. */
body:not(.editor_enable):not(.editor_has_snippets) .cubiq-native.o_header_overlay:has(.cq-polish-home) header#top.site-header{
 position:fixed!important;inset:0 0 auto!important;width:100%;z-index:1030;transform:none!important;
 background:rgba(22,23,28,.94)!important;border-bottom:1px solid #b8abc32e;box-shadow:0 4px 18px #0002;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
}
.cubiq-native header.site-header.cq-polish-scrolled{background:var(--glass-bg-strong)!important;border-bottom-color:var(--bg-300);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
html[data-cubiq-theme=light] .cubiq-native.o_header_overlay:has(.cq-polish-home) header.site-header.cq-polish-scrolled{
 --text-100:#282632;--text-200:#5e586b;--bg-100:#fff;--bg-200:#f4f1f9;--bg-300:#e2dbea;color:var(--text-100);
}
html[data-cubiq-theme=light] body:not(.editor_enable):not(.editor_has_snippets) .cubiq-native.o_header_overlay:has(.cq-polish-home) header#top.site-header.cq-polish-scrolled{background:rgba(250,249,252,.96)!important}
html[data-cubiq-theme=light] .cubiq-native header.site-header.cq-polish-scrolled .logo.cq-brand .cq-brand-dark{display:none!important}
html[data-cubiq-theme=light] .cubiq-native header.site-header.cq-polish-scrolled .logo.cq-brand .cq-brand-light{display:block!important}
.cq-polish-home :is(#catalog,#novidades,#features,#community,#pricing){scroll-margin-top:100px}
/* Symmetric composition, one prominent action, the background remains visible. */
.cubiq-native .cq-polish-home .cq-hero{min-height:clamp(650px,94svh,930px)}
.cubiq-native .cq-polish-home .cq-hero-inner{justify-content:center;align-items:center;padding-top:calc(var(--cubiq-header-height,81px) + 58px);padding-bottom:44px}
.cubiq-native .cq-polish-home .cq-hero-copy{max-width:1000px;width:100%;text-align:center;margin-inline:auto}
.cubiq-native .cq-polish-home .cq-hero .pixel-heading{font-size:clamp(38px,4.65vw,80px);line-height:1.04;letter-spacing:.01em;margin-bottom:26px;text-wrap:balance}
.cubiq-native .cq-polish-home .cq-hero-lead{max-width:570px;margin:0 auto 28px;font-size:clamp(15px,1.16vw,18px)}
.cubiq-native .cq-polish-home :is(.cq-hero-ctas,.cq-hero-feats){justify-content:center}
.cubiq-native .cq-polish-home .cq-hero-feats{margin-top:28px;gap:12px 27px;font-size:13px}
.cubiq-native .cq-polish-home .cq-hero-shade{background:radial-gradient(ellipse 58% 68% at 50% 45%,#10101980,transparent 100%),linear-gradient(180deg,#10121980 0%,#10121955 42%,#16171c 100%)}
.cubiq-native .cq-polish-home .cq-hero-primary{border-radius:7px;min-height:50px;padding-inline:25px}
/* Reverse the tilt of the two overlapping access panels. */
@media(min-width:761px){
 .cq-polish-home .rf-fantasy{transform:rotate(-1deg)}
 .cq-polish-home .rf-guide{transform:rotate(.7deg)}
 .cq-polish-home .rf-fantasy:hover{transform:rotate(-.3deg) translateY(-3px)}
 .cq-polish-home .rf-guide:hover{transform:rotate(.2deg) translateY(-3px)}
}
/* Shared hover behavior for native home and catalogue cards. */
.cubiq-native :is(#novidades,#products_grid) .oe_product_cart{transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease!important}
.cubiq-native :is(#novidades,#products_grid) .oe_product_cart .oe_product_image img{transition:transform .35s ease,opacity .2s ease!important}
@media(hover:hover) and (pointer:fine){
 .cubiq-native :is(#novidades,#products_grid) .oe_product_cart:hover{transform:translateY(-5px)!important;border-color:var(--primary-100)!important;box-shadow:0 10px 22px #0002!important}
 .cubiq-native :is(#novidades,#products_grid) .oe_product_cart:hover .oe_product_image img{transform:scale(1.045)!important}
}
.cubiq-native :is(#novidades,#products_grid) .oe_product_cart:focus-within{border-color:var(--primary-100)!important}
.cubiq-native #novidades .carousel-inner{overflow:visible!important}
@media(min-width:1400px){
 .cubiq-native #products_grid:not(.cubiq-list-view) #o_wsale_products_grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:16px!important}
 .cubiq-native #products_grid:not(.cubiq-list-view) #o_wsale_products_grid .oe_product{grid-column:span 1!important;grid-row:auto!important}
 .cubiq-native #products_grid:not(.cubiq-list-view) .oe_product_cart .o_wsale_product_information{padding:12px!important}
 .cubiq-native #products_grid:not(.cubiq-list-view) .oe_product_cart .o_wsale_products_item_title{font-size:14px!important}
}
/* Remove the standalone strip and the reserved blank band above the 3D canvas. */
.cubiq-native .cq-polish-catalog-link{text-align:center;margin:30px 0 0}
.cubiq-native .cq-polish-home section.g3d{border-top:0;background:var(--bg-100)}
.cubiq-native .cq-polish-home .g3d.g3d-live .g3d-scene{top:0;bottom:0}
@media(min-width:821px){.cubiq-native .cq-polish-home .g3d.g3d-live .g3d-options{top:0;bottom:0}}
.cubiq-native .cq-polish-home .g3d.g3d-live .g3d-pin{background:var(--bg-100)}
/* The interactive blueprint has its own bounded stage, independent of page width. */
.cubiq-native .cq-polish-home .g3d-plan{grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr);gap:clamp(24px,3vw,48px);padding:clamp(24px,2.6vw,38px);margin-top:36px;border-radius:14px;min-height:0}
.cubiq-native .cq-polish-home .g3d-plan-copy{max-width:490px;gap:15px}
.cubiq-native .cq-polish-home .g3d-plan-copy .pixel-heading{font-size:clamp(28px,2.3vw,40px)}
.cubiq-native .cq-polish-home .g3d-plan-copy p{font-size:14px}
.cubiq-native .cq-polish-home .g3d-plan .g3d-sheet{width:100%;height:clamp(370px,31vw,510px);aspect-ratio:auto!important;min-height:0;border-radius:10px}
/* Discord: channels and voice, no photo frame and no invented community metrics. */
.cubiq-native .cq-polish-home .rf-community{padding:32px 0!important}
.cq-polish-home .rf-community-panel{min-height:345px;grid-template-columns:1fr 1fr;padding:28px 4%;gap:40px}
.cq-polish-home .cq-discord-scene{--discord-icon:146px;--discord-gap:42px;position:relative;isolation:isolate;width:100%;max-width:700px;height:304px;margin:0 auto;transform:none}
.cq-discord-emblem{position:absolute;z-index:3;left:0;top:44px;width:var(--discord-icon);height:var(--discord-icon);display:grid;place-items:center;border-radius:28px;background:#7465db;border:1px solid #ad9bf5;box-shadow:6px 7px 0 #443a79;transform:rotate(-5deg)}
.cq-discord-emblem i{font-size:90px;color:#fff}
.cq-discord-channels{position:absolute;top:24px;left:calc(var(--discord-icon) + var(--discord-gap));right:0;display:grid;grid-template-rows:78px 78px 64px;gap:14px;transform:none}
.cq-discord-channel,.cq-discord-voice{position:relative;display:flex;align-items:center;gap:12px;padding:15px 17px;background:#292b36;border:1px solid #6e6687;border-left:3px solid #a38ee2;border-radius:8px;color:#eae7f2;box-shadow:4px 5px 0 #11121840;min-width:0}
.cq-discord-channel:nth-child(2){margin-left:0}
.cq-discord-channel>span:nth-child(2){display:flex;flex-direction:column;gap:4px}
.cq-channel-hash{font-size:29px;font-weight:500;color:#a99dbd}
.cq-discord-channel b{font-size:14px;font-weight:650;letter-spacing:.02em}
.cq-discord-channel small{font-size:11px;color:#b5adca}
.cq-discord-channel>i{margin-left:auto;color:#bca9e9;font-size:22px}
.cq-discord-voice{margin:0;font-size:12px;background:#242833;border-left-color:#8cb6b0}
.cq-discord-voice>i{color:#b39cfa;font-size:22px}
.cq-voice-wave{display:flex;align-items:center;gap:3px;margin-left:auto;height:22px}
.cq-voice-wave i{height:8px;width:3px;border-radius:2px;background:#a48ce6}.cq-voice-wave i:nth-child(2n){height:18px}.cq-voice-wave i:nth-child(3){height:24px}
.cq-polish-home .rf-community-art>img.cq-discord-shulker{position:absolute;left:25px;right:auto;top:203px;width:78px;height:78px;transform:rotate(5deg);filter:drop-shadow(0 8px 8px #0003)}
.cq-discord-caption{position:absolute;bottom:0;left:calc(var(--discord-icon) + var(--discord-gap));font-size:9px;letter-spacing:.14em;color:var(--text-300)}
/* Each branch meets the card's centre; the shared spine meets the Discord icon. */
.cq-discord-lines{position:absolute;top:63px;left:calc(var(--discord-icon) + var(--discord-gap)/2);width:calc(var(--discord-gap)/2);height:177px;border:0;border-left:1px solid #9c8ac285;border-radius:0;z-index:-1}
.cq-discord-lines::before{content:'';position:absolute;right:100%;top:54px;width:calc(var(--discord-gap)/2 + 5px);height:1px;background:#9c8ac285}
.cq-discord-lines span{position:absolute;left:0;width:100%;height:1px;top:0;background:#9c8ac285}.cq-discord-lines span:nth-child(2){top:92px}.cq-discord-lines span:nth-child(3){top:177px}
/* Restore a vertical hierarchy without the oversized spacing of the original. */
.cubiq-native .cq-polish-home section.cq-member{padding:52px 0 62px!important}
.cubiq-native .cq-polish-home .cq-member-head{margin-bottom:34px}
.cubiq-native .cq-polish-home .cq-member-head .pixel-heading{font-size:clamp(31px,2.6vw,44px)}
.cubiq-native .cq-polish-home .cq-member-head p{font-size:15px}
.cubiq-native .cq-polish-home .cq-member-plans{max-width:1310px;gap:clamp(26px,3vw,48px)}
.cubiq-native .cq-polish-home .cq-plan-top{display:flex;flex-direction:column;align-items:center;gap:0;padding:25px 22px 23px;position:relative;text-align:center}
.cubiq-native .cq-polish-home .cq-plan.is-featured .cq-plan-top{padding:24px 24px 23px}
.cubiq-native .cq-polish-home .cq-plan-top h3{margin:0 0 12px;font-size:12px;white-space:nowrap}
.cubiq-native .cq-polish-home .cq-plan-badge{position:static;display:inline-flex;align-items:center;justify-content:center;align-self:center;margin:0 0 16px;padding:4px 10px;font-size:10px;white-space:nowrap}
.cubiq-native .cq-polish-home .cq-plan-coins{height:82px!important;margin:0 0 9px;align-items:center;flex-shrink:0}
.cubiq-native .cq-polish-home .cq-plan-coins img{width:76px;height:76px;object-fit:contain}
.cubiq-native .cq-polish-home .cq-premium-stack{height:96px!important}
.cubiq-native .cq-polish-home .cq-premium-stack img{width:104px;height:104px;margin:0;transform:none;filter:drop-shadow(0 5px 7px #0004)}
.cubiq-native .cq-polish-home .cq-plan-cubits{align-self:center;line-height:1;font-size:clamp(62px,4.3vw,76px)!important;text-align:center;padding:0;white-space:nowrap;word-break:normal;overflow-wrap:normal;letter-spacing:0}
.cubiq-native .cq-polish-home .cq-plan-unit{align-self:center;text-align:center;font-size:10px;letter-spacing:.16em;white-space:nowrap;margin:8px 0 0}
.cubiq-native .cq-polish-home .cq-plan-price{font-size:26px;margin:17px 0 0;white-space:nowrap}
.cubiq-native .cq-polish-home .cq-plan-price span{font-size:14px}
.cubiq-native .cq-polish-home .cq-plan-body{padding:22px}
.cubiq-native .cq-polish-home .cq-plan-kicker{font-size:10px;margin-bottom:15px}
.cubiq-native .cq-polish-home .cq-plan-body ul{gap:11px;margin-bottom:22px}
.cubiq-native .cq-polish-home .cq-plan-body li{font-size:13px;gap:9px;line-height:1.5;align-items:flex-start}.cubiq-native .cq-polish-home .cq-plan-body li i{flex:none;font-size:18px;line-height:1.15}
.cubiq-native .cq-polish-home .cq-plan-cta{min-height:45px;font-size:14px}
.cubiq-native .cq-polish-home .cq-member-faq h3{font-size:29px;margin-bottom:18px}
.cubiq-native .cq-polish-home .cq-member-faq summary{padding:16px 0;font-size:13px}
@media(min-width:761px) and (max-width:1100px){
 .cq-polish-home .rf-community-panel{gap:24px;padding-inline:1%;grid-template-columns:1fr 1.15fr}
 .cq-polish-home .cq-discord-scene{--discord-icon:96px;--discord-gap:26px}
 .cq-discord-emblem{top:69px;border-radius:21px}.cq-discord-emblem i{font-size:63px}
 .cq-discord-channel,.cq-discord-voice{padding:12px 10px;gap:8px}.cq-discord-channel small{font-size:10px}.cq-discord-channel b{font-size:12px}.cq-discord-voice{font-size:11px}
 .cq-polish-home .rf-community-art>img.cq-discord-shulker{left:10px}
}
@media(max-width:900px){.cubiq-native .cq-polish-home .g3d-plan{grid-template-columns:1fr}.cubiq-native .cq-polish-home .g3d-plan-copy{max-width:640px}.cubiq-native .cq-polish-home .g3d-plan .g3d-sheet{height:430px}}
@media(max-width:760px){
 .cubiq-native .cq-polish-home .cq-hero{min-height:max(650px,90svh)}
 .cubiq-native .cq-polish-home .cq-hero-inner{padding-top:115px;padding-bottom:38px}
 .cubiq-native .cq-polish-home .cq-hero .pixel-heading{font-size:clamp(35px,6.3vw,48px)}
 .cubiq-native .cq-polish-home .cq-hero-lead{font-size:15px;max-width:340px}
 .cubiq-native .cq-polish-home .cq-hero-feats{gap:10px 15px;font-size:11px}.cubiq-native .cq-polish-home .cq-hero-feats i{font-size:18px}
 .cq-polish-home .rf-community-panel{grid-template-columns:1fr;gap:24px;padding:24px 4px}
 .cq-polish-home .cq-discord-scene{--discord-icon:88px;--discord-gap:25px;height:300px;max-width:460px}
 .cq-discord-emblem{border-radius:19px;top:73px}.cq-discord-emblem i{font-size:57px}
 .cq-discord-channel,.cq-discord-voice{padding:12px 10px;gap:8px}.cq-discord-channel b{font-size:11px}.cq-discord-channel small{font-size:9px}.cq-discord-channel>i{font-size:17px}
 .cq-discord-voice{font-size:11px}.cq-voice-wave{gap:2px;flex-shrink:0}
 .cq-polish-home .rf-community-art>img.cq-discord-shulker{top:204px;width:70px;height:70px;left:4px}
 .cq-discord-caption{font-size:7px;bottom:3px}
 .cubiq-native .cq-polish-home .g3d-plan{padding:23px 18px;gap:24px}
 .cubiq-native .cq-polish-home .g3d-plan .g3d-sheet{height:360px}
 .cubiq-native .cq-polish-home .cq-member-plans{gap:25px}
 .cubiq-native .cq-polish-home .cq-plan-top{padding:22px}
 .cubiq-native .cq-polish-home .cq-plan:not(.is-featured){width:94%}
 .cubiq-native .cq-polish-home .cq-plan-cubits{font-size:64px!important}
 .cubiq-native .cq-polish-home .cq-premium-stack img{width:104px;height:104px}
}
/* Keep the page texture on the actual surfaces that cover the shared background. */
.cubiq-native :is(main,#wrap,.o_portal_wrap,.o_wsale_products_page,.cubiq-cart-page,.cubiq-auth,.cc-page,.rq-page){background-image:var(--grid-pattern)!important;background-size:84px 84px!important;background-repeat:repeat!important}
.cubiq-native .cq-polish-home :is(section.g3d,.g3d.g3d-live .g3d-pin){background-image:var(--grid-pattern)!important;background-size:84px 84px!important;background-repeat:repeat!important}
.cubiq-native :is(.o_wsale_products_page,.cubiq-build-page)>section:not(.cubiq-coverflow):not(.bd-hero){background-image:var(--grid-pattern);background-size:84px 84px}
@media(prefers-reduced-motion:reduce){
 .cubiq-native :is(#novidades,#products_grid) .oe_product_cart,.cubiq-native :is(#novidades,#products_grid) .oe_product_cart .oe_product_image img{transition:none!important}
 .cubiq-native :is(#novidades,#products_grid) .oe_product_cart:hover,.cubiq-native :is(#novidades,#products_grid) .oe_product_cart:hover .oe_product_image img{transform:none!important}
}
