/* PALOMAI Experience 3.1.1 — brand tokens controlados pelo superadmin. */
body.pm-public-page{--pm-blue:var(--pmx-primary);--pm-green:var(--pmx-primary);--ring:var(--pmx-accent);--pm-ui-blue:var(--pmx-primary);--pm-ui-deep:var(--pmx-deep);--pm-ui-soft:var(--pmx-soft);}
body.pm-public-page .pm-brand-mark{background:linear-gradient(145deg,var(--pmx-deep),var(--pmx-accent));box-shadow:0 9px 22px color-mix(in srgb,var(--pmx-primary) 24%,transparent)}
body.pm-public-page .pm-brand-copy strong{color:var(--pmx-deep)}
body.pm-public-page .pm-site-links .nav-link.active,body.pm-public-page .pm-site-links .nav-link:hover,body.pm-public-page .pm-site-links .nav-link:focus-visible{background:var(--pmx-soft);color:var(--pmx-deep)!important}
body.pm-public-page .pm-header-account,body.pm-public-page .btn-primary,body.pm-public-page .btn-green,body.pm-public-page .btn-accent{background:var(--pmx-primary)!important;border-color:var(--pmx-primary)!important;color:var(--pmx-on-primary)!important}
body.pm-public-page .pm-header-account:hover,body.pm-public-page .btn-primary:hover,body.pm-public-page .btn-green:hover{filter:brightness(.94)}
body.pm-public-page .btn-outline-primary{color:var(--pmx-deep);border-color:var(--pmx-primary)}
body.pm-public-page .btn-outline-primary:hover{background:var(--pmx-primary);color:var(--pmx-on-primary)}
body.pm-public-page .pm-site-footer{background:linear-gradient(120deg,var(--pmx-deep),color-mix(in srgb,var(--pmx-deep) 75%,#071d21))}
body.pm-public-page .pm-footer-link-cta{color:#d5ffee!important}
body.pm-public-page a:focus-visible,body.pm-public-page button:focus-visible{outline:3px solid var(--pmx-primary);outline-offset:3px}
body.pm-public-page .pm-discovery-card--blue .pm-discovery-icon,body.pm-public-page .pm-discovery-card--green .pm-discovery-icon{color:var(--pmx-deep)}
/* Hero: preserva imagem, textos e botões dinâmicos originais. */
body.pm-public-page .pmx-hero{position:relative;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse 700px 510px at 100% 0%,color-mix(in srgb,var(--pmx-accent) 25%,transparent),transparent 75%),radial-gradient(ellipse 700px 520px at 0% 98%,color-mix(in srgb,var(--pmx-accent) 15%,transparent),transparent 70%),linear-gradient(113deg,#f9fffc 0%,var(--pmx-soft) 53%,#f7faf8 100%);padding-block:clamp(52px,6vw,98px)!important;min-height:510px}
.pmx-hero .container{position:relative;z-index:2}.pmx-hero .row{--bs-gutter-x:clamp(24px,5vw,72px)}
.pmx-hero .hero-badge{border:1px solid color-mix(in srgb,var(--pmx-primary) 25%,white);background:rgba(255,255,255,.82);color:var(--pmx-deep);backdrop-filter:blur(7px);letter-spacing:.015em}
.pmx-hero h1{font-size:clamp(2.5rem,4vw,4.8rem);line-height:1.07!important;font-weight:800;letter-spacing:-.064em!important;color:var(--pmx-deep);max-width:700px}
.pmx-hero .lead{font-size:clamp(1.05rem,1.45vw,1.25rem);color:color-mix(in srgb,var(--pmx-deep) 80%,#4d7b70);line-height:1.6;max-width:600px}
.pmx-hero .card{border-radius:8px;border:7px solid rgba(255,255,255,.86)!important;box-shadow:0 26px 60px rgba(11,59,47,.17)!important;transform:rotate(1deg)}
.pmx-hero .card img{border-radius:8px;display:block}
.pmx-hero .btn{border-radius:8px;font-weight:800;padding:.77rem 1.25rem}
.pmx-hero .pill{border:1px solid color-mix(in srgb,var(--pmx-primary) 20%,white);color:var(--pmx-deep);font-size:.84rem;box-shadow:0 3px 14px rgba(18,66,49,.05)}
.pmx-hero .pmx-hero-tag{display:block;margin-top:18px;max-width:500px;font-size:.88rem;color:var(--pmx-deep);font-weight:650}
.pmx-cosmos{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.pmx-cosmos:before,.pmx-cosmos:after{content:'';position:absolute;border:1px solid color-mix(in srgb,var(--pmx-primary) 14%,transparent);border-radius:8px;aspect-ratio:1;transform:rotate(-19deg)}
.pmx-cosmos:before{width:570px;right:-190px;top:-260px}.pmx-cosmos:after{width:350px;right:15%;bottom:-260px}
.pmx-cosmos span{position:absolute;width:9px;height:9px;border-radius:8px;background:var(--pmx-accent);box-shadow:0 0 0 8px color-mix(in srgb,var(--pmx-accent) 15%,transparent),0 0 24px color-mix(in srgb,var(--pmx-accent) 33%,transparent);opacity:.7}
.pmx-cosmos span:nth-child(1){top:13%;left:45%}.pmx-cosmos span:nth-child(2){top:72%;left:55%;width:6px;height:6px}.pmx-cosmos span:nth-child(3){top:20%;right:12%;width:5px;height:5px}.pmx-cosmos span:nth-child(4){bottom:9%;left:5%;width:7px;height:7px}
.pmx-hero--aurora .pmx-cosmos:before{width:780px;right:-210px;top:-450px;border:90px solid color-mix(in srgb,var(--pmx-accent) 9%,transparent)}
.pmx-hero--minimal .pmx-cosmos{display:none}.pmx-hero--minimal{background:linear-gradient(110deg,#ffffff,var(--pmx-soft))!important}
.pmx-hero[data-pmx-motion="soft"] .pmx-cosmos span{animation:pmx-float 13s ease-in-out infinite alternate}.pmx-hero[data-pmx-motion="full"] .pmx-cosmos span{animation:pmx-float 6s ease-in-out infinite alternate}.pmx-hero[data-pmx-motion="full"] .pmx-cosmos:before{animation:pmx-ring 30s linear infinite}
@keyframes pmx-float{from{transform:translateY(-8px) translateX(-3px)}to{transform:translateY(12px) translateX(6px)}}@keyframes pmx-ring{to{transform:rotate(360deg)}}
/* Pequena experiência de descoberta. Contraste, foco e redução de movimento preservados. */
.pmx-discovery-lab{padding:clamp(22px,4vw,54px) 0;background:#fff}.pmx-lab-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(290px,.8fr);gap:20px}.pmx-lab-grid>:only-child{grid-column:1/-1}
.pmx-lab-challenge,.pmx-lab-invite{border-radius:8px;padding:clamp(22px,3.5vw,36px);position:relative;overflow:hidden;min-width:0}
.pmx-lab-challenge{background:#fff;border:1px solid color-mix(in srgb,var(--pmx-primary) 20%,#e3f2e9);box-shadow:0 20px 52px rgba(13,61,48,.07)}
.pmx-lab-head{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.pmx-lab-spark{flex:0 0 48px;height:48px;display:grid;place-items:center;background:var(--pmx-soft);border-radius:8px;font-size:1.3rem;color:var(--pmx-deep)}
.pmx-kicker{color:var(--pmx-primary);font-size:.71rem;letter-spacing:.14em;font-weight:900;display:block}
.pmx-lab-head h2{font-size:clamp(1.25rem,2vw,1.65rem);font-weight:850;margin:4px 0 0;color:var(--pmx-deep)}
.pmx-lab-time{margin-left:auto;color:#537469;font-size:.78rem;font-weight:750}.pmx-lab-question{font-size:clamp(1.05rem,1.5vw,1.23rem);font-weight:750;color:#1b4035;margin:24px 0 16px}
.pmx-lab-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pmx-lab-option{display:flex;gap:10px;align-items:center;text-align:left;min-width:0;padding:13px 14px;border:1px solid #d1e6da;border-radius:8px;background:#f7fcf9;color:#194535;font-weight:700;transition:.15s}.pmx-lab-option span{flex:0 0 27px;width:27px;height:27px;border-radius:8px;display:grid;place-items:center;background:#e2f3e8;color:var(--pmx-deep);font-size:.75rem}
.pmx-lab-option:hover:not(:disabled){border-color:var(--pmx-accent);transform:translateY(-1px)}.pmx-lab-option:disabled{cursor:default;opacity:.78}.pmx-lab-option.is-correct{background:#e1f7e9;border-color:#228151;color:#133f29;opacity:1}.pmx-lab-option.is-incorrect{background:#fff2ef;border-color:#d9a99e;color:#803d2e}
.pmx-lab-feedback{margin:15px 0 0;font-size:.91rem;font-weight:650;color:var(--pmx-deep);padding:11px 13px;border-radius:8px;background:var(--pmx-soft)}.pmx-lab-feedback[hidden]{display:none}.pmx-lab-disclaimer{display:block;margin-top:14px;color:#627b70;font-size:.76rem}
.pmx-lab-invite{background:linear-gradient(143deg,var(--pmx-deep),color-mix(in srgb,var(--pmx-deep) 75%,var(--pmx-primary)));color:#fff;display:flex;flex-direction:column;justify-content:center}
.pmx-lab-invite:after{content:'';position:absolute;width:190px;height:190px;right:-110px;bottom:-110px;border:45px solid rgba(255,255,255,.07);border-radius:8px}.pmx-lab-invite .pmx-kicker{color:#aff8d4}.pmx-lab-invite h2{font-size:clamp(1.35rem,2.1vw,1.9rem);font-weight:850;letter-spacing:-.04em;line-height:1.15;margin:12px 0}.pmx-lab-invite p{color:#d4f2e5;line-height:1.6}.pmx-lab-invite small{color:#c4e5d8;font-size:.75rem;margin-top:14px}
.pmx-invite-button{align-self:flex-start;display:inline-flex;gap:10px;align-items:center;justify-content:center;padding:12px 19px;border-radius:8px;background:#fff!important;color:var(--pmx-deep)!important;font-weight:800;text-decoration:none;border:1px solid #e5f4eb;box-shadow:0 5px 19px rgba(0,0,0,.1);transition:.15s}.pmx-invite-button:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(0,0,0,.18)}
.pmx-invite-toast{position:fixed;bottom:24px;right:24px;width:min(355px,calc(100vw - 30px));z-index:1020;background:var(--pmx-deep);color:#fff;border:1px solid rgba(255,255,255,.25);box-shadow:0 20px 70px rgba(0,0,0,.24);border-radius:8px;padding:24px}.pmx-invite-toast[hidden]{display:none}.pmx-invite-toast .pmx-kicker{color:#b6f5d4}.pmx-invite-toast h2{font-size:1.22rem;margin-top:10px;color:#fff}.pmx-invite-toast p{line-height:1.55;font-size:.88rem;color:#def4e8}.pmx-toast-close{position:absolute;right:13px;top:12px;border:0;background:rgba(255,255,255,.15);border-radius:8px;width:32px;height:32px;color:#fff;font-size:1.4rem}
@media(max-width:990px){.pmx-lab-grid{grid-template-columns:1fr}.pmx-hero .card{transform:none}}
@media(max-width:600px){.pmx-discovery-lab{padding:22px 0}.pmx-lab-options{grid-template-columns:1fr}.pmx-lab-head{gap:10px}.pmx-lab-time{margin-left:0}.pmx-hero h1{font-size:clamp(2.25rem,11vw,3rem)}.pmx-hero .pmx-hero-tag{font-size:.78rem}.pmx-hero .btn{max-width:100%;white-space:normal}.pmx-invite-toast{right:15px;bottom:15px}}
@media(prefers-reduced-motion:reduce){.pmx-cosmos *, .pmx-cosmos:before,.pmx-cosmos:after{animation:none!important}.pmx-lab-option,.pmx-invite-button{transition:none!important;transform:none!important}}
html[data-contrast="hc"] .pmx-hero{background:var(--grad)!important}html[data-contrast="hc"] .pmx-cosmos{display:none}html[data-contrast="hc"] .pmx-lab-challenge{background:var(--card);color:var(--ink);border-color:var(--border)}html[data-contrast="hc"] .pmx-lab-head h2,html[data-contrast="hc"] .pmx-lab-question{color:var(--ink)}html[data-contrast="hc"] .pmx-lab-option{background:var(--card);color:var(--ink);border-color:var(--border)}

/* Controle de movimento acessível para visitantes, independente da escolha administrativa. */
.pmx-motion-toggle{position:absolute;bottom:15px;right:max(18px,calc((100vw - 1210px)/2));z-index:3;display:inline-flex;align-items:center;gap:7px;border:1px solid color-mix(in srgb,var(--pmx-primary) 20%,white);border-radius:8px;background:rgba(255,255,255,.9);color:var(--pmx-deep);padding:6px 11px;font-size:.73rem;font-weight:800;backdrop-filter:blur(6px)}
.pmx-motion-toggle:hover{background:#fff}
.pmx-hero[data-pmx-motion="off"] .pmx-cosmos span,.pmx-hero[data-pmx-motion="off"] .pmx-cosmos:before,.pmx-hero[data-pmx-motion="off"] .pmx-cosmos:after{animation:none!important}
@media(max-width:600px){.pmx-motion-toggle{position:relative;right:auto;bottom:auto;margin:0 13px 0 auto;display:flex;width:max-content}}

/* PALOMAI 3.2.0 — Layouts reais, imagens e fundos administráveis. */
.pmx-hero{--pmx-background-image:none;--pmx-hero-image:none;--pmx-anim-duration:24s}
.pmx-hero[data-pmx-speed="slow"]{--pmx-anim-duration:42s}.pmx-hero[data-pmx-speed="fast"]{--pmx-anim-duration:12s}
.pmx-hero.pmx-background--solid{background:var(--pmx-soft)!important}
.pmx-hero.pmx-background--image{background:linear-gradient(90deg,rgba(240,255,246,.89),rgba(240,255,246,.72)),var(--pmx-background-image) center/cover no-repeat!important}
.pmx-hero.pmx-background--animated{background:linear-gradient(130deg,var(--pmx-soft),#f9fffb,var(--pmx-soft))!important}
.pmx-hero.pmx-background--animated:before{content:"";position:absolute;inset:-45%;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 30% 45%,color-mix(in srgb,var(--pmx-accent) 32%,transparent),transparent 42%),radial-gradient(ellipse at 78% 63%,color-mix(in srgb,var(--pmx-primary) 24%,transparent),transparent 40%);animation:pmx-ambient var(--pmx-anim-duration) ease-in-out infinite alternate}
.pmx-hero.pmx-effect--orbs:before{background:radial-gradient(circle at 25% 30%,color-mix(in srgb,var(--pmx-accent) 45%,transparent),transparent 20%),radial-gradient(circle at 75% 65%,color-mix(in srgb,var(--pmx-primary) 28%,transparent),transparent 25%)}
.pmx-hero.pmx-effect--mesh:before{background:repeating-radial-gradient(ellipse at 50% 35%,transparent 0 25px,color-mix(in srgb,var(--pmx-primary) 12%,transparent) 26px 27px,transparent 28px 56px)}
.pmx-hero.pmx-effect--stars:before{background:radial-gradient(circle at 10% 30%,var(--pmx-accent) 0 2px,transparent 3px),radial-gradient(circle at 60% 20%,var(--pmx-primary) 0 2px,transparent 3px),radial-gradient(circle at 77% 70%,var(--pmx-accent) 0 2px,transparent 3px)}
.pmx-hero.pmx-effect--waves:before{background:repeating-radial-gradient(ellipse at 80% 80%,transparent 0 47px,color-mix(in srgb,var(--pmx-primary) 16%,transparent) 48px 50px,transparent 51px 100px)}
.pmx-hero.pmx-effect--none:before{display:none}
@keyframes pmx-ambient{0%{transform:translate(-3%,2%) rotate(-4deg)}100%{transform:translate(4%,-3%) rotate(7deg)}}
.pmx-hero[data-pmx-motion="off"]:before{animation:none!important}
.pmx-template--immersive.pmx-hero{min-height:650px;display:flex;align-items:center;background:linear-gradient(115deg,var(--pmx-deep),var(--pmx-primary))!important}
.pmx-template--immersive.pmx-hero h1,.pmx-template--immersive.pmx-hero .lead,.pmx-template--immersive.pmx-hero .pmx-hero-tag{color:#fff!important}
.pmx-template--immersive.pmx-hero .pill{background:#fff}.pmx-template--immersive.pmx-hero .hero-badge{background:#fff}
.pmx-template--immersive.pmx-hero.pmx-background--image{background:linear-gradient(90deg,rgba(6,39,29,.92),rgba(6,39,29,.46)),var(--pmx-background-image) center/cover no-repeat!important}
.pmx-template--editorial.pmx-hero{background:#f7f5ee!important;border-bottom:7px solid var(--pmx-primary)}.pmx-template--editorial.pmx-hero h1{font-family:Georgia,serif;font-weight:600;letter-spacing:-.045em}.pmx-template--editorial.pmx-hero .card{border-radius:2px!important;transform:none!important}.pmx-template--editorial.pmx-hero .card img{border-radius:0!important}
.pmx-template--laboratory.pmx-hero{background:linear-gradient(125deg,#072c2c,#0c5146)!important}.pmx-template--laboratory.pmx-hero h1,.pmx-template--laboratory.pmx-hero .lead,.pmx-template--laboratory.pmx-hero .pmx-hero-tag{color:#fff!important}.pmx-template--laboratory.pmx-hero .card{transform:none;border-color:var(--pmx-accent)!important}.pmx-template--laboratory.pmx-hero .pill{background:#fff}
.pmx-template--botanical.pmx-hero{background:radial-gradient(ellipse at 95% 10%,#d0eac7 0%,transparent 45%),linear-gradient(140deg,#fffefa,var(--pmx-soft))!important;border-bottom-left-radius:100px}.pmx-template--botanical.pmx-hero .card{border-radius:8px;overflow:hidden;transform:none!important}.pmx-template--botanical.pmx-hero .card img{border-radius:0!important}
.pmx-hero.pmx-align--center .row{flex-direction:column;text-align:center}.pmx-hero.pmx-align--center .row>div{width:min(100%,900px);max-width:900px;margin-inline:auto}.pmx-hero.pmx-align--center h1,.pmx-hero.pmx-align--center .lead,.pmx-hero.pmx-align--center .pmx-hero-tag{margin-inline:auto}.pmx-hero.pmx-align--center .d-flex{justify-content:center}
.pmx-hero.pmx-align--right .row{flex-direction:row-reverse}.pmx-hero.pmx-align--right .row>div:first-child{text-align:right}.pmx-hero.pmx-align--right .d-flex{justify-content:flex-end}.pmx-hero.pmx-align--right .pmx-hero-tag{margin-left:auto}
.pmx-hero[style*="--pmx-hero-image:url("] .pmx-hero-media .card img{object-fit:cover}
.pmx-hero .pmx-hero-media[hidden]{display:none!important}
.pmx-hero:has(.pmx-hero-media[hidden]) .row>div:first-child{width:100%;max-width:1000px}
.pmx-hero:has(.pmx-hero-media[hidden]).pmx-align--center .row>div:first-child{margin-inline:auto}
.pmx-hero.pmx-background--animated.pmx-effect--aurora:before{filter:blur(35px)}
@media(prefers-reduced-motion:reduce){.pmx-hero:before{animation:none!important}}
@media(max-width:767px){.pmx-hero.pmx-align--right .row>div:first-child{text-align:left}.pmx-hero.pmx-align--right .d-flex{justify-content:flex-start}.pmx-template--botanical.pmx-hero{border-bottom-left-radius:36px}}

/* Tipos de fundo aplicados independentemente do template escolhido. */
.pmx-hero.pmx-background--solid{background:var(--pmx-soft)!important}
.pmx-hero.pmx-background--image{background:linear-gradient(90deg,rgba(240,255,246,.89),rgba(240,255,246,.72)),var(--pmx-background-image) center/cover no-repeat!important}
.pmx-hero.pmx-background--animated{background:linear-gradient(130deg,var(--pmx-soft),#f9fffb,var(--pmx-soft))!important}
.pmx-hero.pmx-template--immersive.pmx-background--image,.pmx-hero.pmx-template--laboratory.pmx-background--image{background:linear-gradient(90deg,rgba(6,39,29,.92),rgba(6,39,29,.46)),var(--pmx-background-image) center/cover no-repeat!important}
.pmx-hero.pmx-template--immersive.pmx-background--solid,.pmx-hero.pmx-template--laboratory.pmx-background--solid{background:var(--pmx-deep)!important}
.pmx-hero.pmx-template--immersive.pmx-background--animated,.pmx-hero.pmx-template--laboratory.pmx-background--animated{background:linear-gradient(125deg,var(--pmx-deep),var(--pmx-primary))!important}
