body {
  font-family: 'Arial', sans-serif;
  background-color: #f5f7fa;
  color: #222;
  margin: 0;
  padding: 0;
  text-align: center;
}

header {
  background-color: #198754;
  color: white;
  padding: 30px 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

header img {
  height: 80px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.mensagem {
  font-size: 1.2rem;
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  padding: 15px 25px;
  margin: 30px auto;
  max-width: 700px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.botoes {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.btn {
  background-color: #198754;
  border: none;
  color: white;
  font-size: 1.1rem;
  padding: 15px 25px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: #157347;
}

footer {
  background-color: #222;
  color: #ccc;
  padding: 15px 0;
  margin-top: 60px;
  font-size: 0.9rem;
}

.fade-in {
  animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ======= Ajustes para celular e layout responsivo ======= */

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
}

header h1, header .titulo-site {
  font-size: 1.2rem;
  word-wrap: break-word;
  max-width: 90vw;
}

footer {
  position: relative;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* Faz o fundo rolar no celular */
}

main {
  flex: 1;
}

/* Ajustes para celular */
@media (max-width: 768px) {
  header h1 {
    font-size: 1rem;
  }
  footer p {
    font-size: 0.9rem;
  }
  .container {
    padding: 10px;
  }
}
/* === CORREÇÃO DE RESPONSIVIDADE GERAL === */

/* Logo e título no cabeçalho */
.navbar-brand img {
  max-height: 60px;
  height: auto;
  width: auto;
}

.navbar-brand strong, 
.navbar-brand small {
  color: #fff !important;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
  white-space: normal;
}

/* Imagens do carrossel (banners) */
.carousel-item img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: center;
  background-color: #000;
}

/* Rodapé fixo e centralizado */
footer {
  text-align: center;
  padding: 10px;
  background: rgba(0,0,0,0.8);
  color: white;
  font-size: 14px;
  position: relative;
  bottom: 0;
  width: 100%;
}

/* Responsividade no mobile */
@media (max-width: 768px) {
  .navbar-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel-item img {
    max-height: 250px;
  }

  footer {
    font-size: 12px;
    padding: 8px;
  }
}
