/* 🎨 Variáveis de Estilo */
:root {
  --primary: #0b84ff;
  --primary-hover: #0056b3;
  --bg-body: #f4f7f9;
  --text-dark: #1d1d1f;
  --text-gray: #6e6e73;
  --card-white: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 🌐 Reset e Estilo Geral */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.6;
}

/* 🧭 Header Profissional */
.header {
  padding: 40px 20px;
  background: var(--card-white);
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 20px;
}

.header h1 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.header p {
  color: var(--text-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.header nav {
  margin-top: 20px;
}

.header nav a {
  margin: 0 15px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.header nav a:hover {
  color: var(--primary);
}

/* 📄 Seções (Sections) */
.section {
  padding: 30px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
}

/* 📦 Cards de Tarefas */
.card, .caixa2 {
  background: var(--card-white);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.card:hover, .caixa2:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card h3 a, .caixa2 h3 a {
  color: var(--primary);
  text-decoration: none;
  font-size: 1.3rem;
  transition: color 0.3s;
}

.card h3 a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.card p {
  color: var(--text-gray);
  margin-top: 10px;
}

/* 📞 Secção de Contacto */
#contato ul {
  list-style: none;
}

#contato li {
  margin-bottom: 10px;
}

#contato a {
  color: var(--primary);
  font-weight: bold;
}

/* 📱 Responsividade */
@media (max-width: 600px) {
  .header h1 { font-size: 1.6rem; }
  .header nav a { margin: 0 8px; font-size: 0.9rem; }
  .section { padding: 20px; }
}