/* ====== FOOTER ESTILO PADRONIZADO IFSC-ABELHAS ====== */

/* Paleta de cores temática IFSC e abelhas */
:root {
  --amarelo-mel: #fbc02d;
  --laranja-mel: #f57c00;
  --verde-ifsc: #2e7d32;
  --verde-claro: #66bb6a;
  --preto: #121212;
  --cinza-escuro: #1e1e1e;
}

/* ====== CONTAINER PRINCIPAL DO FOOTER ====== */
.site-footer {
  background: var(--preto);
  padding: 50px 20px 30px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  position: relative;
  z-index: 10;
}

/* ====== CONTEÚDO INTERNO (BLOCOS) ====== */
.footer-content {
  max-width: 1200px;
  margin: 0 auto 50px;
  display: flex;
  flex-direction: column; /* coluna em mobile */
  gap: 40px;
  align-items: stretch;
}

/* ====== BLOCOS INDIVIDUAIS ====== */
.footer-block {
  background-color: var(--cinza-escuro);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  flex: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border-left: 6px solid var(--verde-ifsc); /* destaque IFSC */
}

.footer-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* ====== TÍTULOS ====== */
.footer-block h3 {
  margin-bottom: 20px;
  font-size: 1.6rem;
  border-bottom: 3px solid var(--amarelo-mel);
  display: inline-block;
  padding-bottom: 6px;
  color: var(--amarelo-mel);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-block h4 {
  margin-top: 25px;
  font-size: 1.2rem;
  color: var(--verde-claro);
  border-bottom: 2px solid var(--amarelo-mel);
  display: inline-block;
  padding-bottom: 4px;
}

/* ====== TEXTOS E LINKS ====== */
.footer-block p {
  margin: 6px 0;
  color: #ccc;
  font-size: 1rem;
  line-height: 1.5;
}

.footer-links,
.credits-block a {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.footer-links a,
.credits-block a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer-links a:hover,
.credits-block a:hover {
  color: var(--amarelo-mel);
  text-decoration: underline;
  transform: translateX(5px);
}

/* ====== MAPA DE LOCALIZAÇÃO ====== */
.location-block iframe {
  width: 100%;
  height: 320px;
  border: none;
  border-radius: 12px;
  margin-top: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.location-block iframe:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

/* ====== EQUIPE E MEMBROS ====== */
.membros {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 15px 0 10px;
}

.membro {
  text-align: center;
  transition: transform 0.3s ease;
}

.membro:hover {
  transform: translateY(-4px);
}

.membro .foto {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
  object-fit: cover;
  border: 3px solid var(--amarelo-mel);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* ====== RODAPÉ INFERIOR ====== */
.footer-bottom {
  text-align: center;
  font-size: 0.95rem;
  color: #bbb;
  border-top: 1px solid #333;
  padding: 15px 0;
  margin-top: 20px;
  background: #0a0a0a;
}

.footer-bottom p {
  margin: 0;
}

/* ====== RESPONSIVIDADE ====== */
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row; /* linha em desktop */
    justify-content: center;
    gap: 50px;
    align-items: stretch;
  }

  .footer-block {
    max-width: 480px;
  }
}

@media (max-width: 480px) {
  .footer-block h3 {
    font-size: 1.3rem;
  }

  .footer-block {
    padding: 20px;
  }

  .membro .foto {
    width: 80px;
    height: 80px;
  }
}
