/* ================= FOOTER / MAPA DO SITE ================= */

#site-footer {
  background-color: #0D2B5A;
  color: #FFFFFF;
  padding: 48px 0 0 0;
}

.sitefooter__container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}

.sitefooter__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.sitefooter__brand {
  display: contents;
}

.sitefooter__logo {
  line-height: 0;
  order: 1;
  margin-bottom: 16px;
}

.sitefooter__nav {
  order: 2;
}

.sitefooter__social {
  order: 3;
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-left: 0;
}

.sitefooter__logo img {
  max-width: 220px;
  height: auto;
  display: block;
}

.sitefooter__social img {
  width: 28px;
  height: 28px;
  display: block;
  transition: opacity 0.3s ease;
}

.sitefooter__social a:hover img {
  opacity: 0.7;
}

.sitefooter__nav {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.sitefooter__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.sitefooter__title {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
}

.sitefooter__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitefooter__col li {
  margin: 0;
}

.sitefooter__col a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.sitefooter__col a:hover {
  opacity: 0.7;
}

.sitefooter__legal {
  margin-top: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}

.sitefooter__legal p {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin: 6px 0;
}

@media (min-width: 640px) {
  .sitefooter__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  #site-footer {
    padding-top: 64px;
  }

  .sitefooter__grid {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
  }

  .sitefooter__brand {
    display: contents;
  }

  .sitefooter__logo {
    order: 1;
    margin-bottom: 16px;
  }

  .sitefooter__nav {
    order: 2;
  }

  .sitefooter__social {
    order: 3;
    justify-content: center;
  }

  .sitefooter__nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .sitefooter__col {
    align-items: center;
    text-align: center;
  }

  .sitefooter__col a {
    white-space: nowrap;
  }

  .sitefooter__legal {
    margin-top: 24px;
  }
}

@media (min-width: 1024px) {
  .sitefooter__grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }

  .sitefooter__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 28%;
    gap: 16px;
  }

  .sitefooter__logo,
  .sitefooter__nav,
  .sitefooter__social {
    order: initial;
  }

  .sitefooter__logo {
    margin-bottom: 0;
  }

  .sitefooter__social {
    justify-content: flex-start;
  }

  .sitefooter__nav {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    width: auto;
    flex-wrap: nowrap;
  }

  .sitefooter__col {
    flex: 1;
    align-items: flex-start;
    text-align: left;
  }

  .sitefooter__legal {
    margin-top: 48px;
  }
}
