@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,700;1,6..12,400&display=swap');
/* Mensageiros de Luz — Colors (exato do design original) */
:root{
--indigo-950:#14172B;--indigo-900:#1C2140;--indigo-800:#262C52;--indigo-700:#333B6B;--indigo-500:#4A5390;--indigo-300:#9AA3CC;
--gold-700:#96691F;--gold-600:#B07E2B;--gold-500:#C9953C;--gold-400:#D9AF62;--gold-300:#E5C983;--gold-100:#F4E6C4;
--cream-50:#FDFBF5;--cream-100:#F7F1E4;--cream-200:#EFE5D0;--cream-300:#E2D4B8;
--ink-900:#26231C;--ink-700:#4B463B;--ink-500:#6F6858;--ink-300:#A79E8C;
--green-600:#4C7A4F;--green-100:#E4EEE2;--red-600:#A9463C;--red-100:#F6E3E0;--blue-600:#4A5390;--blue-100:#E6E8F4;
--surface-page:var(--cream-50);--surface-card:#FFFFFF;--surface-raised:var(--cream-100);--surface-inverse:var(--indigo-900);--surface-inverse-raised:var(--indigo-800);
--text-heading:var(--indigo-900);--text-body:var(--ink-700);--text-muted:var(--ink-500);--text-on-dark:#F5F1E6;--text-on-dark-muted:#B9BDD6;--text-on-accent:var(--indigo-950);--text-link:var(--gold-700);--text-link-hover:var(--gold-600);
--accent:var(--gold-500);--accent-hover:var(--gold-400);--accent-active:var(--gold-600);--accent-subtle:var(--gold-100);
--border-soft:var(--cream-300);--border-strong:var(--ink-300);--border-on-dark:rgba(245,241,230,0.18);--focus-ring:var(--indigo-500);
--status-success:var(--green-600);--status-success-bg:var(--green-100);--status-error:var(--red-600);--status-error-bg:var(--red-100);--status-info:var(--blue-600);--status-info-bg:var(--blue-100);--status-warning:var(--gold-600);--status-warning-bg:var(--gold-100);
}
/* Typography (exato) */
:root{
--font-display:'Cormorant Garamond',Georgia,'Times New Roman',serif;--font-body:'Nunito Sans','Segoe UI',system-ui,sans-serif;
--text-hero:56px;--text-h1:40px;--text-h2:30px;--text-h3:22px;--text-lead:19px;--text-base:16px;--text-sm:14px;--text-caption:12.5px;
--leading-display:1.12;--leading-body:1.6;--leading-tight:1.3;
--weight-display:600;--weight-body:400;--weight-medium:600;--weight-bold:700;--tracking-caps:0.09em;
}
/* Spacing, radii, shadows (exato) */
:root{
--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:64px;--space-9:96px;
--radius-sm:6px;--radius-md:10px;--radius-lg:16px;--radius-pill:999px;
--shadow-card:0 1px 2px rgba(38,35,28,0.06),0 4px 16px rgba(38,35,28,0.07);
--shadow-raised:0 2px 6px rgba(38,35,28,0.10),0 12px 32px rgba(38,35,28,0.12);
--shadow-glow:0 0 0 4px rgba(201,149,60,0.22);
--ease-calm:cubic-bezier(0.25,0.1,0.25,1);--duration-quick:150ms;--duration-gentle:300ms;
}
/* Base element styles (exato) — escopado #mens-imersivo-root p/ nao vazar no tema */
#mens-imersivo-root{font-family:var(--font-body);font-size:var(--text-base);line-height:var(--leading-body);color:var(--text-body);}
#mens-imersivo-root h1,#mens-imersivo-root h2,#mens-imersivo-root h3,#mens-imersivo-root h4{font-family:var(--font-display);color:var(--text-heading);line-height:var(--leading-display);font-weight:var(--weight-display);margin:0;}
#mens-imersivo-root a{color:var(--text-link);text-decoration-color:color-mix(in oklab,currentColor 40%,transparent);transition:color var(--duration-quick) var(--ease-calm);}
#mens-imersivo-root a:hover{color:var(--text-link-hover);}
#mens-imersivo-root ::selection{background:var(--accent-subtle);}
/* animacoes do design (helmet) */
html { scroll-behavior: smooth; } body { margin: 0; background: #14172B; } a { color: var(--gold-300); } a:hover { color: var(--gold-400); } ::selection { background: rgba(201,149,60,0.35); color: #FDFBF5; } @keyframes introOut{0%,52%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}} @keyframes introGlow { 0% { opacity: 0; transform: scale(0.8); } 45% { opacity: 1; transform: scale(1); } 100% { opacity: 1; transform: scale(1.05); } } @keyframes introText { 0% { opacity: 0; letter-spacing: 0.5em; } 40% { opacity: 1; letter-spacing: 0.22em; } 100% { opacity: 1; letter-spacing: 0.22em; } } @keyframes riseIn { from { opacity: 0; transform: translateY(40px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } } @keyframes fadeScale { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1); } } @keyframes lineGrow { from { width: 0; opacity: 0; } to { width: 48px; opacity: 1; } } @keyframes candleFlicker { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } } [data-reveal], [data-stagger] > * { opacity: 0; transform: translateY(38px) scale(0.985); filter: blur(12px); transition: opacity 1000ms cubic-bezier(.22,.61,.36,1), transform 1000ms cubic-bezier(.22,.61,.36,1), filter 1000ms cubic-bezier(.22,.61,.36,1); } [data-reveal].revealed, [data-stagger] > *.revealed { opacity: 1; transform: none; filter: none; } .foto-viva { overflow: hidden; } .foto-viva img { transition: transform 1200ms cubic-bezier(.22,.61,.36,1); } .foto-viva:hover img { transform: scale(1.05); }
/* Header nav legibilidade (mais visivel, mesmo design) */#mens-imersivo-root [style*="position: sticky"] nav{font-size:15px !important;font-weight:700 !important}#mens-imersivo-root [style*="position: sticky"] nav a{letter-spacing:0.012em !important;text-shadow:0 1px 3px rgba(20,23,43,0.62) !important}#mens-imersivo-root [style*="position: sticky"] a[href="https://wa.me/551128051964"]{text-shadow:0 1px 3px rgba(20,23,43,0.62) !important}
/* Hamburger (base escondido no desktop) */#mh-burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:44px;height:40px;padding:9px;background:transparent;border:0;cursor:pointer;margin-left:8px}#mh-burger span{display:block;width:24px;height:2px;background:#F5F1E6;border-radius:2px;transition:transform .28s var(--ease-calm,ease),opacity .2s}#mh-burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}#mh-burger.open span:nth-child(2){opacity:0}#mh-burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}@media(max-width:760px){#mh-burger{display:flex}#mens-imersivo-root [style*="position: sticky"] [style*="justify-content: space-between"]{flex-wrap:nowrap !important;justify-content:space-between !important;gap:10px !important;padding:6px 16px !important}#mens-imersivo-root [style*="position: sticky"] #mh-nav{display:none !important}
#mh-wa{display:flex !important}#mens-imersivo-root [style*="position: sticky"] #mh-nav.open{display:flex !important;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0 !important;background:rgba(20,23,43,0.98);backdrop-filter:blur(18px);border-top:1px solid var(--border-on-dark);box-shadow:0 24px 48px rgba(0,0,0,0.5);padding:6px 0}#mens-imersivo-root [style*="position: sticky"] #mh-nav.open a{padding:14px 22px !important;font-size:16.5px !important;font-weight:700 !important;border-bottom:1px solid rgba(245,241,230,0.06);opacity:1 !important;text-align:left}#mens-imersivo-root [style*="linear-gradient(90deg, var(--gold-700)"]{display:none !important}#mens-imersivo-root [style*="position: sticky"] a[href="https://wa.me/551128051964"]{display:none !important}#mens-imersivo-root #inicio{min-height:auto !important}#mens-imersivo-root #heroBg{inset:0 0 auto 0 !important;height:96vh !important;background-position:center 42% !important;opacity:1 !important;background-size:cover !important;-webkit-mask-image:linear-gradient(to bottom,#000 96%,transparent);mask-image:linear-gradient(to bottom,#000 96%,transparent)}#mens-imersivo-root #aura{top:32vh !important;mix-blend-mode:screen}#mens-imersivo-root #sky{height:96vh !important;bottom:auto !important}#mens-imersivo-root #inicio > div[style*="grid-template-columns: 1.5fr 1fr"]{padding:calc(80vh) 20px 40px !important}#mens-imersivo-root #inicio > div[style*="grid-template-columns: 1.5fr 1fr"] > div:first-child{display:none !important}}
@media(max-width:760px){#mens-imersivo-root a[href*="seminario-da-prosperidade"]{flex-direction:column !important;align-items:stretch !important;overflow:visible !important;gap:16px !important;padding:24px 20px !important;text-align:center}#mens-imersivo-root a[href*="seminario-da-prosperidade"] > div:first-child{align-self:center !important}#mens-imersivo-root a[href*="seminario-da-prosperidade"] > span{width:100% !important;justify-content:center !important}#mens-imersivo-root [style*="position: sticky"] [style*="justify-content: space-between"]{padding:6px 12px !important}}
@media(max-width:760px){#mens-imersivo-root img[src*="5-1024x682"]{height:auto !important;object-fit:contain !important}#mens-imersivo-root .foto-viva:has(img[src*="5-1024x682"]){min-height:auto !important;background:transparent !important}}
/* ===== RESPONSIVO (mobile/tablet) ===== */
@media(max-width:1024px){
#mens-imersivo-root [style*="repeat(4, 1fr)"]{grid-template-columns:repeat(2,1fr) !important}
#mens-imersivo-root [style*="repeat(3, 1fr)"]{grid-template-columns:repeat(2,1fr) !important}
}
@media(max-width:760px){
#mens-imersivo-root [style*="grid-template-columns"]{grid-template-columns:1fr !important}
#mens-imersivo-root [style*="width: 560px"],#mens-imersivo-root [style*="width: 720px"]{width:100% !important;max-width:100% !important}
#mens-imersivo-root img{max-width:100%;height:auto}
#mens-imersivo-root [style*="font-size: 78px"]{font-size:35px !important}
#mens-imersivo-root [style*="font-size: 68px"]{font-size:32px !important}
#mens-imersivo-root [style*="font-size: 54px"]{font-size:29px !important}
#mens-imersivo-root [style*="font-size: 50px"]{font-size:28px !important}
#mens-imersivo-root [style*="font-size: 44px"]{font-size:26px !important}
#mens-imersivo-root [style*="font-size: 120px"]{font-size:56px !important}
#mens-imersivo-root [style*="font-size: 32px"]{font-size:23px !important}
#mens-imersivo-root [style*="padding: 96px 24px"]{padding:52px 20px !important}
#mens-imersivo-root [style*="padding: 120px 24px"]{padding:56px 20px !important}
#mens-imersivo-root [style*="padding: 72px 24px 40px"]{padding:46px 20px 30px !important}
}
#mens-imersivo-root .mh-input:focus{border-color:var(--gold-500) !important;box-shadow:var(--shadow-glow)}#mens-imersivo-root .mh-input::placeholder{color:var(--ink-300)}@keyframes auraBreath{0%,100%{opacity:.55;transform:translate(-50%,-50%) scale(1)}50%{opacity:.92;transform:translate(-50%,-50%) scale(1.07)}}@media(prefers-reduced-motion:reduce){#aura{animation:none;opacity:.72}}@media(max-width:760px){#mens-imersivo-root #aura{top:27%;width:min(86vw,430px);height:min(86vw,430px)}}@keyframes introAura{0%{opacity:0;transform:scale(.7)}55%{opacity:.75;transform:scale(1.04)}100%{opacity:.7;transform:scale(1.14)}}@media(max-width:760px){#mens-imersivo-root [style*="position: sticky"]{background:rgba(20,23,43,0.98) !important;-webkit-backdrop-filter:blur(10px) !important;backdrop-filter:blur(10px) !important;z-index:100 !important;box-shadow:0 2px 18px rgba(0,0,0,0.4)}}@keyframes semGlow{0%,100%{opacity:.6;transform:scale(1)}50%{opacity:1;transform:scale(1.2)}}@keyframes semFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}#mens-imersivo-root a[href*="seminario-da-prosperidade"] > div:first-child{animation:semGlow 4.5s ease-in-out infinite}#mens-imersivo-root a[href*="seminario-da-prosperidade"] div[style*="width: 72px"]{animation:semFloat 4s ease-in-out infinite}@media(prefers-reduced-motion:reduce){#mens-imersivo-root a[href*="seminario-da-prosperidade"] *{animation:none !important}}@media(max-width:760px){#mens-imersivo-root [data-mhr]:active,#mens-imersivo-root .foto-viva:active{transform:scale(0.985) !important;transition:transform .18s ease !important}}#mens-imersivo-root{overflow-x:clip !important;overflow-y:visible !important}
Mensageiros de Luz
Grupo Espírita
Centro espírita · Mandaqui · São Paulo
Uma casa de luz , oração e cura espiritual
Passes, tratamento espiritual, palestras evangélicas e orientação pessoal. Tudo gratuito, sob a direção do Prof. Roberto Mitsuo Sakaguchi. Venha como está.
Esta semana na casa
Quarta 20h às 21h30 · Tratamento e cura
Sexta 20h às 21h30 · Reunião Divina Luz
Sábado 15h às 17h · Palestras e passes
Planejar minha visita ↗
Reuniões semanais gratuitas, abertas a todos
Palestras evangélicas na doutrina de Allan Kardec à luz do Evangelho de Jesus, com passes, tratamento espiritual e orientação pessoal. Não é preciso agendar.
Como a casa pode acolher você
Passes e cura
Tratamento espiritual com passes e orientação individual, nas reuniões semanais.
Palestras e estudos
Palestras evangélicas sobre fé, espiritualidade e transformação pessoal.
Consulta gratuita
Orientação espiritual presencial e gratuita, com agendamento prévio.
Oração à distância
Pedidos de oração e tratamento espiritual à distância, onde você estiver.
Nossa comunidade
A vida na casa
“
O estado mental do perdão é um poderoso imã para atrair o bem.
Prof. Roberto Mitsuo Sakaguchi
✦
A renda dos livros ajuda a manter as portas abertas e as atividades gratuitas da casa. São 15 títulos disponíveis na livraria.
Artigos espíritas
Palavras para o momento que você vive
Venha como está. As portas estão abertas .
Sua presença já é uma forma de ajudar. Se preferir, fale conosco pelo WhatsApp antes de vir.
Endereço Av. Zumkeller, 389, Mandaqui São Paulo, SP, zona norte
Horários Seg 15h às 16h30 · Qua 20h às 21h30 Qui 20h às 21h30 · Sáb 15h às 17h
Fale conosco
Seu nome
Sua mensagem
Enviar pelo WhatsApp
Abre uma conversa no WhatsApp da casa · (11) 2805-1964
/* Runtime Mensageiros Imersivo — recria o comportamento do design original:
1) revelacao no scroll ([data-reveal] / [data-stagger])
2) efeitos de hover via atributo style-hover (com transicao suave, restaurando o valor original) */
(function(){
function reveals(){
var els=document.querySelectorAll('[data-reveal]');
var grp=document.querySelectorAll('[data-stagger]');
if(!('IntersectionObserver' in window)){
[].forEach.call(els,function(e){e.classList.add('revealed');});
[].forEach.call(grp,function(g){[].forEach.call(g.children,function(c){c.classList.add('revealed');});});
return;
}
var io=new IntersectionObserver(function(en){
en.forEach(function(e){ if(e.isIntersecting){ e.target.classList.add('revealed'); io.unobserve(e.target); } });
},{threshold:0.12,rootMargin:'0px 0px -8% 0px'});
[].forEach.call(els,function(e){ io.observe(e); });
[].forEach.call(grp,function(g){
[].forEach.call(g.children,function(c,i){ c.style.transitionDelay=(i*90)+'ms'; io.observe(c); });
});
}
function parseDecls(str){
return str.split(';').map(function(s){return s.trim();}).filter(Boolean).map(function(s){
var i=s.indexOf(':'); return [s.slice(0,i).trim(), s.slice(i+1).trim()];
});
}
function hovers(){
[].forEach.call(document.querySelectorAll('[style-hover]'),function(el){
var hv=el.getAttribute('style-hover'); if(!hv) return;
var decls=parseDecls(hv);
var cs=el.getAttribute('style')||'';
if(cs.indexOf('transition')===-1){ el.style.transition='all 280ms cubic-bezier(.22,.61,.36,1)'; }
var orig={};
el.addEventListener('mouseenter',function(){
decls.forEach(function(d){ if(!(d[0] in orig)) orig[d[0]]=el.style.getPropertyValue(d[0]); el.style.setProperty(d[0],d[1]); });
});
el.addEventListener('mouseleave',function(){
decls.forEach(function(d){ var o=orig[d[0]]; if(o) el.style.setProperty(d[0],o); else el.style.removeProperty(d[0]); });
});
});
}
function parallax(){if(window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;var el=document.getElementById("heroBg");if(!el)return;var cleared=false,ticking=false;function upd(){if(!cleared){el.style.animation="none";el.style.opacity="1";el.style.willChange="transform";cleared=true;}var y=window.pageYOffset||document.documentElement.scrollTop||0;if(y<1100){el.style.transform="translate3d(0,"+(y*0.22)+"px,0) scale(1.08)";}ticking=false;}window.addEventListener("scroll",function(){if(!ticking){requestAnimationFrame(upd);ticking=true;}},{passive:true});} function init(){ reveals(); hovers(); parallax(); }
if(document.readyState!=='loading') init(); else document.addEventListener('DOMContentLoaded',init);
})();
(function(){var b=document.getElementById('mh-send');if(!b)return;b.addEventListener('click',function(){var n=(document.getElementById('mh-nome').value||'').trim();var m=(document.getElementById('mh-msg').value||'').trim();if(!n){document.getElementById('mh-nome').focus();return;}if(!m){document.getElementById('mh-msg').focus();return;}var t=['Ola! Vim pelo site da Casa.','','Nome: '+n,'Mensagem: '+m].join('\n');try{if(window.gtag)gtag('event','generate_lead',{method:'home_fale_conosco'});}catch(e){}window.location.href='https://wa.me/551128051964?text='+encodeURIComponent(t);});})();
(function(){
var host=document.getElementById('inicio'), cv=document.getElementById('sky');
if(!host||!cv) return;
var ctx=cv.getContext('2d'), DPR=Math.min(window.devicePixelRatio||1,2);
var reduce=window.matchMedia&&window.matchMedia('(prefers-reduced-motion: reduce)').matches;
var stars=[], W=0, H=0, raf=0;
function init(){
stars=[]; var n=Math.round(Math.min(70, Math.max(28, W*H/16000)));
for(var i=0;i<n;i++){stars.push({x:Math.random()*W,y:Math.random()*H,r:Math.random()*1.3+0.3,
tw:Math.random()*6.28,sp:0.004+Math.random()*0.012,vx:(Math.random()-0.5)*0.05,vy:(Math.random()-0.5)*0.045});}
}
function setSize(w,h){ W=Math.round(w); H=Math.round(h); if(!W||!H) return; cv.width=W*DPR; cv.height=H*DPR;
cv.style.width=W+'px'; cv.style.height=H+'px'; ctx.setTransform(DPR,0,0,DPR,0,0); init(); if(reduce) draw(false); }
function draw(anim){
ctx.clearRect(0,0,W,H);
for(var i=0;i<stars.length;i++){for(var j=i+1;j<stars.length;j++){
var a=stars[i],b=stars[j],dx=a.x-b.x,dy=a.y-b.y,d=dx*dx+dy*dy;
if(d<8200){var o=(1-d/8200)*0.11; ctx.strokeStyle='rgba(201,149,60,'+o+')'; ctx.lineWidth=0.6;
ctx.beginPath(); ctx.moveTo(a.x,a.y); ctx.lineTo(b.x,b.y); ctx.stroke();}}}
for(var k=0;k<stars.length;k++){var s=stars[k];
if(anim){ s.tw+=s.sp; s.x+=s.vx; s.y+=s.vy;
if(s.xW)s.x=0; if(s.yH)s.y=0; }
var tw=0.5+0.5*Math.sin(s.tw);
ctx.beginPath(); ctx.arc(s.x,s.y,s.r,0,6.2832);
ctx.fillStyle='rgba(232,214,160,'+(0.30+tw*0.6)+')'; ctx.fill();
if(s.r>1){ ctx.beginPath(); ctx.arc(s.x,s.y,s.r*2.6,0,6.2832);
ctx.fillStyle='rgba(232,214,160,'+(0.05+tw*0.06)+')'; ctx.fill(); }
}
}
function loop(){ draw(true); raf=requestAnimationFrame(loop); }
if('ResizeObserver' in window){
new ResizeObserver(function(es){ var r=es[0].contentRect; setSize(r.width,r.height); }).observe(host);
} else {
var resize=function(){ setSize(host.clientWidth, cv.clientHeight||host.clientHeight); };
resize(); window.addEventListener('resize',resize,{passive:true});
}
if(!reduce){ loop(); }
})();
(function(){
function boot(){
var root=document.getElementById('mens-imersivo-root'); if(!root) return;
var sticky=root.querySelector('[style*="position: sticky"]'); if(!sticky) return;
var nav=sticky.querySelector('nav'); if(!nav) return;
var row=nav.parentElement; if(!row) return;
nav.id='mh-nav';
if(document.getElementById('mh-burger')) return;
var b=document.createElement('button');
b.id='mh-burger'; b.type='button'; b.setAttribute('aria-label','Abrir menu'); b.setAttribute('aria-expanded','false');
b.innerHTML='
';
b.addEventListener('click',function(){
var open=nav.classList.toggle('open'); b.classList.toggle('open',open);
b.setAttribute('aria-expanded',open?'true':'false');
});
nav.addEventListener('click',function(e){ if(e.target&&e.target.tagName==='A'){ nav.classList.remove('open'); b.classList.remove('open'); b.setAttribute('aria-expanded','false'); }});
var wa=document.createElement('a');
wa.id='mh-wa'; wa.href='https://wa.me/551128051964'; wa.target='_blank'; wa.setAttribute('aria-label','WhatsApp');
wa.style.cssText='display:none;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#25D366;color:#0C1116;box-shadow:0 4px 12px rgba(37,211,102,0.4);flex-shrink:0;margin-left:auto';
wa.innerHTML='';
row.appendChild(wa);
row.appendChild(b);
}
if(document.readyState!=='loading') boot(); else document.addEventListener('DOMContentLoaded',boot);
})();
(function(){
function boot(){
var imgs=document.querySelectorAll('#mens-imersivo-root img[src*="agenda-anual-ceae"]');
if(!imgs.length) return;
var lb=null;
function close(){ if(lb){lb.remove(); lb=null; document.documentElement.style.overflow='';} }
function open(src,alt){
lb=document.createElement('div');
lb.setAttribute('style','position:fixed;inset:0;z-index:2147483000;background:rgba(10,12,22,0.95);display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:20px;cursor:zoom-out;-webkit-overflow-scrolling:touch');
var im=document.createElement('img'); im.src=src; im.alt=alt||'';
im.setAttribute('style','display:block;margin:auto;width:auto;max-width:none;height:auto;min-width:min(1024px,235vw);border-radius:8px;box-shadow:0 24px 70px rgba(0,0,0,0.6)');
var x=document.createElement('button'); x.textContent='×'; x.setAttribute('aria-label','Fechar');
x.setAttribute('style','position:fixed;top:14px;right:16px;width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,0.14);color:#fff;font-size:28px;line-height:1;cursor:pointer;z-index:1');
lb.addEventListener('click',function(e){ if(e.target===lb) close(); });
x.addEventListener('click',function(e){ e.stopPropagation(); close(); });
lb.appendChild(x); lb.appendChild(im);
document.body.appendChild(lb); document.documentElement.style.overflow='hidden';
}
document.addEventListener('keydown',function(e){ if(e.key==='Escape') close(); });
[].forEach.call(imgs,function(img){
img.style.cursor='zoom-in';
img.setAttribute('title','Toque para ampliar');
img.addEventListener('click',function(){ open(img.currentSrc||img.src, img.alt); });
var p=img.parentElement;
if(p && getComputedStyle(p).position==='static') p.style.position='relative';
if(p && !p.querySelector('.mh-zoomhint')){
var b=document.createElement('span'); b.className='mh-zoomhint'; b.textContent='🔍 Ampliar';
b.setAttribute('style','position:absolute;bottom:12px;right:12px;background:rgba(20,23,43,0.82);color:#E5C983;font-family:var(--font-body),system-ui,sans-serif;font-weight:700;font-size:12px;line-height:1;padding:7px 11px;border-radius:999px;pointer-events:none;backdrop-filter:blur(4px);letter-spacing:.02em');
p.appendChild(b);
}
});
}
if(document.readyState!=='loading') boot(); else document.addEventListener('DOMContentLoaded',boot);
})();
(function(){
function boot(){
if(!(window.matchMedia&&window.matchMedia('(max-width:760px)').matches)) return;
if(!('IntersectionObserver' in window)) return;
var root=document.getElementById('mens-imersivo-root'); if(!root) return;
var cand=[].slice.call(root.querySelectorAll('[style*="display: grid"] > div, .foto-viva'));
var els=cand.filter(function(el){
if(el.tagName!=='DIV') return false;
if(el.hasAttribute('data-reveal')||el.closest('[data-stagger]')) return false;
if(el.closest('#inicio')) return false;
if(el.querySelector('.mh-zoomhint')||el.querySelector('img[src*="agenda-anual-ceae"]')) return false;
if(el.getAttribute('data-mhr')) return false;
var r=el.getBoundingClientRect(); if(r.height1800) return false;
el.setAttribute('data-mhr','1'); return true;
});
if(!els.length) return;
var io=new IntersectionObserver(function(en){en.forEach(function(e){if(e.isIntersecting){var t=e.target;
t.style.transitionDelay=(t.getAttribute('data-mhd')||0)+'ms';
t.style.opacity='1'; t.style.transform='none'; t.style.filter='none'; io.unobserve(t);}})},{threshold:0.08,rootMargin:'0px 0px -6% 0px'});
var counters=new WeakMap();
els.forEach(function(el){
var p=el.parentElement, i=counters.get(p)||0; counters.set(p,i+1);
el.setAttribute('data-mhd', Math.min(i*110,440));
el.style.opacity='0'; el.style.transform='translateY(34px) scale(0.94)'; el.style.filter='blur(6px)';
el.style.transition='opacity 820ms cubic-bezier(.22,.61,.36,1),transform 820ms cubic-bezier(.22,.61,.36,1),filter 820ms cubic-bezier(.22,.61,.36,1)';
el.style.willChange='opacity,transform'; io.observe(el);
});
}
if(document.readyState!=='loading') boot(); else document.addEventListener('DOMContentLoaded',boot);
})();