/* Ajustes de toque e densidade. A identidade de desktop permanece intacta. */
@media (max-width:850px){
 .home header{position:relative}
 .home section{scroll-margin-top:24px}
 .home header nav{flex-direction:column;align-items:center;justify-content:center;gap:8px}
 .home header nav>a.headerBrand:first-child{margin:0 auto;padding:5px 9px}
 .home header nav .links{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));flex:none;width:100%;overflow:visible;gap:5px;padding:0;max-width:620px}
 .home header nav .links a{display:flex;justify-content:center;align-items:center;text-align:center;white-space:normal;min-width:0;min-height:40px;padding:7px 5px;font-size:12px;border:1px solid #ffffff18;background:#ffffff06;margin:0;line-height:1.3}
 .home header nav .links a[href="#divulgar"]{margin:0;padding:7px 5px;min-height:40px}
 .home header nav .links>.installPremium{grid-column:1/-1;max-width:none;width:100%;min-height:40px;justify-content:center;padding:6px 10px;font-size:11px;line-height:1.3}
 .home header nav .links>.installPremium small{display:inline;margin-left:4px;font-size:10px}
 .home .hero>div:first-child{text-align:center;display:flex;flex-direction:column;align-items:center}
 .home .hero .actions{justify-content:center;width:100%}
 .home .hero .lead,.home .hero h1{margin-left:auto;margin-right:auto}
 .home .hero .premiumStage{width:100%;min-width:0;transform:none}
}
@media (max-width:600px){
 .home{--page-gutter:14px;padding-bottom:calc(74px + env(safe-area-inset-bottom))}
 .home header{position:relative}
 .home header nav{padding:9px var(--page-gutter);gap:7px}
 .home header nav>a.headerBrand:first-child{margin:0 auto!important;padding:5px 9px;border-radius:8px}
 .home header nav .brandLogoCrop{width:134px}
 .home header nav .links{gap:4px}
 .home header nav .links a,.home header nav .links a[href="#divulgar"]{font-size:11px;min-height:36px;padding:6px 4px;letter-spacing:0}
 .home header nav .links>.installPremium{min-height:38px;font-size:10px;padding:6px 8px;gap:7px}
 .home header nav .links>.installPremium small{font-size:9px}
 .home header nav .links>.installPremium .installGlyph{width:23px;height:23px;font-size:15px;flex-shrink:0}
 .home section{padding:30px 0;scroll-margin-top:18px}
 .home .hero{display:grid;grid-template-columns:minmax(0,1fr);padding:24px 18px 20px;gap:14px;margin-top:12px;border-radius:19px;min-height:0}
 .home .hero:before{border-radius:19px}
 .home .hero .heroLabel{font-size:8px;letter-spacing:1px;padding:7px 10px}
 .home .hero h1{font-size:clamp(29px,8.1vw,37px);line-height:1.09;letter-spacing:-1.1px;margin:16px auto 12px;max-width:400px;overflow-wrap:normal}
 .home .hero .lead{font-size:13px;line-height:1.65;margin:0 auto 14px;max-width:365px}
 .home .hero .actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0 auto;width:100%;max-width:340px}
 .home .hero .actions .btn{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 9px;font-size:12px;line-height:1.35;text-align:center;white-space:normal}
 .home .hero .note{font-size:10px;line-height:1.6;margin:12px 0 0}
 .home .premiumStage{grid-template-columns:minmax(0,1fr);gap:8px}
 .home .orbCanvas{height:100px;min-width:0;overflow:hidden}
 .home .orbitWorld{width:88px;height:88px}
 .home .orbCore{inset:11px;border-radius:18px}
 .home .orbCore img{width:60px}
 .home .premiumStage .agendaPreview{padding:17px 15px;text-align:left;border-radius:16px;transform:none!important}
 .home .agendaPreview h2{font-size:21px;line-height:1.16;margin:9px 0 14px}
 .home .agendaPreview .eyebrow{font-size:9px;letter-spacing:1.3px}
 .home .previewRibbon{right:12px;top:-9px;font-size:8px;padding:6px 8px;transform:rotate(2deg)}
 .home .previewEvent{gap:10px;padding:12px 0}
 .home .previewEvent strong{font-size:12px;line-height:1.4}
 .home .previewEvent small{font-size:10px;margin-top:4px}
 .home .previewDate{min-width:44px;padding:8px 5px;font-size:9px;border-radius:9px}
 .home .previewDate b{font-size:20px}
 .home .previewMore{font-size:11px;min-height:40px;align-items:center;margin-top:4px}
 .home .motionBar{gap:7px;margin:10px 0}
 .home .motionBar button{min-height:36px}
 .home .platformNumbers{padding:15px 0;gap:10px}
 .home .platformNumbers a{padding:7px 10px}
 .home .platformNumbers b{font-size:23px}
 .home .platformNumbers span{font-size:10px;line-height:1.5;margin-top:5px}
 .home .institutions{padding:24px 0!important}
 .home .institutions .intro{gap:10px;margin-bottom:12px}
 .home .institutions .intro p{font-size:12px;line-height:1.6}
 .home .institutions .pill{font-size:9px;white-space:normal}
 .home .logoViewport{padding:5px 0;mask-image:none;-webkit-mask-image:none}
 .home .logoGroup{gap:6px;padding-right:6px}
 .home .institutionLogo{width:clamp(88px,calc((100vw - 40px)/3),130px);height:104px;padding:9px 6px;gap:7px;border-radius:11px}
 .home .institutionLogo img{width:100%;max-width:98px;height:34px;object-fit:contain}
 .home .institutionLogo>div{gap:2px}
 .home .institutionLogo strong{font-size:9px;line-height:1.3;overflow-wrap:anywhere}
 .home .institutionLogo small{font-size:8px;line-height:1.35;overflow-wrap:anywhere}
 .home .institutionDirectory{margin-top:12px;padding:12px}
 .home .institutionDirectory summary{font-size:11px;line-height:1.5;min-height:36px}
 .home .institutionDirectory .directoryGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding-top:12px}
 .home .directoryGrid a{padding:10px;font-size:11px;line-height:1.45}
 .home .directoryGrid small{font-size:10px}
 .home h2{font-size:27px;letter-spacing:-.8px}
 .home .eyebrow{font-size:9px;letter-spacing:1.5px}
 .home .intro p,.home .resultInfo{font-size:12px;line-height:1.6}
 .home .grid,.home #featuredCards,.home .newsGrid{gap:14px}
 .home .card,.home .newsCard{border-radius:16px}
 .home .cardPoster{height:185px;object-fit:contain}
 .home .cover{height:132px;padding:16px}
 .home .cover>span{font-size:46px}
 .home .card .content,.home .newsContent{padding:17px}
 .home .card h3,.home .newsContent h3{font-size:18px;line-height:1.35;margin:10px 0}
 .home .card .content>p,.home .newsContent>p{font-size:12px;line-height:1.7}
 .home .meta{font-size:11px;line-height:1.7}
 .home .eventDateLine{font-size:12px;margin:12px 0 7px}
 .home .cardActions{gap:6px;margin-top:14px}
 .home .cardActions .btn{font-size:11px;min-height:44px;padding:10px 7px}
 .home .cardActions button{min-width:44px;min-height:44px;padding:10px}
 .home .newsImage{height:170px}
 .home .newsImage>span{font-size:28px;padding:25px}
 .home .filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .home .filters input[type=search]{grid-column:1/-1;width:100%;min-width:0}
 .home .filters input,.home .filters select{font-size:16px;width:100%;min-width:0;min-height:44px;padding:10px 8px}
 .home .filters button{min-height:44px;padding:10px 8px;font-size:11px}
 .home .advancedFilters{margin-top:8px}
 .home #ciencia{padding:24px 16px;margin:12px 0;border-radius:17px}
 .home .op{padding:17px;gap:10px;margin-bottom:12px}
 .home .op strong{font-size:15px}
 .home .op p{font-size:12px}
 .home .band{padding:23px 18px;border-radius:17px}
 .home .band h2{font-size:26px}
 .home .band p{font-size:12px}
 .home .calendar{padding:14px;margin-top:25px;border-radius:16px}
 .home .calendarToolbar{gap:7px}
 .home .calendarToolbar h3{font-size:16px}
 .home .calendarToolbar button{min-width:44px;min-height:44px;padding:8px}
 .home .calendarDay{font-size:12px;min-height:58px}
 .home .calendarEvents{font-size:12px}
 .home dialog input,.home dialog select,.home dialog textarea,.owner input,.owner select,.owner textarea,.loginPage input{font-size:16px}
 .home footer.premiumFooter{padding-top:24px;padding-bottom:18px}
 .home .premiumFooter .footerBrand p{font-size:11px;line-height:1.7}
 .home .premiumFooter .footerLinks a{font-size:11px;min-height:36px;display:flex;align-items:center}
 .home .premiumFooter .footerAction{font-size:10px;min-height:44px}
 .home .premiumFooter .footerBottom>.installPremium{min-height:44px}
 .detail header nav{display:flex;flex-wrap:wrap;justify-content:center;gap:9px}
 .detail header nav>a:first-child{flex:0 0 100%;width:100%;text-align:center}
 .detail header nav img{width:160px;max-height:50px;object-fit:contain}
 .detail header nav>.installPremium{min-height:44px;flex:0 0 100%}
 .detail .wrap{margin-top:20px;padding:0 14px}
 .detail .poster{max-height:320px;object-fit:contain}
 .detail h1,.detail .newsArticle h1{font-size:29px;letter-spacing:-.8px}
 .detail .box{padding:19px}
 .detail .newsArticle figure img{max-height:320px}
 .detail .newsArticle .newsLead{font-size:15px}
 .detail .newsArticle .articleText{padding:19px}
 .detail .newsArticle .articleText p{font-size:14px;line-height:1.85}
 .detail dl{grid-template-columns:80px minmax(0,1fr);gap:11px;font-size:13px}
 .owner .manager{padding:20px 14px;min-width:0}
 .owner .manager h1{font-size:26px}
 .owner .toolbar{gap:8px}
 .owner .toolbar input,.owner .toolbar select{width:100%;min-width:0}
 .owner dialog{width:calc(100% - 24px);padding:20px;max-height:88dvh}
 .owner .formGrid{grid-template-columns:minmax(0,1fr)}
 .owner .posterPreview{max-height:190px}
}
@media (max-width:360px){
 .home{--page-gutter:12px}
 .home .hero{padding-left:15px;padding-right:15px}
 .home header nav .links a{font-size:10px}
 .home header nav .links>.installPremium small{display:block;margin-left:0}
 .home .institutionLogo{width:calc((100vw - 36px)/3)}
 .home .calendarToolbar h3{font-size:14px}
}

/* Reserva a órbita completa no celular; a imagem não conserva a altura do HTML. */
@media (max-width:600px){
 .home .orbCanvas{height:156px;overflow:hidden}
 .home .orbitWorld{width:88px;height:88px}
 .home .orbCore{inset:11px;border-radius:18px}
 .home .orbCore img{width:56px;height:auto;aspect-ratio:1}
 .home .orbitRing{inset:-14px}
 .home .orbitRing.two{inset:-22px}
 .home .orbitRing.three{inset:-10px}
 .home .logoTrack{animation-duration:39s}
 .home .secondRow .logoTrack{animation-duration:45s}
}

@media(max-width:600px){.home .platformNumbers{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.home .platformNumbers a{padding:7px 6px}.home .platformNumbers a:nth-child(2){border-right:1px solid var(--line)}.home .platformNumbers a:last-child{border:0}.home .platformNumbers span{font-size:10px}}
