/* Instituto Anglicano — paleta preservada: azul e vermelho presentes na marca.
   Imagens do pacote do usuário: arquivos estáticos locais. */
:root{--blue:#0751af;--blue-deep:#073b84;--blue-dark:#052956;--red:#f7254d;--red-dark:#dd1640;--ink:#182d4b;--body:#5d6d83;--border:#e8edf4;--muted:#f6f8fc;--light:#fff;--radius:19px;--shadow:0 18px 48px rgba(13,57,115,.07)}
*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:105px}body{margin:0;background:#fff;color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased;font-size:16px;line-height:1.7}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{letter-spacing:-.036em;line-height:1.18}h1{font-size:clamp(2.7rem,5.2vw,5rem);font-weight:790}h2{font-size:clamp(2.1rem,3.7vw,3.55rem);font-weight:760}h3{font-size:1.32rem}p{color:var(--body);line-height:1.83}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #81aef4;outline-offset:4px}.container{width:min(1180px,calc(100% - 48px));margin-inline:auto}.section{padding:100px 0}.section-subtle{background:var(--muted)}.skip-link{position:fixed;top:-70px;left:16px;background:var(--blue);color:#fff;padding:12px;z-index:150}.skip-link:focus{top:12px}.topbar{background:var(--blue-dark);color:#d9e6fa;font-size:12px;font-weight:500}.topbar-inner{display:flex;min-height:39px;align-items:center;justify-content:space-between;gap:20px}.topbar-links{display:flex;gap:27px}.topbar a:hover{color:#fff}.topbar-location span{margin-right:6px;font-weight:bold;font-size:17px}.header{position:sticky;top:0;z-index:70;background:#fff;border-bottom:1px solid #eef1f6;box-shadow:0 2px 22px rgba(0,28,70,.035)}.nav-inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;gap:11px;flex-shrink:0}.brand img{width:46px;height:46px;object-fit:contain}.brand-name{display:flex;flex-direction:column;font-size:18px;line-height:1.01;font-weight:500;letter-spacing:-.025em;color:var(--blue-dark)}.brand-name strong{font-size:21px;font-weight:830}.brand-name small{font-size:9px;text-transform:uppercase;letter-spacing:.13em;margin-top:7px;color:#64758d;font-weight:650}.primary-nav{display:flex;align-items:center;gap:clamp(13px,1.6vw,24px)}.primary-nav>a{font-size:13px;font-weight:680;white-space:nowrap;transition:color .2s;color:#2b3a51}.primary-nav>a:not(.nav-donate):hover,.primary-nav>a.active:not(.nav-donate){color:var(--blue)}.primary-nav>a.active:not(.nav-donate){position:relative}.primary-nav>a.active:not(.nav-donate):after{content:"";position:absolute;bottom:-11px;left:0;width:100%;height:3px;background:var(--red);border-radius:6px}.primary-nav .nav-donate{display:inline-flex;align-items:center;gap:16px;padding:13px 18px;border-radius:10px;background:var(--red);color:#fff;box-shadow:0 7px 16px rgba(247,37,77,.17)}.primary-nav .nav-donate:hover{background:var(--red-dark)}.menu-toggle{display:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:53px;border-radius:11px;padding:13px 24px;font-weight:735;font-size:14px;line-height:1.2;border:1px solid transparent;transition:transform .22s,background .22s,color .22s,box-shadow .22s}.btn:hover{transform:translateY(-2px)}.btn-blue{background:var(--blue);color:#fff;box-shadow:0 12px 24px rgba(7,81,175,.17)}.btn-blue:hover{background:var(--blue-deep)}.btn-red{background:var(--red);color:#fff;box-shadow:0 10px 22px rgba(247,37,77,.13)}.btn-red:hover{background:var(--red-dark)}.btn-outline{color:var(--blue);border-color:#ccd9e9;background:#fff}.btn-outline:hover{border-color:var(--blue)}.btn-white{background:#fff;color:var(--blue-dark)}.button-row{display:flex;flex-wrap:wrap;align-items:center;gap:13px}.kicker{display:inline-block;color:var(--red);font-size:12px;font-weight:790;letter-spacing:.14em;text-transform:uppercase;margin-bottom:19px}.kicker-white{color:#ffb2c0}.text-link{font-size:14px;color:var(--blue);font-weight:780;display:inline-flex;gap:16px;align-items:center}.text-link:hover{text-decoration:underline;text-underline-offset:4px}.text-link span{font-size:20px}.section h2 em,.hero-copy h1 em,.prefooter h2 em{font-style:normal;color:var(--blue)}
.hero-home{background:linear-gradient(125deg,#fff 20%,#f5f8fd 100%);position:relative;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:55px;align-items:center;min-height:630px;padding:66px 0 62px}.hero-copy{padding:15px 0 10px}.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--blue);font-size:11px;font-weight:790;letter-spacing:.12em;margin-bottom:25px}.red-dot{width:8px;height:8px;border-radius:50%;background:var(--red)}.hero-copy h1{font-size:clamp(2.8rem,4.55vw,4.38rem);margin-bottom:24px;max-width:690px}.hero-copy h1 em{color:var(--blue);font-style:normal}.hero-copy>p{font-size:17px;max-width:490px;margin-bottom:29px}.hero-media{height:530px;position:relative;padding:0 10px 25px 0}.hero-photo{width:100%;height:100%;object-fit:cover;object-position:55% center;border-radius:42px 135px 38px 38px;box-shadow:0 28px 70px rgba(22,65,114,.13);position:relative;z-index:2}.hero-deco{position:absolute;right:-20px;top:-22px;width:230px;height:260px;border-radius:40% 56% 30% 30%;background:#e1eafa;z-index:1}.hero-photo-caption{position:absolute;z-index:4;left:-32px;bottom:11px;display:flex;align-items:center;gap:14px;background:#fff;padding:17px 23px;border-radius:16px;box-shadow:0 12px 34px rgba(11,53,107,.14);max-width:310px}.caption-heart{display:grid;place-items:center;background:#fff0f4;color:var(--red);width:48px;height:48px;border-radius:12px;font-size:25px}.hero-photo-caption strong,.hero-photo-caption small{display:block}.hero-photo-caption strong{font-size:13px;line-height:1.3}.hero-photo-caption small{font-size:11px;color:var(--body);margin-top:4px}.mini-proof{display:flex;gap:11px;align-items:center;margin-top:44px;font-size:12px;color:var(--body);line-height:1.45}.mini-proof strong{color:#273950}.mini-icon{width:38px;height:38px;background:#fce9ed;color:var(--red);border-radius:50%;display:grid;place-items:center;font-size:16px}.hero-bottom{display:flex;align-items:center;gap:23px;padding-bottom:25px;color:#60758f;font-size:10px;font-weight:780;letter-spacing:.13em}.hero-bottom .line{height:1px;flex:1;background:#dce4f0}.hero-bottom span:last-child{white-space:nowrap}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:clamp(50px,7vw,106px);align-items:center}.image-stack{position:relative;min-height:470px}.image-stack>img{width:100%;height:500px;object-fit:cover;border-radius:26px}.stack-note{position:absolute;bottom:32px;right:-27px;background:#fff;display:flex;align-items:center;gap:13px;padding:18px 23px;border-radius:14px;box-shadow:var(--shadow);font-size:14px;line-height:1.32}.stack-note span{font-size:34px;color:var(--red)}.section-copy h2{margin-bottom:25px}.section-copy>p{margin-bottom:20px}.mission-line{display:flex;gap:16px;margin:27px 0 23px;padding-top:20px;border-top:1px solid var(--border)}.mission-mark{color:var(--red);font-weight:800}.mission-line h3{font-size:17px;margin-bottom:4px}.mission-line p{font-size:14px;margin:0}.stats-section{padding:78px 0 64px;background:var(--blue-deep);color:#fff}.stats-heading{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:36px}.stats-heading h2{max-width:550px;font-size:clamp(2rem,3.2vw,3.1rem);margin:0;color:#fff}.stats-heading>p{color:#bed6f8;max-width:370px;margin:0;font-size:14px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.22);border-bottom:1px solid rgba(255,255,255,.22);padding:28px 0}.stats-grid>div{padding:12px 36px;border-right:1px solid rgba(255,255,255,.18)}.stats-grid>div:first-child{padding-left:0}.stats-grid>div:last-child{border-right:0}.stats-grid strong{display:block;font-size:clamp(2.1rem,3.8vw,3.4rem);letter-spacing:-.06em;line-height:1.2}.stats-grid span{font-size:13px;color:#d9e8fc}.stats-source{color:#bfd1eb;font-size:11px;margin:15px 0 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:37px}.section-head h2{margin-bottom:0}.section-head>div:last-child{max-width:415px}.section-head>div:last-child p,.section-head>p{font-size:15px;margin-bottom:12px;max-width:425px}.section-head.centered{display:block;text-align:center;max-width:700px;margin:0 auto 44px}.section-head.centered p{max-width:none;margin:14px 0 0}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.unit-card{border:1px solid var(--border);background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 10px 27px rgba(5,46,110,.035);transition:transform .25s,box-shadow .25s}.unit-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.unit-image{position:relative;height:218px;background:#e6edf6}.unit-image img{width:100%;height:100%;object-fit:cover}.unit-badge{position:absolute;bottom:14px;left:15px;background:#fff;border-radius:40px;padding:5px 13px;color:var(--blue);font-size:11px;font-weight:780}.unit-body{padding:23px 24px 25px}.unit-neighborhood{font-size:11px;color:var(--red);font-weight:740;text-transform:uppercase;letter-spacing:.065em}.unit-body h3{font-size:19px;min-height:51px;margin:8px 0 12px}.unit-body p{font-size:13px;min-height:50px;margin-bottom:19px}.card-link{display:flex;align-items:center;justify-content:space-between;color:var(--blue);font-size:13px;font-weight:760;border-top:1px solid var(--border);padding-top:16px}.card-link span{font-size:20px}.purpose-section{background:#f7f9fc}.pillar-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.pillar-card{border:1px solid #e7edf5;background:#fff;border-radius:16px;padding:24px 22px 25px;min-height:260px}.pillar-number{font-size:10px;letter-spacing:.1em;font-weight:790;color:var(--blue)}.pillar-symbol{display:grid;place-items:center;width:55px;height:55px;border-radius:14px;background:#fff0f3;color:var(--red);font-size:27px;margin:21px 0}.pillar-card h3{font-size:17px;margin:0 0 10px}.pillar-card p{font-size:13px;line-height:1.7;margin:0}.donation-band{background:#fff7f9;padding:80px 0}.donation-grid{display:grid;grid-template-columns:1fr .95fr;gap:75px;align-items:center}.donation-grid h2{max-width:590px}.donation-grid p{max-width:535px}.donation-grid .btn{margin-top:12px}.donation-image img{border-radius:22px;width:100%;height:320px;object-fit:cover;box-shadow:var(--shadow)}.news-feature{display:grid;grid-template-columns:.9fr 1.1fr;border:1px solid var(--border);border-radius:22px;overflow:hidden;background:#fff}.news-feature-img{min-height:350px}.news-feature-img img{width:100%;height:100%;object-fit:cover}.news-feature-body{padding:clamp(30px,5vw,66px);display:flex;flex-direction:column;align-items:start;justify-content:center}.news-meta{color:var(--red);font-size:11px;letter-spacing:.1em;font-weight:790}.news-feature-body h3{font-size:clamp(1.55rem,2.8vw,2.5rem);margin:16px 0}.news-feature-body p{font-size:15px;margin-bottom:23px}
.page-hero{padding:76px 0 70px;background:linear-gradient(135deg,#f4f7fc,#fff);border-bottom:1px solid var(--border);position:relative;overflow:hidden}.page-hero:after{content:"";position:absolute;right:-120px;top:-145px;width:420px;height:420px;background:radial-gradient(circle,rgba(7,81,175,.06),transparent 70%);pointer-events:none}.page-hero h1{max-width:900px;font-size:clamp(2.45rem,4.45vw,4.3rem);margin:3px 0 14px}.page-hero p{max-width:710px;margin-bottom:25px;font-size:16px}.breadcrumb{display:flex;align-items:center;gap:11px;font-size:12px;color:var(--body)}.breadcrumb a{color:var(--blue)}.editorial{max-width:840px}.editorial h2{max-width:750px}.editorial p{font-size:17px;margin-bottom:19px}.quote-box{margin-top:22px;padding:25px 27px;border-left:4px solid var(--red);background:#f6f8fc;color:var(--blue-dark);font-size:18px;font-weight:700;border-radius:0 11px 11px 0}.image-tall>img{height:540px}.intro-split{display:grid;grid-template-columns:1fr 1fr;gap:90px}.intro-split p{margin-bottom:12px}.unit-detail{display:grid;grid-template-columns:.86fr 1.14fr;min-height:380px;border:1px solid var(--border);border-radius:22px;overflow:hidden;background:#fff;margin-bottom:24px}.detail-image img{width:100%;height:100%;min-height:390px;object-fit:cover}.detail-content{padding:32px 40px}.detail-content h3{font-size:clamp(1.55rem,2.6vw,2.15rem);margin:0 0 16px}.detail-content .address,.detail-content p{font-size:14px;margin-bottom:8px}.detail-content a:not(.text-link){color:var(--blue)}.detail-content h4{font-size:14px;margin:22px 0 12px}.creche-list{list-style:none;margin:0 0 18px;padding:0}.creche-list li{display:flex;gap:10px;align-items:start;margin-bottom:11px}.creche-tick{display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;background:#e7f0fc;color:var(--blue);font-size:12px;font-weight:900}.creche-list strong,.creche-list a{display:block;font-size:13px;line-height:1.4}.creche-list a{font-size:12px;margin-top:4px}.donation-page{align-items:start}.qr-card{padding:28px;border:1px solid var(--border);border-radius:24px;background:#fff;box-shadow:var(--shadow)}.qr-card img{width:100%;object-fit:contain;border-radius:9px}.qr-card p{font-size:12px;margin:12px 0 0}.notice{border-left:3px solid var(--red);padding:15px 18px;margin:20px 0;background:#fff4f6;color:#744252;font-size:13px;border-radius:0 12px 12px 0}.donation-values{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.donation-values>div{background:#fff;border:1px solid var(--border);padding:30px;border-radius:17px}.donation-values strong{display:block;color:var(--blue);font-size:34px;letter-spacing:-.05em;margin-bottom:10px}.donation-values p{font-size:14px;margin:0}.fine-print{margin:20px 0 0;font-size:12px}.article-container{max-width:870px}.article-meta{display:flex;justify-content:space-between;gap:20px;font-size:12px;font-weight:780;letter-spacing:.08em;color:var(--red);margin-bottom:20px}.article-meta a{color:var(--blue)}.article-cover{width:100%;max-height:420px;object-fit:cover;border-radius:19px}.article-copy{max-width:710px;margin:38px auto 0}.article-copy h2{font-size:35px}.article-copy p{font-size:17px}.article-copy .btn{margin:15px 0}.article-copy .article-note{font-size:12px;border-top:1px solid var(--border);padding-top:22px}.article-note a{color:var(--blue);text-decoration:underline}.publication-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:24px}.publication-card{border:1px solid var(--border);border-radius:18px;overflow:hidden}.publication-img img{width:100%;height:260px;object-fit:cover}.publication-card>div:last-child{padding:28px}.publication-card h3{font-size:22px;margin:10px 0}.publication-card p{font-size:14px}.collection-aside{border-radius:18px;background:#f5f8fd;border:1px solid var(--border);padding:30px}.aside-icon{display:inline-grid;place-items:center;font-size:26px;color:var(--blue);width:60px;height:60px;border-radius:12px;background:#e2ecfa;margin-bottom:15px}.collection-aside p{font-size:14px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:82px}.contact-item{display:flex;gap:19px;align-items:start;padding:20px 0;border-bottom:1px solid var(--border)}.contact-symbol{color:var(--red);display:grid;place-items:center;background:#fff1f4;width:48px;height:48px;border-radius:11px;font-size:22px;flex:none}.contact-item h3{font-size:16px;margin:2px 0 5px}.contact-item p{font-size:14px;margin:0}.contact-item a{color:var(--blue);font-size:14px}.contact-item small{display:block;font-size:11px;color:var(--body);margin-top:6px}.contact-form-card{border-radius:21px;padding:35px;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow)}.contact-form-card h3{font-size:27px;margin:0 0 12px}.contact-form-card>p{font-size:12px;margin-bottom:24px}.field{margin-bottom:16px}.field label{font-size:12px;font-weight:800;color:var(--ink);display:block;margin-bottom:7px}.field input,.field textarea{width:100%;border:1px solid #dce4ef;border-radius:10px;outline:none;padding:12px 15px;background:#fafdff;color:var(--ink);font-size:14px;resize:vertical}.field input:focus,.field textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(7,81,175,.09)}.btn-submit{width:100%}#form-feedback{color:var(--blue);font-size:12px;margin-top:12px}.error-state{text-align:center;max-width:740px}.error-state h1{font-size:2.8rem}
.prefooter{background:var(--blue);padding:65px 0;color:#fff}.prefooter-inner{display:flex;justify-content:space-between;align-items:center;gap:36px}.prefooter h2{color:#fff;max-width:650px;font-size:clamp(1.9rem,3vw,3rem);margin:0 0 9px}.prefooter p{color:#d9e7fc;margin:0}.prefooter .btn{flex:none}.footer{background:var(--blue-dark);color:#e1eafa;padding-top:72px}.footer-grid{display:grid;grid-template-columns:1.45fr .7fr 1.1fr 1.3fr;gap:48px;padding-bottom:58px}.footer-brand .brand-name,.footer-brand .brand-name strong{color:#fff}.footer-brand .brand-name small{color:#9eb9df}.footer-about>p{max-width:340px;margin-top:25px}.footer h3{font-size:16px;letter-spacing:0;color:#fff;margin-bottom:20px}.footer p{color:#b2c8e8;font-size:13px;line-height:1.85}.footer-grid>div:not(:first-child)>a{display:block;color:#c0d3ed;margin-bottom:9px;font-size:13px;overflow-wrap:anywhere}.footer a:hover{color:#fff}.footer-base{border-top:1px solid rgba(255,255,255,.13);display:flex;justify-content:space-between;gap:18px;padding:22px 0;color:#a8c1e2;font-size:11px}.back-to-top{position:fixed;right:24px;bottom:21px;background:var(--red);color:#fff;width:40px;height:40px;display:grid;place-items:center;border-radius:10px;z-index:50;box-shadow:0 7px 18px rgba(247,37,77,.18)}
@media(max-width:1100px){.primary-nav{gap:12px}.primary-nav>a{font-size:12px}.primary-nav .nav-donate{padding:11px 13px}.hero-grid{gap:35px}.hero-copy h1{font-size:3.5rem}.footer-grid{gap:24px}}@media(max-width:1000px){.topbar-inner{min-height:35px}.nav-inner{min-height:78px}.menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;background:#fff;border:1px solid var(--border);border-radius:10px;width:43px;height:43px;padding:10px}.menu-toggle span{height:2px;width:100%;background:var(--blue);border-radius:2px}.primary-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:18px max(24px,calc((100vw - 1180px)/2));border-bottom:1px solid var(--border);box-shadow:0 12px 26px rgba(0,23,55,.09);max-height:calc(100vh - 80px);overflow-y:auto;flex-direction:column;align-items:stretch;gap:0}.primary-nav.open{display:flex}.primary-nav>a{padding:12px 7px;font-size:15px}.primary-nav>a.active:not(.nav-donate):after{display:none}.primary-nav .nav-donate{margin-top:10px;justify-content:center}.hero-grid{grid-template-columns:1fr 1fr;min-height:auto;padding:60px 0}.hero-copy h1{font-size:3rem}.hero-media{height:410px}.hero-photo-caption{left:-12px;max-width:250px}.section{padding:78px 0}.two-col{gap:50px}.pillar-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.contact-grid{gap:40px}}@media(max-width:740px){.container{width:min(100% - 34px,600px)}.topbar-location{display:none}.topbar-links{width:100%;justify-content:space-between;gap:12px;font-size:10px}.topbar-links a{white-space:nowrap}.brand-name{font-size:16px}.brand-name strong{font-size:18px}.brand img{width:40px;height:40px}.hero-grid{display:flex;flex-direction:column;align-items:stretch;gap:36px;padding:54px 0 48px}.hero-copy h1{font-size:clamp(2.55rem,9.7vw,3.5rem)}.hero-copy>p{font-size:15px}.hero-media{height:360px;padding-right:5px}.hero-photo{border-radius:22px 70px 22px 22px}.hero-photo-caption{bottom:-8px;left:10px;padding:11px 14px}.hero-deco{right:-15px}.mini-proof{margin-top:30px}.hero-bottom{display:none}.button-row .btn{width:100%;justify-content:space-between}.section{padding:67px 0}.two-col,.intro-split,.donation-grid,.contact-grid,.publication-grid{grid-template-columns:1fr;gap:36px}.image-stack{min-height:auto}.image-stack>img{height:350px}.stack-note{right:9px;bottom:13px}.section-head,.stats-heading{display:block}.section-head>div:last-child,.section-head>p,.stats-heading>p{max-width:none;margin-top:16px}.stats-grid{grid-template-columns:repeat(2,1fr);row-gap:20px}.stats-grid>div{padding:10px 15px}.stats-grid>div:nth-child(odd){padding-left:0}.stats-grid>div:nth-child(2){border-right:0}.stats-grid strong{font-size:2.6rem}.cards-grid{grid-template-columns:1fr}.unit-image{height:245px}.unit-body h3,.unit-body p{min-height:0}.pillar-grid{grid-template-columns:1fr 1fr;gap:11px}.pillar-card{min-height:0;padding:17px}.pillar-symbol{margin:14px 0}.pillar-card h3{font-size:15px}.donation-image img{height:240px}.news-feature{grid-template-columns:1fr}.news-feature-img{min-height:230px;height:230px}.news-feature-body{padding:30px}.page-hero{padding:52px 0}.page-hero h1{font-size:clamp(2.35rem,8vw,3.3rem)}.unit-detail{grid-template-columns:1fr}.detail-image img{height:260px;min-height:0}.detail-content{padding:26px}.donation-values{grid-template-columns:1fr}.article-meta{flex-direction:column}.article-copy h2{font-size:29px}.contact-form-card{padding:25px}.prefooter-inner{display:block}.prefooter .btn{margin-top:25px}.footer-grid{grid-template-columns:1fr 1fr;gap:32px 18px}.footer-about{grid-column:1/-1}.footer-base{display:block}.footer-base span{display:block;margin-bottom:5px}}@media(max-width:400px){.topbar-links{font-size:9px}.brand-name{font-size:14px}.brand-name strong{font-size:17px}.hero-media{height:300px}.hero-photo-caption{max-width:220px}.pillar-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.footer-about{grid-column:auto}.unit-image{height:210px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* V1.1.0 — logotipos completos fornecidos pelo usuário; sem reconstrução tipográfica */
.brand > img.brand-full-logo,
.footer-brand > img.brand-full-logo{width:238px;height:auto;max-width:100%;object-fit:contain;display:block}
.footer-brand > img.brand-full-logo{width:246px}
.header .brand{min-width:0}
.history-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:34px}
.history-gallery figure{margin:0;min-width:0}
.history-gallery img{display:block;width:100%;height:285px;object-fit:cover;border-radius:18px}
.history-gallery figcaption{font-size:13px;color:var(--body);padding:12px 0}
.creches-banner{display:grid;grid-template-columns:160px 1fr;align-items:center;gap:22px;margin:36px 0 0;padding:18px 26px;background:#f3f7fe;border:1px solid var(--border);border-radius:20px}
.creches-banner img{width:160px;height:118px;object-fit:cover;border-radius:13px}
.creches-banner figcaption{font-size:19px;font-weight:700;color:var(--blue-dark);line-height:1.35}
@media(max-width:1100px){.brand > img.brand-full-logo{width:218px}}
@media(max-width:740px){.brand > img.brand-full-logo{width:min(60vw,230px)}.footer-brand > img.brand-full-logo{width:245px}.history-gallery{gap:13px}.history-gallery img{height:210px}.creches-banner{grid-template-columns:105px 1fr;padding:14px;gap:14px}.creches-banner img{width:105px;height:95px}.creches-banner figcaption{font-size:14px}}
@media(max-width:390px){.history-gallery{grid-template-columns:1fr}.history-gallery img{height:280px}}


/* V1.2.0 — Hero principal em foto de fundo, sem card ou fotografia lateral.
   Foto local enviada pelo usuário: /images/instituto/children-playing-grass.jpg
   Gradiente usa o azul institucional, garantindo contraste para textos e botões. */
.hero-home {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--blue-dark);
    background-image:
        linear-gradient(90deg, rgba(5, 41, 86, .94) 0%, rgba(5, 41, 86, .79) 39%, rgba(5, 41, 86, .39) 71%, rgba(5, 41, 86, .20) 100%),
        url('../images/instituto/children-playing-grass.jpg');
    background-size: cover;
    background-position: center 45%;
    background-repeat: no-repeat;
}
.hero-home .hero-grid {
    display: flex;
    align-items: center;
    min-height: clamp(575px, 50vw, 710px);
    padding: clamp(78px, 8vw, 120px) 0 58px;
}
.hero-home .hero-copy {
    width: min(720px, 100%);
    padding: 0;
    position: relative;
    z-index: 1;
}
.hero-home .eyebrow {
    color: #fff;
    letter-spacing: .13em;
    margin-bottom: 22px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .22);
}
.hero-home .hero-copy h1 {
    color: #fff;
    font-size: clamp(2.8rem, 4.7vw, 4.8rem);
    line-height: 1.09;
    max-width: 730px;
    margin: 0 0 25px;
    text-wrap: balance;
    text-shadow: 0 2px 16px rgba(0, 16, 40, .25);
}
.hero-home .hero-copy h1 em {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: 4px;
    text-underline-offset: .10em;
}
.hero-home .hero-copy > p {
    color: #fff;
    font-size: clamp(15px, 1.45vw, 17px);
    max-width: 575px;
    line-height: 1.75;
    margin-bottom: 30px;
    text-shadow: 0 1px 10px rgba(0, 16, 40, .30);
}
.hero-home .btn-white {
    background: #fff;
    color: var(--blue-dark);
    border-color: #fff;
}
.hero-home .btn-white:hover { background: #f1f5fc; }
.hero-home .btn-hero-outline {
    background: rgba(5, 41, 86, .16);
    border-color: rgba(255, 255, 255, .85);
    color: #fff;
}
.hero-home .btn-hero-outline:hover {
    background: rgba(255, 255, 255, .17);
    border-color: #fff;
}
.hero-home .hero-bottom {
    position: relative;
    z-index: 1;
    color: #fff;
    padding-bottom: 27px;
    text-shadow: 0 1px 8px rgba(0, 16, 40, .3);
}
.hero-home .hero-bottom .line { background: rgba(255, 255, 255, .45); }
@media (max-width: 1000px) {
    .hero-home .hero-grid { min-height: 605px; padding: 85px 0 55px; }
    .hero-home .hero-copy h1 { font-size: clamp(2.7rem, 6vw, 4.15rem); }
}
@media (max-width: 740px) {
    .hero-home {
        background-image:
            linear-gradient(90deg, rgba(5, 41, 86, .88), rgba(5, 41, 86, .69)),
            url('../images/instituto/children-playing-grass.jpg');
        background-position: 53% center;
    }
    .hero-home .hero-grid { min-height: 585px; padding: 85px 0 75px; }
    .hero-home .hero-copy h1 { font-size: clamp(2.55rem, 9vw, 3.5rem); }
    .hero-home .hero-copy > p { font-size: 15px; }
    .hero-home .button-row { gap: 11px; }
}
@media (max-width: 450px) {
    .hero-home .hero-grid { min-height: 625px; padding: 80px 0 75px; }
    .hero-home .eyebrow { font-size: 10px; letter-spacing: .07em; }
    .hero-home .button-row .btn { width: 100%; }
}

/* V1.3.0 — ajustes de navegação, redes, missão, apoio, CTA e retorno ao topo. */
.svg-symbols{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.page-top-anchor{position:absolute;top:0;left:0;width:1px;height:1px;overflow:hidden}
.topbar-right{display:flex;align-items:center;gap:22px;min-width:0}
.topbar .topbar-links{gap:20px}
.social-links{display:flex;align-items:center;gap:9px;flex-wrap:nowrap}
.social-link{display:inline-flex;align-items:center;justify-content:center;width:33px;height:33px;flex:0 0 33px;border-radius:10px;color:inherit;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.14);transition:background .2s,color .2s,transform .2s}
a.social-link:hover{background:var(--red);color:#fff;transform:translateY(-2px)}
.social-link-pending{cursor:default;opacity:.73}
.social-svg{width:17px;height:17px;display:block}
.header .nav-inner{min-height:105px;gap:22px}
.header .brand>img.brand-full-logo{width:300px;max-width:100%;height:auto}
.header .primary-nav{gap:clamp(16px,1.7vw,24px)}
.header .primary-nav>a{font-size:14.5px;font-weight:700}
.header .primary-nav .nav-donate{font-size:15px;min-height:49px;padding:14px 19px;gap:16px;border-radius:11px}
.mission-mark{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;min-width:52px;background:#fff0f3;border:1px solid #ffd4dc;border-radius:15px;color:var(--red);font-weight:normal}
.mission-mark svg{display:block;width:27px;height:27px}
.mission-line{align-items:flex-start;gap:19px}
.donation-image{display:flex;align-items:center;justify-content:center;min-width:0}
.donation-image img{width:100%;height:auto;max-height:none;object-fit:contain;border-radius:0;border:0;box-shadow:none}
.prefooter{background:var(--blue);padding:68px 0}
.prefooter .prefooter-inner{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:45px;align-items:center}
.prefooter .prefooter-copy{min-width:0}
.prefooter .prefooter-copy h2{font-size:clamp(1.95rem,3vw,2.8rem)}
.prefooter .prefooter-copy p{font-size:15px;line-height:1.75}
.prefooter .prefooter-copy .btn{margin-top:26px}
.prefooter .prefooter-copy .prefooter-verify{font-size:11.5px;color:#d6e6ff;margin:15px 0 0;max-width:470px}
.prefooter-qr{margin:0;min-width:0}
.prefooter-qr>a{display:block;transition:transform .2s}
.prefooter-qr>a:hover{transform:translateY(-2px)}
.prefooter-qr img{display:block;width:100%;height:auto;object-fit:contain;border:0;border-radius:0;box-shadow:none}
.prefooter-qr figcaption{margin-top:10px;color:#d9e7fc;font-size:11.5px;line-height:1.5;text-align:center}
.prefooter-qr figcaption a{text-decoration:underline;text-underline-offset:3px;font-weight:700}
.prefooter-qr figcaption a:hover{color:#fff}
.footer{background:#030d1d;color:#e1eafa}
.footer .footer-grid{grid-template-columns:1.5fr .72fr 1.1fr 1.2fr;gap:36px}
.footer .footer-brand>img.brand-full-logo{width:330px;max-width:100%;height:auto}
.footer-about>p{margin-top:21px}
.footer-about .social-links{margin-top:24px;gap:10px}
.footer-about .social-link{width:39px;height:39px;flex-basis:39px;background:#101f34;border-color:#243751}
.footer-about a.social-link:hover{background:var(--red);border-color:var(--red)}
.footer-about .social-svg{width:19px;height:19px}
.back-to-top{cursor:pointer;border:0;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(12px);transition:opacity .2s,transform .2s,visibility .2s}
.back-to-top.is-visible{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.back-to-top:hover{background:var(--red-dark)}
@media(max-width:1180px){
  .header .nav-inner{min-height:88px}
  .header .brand>img.brand-full-logo{width:270px}
  .header .menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;background:#fff;border:1px solid var(--border);border-radius:10px;width:46px;height:46px;padding:11px;margin-left:auto}
  .header .menu-toggle span{height:2px;width:100%;background:var(--blue);border-radius:2px}
  .header .primary-nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:#fff;max-height:calc(100vh - 88px);overflow-y:auto;padding:15px max(24px,calc((100vw - 1180px)/2));border-bottom:1px solid var(--border);box-shadow:0 12px 26px rgba(0,23,55,.09)}
  .header .primary-nav.open{display:flex}
  .header .primary-nav>a{font-size:16px;padding:12px 8px}
  .header .primary-nav>a.active:not(.nav-donate):after{display:none}
  .header .primary-nav .nav-donate{justify-content:center;margin-top:10px;font-size:16px}
  .footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:850px){
  .topbar-right{gap:14px}
  .topbar .topbar-links{gap:12px}
  .topbar .topbar-links a{font-size:11px}
  .topbar .social-links{gap:5px}
  .topbar .social-link{width:29px;height:29px;flex-basis:29px}
  .prefooter .prefooter-inner{grid-template-columns:1fr;gap:30px}
  .prefooter .prefooter-copy{max-width:690px}
  .prefooter-qr{width:min(100%,660px);margin-inline:auto}
}
@media(max-width:740px){
  .header .brand>img.brand-full-logo{width:min(70vw,270px)}
  .topbar-inner{flex-wrap:wrap;padding:7px 0;gap:5px}
  .topbar-right{width:100%;justify-content:space-between;gap:12px}
  .topbar .topbar-links{flex-wrap:wrap;row-gap:2px}
  .topbar .topbar-links a{font-size:10.5px}
  .prefooter{padding:52px 0}
  .prefooter .prefooter-copy .btn{margin-top:20px}
  .footer .footer-brand>img.brand-full-logo{width:min(82vw,330px)}
}
@media(max-width:430px){
  .topbar-right{align-items:flex-start}
  .topbar .topbar-links{flex-direction:column;gap:1px}
  .topbar .topbar-links a{font-size:10px}
  .topbar .social-links{padding-top:4px}
  .header .brand>img.brand-full-logo{width:min(69vw,250px)}
}


/* V1.4.0 — Fundo fotográfico/abstrato personalizado da seção Transparência e Impacto.
   Imagem autoral fornecida para a atualização, salva localmente, sem serviços externos.
   Regras exclusivas para .stats-section: demais seções não são afetadas. */
.stats-section {
    background-color: #0c397f;
    background-image: url('../images/instituto/fundo-transparencia-impacto.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
@media (max-width: 740px) {
    .stats-section { background-position: center center; }
}


/* V1.5.0 — Como fazemos a diferença: cartões editoriais leves e responsivos.
   Mantidas as quatro áreas e seus textos, sem links ou recursos externos. */
.purpose-section {
    background:
        radial-gradient(ellipse 38% 48% at 1% 2%, rgba(7, 81, 175, .036), transparent 80%),
        radial-gradient(ellipse 34% 55% at 100% 98%, rgba(247, 37, 77, .026), transparent 85%),
        #f9fbfe;
}
.purpose-section .section-head.centered { max-width: 755px; margin-bottom: 48px; }
.purpose-section .section-head.centered p { color: #65758c; font-size: 15.5px; }
.purpose-section .pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
.purpose-section .pillar-card {
    --pillar-color: var(--blue);
    --pillar-icon-bg: #eaf2ff;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 330px;
    min-width: 0;
    padding: 29px 26px 26px;
    overflow: hidden;
    border: 1px solid #e6edf6;
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 12px 37px rgba(5, 41, 86, .045);
    transition: transform .27s ease, border-color .27s ease, box-shadow .27s ease;
}
.purpose-section .pillar-card-health,
.purpose-section .pillar-card-support {
    --pillar-color: var(--red);
    --pillar-icon-bg: #fff0f3;
}
.purpose-section .pillar-card:hover {
    transform: translateY(-6px);
    border-color: #d7e3f2;
    box-shadow: 0 22px 46px rgba(5, 41, 86, .105);
}
.purpose-section .pillar-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 27px;
}
.purpose-section .pillar-symbol {
    display: grid;
    place-items: center;
    margin: 0;
    flex: 0 0 65px;
    width: 65px;
    height: 65px;
    border-radius: 19px;
    background: var(--pillar-icon-bg);
    color: var(--pillar-color);
    font-size: inherit;
}
.purpose-section .pillar-symbol svg { display: block; width: 32px; height: 32px; }
.purpose-section .pillar-index {
    color: #dce5f0;
    font-size: 27px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: -.05em;
    font-variant-numeric: tabular-nums;
}
.purpose-section .pillar-number {
    display: block;
    margin-bottom: 12px;
    color: var(--pillar-color);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .145em;
    line-height: 1.5;
}
.purpose-section .pillar-card h3 {
    color: var(--ink);
    font-size: clamp(18px, 1.55vw, 21px);
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -.025em;
    margin: 0 0 13px;
}
.purpose-section .pillar-card p {
    margin: 0 0 25px;
    color: #65758a;
    font-size: 13.5px;
    line-height: 1.75;
}
.purpose-section .pillar-accent {
    display: block;
    width: 34px;
    height: 3px;
    margin-top: auto;
    border-radius: 10px;
    background: var(--pillar-color);
    opacity: .72;
    transition: width .27s ease;
}
.purpose-section .pillar-card:hover .pillar-accent { width: 55px; }
@media (max-width: 1100px) {
    .purpose-section .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .purpose-section .pillar-card { min-height: 295px; padding: 29px; }
    .purpose-section .pillar-card h3 { font-size: 21px; }
}
@media (max-width: 640px) {
    .purpose-section .section-head.centered { margin-bottom: 32px; }
    .purpose-section .pillar-grid { grid-template-columns: 1fr; gap: 15px; }
    .purpose-section .pillar-card { min-height: 0; padding: 25px; border-radius: 20px; }
    .purpose-section .pillar-card-top { margin-bottom: 22px; }
    .purpose-section .pillar-card p { margin-bottom: 21px; }
}
@media (prefers-reduced-motion: reduce) {
    .purpose-section .pillar-card,
    .purpose-section .pillar-accent { transition: none; }
    .purpose-section .pillar-card:hover { transform: none; }
}


/* ===========================================================================
   V1.6.0 — Identidade infantil contemporânea · Poppins + Inter · JS leve.
   Tons institucionais: azul #0751af / vermelho #f7254d; sem mudar paleta.
   =========================================================================== */
:root {
  --font-title: 'Poppins', 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-text: 'Inter', 'Segoe UI', Arial, sans-serif;
  --blue: #0751af;
  --blue-deep: #073b84;
  --blue-dark: #052956;
  --red: #f7254d;
  --red-dark: #dd1640;
  --ink: #13315a;
  --body: #596a84;
  --muted: #f2f7fe;
  --border: #e4ecf7;
  --radius: 24px;
  --shadow: 0 24px 62px rgba(6,49,111,.095);
}
body { font-family: var(--font-text); line-height: 1.68; }
h1,h2,h3,h4,.brand-name,.btn,.primary-nav>a,.hero-play,.stats-grid strong { font-family: var(--font-title); }
h1,h2,h3 { letter-spacing: -.055em; }
h1 { font-weight: 800; }
h2 { font-weight: 750; line-height: 1.15; }
h3 { font-weight: 700; letter-spacing: -.035em; }
p { line-height: 1.85; }
.section { padding-block: clamp(80px, 9vw, 125px); }
.container { width: min(1220px, calc(100% - 56px)); }
.section h2 em, .prefooter h2 em { color: var(--blue); }
.kicker { color: var(--red); letter-spacing: .13em; font-size: 11.5px; font-weight: 800; }
.kicker:not(.kicker-white)::before { content: ''; display: inline-block; width: 17px; height: 6px; margin-right: 11px; vertical-align: 2px; border-radius: 10px; background: var(--red); transform: rotate(-15deg); }
.text-link { font-size: 14px; gap: 12px; }
.btn { min-height: 56px; border-radius: 16px; padding-inline: 27px; font-size: 13.5px; font-weight: 700; box-shadow: 0 9px 23px rgba(3,44,98,.09); }
.btn:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(3,44,98,.17); }
.btn-red { box-shadow: 0 12px 30px rgba(247,37,77,.23); }
.btn-red:hover { box-shadow: 0 19px 35px rgba(247,37,77,.30); }

/* Navbar com leitura clara e feedback visual; menu mobile mantido funcional. */
.header { border-bottom: 1px solid rgba(4,49,99,.06); transition: box-shadow .25s ease, background-color .25s ease; }
.header.is-scrolled { background: rgba(255,255,255,.975); box-shadow: 0 10px 40px rgba(6,49,111,.12); }
.header .nav-inner { min-height: 100px; gap: 18px; }
.header .brand>img.brand-full-logo { width: 295px; transition: transform .25s ease; }
.header .brand:hover>img.brand-full-logo { transform: scale(1.025); }
.header .primary-nav { gap: clamp(12px, 1.5vw, 22px); }
.header .primary-nav>a:not(.nav-donate) { position: relative; font-size: 13.5px; padding: 11px 0; transition: color .2s ease; }
.header .primary-nav>a:not(.nav-donate)::before { content:''; position:absolute; left:0; right:100%; bottom:4px; height:3px; background: var(--red); border-radius:99px; transition: right .28s ease; }
.header .primary-nav>a:not(.nav-donate):hover::before,.header .primary-nav>a.active:not(.nav-donate)::before {right:0}
.header .primary-nav>a.active:not(.nav-donate)::after { display:none }
.header .primary-nav .nav-donate { border-radius: 16px; font-weight: 700; box-shadow: 0 9px 25px rgba(247,37,77,.2); transition: transform .25s, box-shadow .25s, background .25s; }
.header .primary-nav .nav-donate:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(247,37,77,.28); }
.topbar { background: #051e42; }
.social-link { border-radius: 11px; }
.page-scroll-progress { position:fixed; z-index:90; left:0; top:0; width:100%; height:4px; transform-origin:left; transform:scaleX(0); pointer-events:none; background:linear-gradient(90deg,var(--red),var(--blue)); }

/* Hero preserva foto original; formas infantis flutuam nas bordas. */
.hero-home { background-image: linear-gradient(100deg,rgba(5,27,63,.94),rgba(5,41,86,.81) 41%,rgba(5,41,86,.38) 77%,rgba(5,41,86,.25)),url('../images/instituto/children-playing-grass.jpg'); }
.hero-home::after { content:''; position:absolute; z-index:0; left:-80px; bottom:-110px; width:330px; height:180px; transform:rotate(-12deg); border-radius:55% 60% 0 0; background:rgba(247,37,77,.16); pointer-events:none; }
.hero-home .hero-grid { min-height: clamp(670px, 50vw, 750px); padding-top:clamp(100px,10vw,145px); padding-bottom:75px; }
.hero-home .hero-copy { z-index:3; max-width:770px; }
.hero-home .eyebrow { color:#fff; background: rgba(255,255,255,.13); border:1px solid rgba(255,255,255,.24); padding:11px 17px; border-radius:100px; font-size:10.5px; backdrop-filter: blur(8px); letter-spacing:.09em; }
.hero-home .hero-copy h1 { font-size:clamp(3rem,5.15vw,5.45rem); letter-spacing:-.06em; max-width:795px; font-weight:800; line-height:1.095; }
.hero-home .hero-copy h1 em { text-decoration: none; color:#fff; background:linear-gradient(transparent 76%,rgba(247,37,77,.95) 76%,rgba(247,37,77,.95) 89%,transparent 89%); }
.hero-home .hero-copy>p { font-size:clamp(16px,1.5vw,18px); max-width:615px; }
.hero-home .btn-white { color:var(--blue-deep); }
.hero-home .btn-hero-outline { background:rgba(255,255,255,.09); backdrop-filter:blur(6px); border-color:rgba(255,255,255,.7); }
.hero-home .hero-bottom { padding-bottom:32px; z-index:3; position:relative; gap:21px; font-size:10px; }
.hero-play { white-space:nowrap; display:inline-flex; align-items:center; gap:9px; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.46); color:#fff; border-radius:99px; min-height:38px; padding:7px 15px; font-size:11px; letter-spacing:0; font-weight:650; transition:background .23s,transform .23s; backdrop-filter:blur(6px); }
.hero-play span {color:#ff7e95; font-size:17px; }
.hero-play:hover { background:rgba(255,255,255,.25); transform:translateY(-2px); }
.hero-scroll-link { white-space:nowrap; transition:color .2s; }
.hero-scroll-link:hover { color:#ffc4d0; }
.hero-doodles { position:absolute; inset:0; z-index:2; pointer-events:none; overflow:hidden; }
.doodle { position:absolute; color:rgba(255,255,255,.6); will-change:transform; transform:translate3d(var(--pointer-x,0px),var(--pointer-y,0px),0); transition:transform .5s ease; filter:drop-shadow(0 2px 7px rgba(3,22,66,.1)); }
.doodle-sun { width:93px; top:15%; right:9%; color:#ffc8d2; animation:doodle-float-one 6s ease-in-out infinite; }
.doodle-star { width:48px; top:67%; right:30%; color:rgba(255,255,255,.72); animation:doodle-float-two 5s ease-in-out infinite; }
.doodle-spiral { width:126px; bottom:14%; right:4%; color:#fba6b8; animation:doodle-float-one 6.5s ease-in-out infinite reverse; }
@keyframes doodle-float-one { 0%,100% { translate:0 0; rotate:-8deg; } 50% { translate:0 -13px; rotate:7deg; } }
@keyframes doodle-float-two { 0%,100% { translate:0 0; rotate:8deg; } 50% { translate:0 -18px; rotate:-7deg; } }
.joy-particle {position:fixed; z-index:110; font:700 28px var(--font-title); line-height:1; color:var(--particle-color,#fff); pointer-events:none; opacity:0; animation:joy-burst .85s cubic-bezier(.1,.6,.3,1) forwards; filter:drop-shadow(0 3px 3px rgba(5,22,52,.25)); }
@keyframes joy-burst { 0%{ transform:translate(-50%,-50%) scale(.35) rotate(-25deg);opacity:1 } 30%{opacity:1} 100%{transform:translate(calc(-50% + var(--scatter-x)),calc(-50% + var(--scatter-y))) scale(1.25) rotate(65deg);opacity:0} }

/* Faixa editorial com palavras do Instituto — animação suave, sem ticker de marketing. */
.values-ribbon { display:block; width:100%; overflow:hidden; background:var(--red); color:#fff; transform:none; position:relative; z-index:3; margin:0; border-radius:0; box-shadow:0 10px 25px rgba(247,37,77,.12); }
.ribbon-track { display:flex; width:max-content; animation:ribbon-walk 40s linear infinite; }
.ribbon-track>span { white-space:nowrap; display:block; padding:15px 0; font:700 13px var(--font-title); letter-spacing:.065em; }
.ribbon-track i { font-style:normal; display:inline-block; padding:0 8px; font-size:21px; line-height:1; vertical-align:-2px; }
@keyframes ribbon-walk { to { transform:translateX(-50%); } }

/* Formas orgânicas e fotos mais presentes na Home. */
.about-preview { background:#fff; overflow:hidden; position:relative; }
.about-preview::before {content:''; position:absolute; right:-180px; top:40px; width:410px; height:410px; border:70px solid rgba(7,81,175,.025); border-radius:55% 45% 60% 40%; pointer-events:none;}
.about-preview .image-stack::before {content:''; position:absolute; z-index:0; width:92%; height:95%; background:#e8f1ff; border-radius: 43% 57% 37% 63% / 33% 41% 59% 67%; left:-23px; top:27px; transform:rotate(-6deg); }
.about-preview .image-stack>img {position:relative; height:520px; border-radius: 41% 59% 42% 58% / 30% 34% 66% 70%; border:8px solid #fff; box-shadow:0 24px 45px rgba(9,54,109,.10); }
.about-preview .stack-note {z-index:2; border:1px solid #edf2fc; box-shadow:0 12px 36px rgba(5,41,86,.14); border-radius:19px; }
.photo-deco {position:absolute; pointer-events:none; z-index:3; color:var(--red); font-size:76px; line-height:1; top:-28px; right:10%; transform:rotate(18deg); text-shadow:0 6px 0 #fff; }
.mission-line {background:#f2f7ff; border:0; border-radius:20px; padding:21px; }
.mission-mark {background:var(--red); color:#fff; border:none; border-radius:17px;}

/* Seção de indicadores — mantém arte azul integrada na versão anterior. */
.stats-section {position:relative; isolation:isolate; padding:105px 0 95px; }
.stats-section::before {content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(4,43,99,.18),rgba(2,30,79,.03));}
.stats-heading h2 {font-size:clamp(2.2rem,3.7vw,3.8rem); letter-spacing:-.055em;}
.stats-grid {gap:14px; padding:22px 0; border:0;}
.stats-grid>div {padding:26px 20px 23px; border:1px solid rgba(255,255,255,.27)!important; border-radius:22px; background:rgba(255,255,255,.105); backdrop-filter:blur(7px); position:relative; overflow:hidden; transition:transform .25s ease,background .25s ease;}
.stats-grid>div:first-child {padding-left:20px;}
.stats-grid>div:hover {transform:translateY(-5px); background:rgba(255,255,255,.16);}
.stats-grid>div::before {content:'✦';position:absolute;right:12px;top:2px;color:rgba(255,255,255,.23);font-size:33px;}
.stats-grid strong {font-size:clamp(2.35rem,3.8vw,3.65rem);font-variant-numeric:tabular-nums;letter-spacing:-.05em;}
.stats-grid span {font-weight:600;}

/* V1.8.27 — A nota de auditoria/observacao da secao de impacto, alimentada pela
   chave Site.Impacto.Observacao no MySQL, agora tem maior destaque visual.
   Mantem-se o texto dinamico: nenhuma mensagem e imposta sobre o valor do banco. */
.stats-section .stats-source {
  width: min(100%, 960px);
  margin: 32px auto 0;
  text-align: center;
  font-size: clamp(1.125rem, 1.7vw, 1.45rem);
  font-weight: 800;
  line-height: 1.5;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 24, 70, .22);
}


/* Unidades com profundidade e fotos recortadas; não altera links nem endereço. */
.units-section { background:linear-gradient(180deg,#fff 0%,#f2f7ff 100%); }
.units-section .unit-card {border:1px solid #e2eafa; border-radius:27px; box-shadow:0 12px 40px rgba(12,56,108,.06);}
.units-section .unit-card:hover {transform:translateY(-8px);box-shadow:0 24px 52px rgba(12,56,108,.15);}
.unit-image {height:239px;overflow:hidden;}
.unit-image img {transition:transform .65s cubic-bezier(.2,.6,.2,1);}
.unit-card:hover .unit-image img {transform:scale(1.075);}
.unit-badge {border-radius:100px; padding:9px 15px; box-shadow:0 5px 15px rgba(9,41,80,.1);}
.unit-body {padding:26px 27px 28px;}
.unit-body h3 {font-size:21px;}
.card-link span,.text-link span {transition:transform .2s;}
.card-link:hover span,.text-link:hover span {transform:translate(3px,-3px);}

/* Papel recortado + traços infantis sutis atrás dos pilares já modernizados. */
.purpose-section { position:relative; isolation:isolate; background:#fff; overflow:hidden; }
.purpose-section::before {content:'';position:absolute;left:-135px;top:90px;width:320px;height:320px;background:rgba(7,81,175,.04);border-radius:63% 37% 36% 64% / 40% 52% 48% 60%;z-index:-1;}
.purpose-section::after {content:'';position:absolute;right:-110px;bottom:-150px;width:400px;height:400px;background:rgba(247,37,77,.045);border-radius:46% 54% 74% 26% / 56% 44% 56% 44%;z-index:-1;}
.purpose-section .pillar-card {border-radius:27px; min-height:353px; padding:32px 25px; box-shadow:0 17px 40px rgba(5,41,86,.06);}
.purpose-section .pillar-card::before {content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:radial-gradient(circle at var(--glow-x,50%) var(--glow-y,25%),rgba(7,81,175,.07),transparent 62%);opacity:0;transition:opacity .25s;}
.purpose-section .pillar-card:hover::before {opacity:1;}
.purpose-section .pillar-card>* {position:relative;z-index:1;}
.purpose-section .pillar-symbol {width:71px;height:71px;flex-basis:71px;border-radius:24px 24px 24px 7px;transform:rotate(-5deg);transition:transform .35s, background .35s;}
.purpose-section .pillar-card:hover .pillar-symbol {transform:rotate(6deg) scale(1.07);}
.purpose-section .pillar-card-health .pillar-symbol,.purpose-section .pillar-card-support .pillar-symbol {transform:rotate(5deg);}
.purpose-section .pillar-card-health:hover .pillar-symbol,.purpose-section .pillar-card-support:hover .pillar-symbol {transform:rotate(-6deg) scale(1.07);}
.purpose-section .pillar-card h3 {font-size:18px;}

/* Apoio e jornalismo editorial moderno; imagem original permanece inteira. */
.donation-band {background:linear-gradient(125deg,#fff0f4,#fff8fa 50%,#f1f6ff);border-radius:75px 75px 0 0;}
.donation-grid {gap:clamp(35px,5vw,80px);}
.donation-grid h2 {font-size:clamp(2.25rem,3.5vw,3.8rem);}
.donation-image {position:relative;}
.donation-image::before {content:'';position:absolute;width:105%;height:114%;background:rgba(247,37,77,.075);left:-2%;top:-7%;border-radius:54% 46% 46% 54% / 34% 52% 48% 66%;transform:rotate(-5deg);z-index:0;}
.donation-image img {position:relative;z-index:1; object-fit:contain; width:100%; height:auto; border:0; box-shadow:none;}
.news-section {background:#fff;}
.news-feature {border-radius:30px; box-shadow:0 19px 45px rgba(5,41,86,.06);border:1px solid #eaf0f8;}
.news-feature-img {overflow:hidden;}
.news-feature-img img {transition:transform .7s ease;}
.news-feature:hover img {transform:scale(1.055);}
.news-feature-body h3 {font-size:clamp(1.8rem,3vw,2.75rem);}

/* Todas as páginas: cabeçalhos vivos e padrão visual unificado. */
.page-hero {background:radial-gradient(circle at 95% 0%,rgba(247,37,77,.085),transparent 33%),radial-gradient(circle at 15% 110%,rgba(7,81,175,.12),transparent 40%),#f3f8ff;padding:100px 0 86px;}
.page-hero::after {right:-105px;top:-85px;width:390px;height:390px;border:39px solid rgba(7,81,175,.045);border-radius:40% 60% 42% 58%;background:transparent;}
.page-hero h1 {font-size:clamp(2.65rem,4.8vw,4.8rem);color:var(--blue-dark);}
.page-hero p {font-size:17px;}
.section-subtle {background:#f3f8fe;}
.unit-detail,.qr-card,.donation-values>div {box-shadow:0 12px 40px rgba(5,41,86,.055);border-color:#e6eef8;border-radius:26px;}
.quote-box {background:#eaf2ff;border-radius:0 22px 22px 0;padding:29px 32px;}
.history-gallery img,.creches-banner img {transition:transform .5s;}
.history-gallery img:hover,.creches-banner:hover img {transform:scale(1.025);}

/* CTA com formas que relembram o símbolo da marca. */
.prefooter {position:relative;overflow:hidden;background:linear-gradient(120deg,var(--blue) 0%,var(--blue-deep) 75%);padding:95px 0;}
.prefooter::before {content:'';position:absolute;width:360px;height:360px;left:-145px;bottom:-200px;border:58px solid rgba(255,255,255,.055);border-radius:50%;pointer-events:none;}
.prefooter::after {content:'♡';position:absolute;right:4%;top:-92px;font:700 330px var(--font-title);color:rgba(255,255,255,.04);pointer-events:none;transform:rotate(14deg);}
.prefooter .prefooter-inner {position:relative;z-index:1;}
.prefooter .prefooter-copy h2 {font-size:clamp(2.2rem,3.5vw,3.65rem);max-width:600px;}
.prefooter .prefooter-copy .btn {box-shadow:0 12px 25px rgba(1,25,70,.18);}
.prefooter-qr {background:rgba(255,255,255,.08);padding:16px;border:1px solid rgba(255,255,255,.2);border-radius:22px;}
.prefooter-qr img {border-radius:10px;}
.footer {background:#030d1d;}
.footer h3 {font:700 15px var(--font-title);letter-spacing:-.02em;}
.footer .footer-brand>img.brand-full-logo {width:345px;}
.footer-base span:last-child span {color:#ff6885;}
.back-to-top {width:51px;height:51px;border-radius:19px;box-shadow:0 12px 32px rgba(3,22,52,.22);}

/* Animações de entrada: ativadas pelo JS somente com suporte a IO. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll {opacity:0; transform:translateY(26px);transition:opacity .65s ease,transform .65s cubic-bezier(.22,.61,.36,1);transition-delay:var(--reveal-delay,0ms);}
  .reveal-on-scroll.is-in-view {opacity:1;transform:translateY(0);}
}
@media (max-width:1180px) {
  .header .nav-inner {min-height:85px;}
  .header .brand>img.brand-full-logo {width:270px;}
  .header .primary-nav {gap:0;}
  .header .primary-nav>a:not(.nav-donate) {padding:13px 10px;}
  .header .primary-nav>a:not(.nav-donate)::before {display:none;}
}
@media (max-width:900px) {
  .hero-home .hero-copy h1 {max-width:680px;}
  .doodle-sun {right:4%;top:10%;width:65px;}
  .doodle-spiral {right:4%;bottom:9%;}
  .stats-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .purpose-section .pillar-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:740px) {
  .container {width:calc(100% - 38px);}
  .section {padding-block:76px;}
  .hero-home {background-image:linear-gradient(90deg,rgba(5,31,68,.93),rgba(5,41,86,.68)),url('../images/instituto/children-playing-grass.jpg');}
  .hero-home .hero-grid {min-height:615px;padding-top:94px;padding-bottom:65px;}
  .hero-home .hero-copy h1 {font-size:clamp(2.55rem,9vw,4rem);}
  .hero-home .hero-bottom {gap:10px;justify-content:space-between;flex-wrap:wrap;}
  .hero-home .hero-bottom>.line {display:none;}
  .hero-home .hero-bottom>span:first-child {display:none;}
  .hero-play {min-height:36px;font-size:10px;}
  .doodle-sun {top:4%;right:8%;width:46px;opacity:.55;}
  .doodle-star {right:5%;top:63%;width:31px;}
  .doodle-spiral {width:80px;bottom:18%;}
  .ribbon-track>span {font-size:11px;padding:12px 0;}
  .ribbon-track i {padding:0 7px;}
  .about-preview .image-stack>img {height:400px;}
  .about-preview .stack-note {right:0;}
  .photo-deco {font-size:52px;}
  .stats-section {padding:75px 0;}
  .stats-grid {gap:9px;}
  .stats-grid>div {padding:20px 15px!important;border-radius:17px;}
  .stats-grid strong {font-size:clamp(2rem,7.5vw,3.2rem);}
  .stats-grid span {font-size:11.5px;}
  .purpose-section .pillar-grid {grid-template-columns:1fr;}
  .donation-band {border-radius:40px 40px 0 0;}
  .page-hero {padding-block:72px 65px;}
  .prefooter {padding:70px 0;}
}
@media (max-width:410px) {
  .hero-home .hero-grid {min-height:665px;}
  .hero-home .hero-bottom {align-items:center;}
  .hero-home .hero-scroll-link {font-size:9px;}
  .hero-home .button-row .btn {width:100%;}
  .stats-grid strong {font-size:1.85rem;}
}
@media (prefers-reduced-motion: reduce) {
  html {scroll-behavior:auto;}
  *,*::before,*::after {animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}
  .reveal-on-scroll {opacity:1!important;transform:none!important;}
  .ribbon-track {animation:none;}
  .doodle {animation:none;}
}
/* Evita rolagem horizontal em telas estreitas. */
html, body { max-width: 100%; overflow-x: clip; }

/* V1.7.0 — Hero principal com nova arte autoral leve, moderna e infantil.
   Imagem local: /images/instituto/hero-principal-v170.png */
.hero-home {
    background-color: #edf3fb;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.80) 23%, rgba(255,255,255,.50) 46%, rgba(255,255,255,.16) 68%, rgba(255,255,255,0) 87%),
        url('../images/instituto/hero-principal-v170.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.hero-home::after { display: none; }
.hero-home .hero-grid {
    min-height: clamp(620px, 48vw, 760px);
    padding: clamp(88px, 8vw, 128px) 0 72px;
}
.hero-home .hero-copy { max-width: 660px; }
.hero-home .hero-copy h1,
.hero-home .hero-copy h1 em,
.hero-home .hero-copy > p,
.hero-home .eyebrow,
.hero-home .hero-bottom,
.hero-home .hero-scroll-link {
    color: var(--blue-dark);
    text-shadow: none;
}
.hero-home .eyebrow {
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(7,81,175,.10);
    border-radius: 999px;
    padding: 10px 16px;
    box-shadow: 0 8px 24px rgba(7,81,175,.08);
    backdrop-filter: blur(6px);
}
.hero-home .hero-copy h1 {
    max-width: 640px;
    margin-bottom: 22px;
}
.hero-home .hero-copy h1 em {
    background: linear-gradient(transparent 72%, rgba(247,37,77,.18) 72%, rgba(247,37,77,.18) 92%, transparent 92%);
}
.hero-home .hero-copy > p {
    max-width: 530px;
    color: #3e5779;
}
.hero-home .btn-white {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: 0 14px 30px rgba(7,81,175,.20);
}
.hero-home .btn-white:hover { background: var(--blue-deep); }
.hero-home .btn-hero-outline {
    background: rgba(255,255,255,.82);
    color: var(--blue-dark);
    border-color: rgba(7,81,175,.18);
    box-shadow: 0 14px 30px rgba(7,81,175,.08);
}
.hero-home .btn-hero-outline:hover {
    background: #fff;
    border-color: rgba(7,81,175,.32);
}
.hero-home .hero-bottom {
    position: relative;
    z-index: 3;
    padding-bottom: 28px;
    color: #416184;
}
.hero-home .hero-bottom .line { background: rgba(7,81,175,.16); }
.hero-play {
    background: #fff;
    border-color: rgba(7,81,175,.18);
    color: var(--blue-dark);
    box-shadow: 0 12px 26px rgba(7,81,175,.07);
    backdrop-filter: none;
}
.hero-play span { color: var(--red); }
.hero-play:hover { background: #f7fbff; }
.hero-scroll-link:hover { color: var(--red-dark); }
.hero-doodles { display: none; }
@media (max-width: 900px) {
    .hero-home {
        background-image:
            linear-gradient(90deg, rgba(255,255,255,.91) 0%, rgba(255,255,255,.82) 36%, rgba(255,255,255,.48) 64%, rgba(255,255,255,.10) 84%),
            url('../images/instituto/hero-principal-v170.png');
        background-position: 64% center;
    }
    .hero-home .hero-grid {
        min-height: 620px;
        padding-top: 92px;
        padding-bottom: 66px;
    }
}
@media (max-width: 740px) {
    .hero-home {
        background-image:
            linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.80) 34%, rgba(255,255,255,.42) 62%, rgba(255,255,255,.18) 100%),
            url('../images/instituto/hero-principal-v170.png');
        background-position: 72% center;
    }
    .hero-home .hero-grid {
        min-height: 635px;
        padding: 96px 0 86px;
    }
    .hero-home .hero-copy h1 { font-size: clamp(2.55rem, 9vw, 3.85rem); }
    .hero-home .hero-copy > p { max-width: none; }
}
@media (max-width: 430px) {
    .hero-home { background-position: 75% center; }
    .hero-home .hero-grid { min-height: 655px; padding-top: 90px; }
}


/* V1.8.0 — Hero compacto com interações fade discretas e acessíveis.
   A imagem da V1.7.0 permanece integralmente incorporada ao projeto. */
.hero-home {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.84) 22%, rgba(255,255,255,.50) 44%, rgba(255,255,255,.08) 68%, rgba(255,255,255,0) 100%),
    url('../images/instituto/hero-principal-v170.png');
  background-position: center 49%;
}
.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 230px at var(--hero-pointer-x, 24%) var(--hero-pointer-y, 44%), rgba(255,255,255,.27), transparent 100%);
  transition: opacity .5s ease;
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .hero-home:hover::before { opacity: 1; }
}
.hero-home .hero-grid {
  min-height: clamp(455px, 37vw, 525px);
  padding: 50px 0 24px;
  align-items: center;
}
.hero-home .hero-copy { max-width: 580px; }
.hero-home .hero-copy h1 {
  max-width: 585px;
  font-size: clamp(2.25rem, 3.65vw, 3.75rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.046em;
  margin: 0 0 15px;
}
.hero-home .hero-copy > p {
  max-width: 485px;
  font-size: clamp(14px, 1.04vw, 16px);
  line-height: 1.65;
  margin: 0 0 22px;
  transition: color .35s ease, opacity .35s ease;
}
.hero-home .eyebrow {
  font-size: 10px;
  margin-bottom: 16px;
  padding: 8px 13px;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.hero-home .eyebrow:hover {
  background: #fff;
  border-color: rgba(7,81,175,.22);
  box-shadow: 0 12px 28px rgba(7,81,175,.13);
  transform: translateY(-2px);
}
.hero-home .button-row { gap: 11px; }
.hero-home .button-row .btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 49px;
  padding: 11px 20px;
  gap: 14px;
  border-radius: 14px;
  font-size: 13px;
  transition: transform .28s ease, box-shadow .33s ease, color .33s ease, background-color .33s ease, border-color .33s ease;
}
.hero-home .button-row .btn::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.18), rgba(255,255,255,0) 70%);
  transition: opacity .35s ease;
}
.hero-home .button-row .btn:hover::before,
.hero-home .button-row .btn:focus-visible::before { opacity: 1; }
.hero-home .button-row .btn:hover,
.hero-home .button-row .btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(7,81,175,.17);
}
.hero-home .button-row .btn span {
  display:inline-block;
  opacity: .72;
  transform: translateX(0);
  transition: transform .28s ease, opacity .28s ease;
}
.hero-home .button-row .btn:hover span,
.hero-home .button-row .btn:focus-visible span { opacity: 1; transform: translateX(4px); }
.hero-home .hero-copy h1 em { background: none; position: relative; z-index: 0; isolation: isolate; white-space: normal; }
.hero-home .hero-copy h1 em::after {
  content: '';
  position: absolute;
  inset: auto 0 .035em 0;
  height: .105em;
  border-radius: 999px;
  background-color: rgba(247,37,77,.24);
  opacity: .65;
  z-index: -1;
  transition: opacity .4s ease, background-color .4s ease, transform .4s ease;
}
.hero-home .hero-copy h1:hover em::after,
.hero-home .hero-copy h1:focus-within em::after {
  opacity: 1;
  background-color: rgba(247,37,77,.40);
  transform: scaleY(1.12);
}
.hero-home .hero-bottom { padding-bottom: 17px; gap: 16px; }
.hero-home .hero-play { transition: opacity .3s ease, background-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.hero-home .hero-play:hover { box-shadow: 0 14px 25px rgba(7,81,175,.13); }
.hero-home .hero-scroll-link { transition: opacity .3s ease, color .3s ease; }
.hero-home .hero-scroll-link:hover { opacity: .70; }
@media (prefers-reduced-motion:no-preference) {
  .hero-home .hero-copy > .eyebrow,
  .hero-home .hero-copy > h1,
  .hero-home .hero-copy > p,
  .hero-home .hero-copy > .button-row {
    animation: ia-hero-fade-in .64s both cubic-bezier(.20,.70,.25,1);
  }
  .hero-home .hero-copy > h1 {animation-delay: .08s;}
  .hero-home .hero-copy > p {animation-delay: .16s;}
  .hero-home .hero-copy > .button-row {animation-delay: .23s;}
  @keyframes ia-hero-fade-in {
    from {opacity: 0; transform: translateY(12px);}
    to {opacity: 1; transform: translateY(0);}
  }
}
@media (max-width: 900px) {
  .hero-home {
    background-image:
      linear-gradient(90deg, rgba(255,255,255,.94),rgba(255,255,255,.83) 37%,rgba(255,255,255,.30) 72%,transparent 100%),
      url('../images/instituto/hero-principal-v170.png');
    background-position: 65% 49%;
  }
  .hero-home .hero-grid { min-height: 480px; padding: 58px 0 28px; }
  .hero-home .hero-copy h1 { font-size: clamp(2.18rem, 5.2vw, 3.35rem); }
}
@media (max-width: 740px) {
  .hero-home {
    background-image:
      linear-gradient(180deg, rgba(255,255,255,.96) 0%,rgba(255,255,255,.90) 28%,rgba(255,255,255,.65) 60%,rgba(255,255,255,.25) 100%),
      url('../images/instituto/hero-principal-v170.png');
    background-position: 72% center;
  }
  .hero-home .hero-grid { min-height: 505px; padding: 60px 0 42px; }
  .hero-home .hero-copy h1 { font-size: clamp(2.13rem, 7.3vw, 3.03rem); }
  .hero-home .hero-copy > p { font-size: 14px; line-height: 1.62; max-width: 460px; }
  .hero-home .button-row .btn { min-height: 47px; padding: 11px 17px; }
}
@media (max-width: 430px) {
  .hero-home .hero-grid { min-height: 525px; padding: 56px 0 38px; }
  .hero-home .hero-copy h1 { font-size: clamp(2.03rem, 8.4vw, 2.55rem); }
}
@media (prefers-reduced-motion:reduce) {
  .hero-home .hero-copy > .eyebrow,
  .hero-home .hero-copy > h1,
  .hero-home .hero-copy > p,
  .hero-home .hero-copy > .button-row { animation: none !important; }
  .hero-home::before { display: none; }
}

/* V1.8.2: espaçamento compacto entre símbolos e palavras;
   sem folga entre cópias da faixa no ponto de repetição da animação. */


/* Instituto Anglicano V1.8.3 — Topbar institucional com redes nas cores oficiais.
   As animações usam transform/opacity e respeitam reduced-motion. */
.topbar {
  position: relative;
  isolation: isolate;
  background: linear-gradient(107deg, #03152c 0%, #082c59 52%, #07366f 100%);
  border-bottom: 1px solid rgba(255,255,255,.075);
  color: #e4eefc;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.035);
}
.topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(ellipse at 18% 0%,rgba(66,139,237,.15),transparent 53%);
}
.topbar .topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  padding-block: 6px;
}
.topbar .topbar-location {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  color: #d7e5f9;
  font-family: var(--font-body, Inter, sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
}
.topbar .topbar-location-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.095);
  border: 1px solid rgba(255,255,255,.12);
  color: #f2f7ff;
}
.topbar .topbar-location-icon svg,
.topbar .topbar-contact-icon svg { width: 15px; height: 15px; display: block; }
.topbar .topbar-location-bullet { color: #ef3c61; font-weight: 900; padding-inline: 3px; }
.topbar .topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
  min-width: 0;
}
.topbar .topbar-links { display: flex; align-items: center; gap: 17px; min-width: 0; }
.topbar a.topbar-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: #dce9fc;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  transition: color .25s ease, transform .28s ease;
}
.topbar a.topbar-contact:hover,
.topbar a.topbar-contact:focus-visible { color: #fff; transform: translateY(-1px); }
.topbar .topbar-contact-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 9px;
  color: #a8d2ff;
  background: rgba(255,255,255,.07);
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.topbar a.topbar-contact:hover .topbar-contact-icon,
.topbar a.topbar-contact:focus-visible .topbar-contact-icon {
  color: #fff; background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.24);
}
.topbar .topbar-divider { display: block; width: 1px; height: 24px; background: rgba(255,255,255,.21); flex: none; }
.topbar .social-links {
  display: flex;
  gap: 8px;
  padding: 4px 5px;
  border-radius: 15px;
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.07);
}
.topbar .social-link {
  --brand-glow: rgba(0,0,0,.25);
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px;
  color: #fff;
  opacity: 1;
  box-shadow: 0 3px 10px rgba(0,8,34,.14);
  transform: translate3d(0,0,0);
  transition: transform .30s cubic-bezier(.20,.70,.20,1), box-shadow .30s ease, filter .30s ease;
}
.topbar .social-link--facebook { background: #1877f2; --brand-glow: rgba(24,119,242,.32); }
.topbar .social-link--instagram { background: linear-gradient(135deg,#feda75 0%,#fa7e1e 19%,#d62976 51%,#962fbf 78%,#4f5bd5 100%); --brand-glow: rgba(214,41,118,.36); }
.topbar .social-link--youtube { background: #ff0033; --brand-glow: rgba(255,0,51,.32); }
.topbar .social-link .social-svg { width: 18px; height: 18px; display: block; transition: transform .3s ease; }
.topbar a.social-link:hover,
.topbar a.social-link:focus-visible {
  color: #fff;
  border-color: rgba(255,255,255,.34);
  transform: translate3d(0,-3px,0) scale(1.065);
  box-shadow: 0 9px 20px var(--brand-glow), 0 3px 10px rgba(0,0,0,.14);
  filter: saturate(1.10);
}
.topbar a.social-link:hover .social-svg,
.topbar a.social-link:focus-visible .social-svg { transform: scale(1.09) rotate(-5deg); }
.topbar .social-link-pending { cursor: default; opacity: .82; }
.topbar .social-link-pending .social-svg { opacity: .94; }
/* Etiquetas aparecem apenas para links realmente configurados. */
.topbar a.social-link::after {
  content: attr(data-social-name);
  position: absolute;
  inset: auto auto -35px 50%;
  transform: translate(-50%, -4px);
  padding: 5px 9px;
  border-radius: 7px;
  background: #061b38;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 7px 18px rgba(0,18,45,.16);
  transition: opacity .2s ease, transform .2s ease;
}
.topbar a.social-link:hover::after,
.topbar a.social-link:focus-visible::after { opacity: 1; transform: translate(-50%,0); }
@media (max-width: 1180px) {
  .topbar .topbar-inner { gap: 12px; }
  .topbar .topbar-right { gap: 11px; }
  .topbar .topbar-links { gap: 10px; }
  .topbar .topbar-contact { font-size: 11px; }
}
@media (max-width: 950px) {
  .topbar .topbar-location { display: none; }
  .topbar .topbar-inner { justify-content: center; }
  .topbar .topbar-right { width: 100%; justify-content: space-between; }
}
@media (max-width: 670px) {
  .topbar .topbar-inner { min-height: 54px; padding-block: 8px; }
  .topbar .topbar-right { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
  .topbar .topbar-links { flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; }
  .topbar a.topbar-contact { width: 100%; min-width: 0; gap: 6px; font-size: 10.5px; }
  .topbar .topbar-contact-icon { width: 18px; height: 18px; flex-basis: 18px; background: transparent; border: 0; }
  .topbar .topbar-contact-icon svg { width: 14px; height: 14px; }
  .topbar .topbar-contact-label { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .topbar .topbar-divider { display: none; }
  .topbar .social-links { gap: 5px; padding: 3px; border-radius: 13px; }
  .topbar .social-link { width: 32px; height: 32px; flex-basis: 32px; border-radius: 10px; }
}
@media (max-width: 380px) {
  .topbar .topbar-inner { width: min(100% - 24px, 1180px); }
  .topbar .social-links { gap: 4px; }
  .topbar .social-link { width: 29px; height: 29px; flex-basis: 29px; }
  .topbar a.topbar-contact { font-size: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .topbar .social-links { animation: ia-topbar-reveal .5s ease both; }
  .topbar .topbar-location,
  .topbar .topbar-links { animation: ia-topbar-reveal .46s ease both; }
  @keyframes ia-topbar-reveal {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  .topbar .social-link, .topbar .social-link .social-svg,
  .topbar a.social-link::after, .topbar a.topbar-contact { transition: none !important; animation: none !important; }
  .topbar a.social-link:hover, .topbar a.social-link:focus-visible { transform: none; }
}
/* Brilho pontual de hover acionado pelo JavaScript apenas em links ativos. */
.topbar a.social-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 35% 25%,rgba(255,255,255,.23),transparent 70%);
  transition: opacity .25s ease;
}
.topbar a.social-link.is-social-hovered::before,
.topbar a.social-link:focus-visible::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .topbar a.social-link::before { transition: none !important; }
}


/* V1.8.4 — microinterações acessíveis para as redes sociais.
   Funcionam também nos ícones sem endereço cadastrado, sem atribuir clique a eles. */
.topbar .social-link,
.footer .social-link {
  --social-x: 50%;
  --social-y: 40%;
  -webkit-tap-highlight-color: transparent;
}
.topbar .social-link::before {
  /* Destaque de luz suave que acompanha o ponteiro, sem alterar a cor oficial. */
  background: radial-gradient(circle at var(--social-x) var(--social-y),
      rgba(255,255,255,.40) 0%,rgba(255,255,255,.14) 36%,transparent 75%);
  transition: opacity .25s ease;
}
.topbar .social-link:hover,
.topbar a.social-link:focus-visible {
  border-color: rgba(255,255,255,.38);
  transform: translateY(-3px) scale(1.055);
  box-shadow: 0 8px 19px var(--brand-glow), 0 3px 12px rgba(0,0,0,.13);
  filter: saturate(1.10);
}
.topbar .social-link:hover::before,
.topbar .social-link.is-social-hovered::before,
.topbar a.social-link:focus-visible::before { opacity: 1; }
.topbar .social-link:hover .social-svg,
.topbar a.social-link:focus-visible .social-svg { transform: scale(1.12) rotate(-4deg); }
/* Ícones sem link continuam apenas informativos. */
.topbar .social-link-pending { cursor: default; }
.topbar .social-link-pending:hover { opacity: .92; }
/* Hover discreto também no rodapé, em coerência com a topbar. */
.footer .social-link:hover,
.footer a.social-link:focus-visible {
  transform: translateY(-3px) scale(1.055);
  box-shadow: 0 8px 20px rgba(247,37,77,.16);
}
.footer .social-link:hover .social-svg,
.footer a.social-link:focus-visible .social-svg { transform: rotate(-4deg) scale(1.12); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes ia-social-arrive {
    from { opacity: .45; transform: translateY(5px) scale(.91); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  @keyframes ia-social-bounce {
    0% { transform: translateY(0) scale(1); }
    53% { transform: translateY(-5px) scale(1.08); }
    100% { transform: translateY(-3px) scale(1.055); }
  }
  @keyframes ia-social-wiggle {
    0% { transform: rotate(0) scale(1); }
    50% { transform: rotate(-8deg) scale(1.15); }
    100% { transform: rotate(-4deg) scale(1.12); }
  }
  .topbar .social-link { animation: ia-social-arrive .38s cubic-bezier(.2,.8,.2,1) both; }
  .topbar .social-link:nth-child(1) { animation-delay: .06s; }
  .topbar .social-link:nth-child(2) { animation-delay: .12s; }
  .topbar .social-link:nth-child(3) { animation-delay: .18s; }
  @media (hover: hover) and (pointer: fine) {
    .topbar .social-link:hover,
    .topbar a.social-link:focus-visible,
    .footer .social-link:hover,
    .footer a.social-link:focus-visible {
      animation: ia-social-bounce .43s cubic-bezier(.2,.7,.28,1) both;
    }
    .topbar .social-link:hover .social-svg,
    .topbar a.social-link:focus-visible .social-svg,
    .footer .social-link:hover .social-svg,
    .footer a.social-link:focus-visible .social-svg {
      animation: ia-social-wiggle .43s ease-out both;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .topbar .social-link, .topbar .social-link .social-svg,
  .footer .social-link, .footer .social-link .social-svg { animation: none !important; transition: none !important; }
  .topbar .social-link:hover, .topbar a.social-link:focus-visible,
  .footer .social-link:hover, .footer a.social-link:focus-visible { transform: none !important; }
  .topbar .social-link:hover .social-svg, .topbar a.social-link:focus-visible .social-svg,
  .footer .social-link:hover .social-svg, .footer a.social-link:focus-visible .social-svg { transform: none !important; }
}


/* V1.8.5 — Chuva de carinho: corações mais numerosos e trajetórias amplas. */
.joy-particle-v185 {
  font-size: var(--particle-size, 25px);
  z-index: 1999;
  color: var(--particle-color, #f7254d);
  text-shadow: 0 1px 2px rgba(255,255,255,.5);
  filter: drop-shadow(0 3px 7px rgba(5,41,86,.20));
  animation: joy-rain-v185 var(--particle-duration, 1450ms) cubic-bezier(.16,.62,.25,1) var(--particle-delay,0ms) both;
  will-change: transform, opacity;
}
@keyframes joy-rain-v185 {
  0% {opacity:0; transform: translate(-50%,-50%) scale(.25) rotate(0);}
  13% {opacity:1;}
  58% {opacity:1;}
  100% {opacity:0; transform: translate(calc(-50% + var(--scatter-x)),calc(-50% + var(--scatter-y))) scale(1.18) rotate(var(--particle-rotation,80deg));}
}
.joy-wave {
  position:fixed; z-index:1998; width:30px;height:30px;
  border:3px solid rgba(247,37,77,.78); background:rgba(255,147,170,.20);
  border-radius:50%; pointer-events:none;
  box-shadow:0 0 30px rgba(247,37,77,.28);
  animation:joy-wave-v185 .82s ease-out forwards;
}
@keyframes joy-wave-v185 {
  from {opacity:.95; transform:translate(-50%,-50%) scale(.25);}
  to {opacity:0; transform:translate(-50%,-50%) scale(9);}
}
.hero-play.joy-button-celebrate {animation:joy-button-v185 .72s cubic-bezier(.2,.8,.24,1) both;}
@keyframes joy-button-v185 {0%,100%{transform:translateY(0) scale(1);}45%{transform:translateY(-3px) scale(1.1);}}

/* Popup de contribuição. A imagem original é preservada, mas o QR isolado é independente. */
.prefooter-qr>button.prefooter-qr-trigger,
.donation-page-qr-trigger {appearance:none;display:block;width:100%;padding:0;margin:0;border:0;background:transparent;cursor:zoom-in;color:inherit;text-align:inherit;position:relative;}
.prefooter-qr-trigger img {width:100%;height:auto;}
.prefooter-qr-zoom {position:absolute;bottom:12px;right:12px;display:flex;gap:12px;align-items:center;background:rgba(3,13,29,.85);color:#fff;font-size:12px;font-weight:700;border-radius:100px;padding:8px 14px;box-shadow:0 8px 26px rgba(0,0,0,.16);transition:transform .22s,background .22s;}
.prefooter-qr-zoom span {font-size:17px;}
.prefooter-qr-trigger:hover .prefooter-qr-zoom {transform:translateY(-3px);background:var(--red);}
.prefooter-caption-open {border:0;padding:0;background:transparent;color:#fff;text-decoration:underline;text-underline-offset:3px;font-size:inherit;font-weight:700;}
.prefooter-caption-open:hover {color:#ffd5dd;}
.donation-page-open {margin-top:15px;}
.donation-page-qr-trigger img {border-radius:10px;}
.donation-page-qr-trigger:hover img {filter:brightness(1.03);}
.donation-modal {position:fixed;inset:0;max-height:min(90dvh,900px);width:min(920px,calc(100vw - 32px));max-width:920px;overflow:auto;padding:0;border:0;border-radius:24px;background:#fff;color:var(--ink);box-shadow:0 28px 100px rgba(2,16,40,.35);}
.donation-modal[open] {animation:donation-modal-enter .27s ease-out both;}
.donation-modal::backdrop {background:rgba(3,13,29,.78);backdrop-filter:blur(7px);}
.donation-modal-shell {min-width:0;}
.donation-modal-header {display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px clamp(20px,4vw,36px) 18px;background:linear-gradient(125deg,#f4f8ff,#fff 70%);border-bottom:1px solid #e7edf5;}
.donation-modal-kicker {display:block;color:var(--red);font-size:11px;font-weight:800;letter-spacing:.14em;margin-bottom:8px;}
.donation-modal-header h2 {font-family:Poppins,Inter,sans-serif;font-size:clamp(22px,3vw,31px);letter-spacing:-.04em;color:var(--blue-dark);margin:0 0 6px;}
.donation-modal-header h2 span {color:var(--red);}
.donation-modal-header p {font-size:13px;line-height:1.55;margin:0;}
.donation-modal-close {display:grid;place-items:center;flex:0 0 41px;height:41px;width:41px;border-radius:50%;background:#e9eff8;color:var(--blue-dark);border:1px solid #d8e5f4;font-size:29px;line-height:1;transition:background .2s,transform .2s;}
.donation-modal-close:hover {background:#fce2e9;transform:rotate(90deg);color:var(--red);}
.donation-modal-view[hidden] {display:none!important;}
.donation-modal-grid {display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:26px;padding:clamp(18px,3vw,30px);align-items:start;}
.donation-qr-panel {border:1px solid #e0e9f6;background:#f5f8ff;border-radius:18px;padding:22px;text-align:center;}
.donation-qr-image {background:#fff;border-radius:15px;padding:10px;max-width:350px;margin:0 auto;box-shadow:0 10px 26px rgba(7,81,175,.06);}
.donation-qr-image img {width:100%;height:auto;aspect-ratio:1;object-fit:contain;display:block;image-rendering:auto;}
.donation-qr-caption {display:block;margin:14px auto 0;max-width:280px;font-size:12px;line-height:1.55;color:#455f7d;}
.donation-modal-details {min-width:0;}
.donation-step {display:flex;align-items:center;gap:12px;font-size:13px;font-weight:800;color:var(--blue);margin:0 0 12px;}
.donation-step span {font-weight:700;color:var(--ink);}
.donation-step-last {margin:20px 0 9px;}
.donation-pix-key {font-size:13px;line-height:1.55;margin:0 0 18px;color:var(--body);}
.donation-pix-key strong {font-size:18px;color:var(--blue-dark);font-weight:800;}
.donation-pix-label {display:block;font-size:12px;font-weight:750;color:var(--ink);margin-bottom:7px;}
.donation-pix-code {display:block;width:100%;resize:none;border:1px solid #d9e4f3;background:#f7faff;border-radius:10px;padding:12px;color:#3d5474;font-family:ui-monospace,Consolas,monospace;font-size:11px;line-height:1.55;overflow-wrap:anywhere;}
.donation-pix-code:focus {outline:2px solid #8db3f0;outline-offset:2px;}
.donation-copy-btn {display:inline-flex;justify-content:center;align-items:center;gap:10px;min-height:43px;background:var(--blue);color:#fff;border:0;border-radius:11px;padding:11px 16px;margin-top:12px;font-size:13px;font-weight:750;box-shadow:0 9px 22px rgba(7,81,175,.14);transition:background .2s,transform .2s;}
.donation-copy-btn svg {width:17px;height:17px;}
.donation-copy-btn:hover {transform:translateY(-2px);background:var(--blue-deep);}
.donation-copy-status {color:#126b4f;min-height:0;margin:8px 0 0;font-size:12px;line-height:1.5;}
.donation-copy-status:empty {display:none;}
.donation-verify {font-size:12px;line-height:1.65;background:#fff7f8;border:1px solid #f9dce5;border-radius:12px;padding:12px;margin:0 0 14px;color:#68535c;}
.donation-verify strong {color:#7b3647;}
.donation-open-image {display:inline-flex;gap:12px;justify-content:center;align-items:center;min-height:41px;border-radius:10px;padding:10px 14px;border:1px solid #bfd2ec;background:#fff;color:var(--blue);font-size:12px;font-weight:800;transition:background .2s,transform .2s;}
.donation-open-image:hover {background:#eff6ff;transform:translateY(-2px);}
.donation-image-toolbar {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:18px clamp(18px,3vw,30px) 0;}
.donation-image-toolbar a {color:var(--blue);text-decoration:underline;font-size:12px;font-weight:700;}
.donation-back-btn {background:#eaf2ff;color:var(--blue-deep);font-size:12px;font-weight:750;padding:10px 14px;border-radius:10px;border:1px solid #d7e4f8;}
.donation-back-btn:hover {background:#dceaff;}
.donation-full-image-wrap {padding:17px clamp(18px,3vw,30px) 4px;}
.donation-full-image-wrap img {width:100%;max-width:none;height:auto;border-radius:12px;border:1px solid #ebedf2;}
.donation-full-image-help {font-size:12px;padding:0 clamp(18px,3vw,30px) 18px;margin:0;color:var(--body);}
.donation-modal.is-image-expanded {width:min(1080px,calc(100vw - 32px));max-width:1080px;}
@keyframes donation-modal-enter {from {opacity:0;transform:translateY(9px) scale(.98);} to {opacity:1;transform:translateY(0) scale(1);}}
@media(max-width:710px) {
  .donation-modal {max-height:94dvh;border-radius:18px;}
  .donation-modal-grid {grid-template-columns:1fr;gap:16px;padding:18px;}
  .donation-qr-panel {padding:14px;}
  .donation-qr-image {max-width:275px;}
  .donation-modal-header {padding:18px;}
  .donation-pix-code {font-size:10.5px;}
  .donation-copy-btn {width:100%;}
  .donation-open-image {width:100%;}
}
@media(max-width:740px) {
  /* Torna o botão de carinho acessível também em smartphones. */
  .hero-home .hero-bottom {display:flex;justify-content:center;gap:8px;padding-bottom:15px;}
  .hero-home .hero-bottom>.line,
  .hero-home .hero-bottom>span:first-child,
  .hero-home .hero-scroll-link {display:none;}
}
@media(prefers-reduced-motion:reduce) {
  .joy-particle-v185, .joy-wave, .hero-play.joy-button-celebrate, .donation-modal[open] {animation:none!important;}
  .donation-modal-close, .donation-copy-btn, .donation-open-image, .prefooter-qr-zoom {transition:none!important;}
}


/* V1.8.8 — Seja um apoiador: fundo liso, sem efeitos decorativos.
   A imagem infantil original mantém tamanho natural, sem cortes ou bordas. */
.donation-band {
    background: #fff9fb;
    background-image: none;
    border-radius: 0;
}
.donation-band::before,
.donation-band::after,
.donation-band .donation-image::before,
.donation-band .donation-image::after { content: none; display: none; }
.donation-band .donation-grid { position: relative; z-index: 1; }


/* V1.8.9 — notícia: fotografia original otimizada em 11:8 para encaixe no card.
   Sem alterações nos rostos; sem reconstrução artificial de detalhes faciais. */
.news-feature {
    grid-template-columns: minmax(0, 45%) minmax(0, 55%);
    border-radius: 30px;
}
.news-feature-img {
    min-height: 0;
    aspect-ratio: 11 / 8;
    overflow: hidden;
    background: #f4f5f9;
}
.news-feature-img img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position: center center;
    transition: transform .5s ease;
}
.news-feature:hover .news-feature-img img { transform: scale(1.012); }
@media (max-width: 740px) {
    .news-feature { grid-template-columns: minmax(0,1fr); }
    .news-feature-img { height:auto; min-height:0; aspect-ratio:11 / 8; }
}
@media (prefers-reduced-motion: reduce) {
    .news-feature-img img, .news-feature:hover .news-feature-img img { transition:none; transform:none; }
}


/* V1.8.11 — Ilustração infantil desenhada progressivamente com Canvas.
   A foto estática é fallback para JS desligado / movimento reduzido. */
.donation-band .drawing-experience { width:100%; max-width:635px; margin-inline:auto; }
.donation-band .drawing-stage {
    width:100%; aspect-ratio:553 / 403; position:relative; overflow:hidden;
    background-color:#fff;
    background-image:linear-gradient(to right,rgba(89,123,172,.075) 1px,transparent 1px),linear-gradient(to bottom,rgba(89,123,172,.075) 1px,transparent 1px);
    background-size:12px 12px;
    isolation:isolate;
    transform-origin:center;
    transition:transform .35s ease, filter .35s ease;
}
.donation-band .drawing-stage img {
    display:block; width:100%; height:100%; border:0; border-radius:0; box-shadow:none;
    max-height:none; object-fit:contain; position:absolute; inset:0;
    transition:opacity .12s ease;
}
.donation-band .drawing-canvas {
    display:block; position:absolute; inset:0; width:100%; height:100%; pointer-events:none;
    opacity:0; transition:opacity .15s ease;
}
.donation-band .drawing-stage.is-drawing-ready .drawing-canvas { opacity:1; }
.donation-band .drawing-stage.is-drawing-ready img { opacity:0; }
.donation-band .drawing-replay {
    display:none; align-items:center; gap:9px; margin-top:12px;
    padding:9px 15px; border:1px solid #f5dbe3; background:#fff;
    color:var(--blue-dark); border-radius:999px; font-size:12px;
    font-weight:750; box-shadow:0 7px 22px rgba(8,55,104,.06);
    transition:transform .25s ease, background-color .25s ease, border-color .25s ease;
}
.donation-band .drawing-replay:hover { background:#fff0f5; border-color:#f8b7ca; transform:translateY(-2px); }
.donation-band .drawing-replay svg { color:var(--red); transition:transform .45s ease; }
.donation-band .drawing-replay:hover svg { transform:rotate(-45deg); }
@media (hover:hover) and (pointer:fine) {
 .donation-band .drawing-stage:hover { transform:translateY(-3px) scale(1.007); filter:drop-shadow(0 8px 12px rgba(12,51,97,.05)); }
}
@media (max-width:740px) {
 .donation-band .drawing-experience { max-width:100%; }
 .donation-band .drawing-replay { font-size:12px; margin-top:13px; }
}
@media (prefers-reduced-motion:reduce) {
 .donation-band .drawing-stage, .donation-band .drawing-stage img,
 .donation-band .drawing-canvas, .donation-band .drawing-replay,
 .donation-band .drawing-replay svg { transition:none!important; animation:none!important; }
 .donation-band .drawing-replay { display:none; }
}

.donation-band .drawing-experience.is-drawing-enabled .drawing-replay { display:inline-flex; }


/* V1.8.12 — Faixa contínua sem lacunas: grupos idênticos, espaçamento uniforme.
   JS replica as palavras conforme a largura da tela; o ciclo desloca exatamente um grupo. */
.values-ribbon { width:100%; overflow:hidden; transform:none; }
.values-ribbon .ribbon-track {
  display:flex;
  flex-wrap:nowrap;
  gap:0;
  width:max-content;
  animation:none;
  transform:translate3d(0,0,0);
}
.values-ribbon .ribbon-track.ribbon-active {
  animation:ribbon-loop-seamless var(--ribbon-duration, 32s) linear infinite;
}
.values-ribbon .ribbon-group {
  display:flex;
  flex:0 0 auto;
  align-items:center;
  gap:0;
  width:max-content;
  min-width:0;
}
.values-ribbon .ribbon-unit {
  display:flex;
  flex:0 0 auto;
  align-items:center;
  gap:16px;
  padding:13px 16px 13px 0;
  white-space:nowrap;
}
.values-ribbon .ribbon-word {
  display:block;
  flex:none;
  font:700 13px/1.4 var(--font-title, Poppins, sans-serif);
  letter-spacing:.065em;
}
.values-ribbon .ribbon-symbol {
  display:block;
  flex:none;
  font:700 20px/1 var(--font-title, Poppins, sans-serif);
  font-style:normal;
  letter-spacing:0;
  padding:0;
  vertical-align:baseline;
}
@keyframes ribbon-loop-seamless {
  from {transform:translate3d(0,0,0);}
  to {transform:translate3d(-50%,0,0);}
}
@media (max-width:740px) {
  .values-ribbon .ribbon-unit {gap:12px;padding:12px 12px 12px 0;}
  .values-ribbon .ribbon-word {font-size:11px;}
  .values-ribbon .ribbon-symbol {font-size:18px;}
}
@media (prefers-reduced-motion:reduce) {
  .values-ribbon .ribbon-track.ribbon-active {animation:none!important;transform:none!important;}
}


/* V1.8.13 — Nova arte azul no CTA de contribuição acima do footer.
   Mantém o contraste dos textos e preserva o card PIX e seu popup. */
.prefooter {
  background-color: #063e8e;
  background-image:
    linear-gradient(90deg, rgba(0, 31, 82, .11), rgba(0, 31, 82, .05)),
    url('../images/instituto/fundo-cta-apoio-v1813.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
/* Os ornamentos antigos não devem se sobrepor à nova imagem. */
.prefooter::before,
.prefooter::after { display: none; content: none; }
@media (max-width: 900px) {
  .prefooter { background-position: 72% center; }
}
@media (max-width: 600px) {
  .prefooter { background-position: 87% center; }
}


/* V1.8.14 — Quebra-cabeça real: 15 peças grandes com recortes transparentes.
   O conteúdo central e os botões ficam acessíveis sobre a arte.
   Se o JavaScript não carregar, a arte completa permanece como imagem estática. */
.hero-home {
    background-color: #e8f2ff;
    background-image:
      linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.83) 23%,rgba(255,255,255,.41) 47%,transparent 75%),
      url('../images/instituto/quebra-cabeca/quebra-cabeca-completo.webp');
    background-size:cover;
    background-position:center center;
}
.hero-home.puzzle-ready {
    background-color:#d9e8f8;
    background-image:linear-gradient(90deg,#f5f9ff,#d1e2f5);
}
.hero-puzzle-layer {
    position:absolute;
    inset:0;
    z-index:2;
    overflow:hidden;
    pointer-events:none;
    opacity:0;
    visibility:hidden;
    transition:opacity .18s linear;
}
.hero-home.puzzle-ready .hero-puzzle-layer {
    opacity:1;
    visibility:visible;
}
.hero-puzzle-layer::after {
    content:'';
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:40;
    background:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.87) 20%,rgba(255,255,255,.69) 34%,rgba(255,255,255,.13) 62%,transparent 80%);
}
.hero-puzzle-stage {
    width:1672px;
    height:941px;
    position:absolute;
    left:50%;
    top:50%;
    transform-origin:center;
    pointer-events:none;
    will-change:transform;
}
.hero-puzzle-piece {
    position:absolute;
    display:block;
    margin:0;
    padding:0;
    opacity:1;
    transform-origin:center center;
    backface-visibility:hidden;
    pointer-events:auto;
    -webkit-user-select:none;
    user-select:none;
    transition:transform .34s cubic-bezier(.2,.8,.2,1),filter .34s ease;
    filter:drop-shadow(0 0 0 transparent);
}
.hero-puzzle-piece img {
    width:100%;
    height:100%;
    display:block;
    pointer-events:none;
    -webkit-user-drag:none;
}
.hero-puzzle-layer.is-assembling .hero-puzzle-piece {
    animation:hero-puzzle-assemble 1050ms cubic-bezier(.16,.91,.24,1) both;
    animation-delay:var(--puzzle-delay,0ms);
}
@keyframes hero-puzzle-assemble {
    0% {opacity:0;transform:translate(var(--puzzle-x,0px),var(--puzzle-y,0px)) rotate(var(--puzzle-angle,0deg)) scale(.89);filter:blur(4px);}
    65% {opacity:1;filter:blur(0);}
    86% {transform:translate(0,-7px) rotate(0deg) scale(1.009);}
    100% {opacity:1;transform:translate(0,0) rotate(0deg) scale(1);filter:blur(0);}
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
    .hero-puzzle-layer.is-assembled .hero-puzzle-piece:hover,
    .hero-puzzle-layer.is-assembled .hero-puzzle-piece.is-lifted {
        z-index:35;
        transform:translate3d(0,calc(-1 * var(--puzzle-lift,38px)),0) rotate(-2deg) scale(1.045);
        filter:drop-shadow(10px 15px 12px rgba(2,24,58,.30));
    }
}
/* O container cobre toda a seção; suas áreas vazias não devem bloquear as peças. */
.hero-home .hero-grid,
.hero-home .hero-bottom {position:relative;z-index:43;pointer-events:none;}
.hero-home .hero-copy,
.hero-home .hero-bottom a,
.hero-home .hero-bottom button {pointer-events:auto;}
.hero-home::before {z-index:41;}
@media (max-width:900px) {
    .hero-home {background-position:60% center;}
    .hero-puzzle-layer::after {background:linear-gradient(90deg,rgba(255,255,255,.95) 0%,rgba(255,255,255,.83) 35%,rgba(255,255,255,.38) 69%,transparent 100%);}
}
@media (max-width:740px) {
    .hero-home {
        background-image:
            linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.74) 53%,rgba(255,255,255,.20)),
            url('../images/instituto/quebra-cabeca/quebra-cabeca-completo.webp');
        background-position:68% center;
    }
    .hero-puzzle-layer::after {
        background:linear-gradient(180deg,rgba(255,255,255,.93),rgba(255,255,255,.75) 40%,rgba(255,255,255,.28) 79%,transparent);
    }
}
@media (prefers-reduced-motion:reduce) {
    .hero-home .hero-puzzle-layer {display:none!important;}
    .hero-home.puzzle-ready {
        background-image:
            linear-gradient(90deg,rgba(255,255,255,.92),rgba(255,255,255,.67) 52%,rgba(255,255,255,.13)),
            url('../images/instituto/quebra-cabeca/quebra-cabeca-completo.webp');
        background-size:cover;
    }
}

/* V1.8.15 — Fundo realista exclusivo para o hero da página Quem somos.
   Imagem do projeto: crianças em gramado com elementos infantis, mantendo
   a área esquerda clara para o título e os breadcrumbs. */
.page-hero.page-hero-quem-somos {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 400px;
    padding: 72px 0 68px;
    background-color: #eaf3fd;
    background-image:
        linear-gradient(90deg,
          rgba(239,247,255,.24) 0%,
          rgba(239,247,255,.13) 43%,
          rgba(239,247,255,0) 76%),
        url('../images/instituto/fundo-quem-somos-v1815.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 55%;
}
.page-hero.page-hero-quem-somos::before,
.page-hero.page-hero-quem-somos::after {
    display: none;
    content: none;
}
.page-hero.page-hero-quem-somos > .container {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
}
.page-hero.page-hero-quem-somos h1 {
    max-width: 680px;
    color: var(--blue-dark);
    text-shadow: 0 1px 12px rgba(255,255,255,.22);
}
.page-hero.page-hero-quem-somos p {
    max-width: 690px;
    color: #446184;
}
.page-hero.page-hero-quem-somos .breadcrumb {
    color: #446184;
}
@media (max-width: 900px) {
    .page-hero.page-hero-quem-somos {
        min-height: 360px;
        padding: 68px 0 58px;
        background-image:
            linear-gradient(90deg,rgba(241,248,255,.96),rgba(241,248,255,.86) 39%,rgba(241,248,255,.25) 86%),
            url('../images/instituto/fundo-quem-somos-v1815.webp');
        background-position: 71% 53%;
    }
}
@media (max-width: 600px) {
    .page-hero.page-hero-quem-somos {
        min-height: 344px;
        padding: 60px 0 54px;
        background-image:
            linear-gradient(90deg,rgba(244,249,255,.96),rgba(244,249,255,.90) 49%,rgba(244,249,255,.62)),
            url('../images/instituto/fundo-quem-somos-v1815.webp');
        background-position: 80% center;
    }
    .page-hero.page-hero-quem-somos > .container {
        width: min(100% - 34px,600px);
    }
    .page-hero.page-hero-quem-somos h1 {
        font-size: clamp(2.6rem, 8.7vw, 3.4rem);
    }
    .page-hero.page-hero-quem-somos p {
        font-size: 15px;
    }
}


/* V1.8.16 — Cards exclusivos de "Nossa forma de atuar" (Quem somos).
   Paleta institucional azul/vermelho; conteúdo original preservado. */
.approach-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #f6f9ff 100%);
}
.approach-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 330px;
    height: 330px;
    top: -200px;
    right: -110px;
    border-radius: 50%;
    background: rgba(7, 81, 175, .035);
    pointer-events: none;
}
.approach-heading { margin-bottom: 46px; }
.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
.approach-card {
    --approach-accent: #0751af;
    --approach-soft: #eaf2ff;
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    padding: 29px 26px 23px;
    border: 1px solid #e6edf7;
    border-radius: 27px;
    background: #fff;
    box-shadow: 0 10px 34px rgba(5, 41, 86, .042);
    overflow: hidden;
    transition: transform .34s cubic-bezier(.2,.8,.2,1),
                box-shadow .34s ease, border-color .34s ease;
}
.approach-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: radial-gradient(ellipse 180px 150px at var(--approach-x,50%) var(--approach-y,30%), rgba(7,81,175,.09), transparent 80%);
    pointer-events: none;
    transition: opacity .4s ease;
}
.approach-card::after {
    content: "";
    position: absolute;
    height: 4px;
    left: 28px;
    right: 28px;
    top: 0;
    background: var(--approach-accent);
    border-radius: 0 0 99px 99px;
    opacity: .75;
    transform: scaleX(.3);
    transform-origin: left;
    transition: transform .4s ease, opacity .4s ease;
}
.approach-health { --approach-accent:#e6224a; --approach-soft:#fff0f4; }
.approach-community { --approach-accent:#0751af; --approach-soft:#eaf2ff; }
.approach-support { --approach-accent:#e6224a; --approach-soft:#fff0f4; }
.approach-card-top { display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:30px; }
.approach-icon {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    flex: none;
    background: var(--approach-soft);
    color: var(--approach-accent);
    border-radius: 23px 23px 23px 10px;
    transform: rotate(-4deg);
    transition: transform .35s cubic-bezier(.2,.75,.2,1), background .35s ease;
}
.approach-icon svg { width:32px; height:32px; transform:rotate(4deg); }
.approach-index {
    font: 750 13px var(--font-title, Poppins, sans-serif);
    letter-spacing: .05em;
    color: #b5c3d5;
    line-height: 1;
    padding-top: 5px;
}
.approach-label {
    display: inline-block;
    font: 780 11px var(--font-title, Poppins, sans-serif);
    line-height: 1.4;
    letter-spacing: .12em;
    color: var(--approach-accent);
    margin-bottom: 10px;
}
.approach-card h3 { font-size: clamp(18px,1.4vw,21px);margin: 0 0 11px;color:var(--blue-dark);letter-spacing:-.04em; }
.approach-card p { font-size: 14px; line-height: 1.78; color:#62738b; margin:0; }
.approach-card-foot { display:flex;align-items:center;gap:16px;margin-top:auto;padding-top:35px;color:var(--approach-accent); }
.approach-rule { height:2px; width:48px; background:var(--approach-accent); border-radius:99px;opacity:.65;transition:width .35s ease; }
.approach-spark { font: 22px/1 var(--font-title,Poppins,sans-serif); opacity:.4; transition:transform .35s ease,opacity .35s ease; }
@media (hover:hover) and (pointer:fine) {
    .approach-card:hover {
        transform: translateY(-9px);
        border-color: #d3e0f1;
        box-shadow: 0 22px 48px rgba(5,41,86,.115);
    }
    .approach-card:hover::before { opacity:1; }
    .approach-card:hover::after { transform:scaleX(1);opacity:1; }
    .approach-card:hover .approach-icon { transform:translateY(-4px) rotate(5deg) scale(1.05); }
    .approach-card:hover .approach-rule { width:78px; }
    .approach-card:hover .approach-spark { transform:rotate(35deg) scale(1.15);opacity:.75; }
}
@media(max-width:1050px) { .approach-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:650px) {
    .approach-grid { grid-template-columns:1fr;gap:15px; }
    .approach-card { padding:25px 24px 20px;border-radius:23px; }
    .approach-card-top { margin-bottom:23px; }
    .approach-card-foot { padding-top:22px; }
    .approach-heading { margin-bottom:32px; }
}
@media(prefers-reduced-motion:reduce) {
    .approach-card,.approach-card::before,.approach-card::after,
    .approach-icon,.approach-rule,.approach-spark {transition:none!important;animation:none!important;}
    .approach-card:hover {transform:none!important;}
}


/* V1.8.17 — fotografia enviada pelo usuário em "Governança".
   Exibe a imagem completa, sem recortar as crianças, em todos os tamanhos. */
.governance-image-stack { min-height: 0; }
.governance-image-stack > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 922 / 615;
  object-fit: contain;
  border-radius: 28px;
}

/* V1.8.18 — Fundo realista exclusivo para o hero da página Nossas creches.
   Imagem com crianças, gramado e elementos infantis, mantendo área limpa à esquerda
   para o título, subtítulo e breadcrumb. */
.page-hero.page-hero-creches {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 400px;
    padding: 72px 0 68px;
    background-color: #eef6ff;
    background-image:
        linear-gradient(90deg,
          rgba(244,248,253,.97) 0%,
          rgba(244,248,253,.92) 26%,
          rgba(244,248,253,.74) 43%,
          rgba(244,248,253,.26) 66%,
          rgba(244,248,253,0) 88%),
        url('../images/instituto/fundo-nossas-creches-v1818.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.page-hero.page-hero-creches::before,
.page-hero.page-hero-creches::after {
    display: none;
    content: none;
}
.page-hero.page-hero-creches > .container {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
}
.page-hero.page-hero-creches h1 {
    max-width: 690px;
    color: var(--blue-dark);
    text-shadow: 0 1px 12px rgba(255,255,255,.22);
}
.page-hero.page-hero-creches p {
    max-width: 720px;
    color: #4a6584;
}
.page-hero.page-hero-creches .breadcrumb {
    color: #4a6584;
}
@media (max-width: 900px) {
    .page-hero.page-hero-creches {
        min-height: 360px;
        padding: 68px 0 58px;
        background-image:
            linear-gradient(90deg,
              rgba(244,248,253,.98),
              rgba(244,248,253,.90) 39%,
              rgba(244,248,253,.40) 82%,
              rgba(244,248,253,.08)),
            url('../images/instituto/fundo-nossas-creches-v1818.webp');
        background-position: 67% center;
    }
}
@media (max-width: 600px) {
    .page-hero.page-hero-creches {
        min-height: 344px;
        padding: 60px 0 54px;
        background-image:
            linear-gradient(90deg,
              rgba(246,249,253,.98),
              rgba(246,249,253,.93) 46%,
              rgba(246,249,253,.68) 76%,
              rgba(246,249,253,.34) 100%),
            url('../images/instituto/fundo-nossas-creches-v1818.webp');
        background-position: 74% center;
    }
    .page-hero.page-hero-creches > .container {
        width: min(100% - 34px, 600px);
    }
    .page-hero.page-hero-creches h1 {
        font-size: clamp(2.55rem, 8.6vw, 3.35rem);
    }
    .page-hero.page-hero-creches p {
        font-size: 15px;
    }
}


/* V1.8.19 — Novo fundo realista exclusivo no hero de Notícias do Instituto.
   Conteúdo e breadcrumbs permanecem HTML, sobre imagem sem texto incorporado. */
.page-hero.page-hero-noticias {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 400px;
    padding: 72px 0 68px;
    background-color: #edf5fb;
    background-image:
        linear-gradient(90deg,
            rgba(244,249,254,.96) 0%,
            rgba(244,249,254,.88) 24%,
            rgba(244,249,254,.66) 43%,
            rgba(244,249,254,.16) 64%,
            rgba(244,249,254,0) 82%),
        url('../images/instituto/fundo-noticias-v1819.webp');
    background-position: center 48%;
    background-repeat: no-repeat;
    background-size: cover;
}
.page-hero.page-hero-noticias::before,
.page-hero.page-hero-noticias::after {
    content: none;
    display: none;
}
.page-hero.page-hero-noticias > .container {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
}
.page-hero.page-hero-noticias h1 {
    max-width: 760px;
    color: var(--blue-dark);
    text-shadow: 0 1px 10px rgba(255,255,255,.14);
}
.page-hero.page-hero-noticias p {
    max-width: 660px;
    color: #4a6584;
}
.page-hero.page-hero-noticias .breadcrumb { color: #4a6584; }
@media (max-width: 900px) {
    .page-hero.page-hero-noticias {
        min-height: 360px;
        padding: 68px 0 58px;
        background-image:
            linear-gradient(90deg,
                rgba(246,250,254,.98),
                rgba(246,250,254,.92) 37%,
                rgba(246,250,254,.46) 77%,
                rgba(246,250,254,.10)),
            url('../images/instituto/fundo-noticias-v1819.webp');
        background-position: 67% 50%;
    }
}
@media (max-width: 600px) {
    .page-hero.page-hero-noticias {
        min-height: 344px;
        padding: 60px 0 54px;
        background-image:
            linear-gradient(90deg,
                rgba(246,250,254,.99),
                rgba(246,250,254,.96) 44%,
                rgba(246,250,254,.72) 79%,
                rgba(246,250,254,.45)),
            url('../images/instituto/fundo-noticias-v1819.webp');
        background-position: 74% center;
    }
    .page-hero.page-hero-noticias > .container {
        width: min(100% - 34px, 600px);
    }
    .page-hero.page-hero-noticias h1 {
        font-size: clamp(2.2rem, 8.5vw, 3.25rem);
    }
    .page-hero.page-hero-noticias p { font-size: 15px; }
}


/* V1.8.20 — Fundo exclusivo do hero “Publicações e materiais”.
   A fotografia não contém texto; todo conteúdo editorial continua no Razor. */
.page-hero.page-hero-publicacoes {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 400px;
    padding: 72px 0 68px;
    background-color: #ecf7fc;
    background-image:
        linear-gradient(90deg,
            rgba(246,251,255,.74) 0%,
            rgba(246,251,255,.48) 30%,
            rgba(246,251,255,.12) 52%,
            rgba(246,251,255,0) 68%),
        url('../images/instituto/fundo-publicacoes-v1820.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 52%;
}
.page-hero.page-hero-publicacoes::before,
.page-hero.page-hero-publicacoes::after {
    display: none;
    content: none;
}
.page-hero.page-hero-publicacoes > .container {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
}
.page-hero.page-hero-publicacoes h1 {
    max-width: 800px;
    color: var(--blue-dark);
    text-shadow: 0 1px 12px rgba(255,255,255,.20);
}
.page-hero.page-hero-publicacoes p {
    max-width: 650px;
    color: #425f80;
}
.page-hero.page-hero-publicacoes .breadcrumb { color: #425f80; }
@media (max-width: 900px) {
    .page-hero.page-hero-publicacoes {
        min-height: 360px;
        padding: 68px 0 58px;
        background-image:
            linear-gradient(90deg,
                rgba(248,252,255,.96),
                rgba(248,252,255,.90) 35%,
                rgba(248,252,255,.44) 80%,
                rgba(248,252,255,.10)),
            url('../images/instituto/fundo-publicacoes-v1820.webp');
        background-position: 68% center;
    }
}
@media (max-width: 600px) {
    .page-hero.page-hero-publicacoes {
        min-height: 344px;
        padding: 60px 0 54px;
        background-image:
            linear-gradient(90deg,
                rgba(248,252,255,.98),
                rgba(248,252,255,.94) 50%,
                rgba(248,252,255,.72) 81%,
                rgba(248,252,255,.48)),
            url('../images/instituto/fundo-publicacoes-v1820.webp');
        background-position: 73% center;
    }
    .page-hero.page-hero-publicacoes > .container {
        width: min(100% - 34px, 600px);
    }
    .page-hero.page-hero-publicacoes h1 {
        font-size: clamp(2.05rem, 8vw, 3.2rem);
    }
    .page-hero.page-hero-publicacoes p { font-size: 15px; }
}

/* V1.8.21 — Hero exclusivo da página Contato.
   Foto fornecida para esta atualização. A imagem inclui texto na área esquerda:
   a camada azul-clara opaca mantém apenas o título e breadcrumb do próprio HTML. */
.page-hero.page-hero-contato {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 400px;
    padding: 72px 0 68px;
    background-color: #eff7fd;
    background-image:
        linear-gradient(90deg,
            rgba(239,247,253,1) 0%,
            rgba(239,247,253,1) 47%,
            rgba(239,247,253,.84) 52%,
            rgba(239,247,253,.12) 62%,
            rgba(239,247,253,0) 73%),
        url('../images/instituto/fundo-contato-v1821.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 16%;
}
.page-hero.page-hero-contato::before,
.page-hero.page-hero-contato::after {
    display: none;
    content: none;
}
.page-hero.page-hero-contato > .container {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
}
.page-hero.page-hero-contato h1 {
    max-width: 690px;
    color: var(--blue-dark);
    text-shadow: none;
}
.page-hero.page-hero-contato p {
    max-width: 640px;
    color: #435f82;
}
.page-hero.page-hero-contato .breadcrumb { color: #435f82; }
@media (max-width: 900px) {
    .page-hero.page-hero-contato {
        min-height: 360px;
        padding: 68px 0 58px;
        background-image:
            linear-gradient(90deg,
                rgba(242,249,254,1) 0%,
                rgba(242,249,254,1) 46%,
                rgba(242,249,254,.94) 56%,
                rgba(242,249,254,.45) 76%,
                rgba(242,249,254,.05) 100%),
            url('../images/instituto/fundo-contato-v1821.webp');
        background-position: 69% 26%;
    }
}
@media (max-width: 600px) {
    .page-hero.page-hero-contato {
        min-height: 344px;
        padding: 60px 0 54px;
        background-image:
            linear-gradient(90deg,
                rgba(246,250,254,1) 0%,
                rgba(246,250,254,.99) 44%,
                rgba(246,250,254,.94) 68%,
                rgba(246,250,254,.75) 85%,
                rgba(246,250,254,.45) 100%),
            url('../images/instituto/fundo-contato-v1821.webp');
        background-position: 76% 30%;
    }
    .page-hero.page-hero-contato > .container {
        width: min(100% - 34px, 600px);
    }
    .page-hero.page-hero-contato h1 {
        font-size: clamp(2.2rem, 8.5vw, 3.25rem);
    }
    .page-hero.page-hero-contato p { font-size: 15px; }
}

/* V1.8.26 - registros dinamicos da tabela dc_instituto_creches */
.creches-empty{background:#fff;border:1px solid #e2eafa;border-radius:18px;padding:24px 28px;color:var(--body);font-size:15px}
.creche-list .creche-descricao{font-size:12px;line-height:1.6;margin:5px 0 3px;color:var(--body)}
.creche-list .creche-dados{display:flex;flex-wrap:wrap;gap:5px 15px;margin:5px 0 2px;font-size:11px;color:var(--body)}
.unit-highlight{display:inline-block;margin:7px 0 2px 8px;padding:4px 8px;border-radius:99px;font-size:10px;line-height:1.2;font-weight:800;background:#fff0f4;color:var(--red)}


/* V1.8.28 — Fundo exclusivo de “Como ajudar”.
   Arte sem letras incorporadas: titulo, descricao e breadcrumbs permanecem no Razor.
   A composicao privilegia o texto na esquerda e as criancas na direita. */
.page-hero.page-hero-como-ajudar {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 400px;
    padding: 72px 0 68px;
    background-color: #eff2ff;
    background-image:
        linear-gradient(90deg,
            rgba(241,246,255,.20) 0%,
            rgba(241,246,255,.12) 37%,
            rgba(241,246,255,0) 63%),
        url('../images/instituto/fundo-como-ajudar-v1828.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 51%;
}
.page-hero.page-hero-como-ajudar::before,
.page-hero.page-hero-como-ajudar::after {
    display: none;
    content: none;
}
.page-hero.page-hero-como-ajudar > .container {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
}
.page-hero.page-hero-como-ajudar h1 {
    max-width: 690px;
    color: var(--blue-dark);
    text-shadow: 0 1px 12px rgba(255,255,255,.12);
}
.page-hero.page-hero-como-ajudar p {
    max-width: 650px;
    color: #435f82;
}
.page-hero.page-hero-como-ajudar .breadcrumb { color: #435f82; }
@media (max-width: 900px) {
    .page-hero.page-hero-como-ajudar {
        min-height: 360px;
        padding: 68px 0 58px;
        background-image:
            linear-gradient(90deg,
                rgba(242,247,255,.96) 0%,
                rgba(242,247,255,.91) 45%,
                rgba(242,247,255,.50) 77%,
                rgba(242,247,255,.14) 100%),
            url('../images/instituto/fundo-como-ajudar-v1828.webp');
        background-position: 64% 50%;
    }
}
@media (max-width: 600px) {
    .page-hero.page-hero-como-ajudar {
        min-height: 344px;
        padding: 60px 0 54px;
        background-image:
            linear-gradient(90deg,
                rgba(244,248,255,.98) 0%,
                rgba(244,248,255,.96) 43%,
                rgba(244,248,255,.88) 73%,
                rgba(244,248,255,.73) 100%),
            url('../images/instituto/fundo-como-ajudar-v1828.webp');
        background-position: 73% center;
    }
    .page-hero.page-hero-como-ajudar > .container {
        width: min(100% - 34px, 600px);
    }
    .page-hero.page-hero-como-ajudar h1 {
        font-size: clamp(2.2rem, 8.5vw, 3.25rem);
    }
    .page-hero.page-hero-como-ajudar p { font-size: 15px; }
}

/* V1.8.29 — Listagem de noticias dinamicas, mantendo os cards originais. */
.news-list { display:grid; gap:28px; }
.news-list .news-feature { overflow:hidden; }
.news-list .news-feature-img > a { display:block; width:100%; height:100%; }
.news-list .news-feature-body { min-width:0; }
.news-list .news-feature-body h3 { overflow-wrap:anywhere; }
.news-list .news-date { margin:9px 0 6px; font-size:12px; color:var(--body); }
.news-empty { padding:45px 36px; border:1px dashed #ccd8eb; border-radius:22px; background:#f6f9fe; }
.news-empty h3 { margin-bottom:12px; }
.news-empty p { margin:0; }
.news-content { overflow-wrap:anywhere; }
.news-content a { color:var(--blue); font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.news-content ul, .news-content ol { color:var(--body); padding-left:1.5em; margin:0 0 23px; }
.news-content li { margin-bottom:7px; }
.news-content blockquote { border-left:4px solid var(--red); padding:10px 22px; margin:24px 0; background:#f7faff; }
@media(max-width:740px) { .news-list { gap:22px; } .news-empty { padding:30px 22px; } }


/* V1.8.30 — Acervo alimentado por dc_instituto_publicacoes */
.publication-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; align-items:stretch; }
.publication-card-dynamic { display:flex; flex-direction:column; background:#fff; box-shadow:0 9px 28px rgba(8,36,79,.055); transition:box-shadow .2s ease,transform .2s ease; min-width:0; }
.publication-card-dynamic:hover { box-shadow:0 16px 38px rgba(8,36,79,.11); transform:translateY(-3px); }
.publication-card-dynamic .publication-card-cover { display:block; overflow:hidden; }
.publication-card-dynamic .publication-card-cover img { height:240px; width:100%; object-fit:cover; transition:transform .25s ease; }
.publication-card-dynamic:hover .publication-card-cover img { transform:scale(1.035); }
.publication-card-placeholder { min-height:240px; background:linear-gradient(145deg,#edf4fc,#dbe9fb); color:#153d75; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; font-size:13px; font-weight:800; }
.publication-placeholder-icon { display:block; font-size:64px; font-weight:400; line-height:1.1; }
.publication-card-dynamic .publication-card-body { flex:1; display:flex; flex-direction:column; align-items:flex-start; padding:25px; }
.publication-card-dynamic .publication-card-body h3 { font-size:clamp(18px,1.7vw,22px); line-height:1.3; overflow-wrap:anywhere; }
.publication-title-link { color:inherit; text-decoration:none; }
.publication-title-link:hover { color:var(--blue); }
.publication-card-dynamic .publication-card-body > .text-link { margin-top:auto; padding-top:18px; }
.publication-card-dynamic .publication-card-body .publication-date { font-size:12px; margin:0 0 11px; color:var(--body); }
.publication-subtitle { font-weight:600; color:var(--ink); }
.publication-empty { border:1px dashed #c6d7ec; border-radius:22px; background:#f5f9ff; padding:54px 35px; text-align:center; }
.publication-empty-icon { display:block; color:var(--blue); font-size:56px; line-height:1; margin-bottom:16px; }
.publication-empty h3 { margin:0 0 10px; font-size:23px; }
.publication-empty p { margin:0; }
.publication-detail-cover { max-height:470px; }
.publication-detail-metadata { font-size:14px!important; margin:0 0 8px!important; }
.publication-detail-summary { font-size:18px!important; font-weight:600; }
.publication-actions { display:flex; flex-wrap:wrap; gap:12px; margin:24px 0; }
.publication-action { font-size:13px; }
.publication-source { margin-top:22px; }
.publication-viewer-heading { display:flex; justify-content:space-between; align-items:center; gap:25px; margin-bottom:18px; }
.publication-viewer-heading h1 { font-size:clamp(1.8rem,3vw,2.7rem); margin:7px 0; }
.publication-viewer-heading p { margin:0; }
.publication-viewer-actions { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:22px; }
.publication-pdf-frame { width:100%; height:min(80vh,920px); min-height:470px; border:1px solid var(--border); border-radius:15px; background:#edf2f8; }
.publication-viewer-tip { margin-top:14px; font-size:13px; }
@media(max-width:1000px) { .publication-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:740px) { .publication-list { grid-template-columns:1fr; } .publication-viewer-heading { display:block; } .publication-viewer-heading > a { display:inline-flex; margin-top:16px; } .publication-pdf-frame { min-height:410px; } .publication-actions .btn { width:100%; justify-content:center; } }
@media(prefers-reduced-motion:reduce) { .publication-card-dynamic:hover { transform:none; } .publication-card-dynamic:hover .publication-card-cover img { transform:none; } }

/* V1.8.32 - Formulario de contato SMTP, retorno acessivel e honeypot. */
.contact-honeypot{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
#contact-form .btn-submit:disabled{opacity:.6;cursor:wait;pointer-events:none}
#form-feedback{min-height:1.2em;margin-top:14px;font-weight:650;line-height:1.6}
#form-feedback[data-status="sucesso"]{color:#176b47}
#form-feedback[data-status="erro"]{color:#b42336}
#form-feedback[data-status="aviso"]{color:#8a5700}


/* V1.8.35 — acesso ao administrativo no site publico, sem sobrecarregar o menu. */
.topbar .topbar-admin-shortcut{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;padding:7px 11px;border:1px solid rgba(255,255,255,.26);border-radius:10px;color:#e6f1ff;background:rgba(255,255,255,.07);font-family:var(--font-body,Inter,sans-serif);font-size:11px;font-weight:700;white-space:nowrap;transition:background .2s,border-color .2s,color .2s}
.topbar .topbar-admin-shortcut svg{height:15px;width:15px;flex:0 0 15px}
.topbar .topbar-admin-shortcut:hover,.topbar .topbar-admin-shortcut:focus-visible{color:#fff;background:rgba(255,255,255,.17);border-color:rgba(255,255,255,.48)}
.footer .footer-admin-shortcut{display:inline-flex;align-items:center;gap:5px;margin-left:16px;padding-left:16px;border-left:1px solid rgba(255,255,255,.22);color:#d9e8ff;font-size:12px;font-weight:650;white-space:nowrap}
.footer .footer-admin-shortcut:hover,.footer .footer-admin-shortcut:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:3px}
.footer .footer-admin-shortcut span[aria-hidden]{color:inherit}
@media(max-width:1250px){.topbar .topbar-admin-shortcut{display:none}}
@media(max-width:740px){.footer .footer-admin-shortcut{margin:9px 0 0;padding:0;border:0;display:inline-flex;white-space:normal}}

/* V1.8.41: cada creche marcada com exibir_home tem um card independente. */
.units-section .unit-creche-subtitle{font-size:12px;font-weight:750;color:#486a91;margin:6px 0 12px;min-height:0}
.units-section .unit-creche-description{font-size:13px;line-height:1.6;color:#5d6c82;margin-bottom:12px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;min-height:0}


/* V1.8.42 — Hero padrão para detalhes de notícias (/blog/{slug}) e
   publicações (/publicacoes/{slug}); não modifica listagens e outros heros.
   O título, a descrição e os breadcrumbs seguem sendo HTML dinâmico. */
.page-hero.page-hero-detalhe-conteudo {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 410px;
    padding: 74px 0 70px;
    background-color: #f1f6ff;
    background-image:
        linear-gradient(90deg,
            rgba(244,248,255,.97) 0%,
            rgba(244,248,255,.94) 26%,
            rgba(244,248,255,.76) 43%,
            rgba(244,248,255,.25) 67%,
            rgba(244,248,255,0) 85%),
        url('../images/instituto/fundo-detalhes-noticias-publicacoes-v1842.webp');
    background-position: center 52%;
    background-repeat: no-repeat;
    background-size: cover;
}
.page-hero.page-hero-detalhe-conteudo::before,
.page-hero.page-hero-detalhe-conteudo::after {
    content: none;
    display: none;
}
.page-hero.page-hero-detalhe-conteudo > .container {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 48px));
}
.page-hero.page-hero-detalhe-conteudo h1 {
    max-width: 790px;
    color: var(--blue-dark);
    overflow-wrap: anywhere;
    text-shadow: 0 1px 10px rgba(255,255,255,.2);
}
.page-hero.page-hero-detalhe-conteudo p {
    max-width: 700px;
    color: #455f7f;
    overflow-wrap: anywhere;
}
.page-hero.page-hero-detalhe-conteudo .breadcrumb {
    color: #455f7f;
    flex-wrap: wrap;
}
@media (max-width: 900px) {
    .page-hero.page-hero-detalhe-conteudo {
        min-height: 370px;
        padding: 68px 0 58px;
        background-image:
            linear-gradient(90deg,
                rgba(246,250,255,.98) 0%,
                rgba(246,250,255,.94) 40%,
                rgba(246,250,255,.63) 76%,
                rgba(246,250,255,.30) 100%),
            url('../images/instituto/fundo-detalhes-noticias-publicacoes-v1842.webp');
        background-position: 65% center;
    }
}
@media (max-width: 600px) {
    .page-hero.page-hero-detalhe-conteudo {
        min-height: 350px;
        padding: 56px 0 52px;
        background-image:
            linear-gradient(90deg,
                rgba(247,250,255,.99) 0%,
                rgba(247,250,255,.98) 50%,
                rgba(247,250,255,.87) 82%,
                rgba(247,250,255,.72) 100%),
            url('../images/instituto/fundo-detalhes-noticias-publicacoes-v1842.webp');
        background-position: 73% center;
    }
    .page-hero.page-hero-detalhe-conteudo > .container {
        width: min(100% - 34px, 600px);
    }
    .page-hero.page-hero-detalhe-conteudo h1 {
        font-size: clamp(2.1rem, 8vw, 3.2rem);
    }
    .page-hero.page-hero-detalhe-conteudo p {
        font-size: 15px;
    }
}

/* V1.8.56 - Google reCAPTCHA v3 no formulario de contato. */
.contact-recaptcha-info { display:block; margin-top:12px; font-size:0.78rem; color:#63738a; line-height:1.6; }
.contact-recaptcha-info a { color:#15509c; text-decoration:underline; }
.contact-recaptcha-warning { padding:11px 14px; background:#fff2f3; color:#a12634; border:1px solid #f7bdc4; border-radius:10px; }
