/* CONECT v2.3.1 — apresentação visual do portal (não altera autenticação, rotas ou dados). */
:root{--showcase-line:rgba(41,232,159,.30);--showcase-text:#f5fff9}
#portalView{background:radial-gradient(ellipse at 17% 24%,rgba(9,103,69,.20),transparent 40%),radial-gradient(ellipse at 80% 70%,rgba(0,93,81,.10),transparent 50%)}
#portalView .topbar{min-height:84px;padding:14px clamp(24px,4.2vw,72px);background:rgba(2,17,14,.87);border-bottom-color:rgba(107,231,190,.12)}
#portalView .topbar-brand{gap:14px}#portalView .topbar-brand strong{font-size:1.07rem}#portalView .topbar-brand small{font-size:.78rem}
#portalView .topbar-logo{width:48px;height:48px;filter:drop-shadow(0 0 14px rgba(53,243,163,.25));animation:conect-logo-breathe 5.5s ease-in-out infinite}
#portalView .topbar-actions .secondary-btn,#portalView .network-badge,#portalView .notification-btn{border-color:rgba(119,228,192,.15);border-radius:14px;background:rgba(8,38,31,.55)}
#portalView .portal-main{width:min(1500px,calc(100% - clamp(32px,9vw,146px)));padding:34px 0 30px}
#portalView .hero-card.showcase-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:54% 46%;height:340px;min-height:0;box-sizing:border-box;padding:38px clamp(26px,3.5vw,52px) 30px;border:1px solid rgba(43,233,154,.40);border-radius:26px;overflow:hidden;background:radial-gradient(ellipse at 55% 105%,rgba(7,137,105,.17),transparent 52%),radial-gradient(ellipse at 80% 15%,rgba(6,67,67,.52),transparent 43%),linear-gradient(115deg,#05291f 0%,#053024 37%,#03251e 70%,#06221e 100%);box-shadow:0 26px 70px rgba(0,0,0,.15),inset 0 0 36px rgba(26,171,120,.025)}
.showcase-shine{position:absolute;inset:-60% auto auto -38%;width:50%;height:230%;pointer-events:none;z-index:-1;background:linear-gradient(90deg,transparent,rgba(53,244,179,.038),transparent);transform:rotate(24deg);animation:showcase-shimmer 12s ease-in-out infinite}
.showcase-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle,rgba(99,246,188,.20) 1px,transparent 1.7px);background-size:53px 50px;mask-image:linear-gradient(90deg,transparent 47%,black 100%);opacity:.55}
.showcase-copy{position:relative;z-index:3;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.showcase-copy .eyebrow{font-size:.71rem;color:#45efb4;letter-spacing:.22em}
.showcase-text{height:170px;min-height:0;flex:0 0 170px;max-width:730px;width:100%;display:flex;flex-direction:column;justify-content:center;overflow:visible}
#portalView .hero-card .showcase-text h2{margin:10px 0 8px;font-size:clamp(1.8rem,2.55vw,2.75rem);letter-spacing:-.042em;line-height:1.13;font-weight:800;color:#fff;text-wrap:balance}
#portalView .hero-card .showcase-text h2 span{color:#6ff5ce}
#portalView .hero-card .showcase-text p{font-size:clamp(.96rem,1.15vw,1.22rem);line-height:1.4;color:#d7ece7;margin:0;max-width:610px}
.showcase-benefits{display:flex;align-items:center;width:100%;gap:0;padding-bottom:12px}
.showcase-benefit{flex:1;display:flex;align-items:center;gap:13px;min-width:0;padding:5px 14px;border-right:1px solid rgba(78,214,158,.15)}
.showcase-benefit:first-child{padding-left:0}.showcase-benefit:last-child{border-right:0}
.showcase-benefit-icon{flex:0 0 auto;font-size:1.4rem;color:#2cf2aa;font-weight:850;text-shadow:0 0 16px rgba(54,248,165,.27)}
.showcase-benefit strong,.showcase-benefit small{display:block;font-size:clamp(.75rem,.86vw,.95rem);white-space:normal;line-height:1.27}.showcase-benefit strong{color:#f5fff9}.showcase-benefit small{margin-top:3px;color:#93c0af;font-size:clamp(.7rem,.75vw,.82rem)}
.showcase-controls{display:flex;gap:7px;margin-top:4px}.showcase-controls button{appearance:none;border:0;border-radius:20px;width:7px;height:7px;min-width:7px;padding:0;background:rgba(176,249,219,.30);cursor:pointer;transition:background .2s,width .2s}.showcase-controls button.is-active{width:23px;background:#42eeb0}.showcase-controls button:focus-visible{outline:2px solid white;outline-offset:4px}
.showcase-visual{position:relative;min-width:0;min-height:245px;z-index:2;pointer-events:none}
.showcase-planet{position:absolute;width:112%;height:126%;right:-20%;bottom:-79%;border:1px solid rgba(43,237,178,.20);border-radius:50%;box-shadow:inset 0 8px 42px rgba(9,244,180,.10),0 -10px 36px rgba(3,209,153,.16);background:radial-gradient(ellipse at 60% 6%,rgba(34,242,179,.36),transparent 50%),repeating-linear-gradient(0deg,transparent 0 19px,rgba(35,180,152,.08) 20px,transparent 21px),repeating-linear-gradient(88deg,transparent 0 42px,rgba(20,207,171,.07) 43px,transparent 44px);transform:rotate(-9deg);filter:drop-shadow(0 -9px 20px rgba(36,242,177,.16))}
.showcase-planet:before{content:"";position:absolute;inset:6% 2%;border-radius:50%;border:1px solid rgba(76,245,195,.13)}
.showcase-orbit{position:absolute;border:1px solid rgba(30,239,182,.48);border-radius:50%;left:13%;top:31%;width:85%;height:58%;transform:rotate(-16deg);box-shadow:0 0 28px rgba(18,208,153,.08)}
.showcase-orbit-two{top:14%;left:22%;width:70%;height:72%;transform:rotate(23deg);border-color:rgba(6,214,188,.28)}
.showcase-mark-wrap{position:absolute;z-index:3;left:46%;top:25%;width:104px;height:104px;border:1px solid rgba(78,252,184,.28);border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle,rgba(19,140,100,.3),rgba(1,26,20,.12) 65%,transparent);box-shadow:0 0 44px rgba(21,220,142,.17);animation:showcase-float 5.4s ease-in-out infinite}
.showcase-mark-wrap:after{content:"";position:absolute;inset:-13px;border:1px dashed rgba(67,242,190,.33);border-radius:50%;animation:showcase-rotate 20s linear infinite}
.showcase-mark{width:92%;height:92%;object-fit:contain;filter:drop-shadow(0 0 13px rgba(62,230,145,.32))}
.showcase-app-tile{position:absolute;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:5px;width:96px;min-height:100px;padding:10px 6px;border:1px solid rgba(55,245,181,.35);border-radius:19px;background:linear-gradient(151deg,rgba(22,103,88,.84),rgba(2,35,34,.93));box-shadow:0 17px 26px #0007,0 0 19px rgba(23,238,181,.14),inset 0 1px 0 rgba(204,255,233,.12);backdrop-filter:blur(8px);animation:showcase-float 5.7s ease-in-out infinite}
.showcase-app-icon{display:grid;place-items:center;width:55px;height:55px;border-radius:13px;background:rgba(16,67,57,.7);border:1px solid rgba(91,221,184,.13);color:#68f2c3;font-size:1.5rem;overflow:hidden}
.showcase-app-icon img{width:100%;height:100%;object-fit:contain}
.showcase-app-name{max-width:85px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:800;font-size:.7rem;color:#f0fff9;text-align:center}
.showcase-tile-1{left:9%;top:50%;transform:rotate(-9deg);animation-delay:-1.1s}.showcase-tile-2{left:28%;top:20%;transform:rotate(-5deg);animation-delay:-.2s}.showcase-tile-3{left:66%;top:20%;transform:rotate(7deg);animation-delay:-2.5s}.showcase-tile-4{left:79%;top:54%;transform:rotate(5deg);animation-delay:-1.8s}
.showcase-partners{position:absolute;z-index:4;right:0;bottom:10px;display:flex;align-items:center;gap:10px;color:#b5e8d9;font-size:.77rem;text-align:right}
.showcase-partner-bubble{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;border:1px solid rgba(124,231,195,.39);color:#56ecc0;font-size:1.3rem}
#portalView .hero-card .hero-status.showcase-session{position:absolute;z-index:7;right:22px;top:18px;min-width:0;max-width:270px;gap:11px;padding:11px 13px;border:1px solid rgba(55,239,178,.18);border-radius:15px;background:rgba(4,46,37,.68);backdrop-filter:blur(12px)}
#portalView .hero-card .showcase-session .hero-status-icon{width:31px;height:31px;font-size:.93rem}
#portalView .showcase-session strong{font-size:.77rem}#portalView .showcase-session small{font-size:.68rem;max-width:200px}
.showcase-enter .showcase-text{animation:showcase-enter .48s ease-out both}
.visually-hidden{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#portalView .apps-section{margin-top:34px}
#portalView .section-heading{margin-bottom:21px}#portalView .section-heading h3{font-size:1.56rem;letter-spacing:-.028em}#portalView .section-heading .eyebrow{font-size:.7rem}
#portalView .count-pill{height:38px;min-width:48px;border-radius:12px;border-color:rgba(65,247,182,.16);background:rgba(13,77,58,.44)}
#portalView .apps-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}
#portalView .app-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:0;min-width:0;min-height:147px;width:auto;padding:20px 21px 17px;border-radius:18px;border:1px solid rgba(89,227,178,.18);text-align:left;background:linear-gradient(160deg,rgba(10,54,43,.65),rgba(4,30,27,.83));box-shadow:0 12px 26px rgba(0,0,0,.075);transition:border-color .2s,transform .2s,box-shadow .2s}
#portalView .app-card:hover{transform:translateY(-4px);border-color:rgba(76,238,174,.46);box-shadow:0 16px 32px rgba(0,0,0,.16),0 0 25px rgba(36,223,159,.07)}
#portalView .app-card:focus-visible{outline:2px solid #4ff2a8;outline-offset:3px}
#portalView .app-icon{width:52px;height:52px;flex:0 0 52px;margin:0 0 11px;border-radius:13px;border:1px solid rgba(94,240,181,.12);background:rgba(32,122,95,.17)}
#portalView .app-icon img{width:100%;height:100%;object-fit:contain}
#portalView .app-card h4{margin:0;max-width:calc(100% - 30px);font-size:.95rem;font-weight:800;line-height:1.27;overflow-wrap:anywhere;color:#f2fff8}
#portalView .app-card-arrow{position:absolute;right:17px;bottom:17px;display:grid;place-items:center;width:34px;height:34px;padding-bottom:3px;border:1px solid rgba(56,247,169,.23);border-radius:50%;font-size:1.55rem;line-height:1;color:#71f0c2;background:rgba(19,88,67,.38);transition:transform .2s,background .2s}
#portalView .app-card:hover .app-card-arrow{transform:translateX(3px);background:rgba(19,88,67,.75)}
#portalView .portal-footer{opacity:.9}
@keyframes conect-logo-breathe{0%,100%{transform:translateY(0);filter:drop-shadow(0 0 11px rgba(53,243,163,.22))}50%{transform:translateY(-2px);filter:drop-shadow(0 0 21px rgba(53,243,163,.48))}}
@keyframes showcase-shimmer{0%,100%{transform:translateX(0) rotate(24deg)}50%{transform:translateX(340%) rotate(24deg)}}
@keyframes showcase-float{0%,100%{translate:0 0}50%{translate:0 -4px}}
@keyframes showcase-rotate{to{transform:rotate(360deg)}}
@keyframes showcase-enter{from{opacity:.18}to{opacity:1}}
@media (max-width:1180px){#portalView .portal-main{width:calc(100% - 44px)}#portalView .hero-card.showcase-hero{grid-template-columns:58% 42%;padding:30px 29px;height:340px;min-height:0}.showcase-benefit{gap:8px;padding:3px 7px}.showcase-benefit-icon{font-size:1.08rem}.showcase-app-tile{width:82px;min-height:86px}.showcase-app-icon{width:46px;height:46px}.showcase-mark-wrap{width:84px;height:84px;left:41%}.showcase-tile-4{left:73%;top:58%}#portalView .app-card{padding:17px 14px;min-height:141px}}
@media (max-width:890px){#portalView .hero-card.showcase-hero{display:block;height:340px;min-height:0;padding:27px 28px 20px}.showcase-copy{width:100%}.showcase-text{max-width:70%;height:170px;min-height:0;flex-basis:170px}#portalView .hero-card .showcase-text h2{font-size:clamp(1.55rem,3.6vw,2.2rem)}#portalView .hero-card .showcase-text p{font-size:.9rem;max-width:78%}.showcase-benefits{max-width:72%}.showcase-benefit:last-child{display:none}.showcase-visual{position:absolute;inset:20px 0 0 47%;opacity:.8}.showcase-mark-wrap{left:39%;top:44%;width:91px;height:91px}.showcase-tile-1{left:6%;top:36%}.showcase-tile-2{left:31%;top:13%}.showcase-tile-3{left:69%;top:36%}.showcase-tile-4{display:none}.showcase-partners{bottom:8px;right:20px}.showcase-session{display:none!important}#portalView .apps-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:640px){#portalView .topbar{padding:66px 18px 10px;min-height:110px}#portalView .topbar-logo{width:37px;height:37px}#portalView .topbar-brand strong{font-size:.88rem}#portalView .topbar-brand small{font-size:.68rem}#portalView .topbar-actions{gap:6px}#portalView .topbar-actions .network-badge{min-height:35px;padding:0 8px;font-size:.72rem}#portalView .topbar-actions .secondary-btn{min-height:35px;padding:0 9px;font-size:.76rem}#portalView .notification-btn{width:36px;height:36px}#portalView .portal-main{width:calc(100% - 24px);padding:17px 0 22px}#portalView .hero-card.showcase-hero{height:397px;min-height:0;padding:23px 21px 19px;border-radius:20px}.showcase-hero:before{opacity:.32}.showcase-copy{min-height:0}.showcase-text{height:154px;min-height:0;flex-basis:154px;max-width:100%;position:relative;z-index:3}#portalView .hero-card .showcase-text h2{font-size:clamp(1.57rem,6vw,2.15rem);max-width:98%}#portalView .hero-card .showcase-text p{font-size:.9rem;max-width:88%}.showcase-benefits{max-width:95%;margin-top:114px;padding:0}.showcase-benefit{max-width:50%;flex:1}.showcase-benefit strong{font-size:.75rem}.showcase-benefit small{font-size:.69rem}.showcase-benefit-icon{font-size:1.14rem}.showcase-controls{position:absolute;top:178px;left:1px}.showcase-visual{inset:172px 5px 22px 5px;opacity:.9}.showcase-mark-wrap{left:44%;top:25%;width:75px;height:75px}.showcase-app-tile{min-height:76px;width:74px;padding:6px;gap:2px;border-radius:15px}.showcase-app-icon{height:39px;width:39px}.showcase-app-name{max-width:67px;font-size:.59rem}.showcase-tile-1{left:13%;top:35%}.showcase-tile-2{left:29%;top:4%}.showcase-tile-3{left:68%;top:27%}.showcase-tile-4{display:none}.showcase-partners{bottom:2px;right:12px;font-size:.64rem}#portalView .apps-section{margin-top:25px}#portalView .section-heading h3{font-size:1.24rem}#portalView .apps-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#portalView .app-card{min-height:127px;padding:13px;border-radius:16px}#portalView .app-icon{width:44px;height:44px;flex-basis:44px;margin-bottom:9px}#portalView .app-card h4{font-size:.81rem}#portalView .app-card-arrow{right:11px;bottom:11px;width:27px;height:27px;font-size:1.26rem}#portalView .count-pill{min-width:35px;height:31px}}
@media (max-width:370px){#portalView .hero-card.showcase-hero{height:432px;min-height:0}#portalView .hero-card .showcase-text h2{font-size:1.5rem}.showcase-benefits{margin-top:130px}.showcase-benefit:nth-child(2){display:none}.showcase-benefit{max-width:100%}.showcase-visual{inset:195px 0 34px}#portalView .topbar-brand small{display:none}}
@media (prefers-reduced-motion:reduce){#portalView .topbar-logo,.showcase-shine,.showcase-mark-wrap,.showcase-mark-wrap:after,.showcase-app-tile,.showcase-enter .showcase-text{animation:none!important}#portalView .app-card{transition:none!important}}
/* Refinamentos após checagem visual em desktop/celular */
@media (min-width:641px){#portalView .topbar{padding-right:162px}}
#portalView .app-card h4{align-self:flex-start;text-align:left;width:calc(100% - 34px)}
.showcase-tile-3{left:60%;top:18%}.showcase-tile-4{left:81%;top:37%}
@media (max-width:890px){.showcase-partners{display:none}}
@media (max-width:640px){.showcase-benefits{position:relative;z-index:5;background:linear-gradient(90deg,rgba(2,36,30,.68),rgba(2,36,30,.15));border-radius:8px}.showcase-benefit:last-child{display:none}#portalView .app-card h4{text-align:left}}

/* v2.3.1: slots fixos impedem que as três mensagens alterem a altura do banner. */
#portalView .showcase-hero{contain:layout}
