/* ==========================================================
   UNIFORMA — FOOTER V6.2
   ========================================================== */

.uf-footer {
  background: linear-gradient(180deg, #00183f 0%, #00132f 100%);
  color: #d7e5fb;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.uf-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: .12;
  pointer-events: none;
}

.uf-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 74px 42px 28px;
}

.uf-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr 1fr;
  gap: 36px 34px;
  align-items: start;
}

.uf-footer__brand,
.uf-footer__column {
  min-width: 0;
}

.uf-footer__logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
}

.uf-footer__logo {
  width: min(100%, 300px);
  height: auto;
  display: block;
}

.uf-footer__description {
  margin: 0 0 22px;
  max-width: 420px;
  color: #d6e5fb;
  line-height: 1.8;
  font-size: 16px;
}

.uf-footer__email {
  display: inline-flex;
  margin-bottom: 24px;
  color: #67a8ff;
  font-weight: 700;
  text-decoration: none;
  transition: color .22s ease, transform .22s ease;
}
.uf-footer__email:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.uf-footer__title {
  margin: 0 0 18px;
  padding-bottom: 14px;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.uf-footer__links,
.uf-footer__contact-list,
.uf-footer__payments {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.uf-footer__links a,
.uf-footer__contact-item a {
  color: #d7e5fb;
  text-decoration: none;
  transition: color .22s ease, transform .22s ease;
}

.uf-footer__links a:hover,
.uf-footer__contact-item a:hover {
  color: #67a8ff;
  transform: translateX(2px);
}

.uf-footer__soon {
  color: #d7e5fb;
  opacity: .9;
}
.uf-footer__soon small {
  display: inline-block;
  margin-left: 8px;
  color: #8fb4eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.uf-footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.uf-footer__contact-item strong {
  color: #ffffff;
  font-size: 16px;
}

.uf-footer__contact-item span {
  color: #9fc0ea;
}

.uf-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.uf-footer__social {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  color: #dce9ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    transform .22s ease,
    border-color .22s ease,
    background-color .22s ease,
    color .22s ease,
    box-shadow .22s ease;
}

.uf-footer__social:hover {
  transform: translateY(-3px);
  border-color: rgba(103,168,255,.75);
  background: rgba(0,102,255,.12);
  color: #67a8ff;
  box-shadow: 0 10px 26px rgba(0,102,255,.18);
}

.uf-footer__social svg {
  width: 20px;
  height: 20px;
  display: block;
}

.uf-footer__payment {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d7e5fb;
}

.uf-footer__payment svg {
  width: 22px;
  height: 22px;
  color: #9bc2f5;
  flex-shrink: 0;
}

.uf-footer__bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #8fb0db;
  font-size: 14px;
}

/* Ajuste do topo branco antes do footer */
.page-shell .footer,
footer.footer {
  display: none !important;
}

@media (max-width: 1280px) {
  .uf-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .uf-footer__inner {
    padding: 54px 24px 24px;
  }

  .uf-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .uf-footer__description {
    max-width: none;
  }

  .uf-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uf-footer *,
  .uf-footer *::before,
  .uf-footer *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================
   UNIFORMA — FOOTER V6.3
   ========================================================== */

.uf-footer__qr-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
}

.uf-footer__qr-box {
  width: 86px;
  height: 86px;
  min-width: 86px;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.uf-footer__qr-pattern {
  width: 70px;
  height: 70px;
  background:
    linear-gradient(90deg, #000 10px, transparent 10px) 0 0 / 20px 20px,
    linear-gradient(#000 10px, transparent 10px) 0 0 / 20px 20px,
    linear-gradient(90deg, transparent 10px, #000 10px) 10px 10px / 20px 20px,
    linear-gradient(transparent 10px, #000 10px) 10px 10px / 20px 20px;
  opacity: .92;
}

.uf-footer__qr-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.uf-footer__qr-copy strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}

.uf-footer__qr-copy span {
  color: #9fc0ea;
  font-size: 14px;
}

.uf-footer__bottom {
  align-items: center;
}

.uf-footer__bottom-left,
.uf-footer__bottom-center,
.uf-footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.uf-footer__bottom-center {
  justify-content: center;
  flex-wrap: wrap;
}

.uf-footer__bottom-center a {
  color: #8fb0db;
  text-decoration: none;
  transition: color .22s ease, transform .22s ease;
}

.uf-footer__bottom-center a:hover {
  color: #67a8ff;
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .uf-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .uf-footer__bottom-left,
  .uf-footer__bottom-center,
  .uf-footer__bottom-right {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .uf-footer__qr-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .uf-footer__qr-box {
    width: 78px;
    height: 78px;
    min-width: 78px;
  }

  .uf-footer__qr-pattern {
    width: 62px;
    height: 62px;
  }
}

/* ==========================================================
   UNIFORMA FOOTER V6.4
   Cinco colunas e links legais organizados
   ========================================================== */

@media (min-width:1281px) {
  .uf-footer__grid {
    grid-template-columns:
      minmax(230px,1.3fr)
      minmax(175px,1fr)
      minmax(175px,1fr)
      minmax(195px,1fr)
      minmax(185px,1fr);
    gap:32px;
  }
}

@media (min-width:861px) and (max-width:1280px) {
  .uf-footer__grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:36px;
  }
}

.uf-footer__bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.uf-footer__bottom-center {
  display:flex!important;
  align-items:center!important;
  justify-content:center;
  flex-wrap:wrap;
  column-gap:0!important;
  row-gap:12px!important;
}

.uf-footer__bottom-center a {
  display:inline-flex!important;
  align-items:center;
  white-space:nowrap;
  margin:0!important;
  padding:3px 14px!important;
  color:#a9c8ed;
  text-decoration:none;
  font-size:13px;
  line-height:1.6;
  transition:
    color .2s ease,
    transform .2s ease;
}

.uf-footer__bottom-center a + a {
  border-left:1px solid rgba(170,199,239,.30);
}

.uf-footer__bottom-center a:hover {
  color:#ffffff;
  transform:translateY(-2px);
}

.uf-footer__bottom-center a:focus-visible {
  outline:2px solid #60a5fa;
  outline-offset:3px;
  border-radius:3px;
}

.uf-footer__bottom-left,
.uf-footer__bottom-right {
  flex-shrink:0;
}

@media (max-width:1350px) {
  .uf-footer__bottom {
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:14px 28px;
  }

  .uf-footer__bottom-center {
    justify-content:flex-start;
  }
}

@media (max-width:860px) {
  .uf-footer__bottom {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:17px;
  }

  .uf-footer__bottom-center {
    width:100%;
    justify-content:flex-start;
  }

  .uf-footer__bottom-center a {
    padding:5px 11px!important;
  }

  .uf-footer__bottom-center a:first-child {
    padding-left:0!important;
  }
}

@media (prefers-reduced-motion:reduce) {
  .uf-footer__bottom-center a {
    transition:none!important;
  }
}

/* ==========================================================
   UNIFORMA FOOTER V6.5
   Proporcoes, logotipo e separacao dos links legais
   ========================================================== */

/* Desktop largo: colunas mais proximas e proporcionais */

@media (min-width:1551px) {

  .uf-footer__inner {
    max-width:none!important;
    width:100%;
    padding-left:clamp(32px,3vw,56px);
    padding-right:clamp(32px,3vw,56px);
  }

  .uf-footer__grid {
    display:grid;
    grid-template-columns:
      320px
      220px
      220px
      235px
      minmax(235px,1fr)!important;
    column-gap:24px!important;
    row-gap:38px;
    align-items:start;
  }
}

/* Desktop e portateis medios */

@media (min-width:1151px) and (max-width:1550px) {

  .uf-footer__grid {
    grid-template-columns:
      minmax(275px,1.35fr)
      repeat(4,minmax(150px,1fr))!important;
    gap:24px!important;
  }

}

/* Logo com maior destaque */

.uf-footer .uf-footer__logo-link {
  display:flex;
  width:100%;
  max-width:330px;
  justify-content:flex-start;
  align-items:center;
  margin-bottom:22px;
}

.uf-footer .uf-footer__logo {
  display:block;
  width:100%!important;
  max-width:330px!important;
  height:auto!important;
  object-fit:contain;
  object-position:left center;
}

/* Descricao da empresa com melhor leitura */

.uf-footer .uf-footer__description {
  width:100%;
  max-width:335px!important;
  font-size:15px;
  line-height:1.85;
  margin-bottom:22px;
  text-wrap:pretty;
}

/* Evitar que um link longo desorganize as colunas */

.uf-footer .uf-footer__column,
.uf-footer .uf-footer__brand {
  min-width:0;
}

.uf-footer .uf-footer__links a {
  overflow-wrap:break-word;
}

/* Barra inferior */

.uf-footer .uf-footer__bottom {
  display:flex!important;
  justify-content:space-between;
  align-items:center;
  gap:22px!important;
  padding-top:25px;
}

.uf-footer .uf-footer__bottom-center {
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:12px 20px!important;
  column-gap:20px!important;
  row-gap:12px!important;
  width:auto;
}

/* Cada link legal tem uma area independente */

.uf-footer .uf-footer__bottom-center > a {
  display:inline-flex!important;
  position:relative;
  flex:0 0 auto;
  align-items:center;
  width:auto!important;
  margin:0!important;
  padding:4px 0!important;
  border:0!important;
  white-space:nowrap;
  font-size:13px;
  line-height:1.5;
  color:#a9c8ed;
  text-decoration:none;
  transition:color .22s ease,transform .22s ease;
}

/* Separador entre links, sem colar os textos */

.uf-footer .uf-footer__bottom-center > a + a::before {
  content:"";
  position:absolute;
  left:-10px;
  top:50%;
  transform:translateY(-50%);
  width:1px;
  height:12px;
  background:rgba(169,200,237,.35);
  pointer-events:none;
}

.uf-footer .uf-footer__bottom-center > a:hover {
  color:#ffffff;
  transform:translateY(-2px);
}

.uf-footer .uf-footer__bottom-center > a:focus-visible {
  outline:2px solid #66aaff;
  outline-offset:4px;
  border-radius:3px;
}

/* Nao comprimir a area legal em resolucoes medias */

@media (max-width:1450px) {

  .uf-footer .uf-footer__bottom {
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:14px!important;
  }

  .uf-footer .uf-footer__bottom-center {
    justify-content:flex-start!important;
  }

}

/* Tablet e mobile */

@media (max-width:1150px) {

  .uf-footer .uf-footer__logo-link,
  .uf-footer .uf-footer__logo {
    max-width:310px!important;
  }

  .uf-footer .uf-footer__description {
    max-width:380px!important;
  }

}

@media (max-width:640px) {

  .uf-footer .uf-footer__bottom-center {
    gap:10px 18px!important;
  }

  .uf-footer .uf-footer__bottom-center > a {
    font-size:12px;
  }

  .uf-footer .uf-footer__bottom-center > a + a::before {
    left:-9px;
  }

}

@media (prefers-reduced-motion:reduce) {

  .uf-footer .uf-footer__bottom-center > a {
    transition:none!important;
  }

}

/* ==========================================================
   UNIFORMA FOOTER V6.6
   Ajustes finais de proporcao e altura
   ========================================================== */

/* Logo mais discreto, como na versao anterior */

.uf-footer .uf-footer__logo-link {
  max-width:270px!important;
  margin-bottom:20px!important;
}

.uf-footer .uf-footer__logo {
  width:100%!important;
  max-width:270px!important;
  height:auto!important;
}

/* Texto sem aumento de tipografia */

.uf-footer .uf-footer__description {
  max-width:310px!important;
  font-size:15px!important;
  line-height:1.8!important;
}

/* Distribuicao equilibrada das cinco colunas */

@media (min-width:1551px) {
  .uf-footer .uf-footer__grid {
    grid-template-columns:
      300px
      repeat(4,minmax(0,1fr))!important;
    column-gap:30px!important;
  }
}

/* Reduzir altura e espaco da barra inferior */

.uf-footer .uf-footer__bottom {
  margin-top:24px!important;
  padding-top:14px!important;
  padding-bottom:0!important;
  min-height:0!important;
  gap:14px 22px!important;
}

.uf-footer .uf-footer__inner {
  padding-bottom:14px!important;
}

/* Preservar separadores e espacamento das legais */

.uf-footer .uf-footer__bottom-center {
  display:flex!important;
  align-items:center!important;
  justify-content:center;
  flex-wrap:wrap!important;
  gap:8px 20px!important;
}

.uf-footer .uf-footer__bottom-center > a {
  margin:0!important;
  padding:2px 0!important;
  white-space:nowrap;
}

/* QR antigo nao deve ocupar qualquer espaco */

.uf-footer .uf-footer__qr-card {
  display:none!important;
}

@media (max-width:860px) {
  .uf-footer .uf-footer__bottom {
    margin-top:22px!important;
    padding-top:14px!important;
    gap:12px!important;
  }

  .uf-footer .uf-footer__bottom-center {
    justify-content:flex-start;
  }
}

@media (prefers-reduced-motion:reduce) {
  .uf-footer .uf-footer__bottom-center > a {
    transition:none!important;
  }
}
