/* Importar fonte moderna */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* Reset e base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #f2f4f7;
  color: #333;
  line-height: 1.6;
}

/* Header e Footer */
header {
  background: #ffffff;
  padding: 25px 20px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

footer { 
  text-align: center;
  color: #888;
  font-size: 13px;
  padding: 30px 10px 10px 10px;
}

/* Conteúdo principal */
main { 
  background-color: #fff;
  width: 70%;
  max-width: 1100px;
  margin: 40px auto;
  padding: 50px;
  border-radius: 18px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
  main {
    width: 95%;
    padding: 25px 20px;
  }
}

/* Títulos */
h1, h2, h3 {
  color: #213744;
  font-weight: 700;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.8rem;
}

/* Links */
a {
  color: #16a34a;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #15803d;
  text-decoration: underline;
}

/* Botões */
.btn {
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 0.9rem;
  transition: background-color 0.2s, transform 0.1s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #e5e7eb;
  color: #374151;
}

.btn-secondary:hover {
  background-color: #d1d5db;
  color: #111827;
}

.btn-primary {
  background-color: #16a34a;
  border: none;
}

.btn-primary:hover {
  background-color: #15803d;
}

/* Accordion */
.accordion-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}

.accordion-item:hover {
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.accordion-button {
  background-color: #f9fafb;
  font-weight: 600;
  color: #213744;
}

.accordion-button:not(.collapsed) {
  background-color: #16a34a;
  color: #fff;
}

.accordion-button:focus {
  box-shadow: none;
}

/* Lista de documentos */
.list-group-item {
  background: #f9fafb;
  margin-bottom: 6px;
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.list-group-item small {
  font-size: 0.75rem;
  color: #6b7280;
}

.list-group-item a.btn {
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 6px;
}
