/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* Fundo geral */
body {
  background: linear-gradient(135deg, #f0fff0, #e8f5e9);
  color: #2f3e2f;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 40px;
}

/* Container padrão */ 
.container { 
  background: #ffffff; 
  padding: 30px; 
  border-radius: 15px; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); width: 100%; 
  max-width: 800px; 
  border-left: 8px solid #3d9140; 
  animation: fadeIn 0.6s ease-in-out; }

/* Animação de entrada */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Títulos */
h1, h2, h3 {
  text-align: center;
  margin-bottom: 25px;
  color: #3d9140;
  font-weight: 700;
}

.subtitulo {
  text-align: center;
  color: #516351;
  margin-top: -12px;
  margin-bottom: 18px;
}

/* Labels */
label {
  font-weight: 600;
  color: #2f3e2f;
  display: block;
  margin: 12px 0 6px;
}

/* Inputs */
input, select, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #c8e6c9;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fcfffc;
}

input:focus, select:focus, textarea:focus {
  border-color: #3d9140;
  outline: none;
  box-shadow: 0 0 8px rgba(61, 145, 64, 0.3);
}

/* Botões */
button, .btn {
  background: #3d9140;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.3s ease, transform 0.2s ease;
  display: inline-block;
  text-decoration: none;
  margin-top: 10px;
}

button:hover, .btn:hover {
  color: #ffffff;
  background: #2c6d2e;
  transform: scale(1.03);
}

/* Variações */
.btn-secundario {
  background: #3d9140;
}
.btn-secundario:hover {
  color: #ffffff;
  background: #2c6d2e;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 16px;
}

.btn-lg:hover {
  color: #ffffff;
  background: #2c6d2e;
}

.btn-block {
  width: 100%;
}

.form-centro {
  max-width: 460px;
  margin: 0 auto;
}

/* Links */
a {
  color: #3d9140;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #2c6d2e;
  text-decoration: underline;
}

.links-centro, .acoes-centro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* Mensagens */
.msg-sucesso {
  text-align: center;
  font-size: 16px;
  color: #fff;
  background-color: #3d9140;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  font-weight: 600;
}

.msg-erro {
  text-align: center;
  font-size: 16px;
  color: #fff;
  background-color: #c62828;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  font-weight: 600;
}


/* Grid de menus (principal) */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.card-menu {
  display: block;
  background: #ffffff;
  border: 1px solid #e2f0e2;
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 3px 10px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card-menu:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.1);
  text-decoration: none;
}

.card-icone {
  font-size: 26px;
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: #eaf7eb; color: #2f6b31;
  margin-bottom: 10px;
}

.card-titulo { font-weight: 800; color: #2f3e2f; margin-bottom: 6px; }
.card-desc { color: #5b6a5b; font-size: 13px; }


footer {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: #666;
}
