/* App-style mobile menu studies: bar html.mb1..mb4, open menu html.mp1..mp4 (≤760px only) */
.tabbar-m{display:none}
@media (max-width:760px){
.p-links a::before{content:"";flex:none;width:22px;height:22px;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat;display:none}
.p-links a{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%224%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2012h.01%22/%3E%3C/svg%3E")}
.p-links a[data-k="topics"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16v11H10l-6%204z%22/%3E%3C/svg%3E")}
.p-links a[data-k="publications"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h9l4%204v14H6z%20M14%203v5h5%20M9%2012h7%20M9%2016h7%22/%3E%3C/svg%3E")}
.p-links a[data-k="media"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h12v14H6a2%202%200%200%201-2-2z%20M16%209h4v8a2%202%200%200%201-2%202%20M7%209h6%20M7%2012h6%20M7%2015h4%22/%3E%3C/svg%3E")}
.p-links a[data-k="events"]{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%206h16v14H4z%20M4%2010h16%20M8%203v5%20M16%203v5%22/%3E%3C/svg%3E")}
html[class*=" mp"] .p-links a::before{display:block}
html[class*=" mp"] .p-links .n,html[class*=" mp"] .p-kicker{display:none}
html[class*=" mp"] .p-foot{display:none}
.panel .p-links a,.p-cta,.p-seg a{-webkit-tap-highlight-color:transparent}
/* mb1 · essencial: logo + um botão redondo */
html.mb1 .nv4 .in{padding:14px 20px}
html.mb1 .nv4 .r,html.mb1 .nv4 .m-ld{display:none!important}
html.mb1 .nv4 .brand img{height:34px}
html.mb1 .nv4 .burger{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.12)}
html.mb1 .nv4 .burger i,html.mb1 .nv4 .burger i::before,html.mb1 .nv4 .burger i::after{width:18px;height:2px;border-radius:2px}
html.mb1 .nv4 .burger i::before{top:-4px}html.mb1 .nv4 .burger i::after{top:4px}
html.mb1 .nv4 .burger i{background:transparent}
html.menu-open[class*=" mb"] .nv4 .burger i::before,html.menu-open[class*=" mb"] .nv4 .burger i::after{top:0!important}
html.mb2:not(.menu-open) .nv4 .burger i{background:currentColor}
/* mb2 · pílula: Inscreva-se arredondado + menu redondo */
html.mb2 .nv4 .in{padding:14px 20px;gap:10px}
html.mb2 .nv4 .m-ld{display:none!important}
html.mb2 .nv4 .brand{flex:1 1 auto}html.mb2 .nv4 .m-left{flex:none}
html.mb2 .nv4 .brand img{height:34px}
html.mb2 .nv4 .cta{height:36px;border-radius:999px;padding:0 16px;font-size:11px;letter-spacing:.8px}
html.mb2 .nv4 .burger{width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.4)}
html.mb2 .nv4 .burger i,html.mb2 .nv4 .burger i::before,html.mb2 .nv4 .burger i::after{width:16px}
html.mb2 .nv4 .burger i::before{top:-5px}html.mb2 .nv4 .burger i::after{top:5px}
/* mb3 · centralizado: menu à esquerda, logo no meio, envelope à direita */
html.mb3 .nv4 .in{padding:12px 16px;justify-content:space-between}
html.mb3 .nv4 .m-ld{display:none!important}
html.mb3 .nv4 .m-left{order:1;flex:0 0 44px;justify-content:flex-start}
html.mb3 .nv4 .brand{order:2;flex:0 1 auto;text-align:center}
html.mb3 .nv4 .brand img{height:34px;margin:0 auto}
html.mb3 .nv4 .r{order:3;flex:0 0 44px;display:flex;justify-content:flex-end}
html.mb3 .nv4 .cta{width:40px;height:40px;padding:0;border-radius:50%;font-size:0!important;color:transparent;overflow:hidden;letter-spacing:0;justify-content:center;position:relative}
html.mb3 .nv4 .cta::before{content:"";width:20px;height:20px;background:var(--cta-text);-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18v12H3z%20M3%207l9%207%209-7%22/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18v12H3z%20M3%207l9%207%209-7%22/%3E%3C/svg%3E") center/contain no-repeat}
html.mb3 .nv4 .burger{width:40px;height:40px}
/* mb4 · app: logo centralizado no topo + barra de abas embaixo */
html.mb4 .nv4 .in{padding:12px 16px;justify-content:center}
html.mb4 .nv4 .r,html.mb4 .nv4 .m-left{display:none!important}
html.mb4 .nv4 .brand{flex:none}
html.mb4 .nv4 .brand img{height:34px}
html.mb4 .tabbar-m{display:flex;position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:58;background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:22px;box-shadow:0 10px 30px rgba(21,21,18,.18);padding:6px}
html.mb4 body{padding-bottom:88px}
.tabbar-m a,.tabbar-m button{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 2px;border:0;background:none;color:#6b6f63;font:600 10px/12px var(--font);letter-spacing:.2px;text-decoration:none;border-radius:16px;cursor:pointer}
.tabbar-m i{width:22px;height:22px;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.tabbar-m .t-home{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2011l9-7%209%207%20M5%2010v10h14V10%22/%3E%3C/svg%3E")}.tabbar-m .t-issue{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h12v14H6a2%202%200%200%201-2-2z%20M16%209h4v8a2%202%200%200%201-2%202%20M7%209h6%20M7%2012h6%22/%3E%3C/svg%3E")}.tabbar-m .t-menu{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%204h6v6H4z%20M14%204h6v6h-6z%20M4%2014h6v6H4z%20M14%2014h6v6h-6z%22/%3E%3C/svg%3E")}.tabbar-m .t-sub{--ic:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18v12H3z%20M3%207l9%207%209-7%22/%3E%3C/svg%3E")}
.tabbar-m .on{color:var(--green);background:rgba(47,86,49,.08)}
.tabbar-m .t-sub{color:var(--green)}
html.mb4.menu-open .tabbar-m{z-index:70}
/* mp1 · bottom sheet (sobe de baixo, cantos arredondados) */
html.mp1 .panel{top:auto;bottom:0;max-height:88vh;background:#fff;color:var(--green);border-radius:24px 24px 0 0;transform:translateY(100%);opacity:1;box-shadow:0 -10px 40px rgba(21,21,18,.2);transition:transform .38s cubic-bezier(.2,.8,.2,1),visibility 0s linear .38s}
html.mp1.menu-open .panel{transform:none;transition:transform .38s cubic-bezier(.2,.8,.2,1)}
html.mp1.menu-open .p-scrim{opacity:1;visibility:visible;transition:opacity .25s}
html.mp1 .p-top{position:relative;min-height:0;padding:22px 20px 8px}
html.mp1 .p-top::before{content:"";position:absolute;top:8px;left:50%;width:40px;height:5px;margin-left:-20px;border-radius:3px;background:#d9d9cf}
html.mp1 .p-logo-w{display:none}html.mp1 .p-logo-c{display:block;height:34px}
html.mp1 .panel .close{width:34px;height:34px;border-radius:50%;background:#f0efe8}
html.mp1 .panel .close span{transform:scale(.7)}
html.mp1 .p-body{padding:8px 20px 28px;gap:18px}
html.mp1 .p-links li,html.mp1 .p-links li:last-child{border:0}
html.mp1 .p-links li+li a{border-top:1px solid #ecebe4}
html.mp1 .panel .p-links a{padding:15px 2px;gap:14px}
html.mp1 .p-links .t{font-size:17px!important;line-height:22px;font-weight:600}
html.mp1 .p-links .arr{opacity:.35;width:14px}
html.mp1 .p-cta{border-radius:14px;height:50px}
html.mp1 .p-label{display:none}
html.mp1 .p-seg,html.mp3 .p-seg,html.mp4 .p-seg{border:0;background:#f0efe8;border-radius:12px;padding:3px;gap:3px}
html.mp1 .p-seg a,html.mp3 .p-seg a,html.mp4 .p-seg a{border:0!important;border-radius:9px;padding:9px 4px;font-size:13px;color:var(--green)}
html.mp1 .p-seg a[aria-current="true"],html.mp3 .p-seg a[aria-current="true"],html.mp4 .p-seg a[aria-current="true"]{background:#fff;color:var(--green);box-shadow:0 1px 4px rgba(21,21,18,.12)}
/* mp2 · tela cheia clara, links grandes que entram em cascata */
html.mp2 .panel{background:#F6F5EF;color:var(--green);transform:none}
html.mp2 .p-logo-w{display:none}html.mp2 .p-logo-c{display:block;height:38px}
html.mp2 .p-top{padding:14px 20px}
html.mp2 .panel .close{width:44px;height:44px;border-radius:50%;background:#fff;box-shadow:0 2px 10px rgba(21,21,18,.08)}
html.mp2 .panel .close span{transform:scale(.75)}
html.mp2 .p-body{padding:28px 28px 28px;gap:28px;flex:1}
html.mp2 .p-links li,html.mp2 .p-links li:last-child{border:0}
html.mp2 .panel .p-links a{padding:10px 0;gap:16px}
html.mp2 .p-links a::before{width:26px;height:26px;opacity:.55}
html.mp2 .p-links .t{font-size:28px!important;line-height:34px;font-weight:700;letter-spacing:-.3px}
html.mp2 .p-links .arr{display:none}
html.mp2 .p-links li{opacity:0;transform:translateY(14px);transition:opacity .4s ease,transform .4s ease}
html.mp2.menu-open .p-links li{opacity:1;transform:none}
html.mp2.menu-open .p-links li:nth-child(2){transition-delay:.06s}html.mp2.menu-open .p-links li:nth-child(3){transition-delay:.12s}html.mp2.menu-open .p-links li:nth-child(4){transition-delay:.18s}
html.mp2 .p-cta{border-radius:999px;height:54px;margin-top:auto}
html.mp2 .p-langs{flex-direction:row;justify-content:center;gap:0}
html.mp2 .p-label{display:none}
html.mp2 .p-seg{border:0;gap:22px;justify-content:center}
html.mp2 .p-seg a{flex:none;padding:6px 0;border:0!important;color:#8a8d80;font-size:14px}
html.mp2 .p-seg a[aria-current="true"]{background:none;color:var(--green);font-weight:700;box-shadow:inset 0 -2px 0 var(--green)}
/* mp3 · cartão flutuante com grade de atalhos */
html.mp3 .panel{top:calc(var(--navh,64px) + 8px);left:12px;right:12px;bottom:auto;max-height:calc(100vh - var(--navh,64px) - 24px);background:#fff;color:var(--green);border-radius:22px;box-shadow:0 18px 50px rgba(21,21,18,.25);transform:translateY(-10px) scale(.97);transform-origin:top right}
html.mp3.menu-open .panel{transform:none}
html.mp3.menu-open .p-scrim{opacity:1;visibility:visible;transition:opacity .25s}
html.mp3.menu-open .nv4{z-index:65}
html.mp3 .p-top{display:none}
html.mp3 .p-body{padding:14px;gap:12px}
html.mp3 .p-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}
html.mp3 .p-links li,html.mp3 .p-links li:last-child{border:0}
html.mp3 .panel .p-links a{flex-direction:column;align-items:flex-start;justify-content:space-between;gap:18px;padding:16px;min-height:96px;background:#F3F2EC;border-radius:16px}
html.mp3 .p-links a::before{width:26px;height:26px}
html.mp3 .p-links .t{flex:none;font-size:15px!important;line-height:19px;font-weight:700}
html.mp3 .p-links .arr{display:none}
html.mp3 .p-cta{border-radius:14px;height:50px}
html.mp3 .p-label{display:none}
/* mp4 · gaveta lateral com lista agrupada (estilo ajustes do celular) */
html.mp4 .panel{left:auto;width:min(86vw,360px);background:#F4F3EE;color:var(--green);transform:translateX(100%);opacity:1;box-shadow:-12px 0 40px rgba(21,21,18,.2);transition:transform .35s cubic-bezier(.2,.8,.2,1),visibility 0s linear .35s}
html.mp4.menu-open .panel{transform:none;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
html.mp4.menu-open .p-scrim{opacity:1;visibility:visible;transition:opacity .25s}
html.mp4 .p-logo-w{display:none}html.mp4 .p-logo-c{display:block;height:34px}
html.mp4 .p-top{padding:16px 16px 8px}
html.mp4 .panel .close{width:34px;height:34px;border-radius:50%;background:#e8e7df}
html.mp4 .panel .close span{transform:scale(.7)}
html.mp4 .p-body{padding:12px 16px 24px;gap:18px}
html.mp4 .p-links{background:#fff;border-radius:16px;overflow:hidden}
html.mp4 .p-links li,html.mp4 .p-links li:last-child{border:0}
html.mp4 .p-links li+li a{background:linear-gradient(#ecebe4,#ecebe4) 60px 0/100% 1px no-repeat}
html.mp4 .panel .p-links a{padding:14px 16px;gap:14px}
html.mp4 .panel .p-links a{position:relative}
html.mp4 .p-links a::before{width:30px;height:30px;border-radius:8px;background:var(--green);-webkit-mask:none;mask:none}
html.mp4 .p-links a::after{content:"";position:absolute;left:23px;top:50%;width:16px;height:16px;margin-top:-8px;background:#fff;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
html.mp4 .p-links .t{font-size:16px!important;line-height:20px;font-weight:600}
html.mp4 .p-links .arr{opacity:.35;width:13px}
html.mp4 .p-cta{border-radius:14px;height:50px}
html.mp4 .p-label{font-size:11px;opacity:.6;padding-left:6px}
html.mp4 .p-seg{background:#e8e7df}
}
@media (max-width:760px) and (prefers-reduced-motion:reduce){ html[class*=" mp"] .panel,html[class*=" mp"] .p-links li{transition:none!important} }
