/* Fonte global */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

/* Estrutura para fixar o footer no fim da página */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* ocupa o espaço restante para empurrar o footer */
}

body {
  background-color: #212121 !important; /* Cinza escuro */
  color: #eaeaea; /* Texto padrão mais claro */
}

/* Cabeçalho */
.backgroundHeader {
  background-color: #3c3c3c;
}

.navbar-brand {
  font-size: 1.3rem;
  font-weight: 700;
}

.nav-link {
  color: #eaeaea !important;
  transition: color 0.3s;
}
.nav-link:hover {
  color: #ffc107 !important; /* Amarelo no hover */
}

/* Títulos de seções */
h2 {
  color: #ffffff !important; /* força branco */
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ffc107; /* barra de destaque */
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

/* Cartões */
.bg-light {
  background-color: #f9f9f9 !important;
}
.rounded {
  border-radius: 12px !important;
}
.shadow-sm {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
}

/* Texto menor */
small {
  color: #777 !important;
}

/* Ajuste para imagens */
.img-mobile {
  max-width: 70% !important;
  height: auto;
}

/* Espaçamento entre seções */
section {
  margin-bottom: 3rem;
}

/* Rodapé */
footer {
  background-color: #3c3c3c;
  color: #eaeaea;
  font-size: 14px;
  text-align: center;
  padding: 10px 0;
}

footer strong {
  color: #ffc107; /* destaque */
}

/* Responsividade */
@media (max-width: 576px) {
  .img-mobile {
    max-width: 50% !important;
  }
  footer {
    position: relative; /* no mobile, segue o fluxo normal */
  }
}
