/* ============================================
   footer.css – Rodapé institucional
   Cores: #639E8D e #2F6549
   ============================================ */

/* --- Rodapé principal --- */
footer {
  width: 100%;
  background: #2f6549;
  color: #f0f7f4;
  padding: 40px 20px 20px;
  border-top: 5px solid #639e8d;
  margin-top: 40px;
}

footer .meio1 {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

footer .quarto {
  flex: 1 1 200px;
  min-width: 180px;
}

/* ===== TÍTULOS (fonte maior) ===== */
footer h2 {
  font-size: 1.3rem; /* aumentado */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #639e8d;
  display: inline-block;
  letter-spacing: 0.5px;
}

/* ===== TEXTOS DAS COLUNAS (fonte maior) ===== */
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 8px;
  font-size: 1rem; /* aumentado de 0.9rem */
  line-height: 1.6;
  color: #e0f0ea;
}

/* ===== BOTÕES DE CONTATO (fonte maior + compacto) ===== */
.btn-contato {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px; /* mantenho compacto */
  background: #639e8d;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 6px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.9rem; /* aumentado de 0.8rem */
  transition: all 0.25s ease;
  width: 100%;
  box-sizing: border-box;
}

.btn-contato:hover {
  background: #ffffff;
  color: #2f6549 !important;
  border-color: #2f6549;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.btn-contato img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: none;
  vertical-align: middle;
}

.btn-contato i {
  font-size: 16px; /* acompanha o aumento */
  color: inherit;
}

/* Links comuns (fora dos botões) */
footer a:not(.btn-contato) {
  color: #e0f0ea;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:not(.btn-contato):hover {
  color: #ffffff;
  text-decoration: underline;
}

footer .quarto2 {
  flex: 0 0 100%;
  text-align: center;
  padding-top: 15px;
  margin-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Rodapé inferior (copyright) --- */
.fim {
  background: #1d4d35;
  padding: 15px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fim .cop {
  max-width: 1200px;
  margin: 0 auto;
  color: #cce0da;
  font-size: 0.95rem; /* ligeiro aumento */
  line-height: 1.6;
}

.fim .cop a {
  color: #cce0da;
  text-decoration: underline;
}

.fim .cop a:hover {
  color: #ffffff;
}

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

  footer .quarto {
    flex: 0 0 100%;
    max-width: 400px;
  }

  footer h2 {
    display: block;
    text-align: center;
    font-size: 1.2rem; /* mantém proporção */
  }

  footer ul li {
    text-align: center;
    font-size: 0.95rem; /* ajuste para mobile */
  }

  .btn-contato {
    justify-content: center;
    width: 100%;
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 25px 12px 12px;
  }

  footer .quarto {
    max-width: 100%;
  }

  .btn-contato {
    padding: 5px 10px;
    font-size: 0.8rem;
    gap: 5px;
  }

  .btn-contato img {
    width: 16px;
    height: 16px;
  }

  .fim .cop {
    font-size: 0.8rem;
  }
}
