/* -------------------------- */
/*   ESTILOS GERAIS           */
/* -------------------------- */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  padding: 15px;
  background: #fff;
  box-shadow: 0px 2px 4px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.usuario-logo {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  margin-left: 10px;
}

.usuario-logo-equipe {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-left: 5px;
}

nav a {
  text-decoration: none;
  color: #1a73e8;
  font-weight: bold;
}

nav a:hover {
  color: #155bb5;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.logo-container {
  margin-bottom: 20px;
}

.logo {
  max-width: 200px;
}

.logo-principal {
  max-width: 300px;
}

.texto-home h1 {
  color: #1a73e8;
  margin-bottom: 20px;
}

.texto-home p {
  max-width: 800px;
  margin: 10px auto;
  line-height: 1.6;
  font-size: 16px;
}

.importante {
  font-weight: bold;
  color: #e63946;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 20px;
  background: #fff;
  border-top: 1px solid #ddd;
}

.footer-logo {
  max-height: 60px;
}

.logo-mapeia {
  max-height: 90px;  
  margin-top: 10px;  
}

/* -------------------------- */
/*   ESTILOS DA PÁGINA EQUIPE */
/* -------------------------- */
.equipe-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px auto;
  padding: 20px;
  max-width: 1200px;
}

.membro {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease;
}

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

.membro img.usuario-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.membro h2 {
  font-size: 18px;
  color: #1a73e8;
  margin-bottom: 10px;
}

.membro p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  text-align: justify;  
}

.botao-lattes {
  display: inline-block;
  padding: 10px 15px;
  background: #1a73e8;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.botao-lattes:hover {
  background: #155bb5;
}

.voltar {
  display: inline-block;
  margin: 30px auto;
  text-align: center;
  background: #e63946;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

.voltar:hover {
  background: #b71c1c;
}

/* -------------------------- */
/*   ESTILOS DA PÁGINA SOBRE O PROJETO */
/* -------------------------- */
.projeto-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
  line-height: 1.6;
  font-size: 16px;
  color: #333;
}

.projeto-page h1, 
.projeto-page h2 {
  color: #1a73e8;
  margin-bottom: 15px;
}

.projeto-page ul {
  margin-left: 20px;
}

.projeto-page a.voltar {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 12px;
  background-color:#b71c1c;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.projeto-page a.voltar:hover {
  background-color:#b71c1c;
}

/* -------------------------- */
/*   ESTILOS DA PÁGINA ADMIN / PERFIL */
/* -------------------------- */
.usuarios-section, .acoes-admin {
  background: #fff;
  padding: 20px;
  margin: 20px auto;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

.usuarios-section h2,
.acoes-admin h2 {
  color: #1a73e8;
  margin-bottom: 15px;
}

.usuarios-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.usuarios-table th,
.usuarios-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

.usuarios-table th {
  background-color: #0077b6;
  color: #fff;
}

.usuarios-table tr:nth-child(even) {
  background-color: #f1f1f1;
}

.acoes-admin ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

.botao-admin {
  display: inline-block;
  padding: 10px 15px;
  background-color: #0077b6;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
}

.botao-admin:hover {
  background-color: #023e8a;
}

.botao-admin.sair {
  background-color: #e63946;
}

.botao-admin.sair:hover {
  background-color: #9d2226;
}

/* Responsividade da página admin */
@media (max-width: 768px) {
  .usuarios-table th, .usuarios-table td {
    font-size: 14px;
    padding: 8px;
  }

  .acoes-admin ul {
    flex-direction: column;
    gap: 10px;
  }

  .botao-admin {
    width: 100%;
    text-align: center;
  }
}

/* -------------------------- */
/*   FORMULÁRIOS DE AUTENTICAÇÃO */
/* -------------------------- */
.form-auth {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  width: 100%;
  margin: 20px auto;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
}

.form-auth label {
  margin-top: 10px;
  margin-bottom: 5px;
  font-weight: bold;
  text-align: left;
}

.form-auth input {
  padding: 10px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.form-auth input:focus {
  border-color: #1a73e8;
  outline: none;
}

.botao-auth {
  margin-top: 20px;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #1a73e8;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.botao-auth:hover {
  background-color: #155bb5;
}

/* Centraliza logo acima dos formulários */
.logo-container {
  text-align: center;
  margin-bottom: 20px;
}

.logo-principal {
  max-width: 180px;
  margin-bottom: 15px;
}

.usuario-logo-perfil {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.usuarios-section {
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  text-align: left;
}

.usuarios-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.usuarios-table th, .usuarios-table td {
  border: 1px solid #ddd;
  padding: 8px;
}

.usuarios-table th {
  background-color: #1a73e8;
  color: white;
}

.usuarios-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.botao-admin {
  display: inline-block;
  padding: 8px 12px;
  margin: 5px 0;
  background-color: #1a73e8;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.botao-admin:hover {
  background-color: #155bb5;
}

.botao-admin.sair {
  background-color: #e63946;
}

.botao-admin.sair:hover {
  background-color: #b02a36;
}

/* ===== MAPAS ===== */
.map-container {
  display: flex;
  flex-direction: column;
  gap: 40px; /* Espaço entre cada mapa */
  margin: 20px;
}

.map-item {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
}

.map-item h2 {
  margin-top: 0;
  font-size: 1.5em;
  color: #1a73e8;
}

.map-item .map-desc {
  font-size: 1em;
  margin-bottom: 10px;
  color: #555;
}

.map-item iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 6px;
}

.map-item a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #1a73e8;
  font-weight: bold;
}

.mais-em-breve {
  text-align: center;
  margin: 40px 0;
  font-size: 1.2em;
  color: #888;
}

.map-previews {
  margin: 50px 0;
  text-align: center;
}

.map-preview-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.map-preview-item {
  width: 150px; /* miniaturas parecidas com logos */
  padding: 5px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-align: center;
}

.map-preview-item iframe {
  width: 100%;
  height: 100px; /* um pouco maior que o tamanho das logos */
  border: none;
  border-radius: 4px;
  margin-top: 5px;
}

.map-preview-item h3 {
  font-size: 14px;
  margin: 0;
}

.ver-mais-container {
  margin-top: 20px;
  text-align: center;
}

.btn-ver-mais {
  display: inline-block;
  padding: 8px 20px;
  background-color: #1a73e8;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn-ver-mais:hover {
  background-color: #155ab6;
}
