/* Rodapé da home institucional da DMR. A revelação fica contida no fechamento. */
.closing{position:relative;isolation:isolate}
.closing>.footer{z-index:1}
.site-footer{
  position:relative;isolation:isolate;overflow:hidden;
  border-top:5px solid var(--gold);background:#fbf4ea;color:var(--navy);
  padding:58px 0 28px;font-family:var(--sans);
  --gray:#626365;
}
.site-footer::before{
  content:"";position:absolute;inset:0 0 auto;height:150px;pointer-events:none;
  background:linear-gradient(180deg,#26344c2e,#b08c5814 36%,transparent 78%),
    radial-gradient(ellipse at 18% 0%,#b08c5829,transparent 58%),
    radial-gradient(ellipse at 82% 0%,#fff3,transparent 62%);opacity:.62;
}
.site-footer .blob-outer-container{position:absolute;inset:0;overflow:hidden;z-index:-1;filter:blur(80px);pointer-events:none}
.site-footer .blob-inner-container{position:absolute;inset:-15%;border-radius:50%;overflow:hidden;background:white}
.site-footer .blob{position:absolute;inset:-40%;background:conic-gradient(from 0deg,#b08c58,#ffb381,#fcf8c6,#e0e0e0,#7e7e7e,#fff);opacity:.5;animation:dmr-footer-light 8s linear infinite;animation-play-state:paused}
.site-footer.in-view .blob{animation-play-state:running}
body:has(.site-footer.in-view) .viewport-edge.edge-bottom{opacity:0}
@keyframes dmr-footer-light{to{transform:rotate(1turn)}}
.site-footer .shell{position:relative;width:min(1180px,calc(100% - 40px));margin-inline:auto}
.site-footer .footer-grid{display:grid;grid-template-columns:minmax(260px,1.1fr) minmax(220px,.5fr);gap:52px;align-items:start}
.site-footer .footer-logo{width:min(520px,100%);aspect-ratio:1735/676;margin-bottom:20px}
.site-footer .footer-logo img{width:100%;height:100%;object-fit:contain}
.site-footer p{max-width:600px;margin:0 0 12px;color:var(--gray)}
.site-footer h4{margin:0 0 18px;color:#785a36;font-size:.86rem;letter-spacing:.16em;text-transform:uppercase}
.site-footer .footer-grid a{overflow-wrap:anywhere;text-underline-offset:.2em}
.site-footer .footer-grid a:hover{text-decoration:underline}
.site-footer .footer-grid p[style]{--gold:#775830}
.site-footer .contact-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.site-footer .social-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #b08c5894;color:var(--navy);background:#ffffff29;transition:background .18s,color .18s}
.site-footer .social-icon svg{width:20px;height:20px;stroke-width:1.7}
.site-footer .social-icon:is(:hover,:focus-visible){background:var(--navy);color:#fbf4ea}
.site-footer .legal{display:flex;justify-content:space-between;gap:18px;margin-top:48px;padding-top:24px;border-top:1px solid #62636538;color:#575655;font-size:.82rem}
@media(min-width:981px) and (min-height:760px) and (prefers-reduced-motion:no-preference){
  .site-footer{position:sticky;bottom:0;min-height:50svh}
  .site-footer:focus-within{position:relative}
}
@media(max-width:980px){.site-footer .footer-grid{grid-template-columns:1fr;gap:36px}.site-footer .footer-logo{width:min(370px,100%)}}
@media(max-width:620px){.site-footer{padding:44px 0 24px}.site-footer .shell{width:calc(100% - 40px)}.site-footer .legal{flex-direction:column;gap:6px;margin-top:30px}}
@media(prefers-reduced-motion:reduce){.site-footer .blob{animation:none}}
