body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Cabeçalho */
header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #2a7a2a, #f7941d); /* gradiente verde-laranja */
  color: #e6f2e6;
  padding: 25px 15px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(42, 122, 42, 0.3);
  text-align: center;
  margin-bottom: 50px;
  transition: background 0.3s ease;
}

@font-face {
  font-family: 'Conthrax'; /* Nome que vais usar no CSS */
  src: url('../font/Conthrax-SemiBold.otf') format('woff2');
  font-weight: normal;
  font-style: normal;
}

header h1 {
  font-family: Conthrax, sans-serif;
    color: #fff;
    font-size: 40px;
}

a.botao-voltar {
  display: inline-block;
  margin-top: 15px;
  text-decoration: none;
  background: linear-gradient(135deg, #a1cfa1, #fbb160); /* gradiente verde claro para laranja claro */
  color: #2a7a2a;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 3px 6px rgba(161, 207, 161, 0.6);
  transition: background 0.3s ease, color 0.3s ease;
}

a.botao-voltar:hover {
  background: linear-gradient(135deg, #7aae7a, #f89c30);
  color: #e6f2e6;
  box-shadow: 0 4px 8px rgba(122, 174, 122, 0.7);
  text-decoration: none;
}

.corpo {
    margin: 40px;
}

h1, h2, h3 {
    color: #2a5d84;
}

ul {
    padding-left: 20px;
}

a {
    color: #2a5d84;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Rodapé */
footer {
  background: linear-gradient(135deg, #2a7a2a, #f7941d); /* gradiente verde-laranja */
  color: #d4f0d4;
  padding: 20px 15px;
  border-radius: 12px;
  text-align: center;
  font-size: 0.95rem;
  margin-top: auto;
  box-shadow: 0 -4px 8px rgba(42, 122, 42, 0.3);
  font-weight: 500;
}









@media (max-width: 768px) {
  body {
    font-size: 16px;
    padding: 10px;
  }

  header {
    padding: 20px 10px;
    margin-bottom: 30px;
    border-radius: 10px;
  }

  header h1 {
    font-size: 28px; /* Reduzido para caber melhor em ecrãs pequenos */
    line-height: 1.2;
  }

  a.botao-voltar {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 25px;
    margin-top: 12px;
  }

  .corpo {
    margin: 20px 10px; /* Reduz margem lateral */
  }

  h1, h2, h3 {
    font-size: 1.4em; /* Reduz tamanho dos títulos */
  }

  ul {
    padding-left: 15px;
  }

  footer {
    padding: 15px 10px;
    font-size: 0.85rem;
    border-radius: 10px;
  }
}
