:root{--site-bg:#090812;--site-bg-2:#111022;--site-panel:rgba(22,20,42,.8);--site-border:rgba(255,255,255,.1);--site-text:#f7f5ff;--site-muted:#aaa5be;--site-purple:#7447ff;--site-purple-2:#a05cff;--site-pink:#e64ed6;--site-green:#32d583;--site-red:#ff5d6c}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--site-text);background:radial-gradient(circle at 75% 20%,rgba(116,71,255,.18),transparent 30%),linear-gradient(145deg,var(--site-bg),#0d0c19 58%,#151025);min-height:100vh}a{text-decoration:none;color:inherit}.site-header{height:84px;display:flex;align-items:center;justify-content:space-between;width:min(1180px,calc(100% - 40px));margin:0 auto;border-bottom:1px solid rgba(255,255,255,.07);position:relative;z-index:20}.site-brand{display:flex;align-items:center;min-width:150px}.site-brand img,.auth-brand img{width:auto;max-width:220px;height:58px;object-fit:contain}.site-brand strong,.auth-brand strong{font-size:24px}.site-nav{display:flex;align-items:center;gap:9px}.site-nav a{padding:10px 15px;color:#bbb6ca;font-size:14px;font-weight:700;border-radius:10px;transition:.2s}.site-nav a:hover,.site-nav a.active{color:#fff;background:rgba(255,255,255,.05)}.site-nav .nav-cta,.site-nav .site-exit{color:#fff;background:linear-gradient(135deg,var(--site-purple),var(--site-purple-2));box-shadow:0 10px 28px rgba(116,71,255,.25)}.site-menu-toggle{display:none;border:1px solid var(--site-border);background:rgba(255,255,255,.04);color:#fff;width:44px;height:44px;border-radius:12px;font-size:20px}.hero-modern{width:min(1180px,calc(100% - 40px));margin:0 auto;min-height:680px;display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:60px;padding:70px 0 90px}.hero-label,.portal-kicker,.auth-kicker{display:inline-flex;text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:900;color:#bc9cff}.hero-copy h1{font-size:clamp(44px,6vw,76px);line-height:1.02;letter-spacing:-.055em;margin:18px 0 24px}.hero-copy h1 em{font-style:normal;color:transparent;background:linear-gradient(100deg,#a36cff,#e94bcc);-webkit-background-clip:text;background-clip:text}.hero-copy p{max-width:620px;color:var(--site-muted);font-size:18px;line-height:1.72}.hero-actions,.card-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.site-primary-button,.site-secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:12px;font-weight:800;border:0;cursor:pointer}.site-primary-button{background:linear-gradient(135deg,var(--site-purple),var(--site-purple-2));color:#fff;box-shadow:0 16px 35px rgba(116,71,255,.25)}.site-secondary-button{border:1px solid var(--site-border);background:rgba(255,255,255,.04);color:#fff}.hero-points{display:flex;flex-wrap:wrap;gap:18px;margin-top:34px;color:#bcb7cb;font-size:13px}.hero-points span:before{content:'✓';color:#ad7cff;margin-right:7px}.hero-visual{position:relative;min-height:500px;display:grid;place-items:center}.visual-orbit{position:absolute;border:1px solid rgba(155,105,255,.15);border-radius:50%}.orbit-one{width:460px;height:460px}.orbit-two{width:340px;height:340px}.code-window{position:relative;width:min(500px,92%);border:1px solid rgba(255,255,255,.12);border-radius:24px;background:rgba(14,13,28,.88);box-shadow:0 45px 100px rgba(0,0,0,.5),0 0 70px rgba(116,71,255,.12);overflow:hidden;transform:perspective(1000px) rotateY(-5deg) rotateX(2deg)}.code-top{height:50px;display:flex;align-items:center;gap:7px;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.08);color:#77718b;font-size:12px}.code-top i{width:8px;height:8px;border-radius:50%;background:#5f596d}.code-top span{margin-left:auto}.code-body{padding:35px;display:grid;gap:17px}.code-line{height:8px;border-radius:999px;opacity:.8}.purple{background:#7d55ff}.blue{background:#4c8dff}.pink{background:#df4fd3}.w80{width:80%}.w70{width:70%}.w65{width:65%}.w55{width:55%}.w45{width:45%}.code-block{padding:24px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:rgba(255,255,255,.025);display:grid;gap:8px}.code-block span{color:#7b7390;font-family:monospace}.code-block strong{font-size:22px}.floating-card{position:absolute;padding:15px 18px;border:1px solid var(--site-border);border-radius:16px;background:rgba(23,20,43,.9);box-shadow:0 18px 40px rgba(0,0,0,.35);display:grid;gap:3px}.floating-card b{font-size:22px;color:#a77cff}.floating-card span{font-size:11px;color:var(--site-muted)}.card-speed{left:0;bottom:90px}.card-secure{right:0;top:100px}.why-section{padding:90px max(20px,calc((100% - 1180px)/2));background:rgba(255,255,255,.018);border-top:1px solid rgba(255,255,255,.06)}.section-heading{text-align:center;max-width:720px;margin:0 auto 45px}.section-heading span{color:#ad7cff;font-size:12px;text-transform:uppercase;letter-spacing:.15em;font-weight:900}.section-heading h2{font-size:clamp(30px,4vw,48px);letter-spacing:-.04em;margin:14px 0}.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.why-grid article,.product-card,.license-card,.asset-card,.profile-card,.renew-card{border:1px solid var(--site-border);background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));border-radius:20px;box-shadow:0 24px 55px rgba(0,0,0,.16)}.why-grid article{padding:28px}.why-grid article>div{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:rgba(116,71,255,.13);color:#ad7cff;font-size:20px}.why-grid h3{margin:20px 0 10px}.why-grid p{color:var(--site-muted);line-height:1.65;font-size:14px}.site-footer{width:min(1180px,calc(100% - 40px));margin:0 auto;min-height:90px;display:flex;align-items:center;justify-content:space-between;color:#7e788f;font-size:13px}.home-footer div{display:flex;gap:18px}.portal-main{min-height:calc(100vh - 174px)}.portal-container{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:55px 0 80px}.portal-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px}.portal-heading h1{font-size:44px;letter-spacing:-.04em;margin:9px 0}.portal-heading p{color:var(--site-muted);margin:0}.product-grid,.license-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{overflow:hidden}.product-media{height:190px;background:radial-gradient(circle at 40% 20%,rgba(152,92,255,.35),transparent 45%),#131025;display:grid;place-items:center}.product-media img{width:100%;height:100%;object-fit:cover}.product-media span,.asset-icon span{font-size:42px;font-weight:900;color:#a77cff}.product-content{padding:24px}.product-type{font-size:10px;text-transform:uppercase;letter-spacing:.15em;color:#9a75ff}.product-content h2{margin:10px 0}.product-content p{color:var(--site-muted);line-height:1.6;min-height:76px}.product-content small{display:block;color:#817a92;margin-bottom:18px}.license-card{padding:24px}.license-card-top{display:grid;gap:16px}.license-card-top h2{margin:12px 0 0}.license-status{display:inline-flex;width:max-content;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:900}.status-active{background:rgba(50,213,131,.14);color:#58e6a3}.status-expired,.status-blocked,.status-cancelled{background:rgba(255,93,108,.13);color:#ff7f8b}.status-pending,.status-suspended{background:rgba(255,190,70,.12);color:#ffc85f}.license-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#fff;font-size:13px}.license-code.green{color:#58e6a3}.license-code.red{color:#ff6b78}.license-meta,.asset-details{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:24px}.license-meta div,.asset-details div{padding:14px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(0,0,0,.12);display:grid;gap:5px}.license-meta small,.asset-details small,.renew-license small{color:#898397;font-size:11px}.asset-grid{display:grid;gap:16px}.asset-card{padding:22px;display:grid;grid-template-columns:90px 1fr;gap:22px}.asset-icon{width:90px;height:90px;border-radius:18px;background:#151126;display:grid;place-items:center;overflow:hidden}.asset-icon img{width:100%;height:100%;object-fit:cover}.asset-title{display:flex;align-items:center;justify-content:space-between;gap:15px}.asset-title h2{margin:0}.asset-details{grid-template-columns:repeat(4,1fr)}.profile-card,.renew-card{padding:28px;max-width:850px}.profile-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.profile-form label,.site-auth-card label{display:grid;gap:8px;color:#d8d3e3;font-weight:700;font-size:13px}.profile-form input,.site-auth-card input{width:100%;height:48px;border:1px solid var(--site-border);border-radius:11px;background:rgba(255,255,255,.04);color:#fff;padding:0 14px;outline:none}.profile-form input:focus,.site-auth-card input:focus{border-color:#8e62ff;box-shadow:0 0 0 3px rgba(116,71,255,.12)}.profile-form .full{grid-column:1/-1}.profile-form small{color:#7f798e;font-weight:400}.renew-license{display:grid;gap:6px;margin-bottom:24px}.renew-license strong{font-family:monospace;color:#ad8aff}.plan-options{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:22px}.plan-options label input{display:none}.plan-options label span{display:grid;place-items:center;text-align:center;min-height:70px;border:1px solid var(--site-border);border-radius:12px;background:rgba(255,255,255,.03);cursor:pointer;font-weight:800}.plan-options label input:checked+span{border-color:#8f62ff;background:rgba(116,71,255,.15);color:#c9afff}.portal-empty{grid-column:1/-1;padding:50px;text-align:center;border:1px dashed var(--site-border);border-radius:18px;color:var(--site-muted)}.site-alert{padding:13px 15px;border-radius:11px;margin-bottom:18px}.site-alert.success{background:rgba(50,213,131,.13);color:#62e5aa}.site-alert.error{background:rgba(255,93,108,.13);color:#ff8590}.site-auth-body{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 20% 10%,rgba(116,71,255,.25),transparent 35%),radial-gradient(circle at 90% 80%,rgba(230,78,214,.13),transparent 35%),#090812;position:relative;overflow-x:hidden}.auth-glow{position:fixed;border-radius:50%;filter:blur(40px);opacity:.4}.auth-glow-a{width:280px;height:280px;background:#6234ff;left:-80px;top:-70px}.auth-glow-b{width:330px;height:330px;background:#b035a4;right:-120px;bottom:-120px}.site-auth-card{position:relative;z-index:2;width:min(440px,100%);display:grid;gap:16px;padding:38px;border:1px solid var(--site-border);border-radius:24px;background:rgba(17,15,33,.88);box-shadow:0 40px 100px rgba(0,0,0,.45);backdrop-filter:blur(20px)}.auth-brand{display:flex;justify-content:center;margin-bottom:6px}.site-auth-card h1{font-size:38px;letter-spacing:-.04em;margin:0}.site-auth-card>p{color:var(--site-muted);margin:0 0 8px}.auth-foot{text-align:center;color:#8f899c;font-size:13px}.auth-foot a{color:#b999ff;font-weight:800}@media(max-width:980px){.hero-modern{grid-template-columns:1fr;padding-top:60px}.hero-copy{text-align:center}.hero-copy p{margin-left:auto;margin-right:auto}.hero-actions,.hero-points{justify-content:center}.hero-visual{min-height:430px}.why-grid{grid-template-columns:1fr 1fr}.product-grid,.license-grid{grid-template-columns:1fr 1fr}.asset-details{grid-template-columns:1fr 1fr}.plan-options{grid-template-columns:1fr 1fr}}@media(max-width:720px){.site-header{height:72px}.site-brand img{max-width:170px;height:48px}.site-menu-toggle{display:block}.site-nav{display:none;position:absolute;top:68px;left:0;right:0;padding:12px;background:#131122;border:1px solid var(--site-border);border-radius:14px;box-shadow:0 20px 45px rgba(0,0,0,.4);align-items:stretch;flex-direction:column}.site-nav.open{display:flex}.site-nav a{text-align:center}.hero-modern{width:min(100% - 28px,1180px);gap:25px;min-height:auto;padding:65px 0}.hero-copy h1{font-size:45px}.hero-copy p{font-size:16px}.hero-visual{min-height:360px}.orbit-one{width:330px;height:330px}.orbit-two{width:260px;height:260px}.floating-card{display:none}.why-section{padding:65px 16px}.why-grid,.product-grid,.license-grid{grid-template-columns:1fr}.site-footer{padding:25px 0;flex-direction:column;gap:15px}.portal-container{width:min(100% - 28px,1180px);padding-top:38px}.portal-heading h1{font-size:36px}.asset-card{grid-template-columns:1fr}.asset-icon{width:72px;height:72px}.asset-details,.profile-form{grid-template-columns:1fr}.profile-form .full{grid-column:auto}.plan-options{grid-template-columns:1fr}.site-auth-card{padding:28px 22px}.code-body{padding:24px}.code-window{transform:none}}
/* O tema selecionado no admin é aplicado também à página pública e à área do cliente. */
.theme-light{--site-bg:#f5f6fb;--site-bg-2:#fff;--site-panel:#fff;--site-border:rgba(25,24,42,.12);--site-text:#19172a;--site-muted:#6d687b;background:radial-gradient(circle at 78% 16%,rgba(116,71,255,.12),transparent 32%),#f5f6fb;color:var(--site-text)}.theme-light .site-header{border-color:rgba(25,24,42,.09)}.theme-light .site-nav a{color:#6d687b}.theme-light .site-nav a:hover,.theme-light .site-nav a.active{color:#19172a;background:rgba(25,24,42,.05)}.theme-light .code-window,.theme-light .floating-card,.theme-light .site-auth-card{background:rgba(255,255,255,.9);color:#19172a;box-shadow:0 35px 80px rgba(55,45,100,.14)}.theme-light .why-section{background:rgba(116,71,255,.025);border-color:rgba(25,24,42,.08)}.theme-light .why-grid article,.theme-light .product-card,.theme-light .license-card,.theme-light .asset-card,.theme-light .profile-card,.theme-light .renew-card{background:#fff;box-shadow:0 20px 45px rgba(55,45,100,.08)}.theme-light .site-secondary-button{color:#29263a;background:#fff}.theme-light .product-media,.theme-light .asset-icon{background:#f0edff}.theme-light .license-code{color:#29263a}.theme-light .profile-form input,.theme-light .site-auth-card input{background:#fff;color:#19172a}.theme-light .site-auth-card label{color:#343044}.theme-light .code-block{background:rgba(116,71,255,.035)}.theme-light .site-menu-toggle{color:#19172a;background:#fff}.theme-light .site-nav.open{background:#fff}

.product-detail-hero{display:flex;gap:28px;align-items:center;padding:34px;border:1px solid var(--site-border);border-radius:24px;background:var(--site-card);margin-bottom:24px}.product-detail-logo{width:150px;height:150px;border-radius:22px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:rgba(255,255,255,.05);flex:0 0 auto}.product-detail-logo img{width:100%;height:100%;object-fit:contain}.product-detail-hero h1{font-size:clamp(32px,5vw,56px);margin:7px 0}.product-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-bottom:24px}.gallery-item{border:1px solid var(--site-border);border-radius:18px;padding:0;overflow:hidden;background:var(--site-card);cursor:pointer}.gallery-item img{width:100%;height:210px;object-fit:cover;display:block;transition:.25s}.gallery-item:hover img{transform:scale(1.035)}.product-description-card{padding:30px;border:1px solid var(--site-border);border-radius:24px;background:var(--site-card)}.product-description-card .site-primary-button{margin-top:24px}.gallery-lightbox{position:fixed;inset:0;background:rgba(0,0,0,.88);display:none;align-items:center;justify-content:center;z-index:9999;padding:30px}.gallery-lightbox.open{display:flex}.gallery-lightbox img{max-width:92vw;max-height:86vh;border-radius:16px}.gallery-lightbox button{position:absolute;top:20px;right:25px;font-size:38px;background:none;color:#fff;border:0;cursor:pointer}.site-disabled-button{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:12px;background:rgba(255,255,255,.07);color:var(--site-muted)}.payment-method-box{display:block;margin:22px 0}.payment-method-box select{width:100%;padding:14px;border-radius:12px}.plan-options label span small{display:block;margin-top:6px}.pix-result{margin-top:28px;padding:24px;border-radius:20px;border:1px solid var(--site-border);background:rgba(255,255,255,.04);display:grid;gap:16px}.pix-result img{width:220px;max-width:100%;background:#fff;padding:10px;border-radius:14px}.pix-result textarea{width:100%;min-height:100px;margin-top:8px}.upload-preview.product-upload-preview{width:120px;height:120px;object-fit:contain;border-radius:14px;background:#fff;padding:8px}.gallery-preview-admin{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.gallery-preview-admin img{width:76px;height:76px;object-fit:cover;border-radius:10px}.file-current{display:block;margin-bottom:8px}@media(max-width:700px){.product-detail-hero{flex-direction:column;align-items:flex-start}.product-detail-logo{width:110px;height:110px}}
.catalog-plan-list{display:grid;gap:8px;margin:0 0 18px}.catalog-plan-list div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--site-border);border-radius:10px;background:rgba(255,255,255,.025);font-size:13px}.catalog-plan-list span{color:var(--site-muted)}.pix-modal{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;padding:20px}.pix-modal.open{display:flex}.pix-modal-backdrop{position:absolute;inset:0;background:rgba(4,3,10,.82);backdrop-filter:blur(8px)}.pix-modal-card{position:relative;z-index:1;width:min(470px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:32px;border:1px solid rgba(170,130,255,.32);border-radius:24px;background:linear-gradient(145deg,#171329,#0f0d1b);box-shadow:0 40px 100px rgba(0,0,0,.6);display:grid;gap:16px;text-align:center}.pix-modal-card h2{margin:0;font-size:30px}.pix-modal-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.07);color:#fff;font-size:26px;cursor:pointer}.pix-amount{font-size:28px;color:#b999ff}.pix-qr{width:250px;max-width:100%;margin:auto;padding:12px;background:#fff;border-radius:16px}.pix-copy-label{display:grid;gap:8px;text-align:left;color:#d8d3e3;font-size:13px;font-weight:700}.pix-copy-label textarea{width:100%;min-height:92px;resize:none;padding:12px;border:1px solid var(--site-border);border-radius:12px;background:rgba(255,255,255,.04);color:#fff}.pix-note{color:var(--site-muted);line-height:1.5}

.license-code.yellow{color:#facc15}.product-plans-section{margin-top:24px;padding:30px;border:1px solid var(--site-border);border-radius:24px;background:var(--site-card)}.portal-heading.compact{margin-bottom:20px}.portal-heading.compact h2{font-size:clamp(28px,4vw,42px);margin:6px 0}.product-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px}.product-plan-card{display:grid;gap:14px;padding:20px;border:1px solid var(--site-border);border-radius:16px;background:rgba(255,255,255,.025)}.product-plan-card span{color:var(--site-muted);font-weight:700}.product-plan-card strong{font-size:25px}.product-plan-card .site-primary-button{width:100%}@media(max-width:720px){.product-plans-section{padding:20px}.product-plan-grid{grid-template-columns:1fr}}

.client-portal-body{display:block}.client-sidebar{position:fixed;left:0;top:0;bottom:0;width:235px;padding:28px 16px;background:linear-gradient(180deg,#5b2bd6,#26115d);z-index:80;color:#fff}.client-user-top{display:grid;justify-items:center;gap:10px;padding-bottom:26px;border-bottom:1px solid rgba(255,255,255,.15)}.client-user-avatar{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18);font-size:24px;font-weight:900}.client-sidebar nav{display:grid;gap:8px;margin-top:22px}.client-sidebar nav a{padding:13px 15px;border-radius:12px;color:#e9e1ff;font-weight:800}.client-sidebar nav a.active,.client-sidebar nav a:hover{background:rgba(255,255,255,.16);color:#fff}.client-portal-shell{margin-left:235px;min-height:100vh;display:flex;flex-direction:column}.client-topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid var(--site-border);background:rgba(12,9,25,.86);backdrop-filter:blur(16px);position:sticky;top:0;z-index:70}.client-top-logo img{max-width:180px;max-height:48px}.client-topbar nav{display:flex;gap:10px}.client-topbar nav a{width:42px;height:42px;border:1px solid var(--site-border);border-radius:50%;display:grid;place-items:center}.client-sidebar-toggle{display:none;background:none;border:0;color:#fff;font-size:25px}.client-footer{justify-content:center;text-align:center;margin-top:auto}.client-home-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.client-home-grid a{display:grid;gap:8px;padding:25px;border:1px solid var(--site-border);border-radius:18px;background:var(--site-card)}.client-home-grid strong{font-size:24px}.client-home-grid span{color:var(--site-muted)}@media(max-width:820px){.client-sidebar{transform:translateX(-100%);transition:.25s}.client-sidebar.open{transform:none}.client-portal-shell{margin-left:0}.client-sidebar-toggle{display:block}.client-home-grid{grid-template-columns:1fr}.client-topbar{padding:0 14px}}

/* ===== Área do cliente V5 ===== */
.client-portal-body{--client-sidebar-open:252px;--client-sidebar-closed:82px;--client-topbar-height:72px;overflow-x:hidden;background:radial-gradient(circle at 72% 15%,rgba(116,71,255,.15),transparent 30%),linear-gradient(145deg,var(--site-bg),#0d0c19 58%,#151025)}
.client-sidebar{position:fixed;inset:0 auto 0 0;width:var(--client-sidebar-open);padding:18px 14px 16px;display:flex;flex-direction:column;background:linear-gradient(180deg,rgba(39,22,82,.98),rgba(18,12,39,.99));border-right:1px solid rgba(157,112,255,.18);box-shadow:20px 0 55px rgba(0,0,0,.22);transition:width .24s ease,transform .24s ease;z-index:100;color:#fff;overflow:hidden}
.client-brand-zone{height:66px;display:flex;align-items:center;justify-content:center;padding:0 7px;border-bottom:1px solid rgba(255,255,255,.09)}
.client-brand-open,.client-brand-closed{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.client-brand-open img{max-width:185px;max-height:50px;object-fit:contain}.client-brand-open strong{font-size:22px}.client-brand-closed{display:none}.client-brand-closed img{width:42px;height:42px;object-fit:contain;border-radius:12px}.client-brand-closed span{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,var(--site-purple),var(--site-purple-2));font-size:20px;font-weight:900}
.client-user-top{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:22px 10px;border-bottom:1px solid rgba(255,255,255,.09);min-height:84px}.client-user-avatar{flex:0 0 42px;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,var(--site-purple),var(--site-purple-2));box-shadow:0 10px 24px rgba(116,71,255,.25);font-size:17px;font-weight:900}.client-user-top strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.client-nav{display:grid;gap:7px;margin-top:18px}.client-nav a{display:flex;align-items:center;gap:13px;min-height:48px;padding:0 14px;border-radius:13px;color:#bbb4cb;font-weight:800;transition:background .18s,color .18s,transform .18s}.client-nav a:hover{background:rgba(255,255,255,.06);color:#fff;transform:translateX(2px)}.client-nav a.active{color:#fff;background:linear-gradient(135deg,rgba(116,71,255,.34),rgba(160,92,255,.20));box-shadow:inset 3px 0 0 #a66dff}.client-nav-icon{flex:0 0 23px;width:23px;height:23px;display:grid;place-items:center}.client-nav-icon svg,.client-top-actions svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.client-nav-label{white-space:nowrap}
.client-sidebar-footer{margin-top:auto;padding:18px 8px 4px;text-align:center;color:#817991;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.client-sidebar-footer span{color:#b7afc6}
.client-portal-shell{margin-left:var(--client-sidebar-open);min-height:100vh;display:flex;flex-direction:column;transition:margin-left .24s ease}.client-topbar{height:var(--client-topbar-height);display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid var(--site-border);background:rgba(10,8,21,.78);backdrop-filter:blur(18px);position:sticky;top:0;z-index:90}.client-sidebar-toggle{width:44px;height:44px;border:1px solid var(--site-border);border-radius:13px;background:rgba(255,255,255,.045);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer}.client-sidebar-toggle span{display:block;width:20px;height:2px;border-radius:999px;background:#fff;transition:.2s}.client-top-actions{display:flex;gap:9px}.client-top-actions a{width:42px;height:42px;border:1px solid var(--site-border);border-radius:13px;display:grid;place-items:center;color:#d8d2e5;background:rgba(255,255,255,.035);transition:.18s}.client-top-actions a:hover{color:#fff;border-color:rgba(159,111,255,.5);background:rgba(116,71,255,.12);transform:translateY(-1px)}
.client-portal-body.client-sidebar-collapsed .client-sidebar{width:var(--client-sidebar-closed)}.client-portal-body.client-sidebar-collapsed .client-portal-shell{margin-left:var(--client-sidebar-closed)}.client-portal-body.client-sidebar-collapsed .client-brand-open,.client-portal-body.client-sidebar-collapsed .client-user-top strong,.client-portal-body.client-sidebar-collapsed .client-nav-label,.client-portal-body.client-sidebar-collapsed .client-sidebar-footer span{display:none}.client-portal-body.client-sidebar-collapsed .client-brand-closed{display:flex}.client-portal-body.client-sidebar-collapsed .client-user-top{justify-content:center;padding-left:0;padding-right:0}.client-portal-body.client-sidebar-collapsed .client-nav a{justify-content:center;padding:0}.client-portal-body.client-sidebar-collapsed .client-nav a:hover{transform:none}.client-portal-body.client-sidebar-collapsed .client-sidebar-footer{font-size:0}.client-portal-body.client-sidebar-collapsed .client-sidebar-footer:before{content:'©';font-size:13px}
.client-mobile-overlay{display:none;position:fixed;inset:0;background:rgba(4,3,10,.62);backdrop-filter:blur(3px);z-index:95}.portal-main{flex:1;min-width:0}.portal-container{width:min(1180px,calc(100% - 42px));padding:34px 0 58px;margin:0 auto}.client-content-grid{padding-top:4px}.client-footer{justify-content:center;text-align:center;width:100%;padding:22px 16px;color:#878093;border-top:1px solid rgba(255,255,255,.06);font-size:13px}
.copy-license-modern{min-height:38px;padding:0 14px;border:1px solid rgba(159,111,255,.35);border-radius:10px;background:linear-gradient(135deg,rgba(116,71,255,.17),rgba(160,92,255,.10));color:#dcd3ff;font-weight:800;cursor:pointer;transition:.18s;white-space:nowrap}.copy-license-modern:hover{transform:translateY(-1px);border-color:#9d6dff;color:#fff;box-shadow:0 10px 22px rgba(116,71,255,.18)}.copy-license-modern.copied{color:#b9f6d4;border-color:rgba(50,213,131,.45);background:rgba(50,213,131,.11)}.license-copy-wrap{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.theme-light .client-sidebar{background:linear-gradient(180deg,#eee9ff,#fff);color:#241d38;border-color:rgba(88,53,180,.14)}.theme-light .client-nav a{color:#756d86}.theme-light .client-nav a.active{color:#34255c;background:linear-gradient(135deg,rgba(116,71,255,.14),rgba(160,92,255,.08))}.theme-light .client-topbar{background:rgba(255,255,255,.82)}.theme-light .client-sidebar-toggle span{background:#29243a}.theme-light .client-top-actions a{color:#423b52;background:#fff}.theme-light .client-user-top,.theme-light .client-brand-zone{border-color:rgba(25,24,42,.08)}
@media(max-width:820px){.client-sidebar{width:252px;transform:translateX(-100%)}.client-portal-shell,.client-portal-body.client-sidebar-collapsed .client-portal-shell{margin-left:0}.client-portal-body.client-sidebar-mobile-open .client-sidebar{transform:translateX(0);width:252px}.client-portal-body.client-sidebar-mobile-open .client-mobile-overlay{display:block}.client-portal-body.client-sidebar-collapsed .client-brand-open{display:flex}.client-portal-body.client-sidebar-collapsed .client-brand-closed{display:none}.client-portal-body.client-sidebar-collapsed .client-user-top strong,.client-portal-body.client-sidebar-collapsed .client-nav-label,.client-portal-body.client-sidebar-collapsed .client-sidebar-footer span{display:inline}.client-portal-body.client-sidebar-collapsed .client-user-top{justify-content:flex-start;padding:22px 10px}.client-portal-body.client-sidebar-collapsed .client-nav a{justify-content:flex-start;padding:0 14px}.client-portal-body.client-sidebar-collapsed .client-sidebar-footer{font-size:12px}.client-portal-body.client-sidebar-collapsed .client-sidebar-footer:before{content:none}.client-topbar{padding:0 14px}.portal-container{width:min(100% - 28px,1180px);padding-top:24px}.client-home-grid{grid-template-columns:1fr}.product-grid,.asset-grid{grid-template-columns:1fr}.asset-card{padding:18px}.license-copy-wrap{align-items:stretch}.license-code{word-break:break-all}.copy-license-modern{width:100%}}


/* UPspeed V5 client portal — transparent sidebar/topbar and calm animated background */
.client-portal-body{
    position:relative;
    isolation:isolate;
    min-height:100vh;
    overflow-x:hidden;
    background:
        radial-gradient(circle at 76% 18%,rgba(116,71,255,.18),transparent 34%),
        radial-gradient(circle at 28% 88%,rgba(93,48,205,.13),transparent 38%),
        linear-gradient(145deg,#090812 0%,#0d0a1b 48%,#17102c 100%);
}
.client-portal-body::before{
    content:"";
    position:fixed;
    inset:-12% -10%;
    z-index:-2;
    pointer-events:none;
    opacity:.48;
    background:
        repeating-linear-gradient(90deg,transparent 0,transparent 72px,rgba(194,169,255,.055) 73px,transparent 74px),
        linear-gradient(110deg,transparent 18%,rgba(116,71,255,.11) 42%,transparent 68%);
    transform:translate3d(-2%,0,0);
    animation:clientAmbientLines 34s ease-in-out infinite alternate;
    will-change:transform,opacity;
}
.client-portal-body::after{
    content:"";
    position:fixed;
    inset:-28%;
    z-index:-3;
    pointer-events:none;
    background:radial-gradient(ellipse at center,rgba(126,73,255,.14),transparent 58%);
    animation:clientAmbientGlow 42s ease-in-out infinite alternate;
    will-change:transform,opacity;
}
@keyframes clientAmbientLines{
    0%{transform:translate3d(-2%,0,0) scale(1);opacity:.34}
    50%{transform:translate3d(2%,-1%,0) scale(1.025);opacity:.52}
    100%{transform:translate3d(5%,1%,0) scale(1.01);opacity:.38}
}
@keyframes clientAmbientGlow{
    0%{transform:translate3d(-2%,-1%,0) scale(.98);opacity:.55}
    100%{transform:translate3d(3%,2%,0) scale(1.05);opacity:.82}
}
.client-sidebar{
    background:linear-gradient(180deg,rgba(39,22,82,0),rgba(18,12,39,0));
    border-right:1px solid rgba(157,112,255,.18);
    box-shadow:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}
.client-brand-zone{
    border-bottom:1px solid rgba(255,255,255,.075);
}
.client-nav{
    margin-top:18px;
}
.client-nav a,
.client-sidebar nav a{
    border:1px solid transparent;
    background:transparent;
}
.client-sidebar nav a.active,
.client-sidebar nav a:hover,
.client-nav a.active,
.client-nav a:hover{
    background:rgb(255 255 255 / 9%);
    color:#fff;
    border-color:rgba(255,255,255,.035);
    box-shadow:none;
}
.client-nav a.active{
    box-shadow:inset 3px 0 0 #a66dff;
}
.client-topbar{
    background:rgb(10 8 21 / 0%);
    border-bottom:1px solid rgba(157,112,255,.16);
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
}
.client-sidebar-toggle,
.client-top-actions a{
    background:rgba(255,255,255,.025);
    border-color:rgba(255,255,255,.10);
}
.client-sidebar-toggle:hover,
.client-top-actions a:hover{
    background:rgb(255 255 255 / 9%);
}
.client-portal-body.client-sidebar-collapsed .client-brand-open,
.client-portal-body.client-sidebar-collapsed .client-nav-label{
    display:none;
}
.client-portal-body.client-sidebar-collapsed .client-brand-closed{
    display:flex;
}
.client-portal-body.client-sidebar-collapsed .client-nav a{
    justify-content:center;
    padding:0;
}
.client-footer{
    background:transparent;
    border-top:1px solid rgba(157,112,255,.12);
}
.theme-light.client-portal-body{
    background:linear-gradient(145deg,#f8f6ff,#eeebfa 55%,#e7e0ff);
}
.theme-light .client-sidebar,
.theme-light .client-topbar{
    background:transparent;
}
@media (prefers-reduced-motion:reduce){
    .client-portal-body::before,
    .client-portal-body::after{animation:none}
}

/* Ajustes finais UPspeed */
.home-footer{justify-content:center;text-align:center}.license-logs-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}


/* Menu móvel do cliente: fundo ofuscado até navegar ou clicar fora. */
@media(max-width:820px){
    .client-portal-body.client-sidebar-mobile-open{overflow:hidden}
    .client-portal-body.client-sidebar-mobile-open .client-mobile-overlay{display:block}
    .client-portal-body.client-mobile-navigating .client-mobile-overlay{display:block;pointer-events:none}
    .client-mobile-overlay{background:rgba(4,3,10,.66);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
}

.update-button{box-shadow:0 0 0 1px rgba(255,255,255,.08),0 10px 30px rgba(127,0,255,.28)}.update-changelog{color:inherit}.update-changelog summary{color:#b889ff}

/* Renovação moderna */
.renew-page-modern{display:grid;gap:22px}.renew-hero-card{display:flex;align-items:center;gap:20px;padding:25px 28px;border:1px solid var(--site-border);border-radius:22px;background:linear-gradient(135deg,rgba(116,71,255,.16),rgba(255,255,255,.025));box-shadow:0 24px 60px rgba(0,0,0,.18)}.renew-hero-icon{width:62px;height:62px;flex:0 0 62px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,var(--site-purple),var(--site-purple-2));box-shadow:0 14px 34px rgba(116,71,255,.32)}.renew-hero-icon svg{width:28px;height:28px;fill:#fff}.renew-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.16em;font-weight:900;color:#b995ff}.renew-hero-card h1{margin:6px 0 6px;font-size:clamp(28px,4vw,42px)}.renew-hero-card p{margin:0;color:var(--site-muted);line-height:1.6}.renew-layout-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr);gap:20px;align-items:start}.renew-plans-card{max-width:none}.renew-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.renew-section-heading>div{display:flex;align-items:center;gap:10px}.renew-section-heading>div>span{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:rgba(116,71,255,.18);color:#c9b4ff;font-weight:900}.renew-section-heading strong{font-size:17px}.renew-section-heading code{padding:7px 10px;border:1px solid var(--site-border);border-radius:9px;color:#bca5ff;background:rgba(0,0,0,.16);font-size:12px}.renew-section-heading.compact{margin:0 0 14px}.plan-options-modern{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}.plan-choice span{position:relative;align-content:center;min-height:108px!important;padding:16px!important;gap:7px;transition:.22s ease}.plan-choice span i{position:absolute;top:10px;right:10px;width:17px;height:17px;border:1px solid rgba(255,255,255,.3);border-radius:50%}.plan-choice input:checked+span{transform:translateY(-2px);box-shadow:0 14px 35px rgba(116,71,255,.16)}.plan-choice input:checked+span i{border:5px solid #a982ff;background:#fff}.plan-choice span b{font-size:15px}.plan-choice span small{font-size:20px;color:#fff}.renew-payment-panel{margin:22px 0;padding:18px;border:1px solid var(--site-border);border-radius:16px;background:rgba(255,255,255,.025)}.gateway-option{display:flex;align-items:center;gap:14px;padding:15px;border:1px solid rgba(255,255,255,.09);border-radius:14px;background:rgba(0,0,0,.14);cursor:pointer}.gateway-option input{position:absolute;opacity:0;pointer-events:none}.gateway-option-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#00bfa5;color:#071513;font-weight:1000;font-size:12px}.gateway-option-copy{display:grid;gap:4px;flex:1}.gateway-option-copy small{color:var(--site-muted)}.gateway-option>i{width:19px;height:19px;border-radius:50%;border:5px solid #9b76ff;background:#fff}.renew-submit-button{width:100%;justify-content:space-between;padding:0 22px}.renew-submit-button span{font-size:22px}.renew-summary-card{position:sticky;top:98px;padding:24px;border:1px solid var(--site-border);border-radius:20px;background:rgba(15,13,29,.72);backdrop-filter:blur(18px);box-shadow:0 22px 55px rgba(0,0,0,.18)}.renew-summary-label{display:block;margin-bottom:18px;color:#a986ff;text-transform:uppercase;letter-spacing:.15em;font-size:11px;font-weight:900}.renew-summary-row{display:grid;gap:6px;padding:13px 0;border-bottom:1px solid rgba(255,255,255,.07)}.renew-summary-row small{color:var(--site-muted)}.renew-summary-row code{color:#cbb8ff;word-break:break-all}.renew-summary-card p{margin:18px 0 0;color:var(--site-muted);font-size:12px;line-height:1.6}.renew-status{width:max-content;padding:5px 9px;border-radius:999px;font-size:11px}.renew-status-active{background:#00ff58;color:#000}.renew-status-expired{background:#fff900;color:#000}.renew-status-suspended,.renew-status-blocked{background:#ff0000;color:#000}.license-code.green{color:#00ff58!important}.license-code.yellow{color:#fff900!important}.license-code.red{color:#ff3b3b!important}.theme-light .renew-summary-card,.theme-light .renew-payment-panel,.theme-light .gateway-option{background:#fff}.theme-light .plan-choice span small{color:#19172a}@media(max-width:900px){.renew-layout-grid{grid-template-columns:1fr}.renew-summary-card{position:static}.plan-options-modern{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.renew-hero-card{align-items:flex-start;padding:20px}.renew-hero-icon{width:50px;height:50px;flex-basis:50px}.renew-card{padding:20px}.plan-options-modern{grid-template-columns:1fr}.renew-section-heading{align-items:flex-start;flex-direction:column}.gateway-option{align-items:flex-start}.renew-summary-card{padding:20px}}

.card-actions form{display:inline-flex;margin:0}.reset-admin-button{cursor:pointer;border:1px solid var(--site-border);font:inherit}
