/* V1.0.80 – pop-ups institucionais da Home: tipografia elegante e layout acessível. */
.catedral-popup-overlay{position:fixed;inset:0;z-index:999000;display:flex;align-items:center;justify-content:center;padding:20px;background:radial-gradient(ellipse at 50% 25%,rgba(49,34,89,.63),rgba(12,8,32,.88) 70%),rgba(13,9,35,.84);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:caPopupFade .26s ease both}
.catedral-popup-dialog{--popup-width:660px;--popup-height:auto;box-sizing:border-box;position:relative;display:flex;flex-direction:column;overflow:hidden;width:min(var(--popup-width),calc(100vw - 40px));height:var(--popup-height);max-height:calc(100dvh - 40px);border:1px solid rgba(221,205,174,.72);border-radius:24px;background:#fff;color:#271b49;box-shadow:0 38px 110px rgba(2,0,20,.46),0 2px 6px rgba(24,13,42,.16);outline:0;animation:caPopupIn .4s cubic-bezier(.2,.9,.2,1) both}
.catedral-popup-topline{height:5px;flex:none;background:linear-gradient(90deg,#281951 0%,#8c3556 38%,#c6a46f 68%,#281951 100%)}
.catedral-popup-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px clamp(20px,4vw,31px);border-bottom:1px solid #f0ebf3;flex:none;background:linear-gradient(115deg,#fff 0%,#fcf9f9 100%)}
.catedral-popup-brand{display:flex;align-items:center;gap:11px;min-width:0}.catedral-popup-brand img{object-fit:contain;flex:none;width:42px;height:42px}.catedral-popup-brand div{display:flex;flex-direction:column;gap:2px;min-width:0}.catedral-popup-brand strong{font:700 11px/1.3 'Cinzel',Georgia,serif;letter-spacing:.075em;color:#251747}.catedral-popup-brand span{font:700 9px/1.2 system-ui,sans-serif;letter-spacing:.2em;color:#897f91}
.catedral-popup-close{display:flex;align-items:center;justify-content:center;flex:none;width:39px;height:39px;padding:0;border:1px solid #ece6f0;border-radius:50%;background:#f8f5fa;color:#39265f;cursor:pointer;transition:background .2s,transform .2s,border-color .2s}.catedral-popup-close:hover{background:#f0e7f0;border-color:#d4c4d8;transform:rotate(90deg)}
.catedral-popup-close:focus-visible,.catedral-popup-nav button:focus-visible,.catedral-popup-continue:focus-visible,.catedral-popup-text a:focus-visible{outline:3px solid #ab314e;outline-offset:3px}
.catedral-popup-body{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:30px clamp(22px,5vw,49px) 30px;text-align:center;scrollbar-color:#d6c8db #faf9fb}
.catedral-popup-symbol{display:grid;place-items:center;width:40px;height:40px;flex:none;margin-bottom:13px;border:1px solid #ead7df;border-radius:50%;background:linear-gradient(135deg,#fbf5f6,#fff);color:#9a4d67;font-size:23px;line-height:1}
.catedral-popup-kicker{margin:0 0 12px;font:700 10px/1.5 system-ui,sans-serif;letter-spacing:.17em;color:#8d526a}
.catedral-popup-dialog h2{max-width:100%;margin:0;color:#241649;font:600 clamp(26px,3.4vw,38px)/1.24 'Cormorant Garamond',Georgia,serif;letter-spacing:-.01em;overflow-wrap:anywhere}
.catedral-popup-rule{display:flex;align-items:center;gap:12px;width:150px;margin:18px 0;color:#ad8d6b;font:400 14px Georgia,serif}.catedral-popup-rule:before,.catedral-popup-rule:after{content:'';flex:1;height:1px;background:linear-gradient(90deg,transparent,#d7bd9c)}.catedral-popup-rule:after{transform:rotate(180deg)}
.catedral-popup-text{box-sizing:border-box;width:100%;max-width:70ch;margin:0;color:#575164;font:400 15px/1.82 'Lora',Georgia,serif;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere}
.catedral-popup-text[hidden],.catedral-popup-image-wrap[hidden],.catedral-popup-nav[hidden]{display:none!important}
.catedral-popup-text.is-html{white-space:normal;text-align:left}.catedral-popup-text.is-html p,.catedral-popup-text.is-html>div{margin:0 0 12px}.catedral-popup-text.is-html p:last-child{margin-bottom:0}.catedral-popup-text.is-html strong,.catedral-popup-text.is-html b{font-weight:700;color:#2c2251}.catedral-popup-text.is-html h2,.catedral-popup-text.is-html h3,.catedral-popup-text.is-html h4{margin:12px 0 10px;color:#251849;font-family:'Cormorant Garamond',Georgia,serif;font-weight:700;line-height:1.3}.catedral-popup-text.is-html h2{font-size:27px}.catedral-popup-text.is-html h3{font-size:23px}.catedral-popup-text.is-html h4{font-size:20px}
.catedral-popup-text.is-html a{color:#922f50;text-decoration:underline;text-underline-offset:3px}.catedral-popup-text.is-html ul,.catedral-popup-text.is-html ol{margin:10px 0 15px;padding-left:24px;text-align:left}.catedral-popup-text.is-html li{margin:4px 0}.catedral-popup-text.is-html blockquote{margin:14px 0;padding:10px 16px;border-left:3px solid #ab6f87;background:#faf6f8}.catedral-popup-text.is-html img{display:block;max-width:100%;height:auto;margin:10px auto;border-radius:12px}.catedral-popup-text.is-html table{display:block;width:100%;max-width:100%;overflow:auto;border-collapse:collapse}.catedral-popup-text.is-html th,.catedral-popup-text.is-html td{padding:9px 12px;border:1px solid #e6dce7;text-align:left}.catedral-popup-text.is-html hr{margin:18px 0;border:0;border-top:1px solid #e8dce7}
.catedral-popup-image-wrap{width:100%;display:flex;align-items:center;justify-content:center;min-height:0;padding:4px 0}.catedral-popup-image{display:block;max-width:100%;max-height:60dvh;width:auto;height:auto;object-fit:contain;border:1px solid #eee6e8;border-radius:13px;box-shadow:0 8px 26px rgba(31,22,58,.09)}.catedral-popup-dialog.is-image .catedral-popup-body{padding-top:20px}.catedral-popup-dialog.is-image .catedral-popup-symbol{display:none}
.catedral-popup-footer{flex:none;padding:16px clamp(20px,4vw,31px) 20px;border-top:1px solid #efe8ee;background:#fdfbfc}.catedral-popup-footer-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:31px;margin-bottom:12px}.catedral-popup-motto{color:#897d8c;font:700 9px/1.5 system-ui,sans-serif;letter-spacing:.13em}
.catedral-popup-nav{display:flex;align-items:center;gap:10px}.catedral-popup-nav button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid #e4d9e5;border-radius:50%;background:#fff;color:#392653;font:500 17px/1 system-ui,sans-serif;cursor:pointer}.catedral-popup-nav button:disabled{opacity:.35;cursor:default}.catedral-popup-counter{min-width:46px;color:#74687e;font:600 11px/1 system-ui,sans-serif;text-align:center}
.catedral-popup-continue{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;border:0;border-radius:10px;background:linear-gradient(105deg,#28194f,#3c235f);box-shadow:0 6px 14px rgba(40,25,79,.15);color:#fff;font:700 12px/1.3 system-ui,sans-serif;letter-spacing:.025em;cursor:pointer;transition:transform .2s,filter .2s,box-shadow .2s}.catedral-popup-continue:hover{transform:translateY(-1px);filter:brightness(1.12);box-shadow:0 10px 19px rgba(40,25,79,.22)}.catedral-popup-continue span{font-size:16px}
@keyframes caPopupFade{from{opacity:0}to{opacity:1}}@keyframes caPopupIn{from{opacity:0;transform:translateY(13px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:540px){.catedral-popup-overlay{padding:10px;align-items:center}.catedral-popup-dialog{width:100%;max-height:calc(100dvh - 20px);border-radius:19px}.catedral-popup-header{padding:13px 17px}.catedral-popup-brand img{width:36px;height:36px}.catedral-popup-brand strong{font-size:10px}.catedral-popup-body{padding:21px 19px 21px}.catedral-popup-symbol{width:34px;height:34px;font-size:20px;margin-bottom:10px}.catedral-popup-kicker{font-size:9px;letter-spacing:.12em}.catedral-popup-dialog h2{font-size:29px}.catedral-popup-text{font-size:14px;line-height:1.7}.catedral-popup-footer{padding:13px 17px 17px}.catedral-popup-footer-top{flex-wrap:wrap;margin-bottom:10px}.catedral-popup-motto{font-size:8px}.catedral-popup-image{max-height:45dvh}}
@media(max-height:560px){.catedral-popup-body{padding-top:14px;padding-bottom:14px}.catedral-popup-symbol{display:none}.catedral-popup-footer{padding-top:9px;padding-bottom:9px}.catedral-popup-rule{margin:10px 0}.catedral-popup-header{padding-top:9px;padding-bottom:9px}}
@media(prefers-reduced-motion:reduce){.catedral-popup-overlay,.catedral-popup-dialog{animation:none}.catedral-popup-close,.catedral-popup-continue{transition:none}}
