.footer {
  background: #000;
  border-top: 1px solid #333;
  color: #b0b0b0;
  font-size: 0.78rem;
  line-height: 1.4;
  width: 100%;
  padding: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 1rem;
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-areas:
      "sobre categorias"
      "contato comunidade";
    grid-template-columns: 1.75fr 1fr;
    gap: 0.95rem;
  }

  .footer-col:nth-child(1) { grid-area: sobre; }
  .footer-col:nth-child(2) { grid-area: categorias; }
  .footer-col:nth-child(3) { grid-area: contato; }
  .footer-col:nth-child(4) { grid-area: comunidade; }

  .footer-inner {
    padding: 1rem 0.9rem;
  }

  .footer-text {
    font-size: 0.78rem;
    line-height: 1.52;
    margin-top: 0.35rem;
    margin-bottom: 0.5rem;
  }

  .footer-col h4 {
    font-size: 0.86rem;
    margin-bottom: 0.42rem;
  }

  .footer-col:nth-child(2) ul li,
  .footer-col:nth-child(4) .footer-social,
  .footer-col:nth-child(3) .footer-link {
    font-size: 0.75rem;
  }

  .footer-col:nth-child(2) ul li {
    margin-bottom: 0.28rem;
  }
}

.footer-email-full {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-email-mobile {
  display: none;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 767px) {
  .footer-email-full {
    display: none !important;
  }
  .footer-email-mobile {
    display: flex !important;
  }
}

@media (min-width: 768px) {
  .footer-email-full {
    display: flex !important;
  }
  .footer-email-mobile {
    display: none !important;
  }
}

.footer-col h4 {
  font-size: 0.86rem;
  color: #fff;
  margin: 0 0 0.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  line-height: 1.2;
}

.footer-logo:hover {
  color: #FF5E00;
}

.footer-text {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #aaa;
}

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

.footer-col ul li {
  margin-bottom: 0.32rem;
}

.footer-col ul li:last-child {
  margin-bottom: 0;
}

.footer-col ul li a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.15s;
}

.footer-col ul li a:hover {
  color: #FF5E00;
}

.footer-link,
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #b0b0b0;
  text-decoration: none;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  transition: color 0.15s;
  min-width: 0;
}

.footer-link:hover,
.footer-social:hover {
  color: #FF5E00;
}

.footer-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.footer-letter-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #b0b0b0;
  border: 1px solid #b0b0b0;
  border-radius: 3px;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s;
}

.footer-link:hover .footer-letter-icon,
.footer-social:hover .footer-letter-icon {
  color: #FF5E00;
  border-color: #FF5E00;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid #333;
  text-align: center;
  font-size: 0.75rem;
}

.footer-bottom p {
  margin: 0;
  color: #aaa;
}

.footer-legal-links {
  margin-top: 0.3rem;
  font-size: 0.68rem;
  color: #777;
}

.footer-legal-links a {
  color: #999;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-legal-links a:hover {
  color: #FF5E00;
}

@media (max-height: 500px) and (orientation: landscape) and (max-width: 767px) {
  .footer-inner {
    padding: 0.8rem 0.7rem;
  }
  .footer-grid {
    gap: 0.8rem;
  }
  .footer-col h4 {
    font-size: 0.83rem;
  }
}

@media (max-width: 360px) {
  .footer-inner {
    padding: 0.8rem 0.7rem;
  }
  .footer-col h4 {
    font-size: 0.82rem;
  }
  .footer-text {
    font-size: 0.76rem;
    line-height: 1.4;
  }
  .footer-col:nth-child(2) ul li a,
  .footer-col:nth-child(3) .footer-link,
  .footer-col:nth-child(4) .footer-social {
    font-size: 0.73rem;
  }
}

.footer,
.footer-inner,
.footer-grid,
.footer-col {
  overflow-x: hidden;
  box-sizing: border-box;
}

.footer-social .custom-logo {
  transition: filter 0.2s ease;
}

.footer-social:hover .custom-logo {
  filter: brightness(0) saturate(100%) invert(36%) sepia(96%) saturate(4767%) hue-rotate(356deg) brightness(99%) contrast(92%);
}