:root {
  --primary-color: #fea700;
  --secondary-color: #1a1919;
  --text-color: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --hover-color: #ffc107;
  --transition-speed: 0.3s;
}

.footer {
  background-color: var(--secondary-color);
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  padding: 60px 20px 20px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #ff6b00);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.footer-logo img {
  width: 180px;
  filter: brightness(0) invert(1);
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-logo-text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 250px;
}

.footer h4 {
  margin-bottom: 20px;
  font-size: 18px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 12px;
}

.footer ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  display: inline-block;
  position: relative;
  font-size: 15px;
}

.footer ul li a:hover {
  color: var(--hover-color);
  transform: translateX(5px);
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact i {
  color: var(--primary-color);
  margin-top: 3px;
  min-width: 16px;
}

.footer-contact a {
  color: var(--text-muted);
  transition: color var(--transition-speed) ease;
}

.footer-contact a:hover {
  color: var(--hover-color);
}

.footer-social .social-icons {
  display: flex;
  gap: 15px;
  font-size: 18px;
  margin-bottom: 25px;
}

.footer-social a {
  color: var(--text-muted);
  transition: all var(--transition-speed) ease;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  color: var(--secondary-color);
  background: var(--primary-color);
  transform: translateY(-3px);
}

.jornal {
  margin-top: 20px;
  border-radius: 20px;
}

.jornal-form {
  display: flex;
}

.jornal-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  background: transparent;
  color: var(--text-color);
  font-size: 14px;
  border: 1px solid var(--text-muted);
  border-radius: 30px 0 0 30px;
  border-right: none;
  transition: border-color 0.3s ease;
}
a {
  text-decoration: none;
}
.jornal-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.jornal-form input::placeholder {
  color: var(--text-muted);
}

.jornal-form button {
  background: var(--primary-color);
  color: var(--secondary-color);
  border: 1px solid var(--primary-color);
  padding: 0 18px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border-radius: 0 30px 30px 0;
}

.jornal-form button:hover {
  background: var(--hover-color);
  border-color: var(--hover-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--text-muted);
  transition: color var(--transition-speed) ease;
}

.footer-legal a:hover {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .footer-logo {
    grid-column: span 2;
    text-align: center;
  }
  
  .footer-logo-text {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .footer-social {
    grid-column: span 2;
  }
  
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .footer-logo,
  .footer-social {
    grid-column: span 1;
    text-align: center;
  }
  
  .footer-social .social-icons {
    justify-content: center;
  }
  
  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer ul li a:hover {
    transform: none;
  }
}