/* Footer Styles */
.site-footer {
  background-color: #2d3a47;
  color: #f0f0f0;
  border-top: 2px solid #e3ded9;
  font-family: 'Montserrat', sans-serif;
  padding: 40px 0 0;
  margin-top: 0;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 30px;
  text-align: left;
}

.footer-info {
  transition: transform 0.3s;
  flex: 1;
  min-width: 250px;
}

.footer-info h4 {
  color: #eeecea;
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  min-height: 30px; /* garante alinhamento vertical dos títulos */
}

.footer-info p {
  color: #d1d1d1;
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-info a {
  color: #d1d1d1;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-info a:hover {
  color: #FF8200;
  padding-left: 3px;
}

/* Redes sociais */
.redes-sociais {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0;
}

.redes-sociais h4 {
  margin-bottom: 10px;
}

.redes-sociais-icons {
  display: flex;
  gap: 16px;
}

.redes-sociais a {
  font-size: 24px;
  color: white;
  margin-right: 12px;
  text-decoration: none;
}

.redes-sociais a:hover {
  color: #0077b5;
}

.linkedin-icon i,
.facebook-icon i {
  transition: transform 0.3s ease;
}

.linkedin-icon:hover i,
.facebook-icon:hover i {
  transform: scale(1.1);
}

/* Parceiros */
.footer-parceiros {
  margin-top: 25px;
  text-align: left;
}

.footer-parceiros h5 {
  color: #eeecea;
  font-weight: 600;
  margin-bottom: 12px;
}

.parceiros-logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

.parceiros-logos img {
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.parceiros-logos img:hover {
  transform: scale(1.05);
}

/* Footer legal */
.footer-bottom {
  text-align: center;
  padding: 20px 20px 0;
  border-top: 1px solid rgba(255, 130, 0, 0.2);
  margin-top: 30px;
  font-size: 0.9rem;
  color: #a0a0a0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-legal {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 1rem;
  padding-bottom: 20px;
}

.footer-legal a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-legal a:hover {
  text-decoration: none;
  color: #ccc;
}

/* Footer branco final */
.footer-cofinanciadores {
  width: 100%;
  background-color: #fff;
  padding: 20px 0;
  position: relative;
  z-index: 2;
}

.footer-cofinanciadores-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.footer-copy {
  font-size: 0.9rem;
  color: #333;
  text-align: left;
  flex: 1;
  min-width: 200px;
  margin: 5px 0;
}

.cofinanciadores-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex: 2;
  min-width: 300px;
}

.cofinanciadores-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 8px;
  text-align: right;
}

.cofinanciadores-logos {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.cofinanciadores-logos img {
  height: 30px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.cofinanciadores-logos img:hover {
  transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }

  .footer-info {
    width: 100%;
    text-align: center;
  }

  .redes-sociais {
    align-items: center;
  }

  .footer-parceiros {
    margin-top: 30px;
    text-align: center;
  }

  .parceiros-logos {
    justify-content: center;
  }

  .footer-cofinanciadores-content {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
  }

  .footer-copy {
    text-align: center;
    order: 2;
    margin-top: 15px;
  }

  .cofinanciadores-wrapper {
    align-items: center;
    text-align: center;
  }

  .cofinanciadores-label {
    text-align: center;
  }

  .cofinanciadores-logos {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cofinanciadores-logos {
    gap: 10px;
  }

  .cofinanciadores-logos img {
    height: 25px;
  }
}
