/* ========================================================================== */
/* 1. Apresentação (conteudo_apresentacao.php)                                */
/* ========================================================================== */

.banner-agir {
  background-image: url("../img/banner_agir.webp");
  background-size: cover;
  background-position: 50% 100%;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  box-sizing: border-box;
}

.banner-agir::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 51, 102, 0.7) 0%,
    rgba(0, 77, 153, 0.7) 100%
  );
  opacity: 80%;
  z-index: 1;
}

.banner-agir-content {
  position: relative;
  z-index: 2;
}

/* ========================================================================== */
/* 2. Contatos (conteudo_contatos.php)                                */
/* ========================================================================== */

.contact-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0 !important;
  padding: 1.5rem;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none !important;
}

.contact-card:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}

.icon-circle {
  background-color: #f1f5f9;
  color: #006ce6;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.contact-title {
  color: #004d99;
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-info {
  color: #64748b;
  font-size: 0.9rem;
}

/* ========================================================================== */
/* 3. Foruns (conteudo_foruns.php)                                */
/* ========================================================================== */

.forum-card {
  border: 1px solid #dee2e6;
  border-left: 4px solid #dca92a;
  border-radius: 6px;
  padding: 1.2rem;
  cursor: pointer;
  background-color: #ffffff;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.forum-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.forum-acronym {
  color: #0c4284;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.forum-label {
  color: #495057;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Estilos do PopUP (Modal) */
.modal-forum-content {
  border: 6px solid #ffc107;
  border-radius: 16px;
}

.modal-forum-header {
  border-bottom: none;
  padding: 1.5rem 1.5rem 0 1.5rem;
}

.btn-close-custom {
  background-color: #e9ecef;
  border-radius: 50%;
  padding: 0.5rem;
  opacity: 1;
}

.modal-forum-acronym {
  color: #0c4284;
  font-weight: 800;
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}

.modal-forum-fulltitle {
  color: #6c757d;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.modal-forum-desc {
  color: #2c5282;
  text-align: justify;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
}

.modal-divider {
  border-top: 2px solid #6c757d;
  opacity: 0.5;
  margin: 1.2rem 0;
}

.board-member-row {
  margin-bottom: 0.8rem;
  color: #212529;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.board-member-row i {
  color: #0c4284;
  font-size: 1.4rem;
  margin-right: 12px;
}

.board-election {
  color: #0c4284;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  margin: 1rem 0;
}

/* ========================================================================== */
/* 4. Quem Somos (conteudo_quemSomos.php)                                */
/* ========================================================================== */

#atoresTab {
  border-radius: 6px !important;
  transition: all 0.3s ease;
}

#atoresTab .nav-link {
  color: #003366 !important;
  transition: all 0.2s ease-in-out;
  width: 100%;
}

#atoresTab .nav-link.active {
  color: #ffffff !important;
  background-color: #0059b3 !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.card-equipe {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem;
  min-width: 0;
  word-wrap: break-word;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.name-text {
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#quemSomos .container-principal {
  max-width: 1200px;
  margin: 0 auto;
}

.card-equipe {
  min-height: 200px;
  justify-content: center;
}

/* Caixa cinza do ícone */
.team-icon-box {
  background-color: #e5e7eb;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-icon-box i {
  font-size: 24px;
  color: #374151;
}

/* Etiqueta azul claro do cargo (Badge) */
.role-badge {
  background-color: #e0f2fe;
  color: #0284c7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 4px;
}

/* Tipografia para os nomes e cidades */
.team-member-name {
  color: #111827;
  font-size: 15px;
  margin-bottom: 0;
}

.team-member-city {
  color: #6b7280;
  font-size: 14px;
}

@media (max-width: 850px) {
  #atoresTabContent .row-cols-md-2 > * {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .card-equipe {
    padding: 2rem;
  }
}

@media (max-width: 991px) {
  #atoresTab {
    flex-direction: column !important;
    border-radius: 12px !important;
    padding: 10px !important;
  }

  #atoresTab .nav-link {
    text-align: center;
    margin-bottom: 5px;
  }
}

/* ========================================================================== */
/* 5. Resultados (conteudo_resultados.php)                                */
/* ========================================================================== */

.titulo-resultados {
  color: #0c4284;
  font-weight: 700;
}

.card-indicador {
  background-color: #f8f9fa;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
}

.card-indicador:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.06);
}

.borda-azul {
  border-bottom: 5px solid #0c1a30 !important;
}

.borda-amarela {
  border-bottom: 5px solid #e5b324 !important;
}

.borda-verde {
  border-bottom: 5px solid #198754 !important;
}

.borda-vermelha {
  border-bottom: 5px solid #dc3545 !important;
}

.card-grafico {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
