.site-footer{ padding:0 !important; background: var(--brand-bg); }
.site-footer .container{ padding:0 !important; overflow: visible !important; max-width: 100% !important; box-sizing: border-box; }

.cmporto-footer{
  background: var(--brand-bg);
  color: #fff;
  font-size: 14px;
  position: relative;
  overflow-x: clip;
}

.cmporto-footer .footer-lower .footer-background{
  width: 640px;
  height: 181px;
  position: absolute;
  right: 0;
  bottom: 0;
   
  padding-right: 50px;


  opacity: 0.9;
  object-fit: cover;
  filter: brightness(0) invert(1);
  mix-blend-mode: normal;
  pointer-events: none;
}
.cmporto-footer .footer-main{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 924px;
  height: auto;
  padding-top: 44px;
  padding-bottom: 24px;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
  margin: 0 auto;
}
.cmporto-footer .footer-logos{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 80px;
  width: 450px;
height: 55.875px;
}
.cmporto-footer .footer-logos img{ display:block; }

.cmporto-footer .logo-porto img{
  width: 108.684px;
  height: 55.875px;
  flex-shrink: 0;
}

.cmporto-footer .logo-pd img{
  width: 188.727px;
  height: 55.751px;
  flex-shrink: 0;
}

.cmporto-footer .footer-lower{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
 padding-left: 50px;
  width: 100%;
  max-width: 100%;
  height: auto;
  gap: 24px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

.cmporto-footer .footer-separator{
  width: min(1000px, 100%);
  height: 1px;
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0.00) 104.6%);
}

.cmporto-footer .footer-nav{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 396px;
  height: auto;
  gap: 24px;
  position: relative;
  left: -35px;
  top: -4px;
}
.cmporto-footer .footer-nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cmporto-footer .footer-nav li{ margin: 0; }
.cmporto-footer .footer-nav a{
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.18px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 24px;
}
.cmporto-footer .footer-nav a:hover{ text-decoration:underline; }

.cmporto-footer .footer-bottom{
  position: relative;
  width: 100%;
  text-align: center;
}

.cmporto-footer .footer-bottom .container{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 1512px;
  height: auto;
  padding: 0 clamp(16px, 6vw, 100px);
  box-sizing: border-box;
  gap: 10px;
  margin: 0 auto;
}

@media (max-width: 900px){
  .cmporto-footer .footer-main{ flex-direction:column; align-items:flex-start; width: 100%; }
  .cmporto-footer .footer-nav{ grid-template-columns: 1fr 1fr; }
  .cmporto-footer .footer-separator{ width: 100%; }
  .cmporto-footer .footer-bottom .container{ padding: 0 20px; }
  .cmporto-footer .footer-funding img{ height: auto; width: 100%; margin-left: 0; }
}
@media (max-width: 600px){
  .cmporto-footer .footer-nav{ grid-template-columns: 1fr; }
}

.cmporto-footer .footer-bottom .container p{
    text-align: left;
}

.cmporto-footer .footer-funding{
  width: 100%;
  max-width: 924px;
  padding: 0 16px 24px;
  box-sizing: border-box;
  margin: 0 auto;
}

.cmporto-footer .footer-funding img{
  display: block;
  /* imagem de origem tem ~418px de padding transparente à volta dos logos (canvas 11584x1667, conteúdo real 10749x834) */
  height: 112px;
  width: auto;
  margin-left: -28px;
}

.cmporto-footer {
  margin-top: auto;
  flex-shrink: 0;
}