/* ========================= */
/* VARIÁVEIS GLOBAIS */
/* ========================= */
:root {
  --primary-color: #333;
  --secondary-color: #555;
  --background-color: #f5f5f5;
  --text-color: #222;
}

/* ========================= */
/* RESET BÁSICO */
/* ========================= */
* {
  box-sizing: border-box;
}

/* ========================= */
/* BODY */
/* ========================= */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: var(--background-color);
  color: var(--text-color);
}

/* ========================= */
/* HEADER */
/* ========================= */
header {
  background: var(--primary-color);
  color: white;
  text-align: center;
  padding: 20px;
}

/* ========================= */
/* MENU */
/* ========================= */
nav {
  background: var(--secondary-color);
  padding: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* ========================= */
/* CONTAINER */
/* ========================= */
.container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 30px;

  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ========================= */
/* CARDS */
/* ========================= */
.cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  cursor: pointer;

  flex: 1 1 200px;
  max-width: 250px;

  text-align: center;

  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

/* ========================= */
/* FOOTER */
/* ========================= */
footer {
  background: var(--primary-color);
  color: white;
  padding: 20px;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-text {
  max-width: 600px;
  text-align: center;
}

.footer-img img {
  max-width: 250px;
  width: 100%;
}

/* ========================= */
/* BOTÕES */
/* ========================= */
button {
  padding: 10px 20px;
  border: none;
  background: var(--primary-color);
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

button:hover {
  background: var(--secondary-color);
}

/* ========================= */
/* PÁGINAS INSTITUCIONAIS */
/* ========================= */
main.container {
  max-width: 1000px;
}

/* TÍTULOS */
main h1 {
  margin: 10px 0;
  color: var(--primary-color);
}

main h2 {
  margin: 25px 0 10px;
  color: var(--secondary-color);
}

/* PARÁGRAFOS */
main p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* LISTAS */
main ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

main li {
  margin-bottom: 8px;
}

/* DESTAQUE */
main strong {
  color: var(--primary-color);
}

/* BLOCO AUTOR */
.autor {
  background: #f9f9f9;
  padding: 15px;
  border-left: 4px solid var(--primary-color);
  border-radius: 5px;
}



/* ========================= */
/* PÁGINA EM CONSTRUÇÃO */
/* ========================= */

.construcao {
  text-align: center;
}

.construcao h2 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.construcao p {
  max-width: 500px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* Ícone visual opcional */
.construcao::before {
  content: "🚧";
  font-size: 60px;
  display: block;
  margin-bottom: 15px;
}



/* ========================= */
/* RESPONSIVIDADE */
/* ========================= */

/* TABLET */
@media (max-width: 900px) {
  .container {
    padding: 20px;
  }

  header h1 {
    font-size: 22px;
  }
}

/* CELULAR */
@media (max-width: 600px) {

  /* MENU */
  nav {
    flex-direction: column;
    align-items: center;
  }

  /* CARDS */
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: none;
  }

  /* FOOTER */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-img img {
    max-width: 200px;
  }
}