/* Variáveis de Cores para facilitar a manutenção */
:root {
  --bg-dark: #12102A;
  --bg-card: #1A1840;
  --text-light: #FFFFFF;
  --text-muted: #A8A8B8;
  --accent-yellow: #DDFC00;
  --border-color: #2A2850;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 40px 5% 20px;
  /* As duas linhas de border-radius foram apagadas daqui */
}


/* --- TOPO DO RODAPÉ --- */
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 15px;
}

.brand-col p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 1.2rem;
  margin-right: 10px;
  text-decoration: none;
  transition: 0.3s;
}

.social-icons a:hover {
  background-color: var(--accent-yellow);
  color: var(--bg-dark);
  border-color: var(--accent-yellow);
}

.links-col h3, .contact-col h3 {
  color: var(--accent-yellow);
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-decoration: underline wavy var(--accent-yellow);
  text-underline-offset: 8px;
}

.links-col ul, .contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links-col ul li, .contact-info li {
  margin-bottom: 15px;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.links-col ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.links-col ul li a i, .contact-info li i {
  color: var(--text-muted);
  width: 16px;
}

.links-col ul li a:hover {
  color: var(--accent-yellow);
}

.contact-info li {
  color: var(--text-light);
  line-height: 1.4;
}

/* CTA Card */
.cta-card {
  background-color: var(--bg-card);
  padding: 20px;
  border-radius: 12px;
  margin-top: 15px;
  position: relative;
  overflow: hidden;
}

.cta-card h4 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.cta-card .highlight {
  color: var(--accent-yellow);
}

.cta-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.btn-primary {
  background-color: var(--accent-yellow);
  color: var(--bg-dark);
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.85rem;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-primary:hover {
  transform: scale(1.05);
}

/* --- DIVISÓRIAS --- */
.footer-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 30px 0;
}

/* --- MEIO DO RODAPÉ --- */
.footer-middle {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.info-block {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 250px;
}

.icon-wrapper {
  width: 50px;
  height: 50px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-yellow);
  flex-shrink: 0;
}

.text-wrapper h4 {
  color: var(--accent-yellow);
  margin: 0 0 5px 0;
  font-size: 0.95rem;
}

.text-wrapper p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Formulário de Newsletter */
#newsletterForm {
  display: flex;
  margin-top: 10px;
}

#newsletterForm input {
  background-color: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  padding: 10px 15px;
  border-radius: 8px 0 0 8px;
  outline: none;
  width: 100%;
}

#newsletterForm .btn-submit {
  background-color: var(--accent-yellow);
  color: var(--bg-dark);
  border: none;
  padding: 10px 20px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: 0.3s;
}

#newsletterForm .btn-submit:hover {
  background-color: #c5e000;
}

/* --- BASE DO RODAPÉ --- */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--accent-yellow);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-middle {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}