/* ==============================
   FOOTER
============================== */

.site-footer {
  padding: 64px 0 24px;
  background-color: var(--color-primary);
  color: var(--color-white);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 72px;

  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-brand img {
  width: auto;
  height: 60px;
  margin-bottom: 22px;
}

.footer-brand p,
.footer-contact p,
.footer-work p,
.footer-links a {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;

  color: rgba(255, 255, 255, 0.86);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: transform var(--transition), opacity var(--transition);
}

.footer-social a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.footer-social img {
  width: 22px;
  height: 22px;
}

.footer-links h3,
.footer-contact h3,
.footer-work h3 {
  margin-bottom: 22px;

  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;

  color: var(--color-white);
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  width: fit-content;

  transition: color var(--transition), transform var(--transition);
}

.footer-links a:hover {
  color: var(--color-white);
  transform: translateX(4px);
}

.footer-contact,
.footer-work {
  display: flex;
  flex-direction: column;
}

.footer-contact p,
.footer-work p {
  margin-bottom: 8px;
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;

  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;

  color: rgba(255, 255, 255, 0.9);
}

.footer-contact a,
.footer-work a {
  display: inline-block;

  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;

  color: rgba(255, 255, 255, 0.86);

  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

/* responsive */

@media (max-width: 900px) {
  .site-footer {
    padding: 56px 0 24px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px 56px;
  }
}

@media (max-width: 560px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 36px;

    padding-bottom: 36px;
  }

  .footer-brand img {
    height: 30px;
  }

  .footer-brand p,
  .footer-contact p,
  .footer-work p,
  .footer-links a {
    font-size: 15px;
  }

  .footer-bottom p {
    font-size: 13px;
  }
}

/* ==============================
   RESPONSIVO REFINADO - FOOTER
============================== */

@media (max-width: 760px) {
  .site-footer {
    padding: 42px 0 20px;
  }

  .footer-container {
    gap: 28px;
    padding-bottom: 30px;
  }

  .footer-brand img {
    height: 34px;
    margin-bottom: 16px;
  }

  .footer-links h3,
  .footer-contact h3,
  .footer-work h3 {
    margin-bottom: 14px;
  }

  .footer-brand p,
  .footer-contact p,
  .footer-work p,
  .footer-links a,
  .footer-work a {
    font-size: 14.5px;
  }

  .footer-bottom {
    padding-top: 18px;
  }

  .footer-bottom p {
    font-size: 12.5px;
  }
}

/* ==============================
   RESPONSIVO FINAL - FOOTER MOBILE
============================== */

@media (max-width: 560px) {
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
  }

  .footer-brand img {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-links,
  .footer-contact,
  .footer-work,
  .footer-links nav,
  .footer-social,
  .footer-bottom {
    align-items: center;
    text-align: center;
  }

  .footer-brand p,
  .footer-contact p,
  .footer-work p,
  .footer-links a,
  .footer-work a,
  .footer-contact a,
  .footer-bottom p {
    text-align: center;
  }

  .footer-links a {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social {
    justify-content: center;
  }
}