/* SECGOIANA FOOTER */
footer {
  background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
  color: #ffffff;
  padding: 0.75rem 2rem;
  margin-top: 3rem;
  border-top: 3px solid #ffd700;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

/* Footer Logo/Info */
.footer-logo-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo {
  width: 100px;
  height: auto;
  display: block;
  filter: brightness(1.1) drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.footer-logo-section p {
  font-size: 0.9rem;
  line-height: 1.2;
  opacity: 0.95;
  margin: 0;
}

.footer-link-plain {
  text-decoration: none;
  color: inherit;
}

/* Footer Section Title */
.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(255,255,255,0.3);
}

/* Contact Section */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid #ffd700;
}

.footer-contact-items {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 0 0 auto;
}

.footer-contact-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.footer-contact-info {
  display: flex;
  flex-direction: row;
  gap: 0.3rem;
  align-items: center;
}

.footer-contact-label {
  font-size: 0.75rem;
  opacity: 1;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  font-weight: 700;
  color: #ffd700;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0;
}

.footer-contact-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffd700;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 0;
}

.footer-contact-value:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Address Section */
.footer-address {
  font-size: 0.75rem;
  line-height: 1.3;
  opacity: 0.95;
}
/* Social Icons */
.footer-social-icons {
  order: -1; 
}

.social-icons-wrapper {
  display: flex;
  gap: 0.8rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffd700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.4);
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Cores de hover específicas */
.social-icon.instagram:hover {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  color: white;
  border-color: transparent;
}

.social-icon.facebook:hover {
  background-color: #1877F2;
  color: white;
  border-color: transparent;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  flex-wrap: wrap;
  font-size: 0.75rem;
  opacity: 0.9;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
}

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

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffd700;
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

/* Developer Credit */
.footer-developer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-size: 0.75rem;
  opacity: 0.9;
  flex-wrap: wrap;
}

.footer-developer a {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-developer a:hover {
  color: #ffffff;
}

.footer-developer img {
  max-height: 30px;
  filter: brightness(1.2);
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.footer-developer a:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  footer {
    padding: 2rem 1.5rem;
    margin-top: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
  }

  .footer-contact-items {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-contact-item {
    flex: 1 1 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }

  .footer-links {
    gap: 1.5rem;
    font-size: 0.85rem;
  }

  .footer-logo {
    width: 100px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 1.5rem 1rem;
  }

  .footer-content {
    gap: 1.5rem;
  }

  .footer-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .footer-contact-item {
    margin-bottom: 0.8rem;
  }

  .footer-contact-value {
    font-size: 0.95rem;
  }

  .footer-links {
    gap: 1rem;
    font-size: 0.8rem;
  }

  .footer-logo {
    width: 80px;
  }

  .footer-developer {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    gap: 1rem;
  }
  
  .footer-social-icons {
    order: 0; /* Remove a ordem forçada em mobile */
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
  }
  
  .social-icons-wrapper {
    justify-content: center;
  }
  
  .social-icon {
    width: 36px;
    height: 36px;
  }
  
  .social-icon svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .footer-social-icons {
    margin-bottom: 0.8rem;
  }
  
  .social-icons-wrapper {
    gap: 1rem;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
  }
  
  .social-icon svg {
    width: 20px;
    height: 20px;
  }
}
