/* VENTIX PLAYER V0.4 — Premium UI. Camada visual sem mudanças de regras de negócio. */
:root{--vp-premium-bg:#070e1e;--vp-premium-surface:#121e33;--vp-premium-raised:#192943;--vp-premium-line:rgba(132,188,231,.15);--vp-premium-muted:#a2b8d3;--vp-premium-cyan:#3fd6f5;--vp-premium-blue:#4786ff;color-scheme:dark}
body.ventix-premium{background:radial-gradient(ellipse 56% 36% at 12% -8%,rgba(26,98,176,.21),transparent 75%),radial-gradient(ellipse 34% 31% at 100% 5%,rgba(43,52,160,.12),transparent 75%),#080f1f;color:#edf6ff;min-height:100vh}
body.ventix-premium :is(a,button,input,select,textarea):focus-visible{outline:2px solid #5addff;outline-offset:3px}
body.ventix-premium a{transition:color .18s ease,border-color .18s ease,background .18s ease}
body.ventix-premium :is(button,.btn){transition:filter .18s ease,transform .18s ease,box-shadow .18s ease}
body.ventix-premium :is(button,.btn):hover:not(:disabled){filter:brightness(1.06)}
body.ventix-premium :is(.mark,.ident-symbol).brand-icon{padding:0;overflow:hidden;background:#061429;border:1px solid rgba(69,188,255,.4);display:grid;place-items:center;box-shadow:0 0 19px rgba(31,132,254,.24);flex-shrink:0}
body.ventix-premium .brand-icon img{width:100%;height:100%;display:block;object-fit:contain}
/* Público, portal e módulos comerciais: preserva IDs, forms e scripts existentes. */
body.ventix-premium:not(.dashboard-screen):not(.login-screen) .shell{max-width:1400px;margin:auto;padding:20px clamp(18px,3.7vw,57px) 55px}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) .top{min-height:79px;margin:0 0 35px;padding:12px 0 22px;border-bottom:1px solid rgba(180,217,254,.1)}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) .brand{letter-spacing:.035em;gap:13px;font-size:20px}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) .mark.brand-icon{width:53px;height:53px;border-radius:15px}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) .links{gap:11px;display:flex;align-items:center;flex-wrap:wrap}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) .links a{color:#b7cbe4;font-size:13px;font-weight:700;padding:9px 12px;border-radius:11px}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) .links a:hover{background:#142b45;color:#67dfff}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) :is(.panel,.tile,.plan-card){background:linear-gradient(148deg,rgba(24,43,69,.96),rgba(13,25,45,.99));border:1px solid var(--vp-premium-line);box-shadow:0 18px 45px rgba(1,6,19,.21);border-radius:21px}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) .panel{padding:clamp(19px,2.5vw,28px)}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) .panel h2{letter-spacing:-.035em}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) :is(.muted,.hint){color:var(--vp-premium-muted)}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) :is(.btn,.form button[type=submit]){background:linear-gradient(115deg,#1eaff5,#4a79ff);color:#fff;font-weight:800;border-radius:12px;box-shadow:0 10px 30px rgba(26,106,240,.16)}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) .btn.secondary{background:#172943;color:#c6e2ff;border:1px solid #7399cf33;box-shadow:none}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) :is(.form input,.form select,.form textarea){background:rgba(6,14,30,.65);border:1px solid rgba(138,188,231,.24);border-radius:12px;color:#f5faff;min-height:46px}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) :is(.form input,.form select,.form textarea):focus{border-color:#35cbed;box-shadow:0 0 0 3px #38c5ee22;outline:0}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) .chip{border:1px solid #2ed0ed55;border-radius:30px;background:#1abbd51c;color:#88edff;font-size:11px;letter-spacing:.08em;font-weight:800}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) .intro{max-width:860px;margin:34px 0 27px}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) .intro h1{font-size:clamp(36px,5vw,62px);letter-spacing:-.055em;line-height:1.05}
body.ventix-premium:not(.dashboard-screen):not(.login-screen) .hero{grid-template-columns:minmax(0,1.26fr) minmax(300px,.78fr);gap:20px;align-items:stretch;margin-top:24px}
body.ventix-premium .hero .hero-card{min-height:440px;background:radial-gradient(circle at 68% 52%,#144c83 0%,#102a55 35%,#0a1833 76%);border:1px solid #327dcc4a;border-radius:25px;box-shadow:0 30px 70px #03071075}
body.ventix-premium .hero .hero-art{width:min(54%,330px);height:auto;object-fit:contain;inset:auto 1% 9% auto;filter:drop-shadow(0 0 42px #1a83e955);opacity:.97}
body.ventix-premium .hero .hero-card:after{background:linear-gradient(90deg,#071325 0%,#081b35b8 63%,transparent 100%);opacity:.5;pointer-events:none}
body.ventix-premium .hero .hero-copy{max-width:650px;padding:clamp(27px,4vw,54px);position:relative;z-index:2}
body.ventix-premium .hero h1{font-size:clamp(39px,4.1vw,65px);line-height:1.07;letter-spacing:-.048em;max-width:560px;text-wrap:balance;text-shadow:0 4px 25px #0005}
body.ventix-premium .hero .hero-copy p{max-width:480px;line-height:1.76}
body.ventix-premium .hero .panel{background:linear-gradient(145deg,#192b46,#0d1a2d)}
body.ventix-premium .grid .tile{padding:22px;min-height:146px}
body.ventix-premium .grid .tile:hover{transform:translateY(-3px);border-color:#48a9ee80;box-shadow:0 20px 50px #02112799}
body.ventix-premium .grid .tile strong{font-size:16px}
body.ventix-premium .section-title h2{letter-spacing:-.035em}
body.ventix-premium :is(.status,.code-display){border-radius:11px}
body.ventix-premium .legal{color:#a4b6cc;border-top:1px solid #c9e5ff17;margin-top:44px;padding-top:25px}
body.ventix-premium .premium-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 34px}
body.ventix-premium .premium-step{padding:21px 23px;min-width:0;display:flex;flex-direction:column;background:linear-gradient(145deg,#11263f,#0d192c);border:1px solid #4389b937;border-radius:19px;box-shadow:0 15px 35px #050c1942}
body.ventix-premium .premium-step strong{color:#ebf8ff;font-size:14px}
body.ventix-premium .premium-step p{color:#9bb4cf;font-size:13px;line-height:1.6;flex:1;margin:11px 0 17px}
body.ventix-premium .premium-step span{color:#60d8f8;font-size:12px;font-weight:800}
body.ventix-premium .premium-step:hover{border-color:#4bbdea8a;background:#132b4c}
/* Dashboard autenticado, preservando toda lógica do dashboard-v04.js. */
body.ventix-premium.dashboard-screen .sidebar{background:linear-gradient(170deg,#0c1a31,#0a1325 82%);border-right:1px solid #d6ecff15}
body.ventix-premium.dashboard-screen .sidebar .ident{letter-spacing:.04em;gap:12px}
body.ventix-premium.dashboard-screen .ident-symbol.brand-icon{width:49px;height:49px;border-radius:14px}
body.ventix-premium.dashboard-screen .side-caption{color:#7296be}
body.ventix-premium.dashboard-screen .nav-item{border-radius:13px;transition:background .18s ease,color .18s ease}
body.ventix-premium.dashboard-screen .nav-item:hover{background:#1b395667;color:#e2f7ff}
body.ventix-premium.dashboard-screen .nav-item.selected{background:linear-gradient(95deg,#156db936,#214d8b38);color:#8be7ff;border-color:#44c1ec50}
body.ventix-premium.dashboard-screen .dashboard-top{background:#0d1b30dd;backdrop-filter:blur(10px);border-bottom:1px solid #d6edff16}
body.ventix-premium.dashboard-screen .env-tag{background:#0d394875;color:#7ce7f0;border-color:#2abed44a}
body.ventix-premium.dashboard-screen .page-intro h1{letter-spacing:-.055em}
body.ventix-premium.dashboard-screen :is(.metric-card,.view-panel){background:linear-gradient(148deg,#172943,#101c31);border:1px solid #80c5ff1c;box-shadow:0 16px 38px #0208164a;border-radius:19px}
body.ventix-premium.dashboard-screen .metric-card{position:relative;overflow:hidden}
body.ventix-premium.dashboard-screen .metric-card::before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:2px;background:linear-gradient(90deg,#3c92ef,#27d9ec,transparent);opacity:.82}
body.ventix-premium.dashboard-screen .metric-number{letter-spacing:-.035em}
body.ventix-premium.dashboard-screen .bar{background:linear-gradient(180deg,#38cff2,#3c75eb)}
body.ventix-premium.dashboard-screen .records-table thead{background:#172a43}
body.ventix-premium.dashboard-screen .records-table tbody tr:hover{background:#22426624}
body.ventix-premium.dashboard-screen :is(.table-search,.vp-provider-input){border-radius:11px;border:1px solid #659ace35;background:#08182f;color:#f0faff}
body.ventix-premium.dashboard-screen .page-body{max-width:1480px}
body.ventix-premium.login-screen .login-intro{background:radial-gradient(ellipse at 55% 45%,#1162a82c,transparent 56%)}
body.ventix-premium.login-screen .ident-symbol.brand-icon{width:51px;height:51px;border-radius:14px}
body.ventix-premium.login-screen .login-form-card{border:1px solid #72bafd33;box-shadow:0 36px 100px #0009}
body.ventix-premium.login-screen .primary-action{background:linear-gradient(120deg,#18bafa,#5185ff);color:#06162b}
@media (max-width:1100px){body.ventix-premium .hero .hero-card{min-height:415px}body.ventix-premium .hero .hero-art{width:44%;opacity:.63}body.ventix-premium .hero h1{max-width:500px}}
@media (max-width:900px){body.ventix-premium:not(.dashboard-screen):not(.login-screen) .hero{grid-template-columns:minmax(0,1fr)}body.ventix-premium .premium-steps{grid-template-columns:1fr 1fr}body.ventix-premium:not(.dashboard-screen):not(.login-screen) .top{gap:10px}}
@media (max-width:650px){body.ventix-premium:not(.dashboard-screen):not(.login-screen) .shell{padding:14px 15px 34px}body.ventix-premium:not(.dashboard-screen):not(.login-screen) .top{margin-bottom:20px}body.ventix-premium:not(.dashboard-screen):not(.login-screen) .links a{font-size:11px;padding:8px 9px}body.ventix-premium:not(.dashboard-screen):not(.login-screen) .hero{grid-template-columns:1fr}body.ventix-premium .hero .hero-card{min-height:455px}body.ventix-premium .hero .hero-copy{padding:26px}body.ventix-premium .hero h1{font-size:clamp(35px,10vw,51px);max-width:355px}body.ventix-premium .hero .hero-art{width:40%;right:1%;bottom:5%;opacity:.5}body.ventix-premium .premium-steps{grid-template-columns:1fr}body.ventix-premium .grid{grid-template-columns:1fr}body.ventix-premium :is(.panel,.tile){border-radius:17px}body.ventix-premium .admin-layout{grid-template-columns:1fr}body.ventix-premium .brand{font-size:16px}}
@media (prefers-reduced-motion:reduce){body.ventix-premium *,body.ventix-premium *::before,body.ventix-premium *::after{transition:none!important;animation:none!important}}
