/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corpo da página */
body {
  font-family: 'Times New Roman', serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}

/* Header */
header {
  background-color: #e6f2ff;
  padding: 15px 15px 0 15px;
  text-align: center;
  border-bottom: 2px solid #b3d9ff;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.logo-img {
  width: 600px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 5px;
}

header h1 {
  color: #004080;
  font-size: 2.5em;
}

header p {
  font-size: 1.2em;
  color: #666;
}

/* Main */
main {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
}

section {
  margin-bottom: 40px;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

section h2 {
  color: #004080;
  margin-bottom: 10px;
  border-bottom: 1px solid #b3d9ff;
  padding-bottom: 10px;
  font-size: xx-large;
}

section h2 .subtitulo {
  display: block;
  font-size: medium;
  color: #555;
  font-weight: normal;
  margin-top: 1px;
  font-style: italic;
}

/* Grid para salmos - 3 colunas responsivo */
.salmos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.salmos-grid article {
  background-color: #f0f8ff;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid #b3d9ff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.salmos-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.salmos-grid article h3 {
  margin: 0;
}

.salmos-grid article h3 a {
  color: #0066cc;
  text-decoration: none;
  font-size: 1.1em;
}

.salmos-grid article h3 a:hover {
  color: #004080;
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
  .salmos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .salmos-grid {
    grid-template-columns: 1fr;
  }
}

article {
  margin-bottom: 20px;
}

article h3 {
  color: #0066cc;
  margin-bottom: 10px;
}

article p {
  color: #555;
  line-height: 1.7;
}

ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  margin-bottom: 10px;
}

ul li a {
  color: #0066cc;
  text-decoration: none;
}

ul li a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: #e6f2ff;
  text-align: center;
  padding: 15px;
  border-top: 2px solid #b3d9ff;
  color: #666;
}

/* Responsividade */
@media (max-width: 768px) {
  .logo {
    flex-direction: column;
  }

  .logo-img {
    margin-right: 0;
    margin-bottom: 10px;
  }

  header h1 {
    font-size: 2em;
  }

  main {
    padding: 10px;
  }

  section {
    padding: 15px;
  }
}
