@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;1,400;1,500&family=Inter:wght@400;500;600&display=swap');

:root {
  --noite: #040d29;
  --superficie: #1a1422;
  --elevada: #1C1C22;
  --indigo: #6168B9;
  --lavanda: #A7B0EB;
  --coral: #FD8354;
  --pessego: #F9BCAA;
  --creme: #E8E0D0;
  --creme-mudo: #A69E8E;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--noite);
  color: var(--creme);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

a {
  color: var(--indigo);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--lavanda);
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

h1 {
  font-size: 2.5rem;
  font-weight: 500;
  margin: 2rem 0 1rem 0;
}

h2 {
  font-size: 2rem;
  font-weight: 500;
  margin: 1.5rem 0 0.8rem 0;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
}

.linha-indigo {
  border-top: 2px solid var(--indigo);
  margin-bottom: 2rem;
}

.separador {
  width: 40px;
  height: 2px;
  background-color: var(--indigo);
  margin: 2rem auto;
}

.label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--indigo);
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(97, 104, 185, 0.2);
}

nav {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--creme);
  font-weight: 500;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

nav a:hover {
  border-bottom-color: var(--indigo);
}

.posts-grid {
  display: grid;
  gap: 2rem;
  margin: 3rem 0;
}

.post-card {
  background-color: var(--superficie);
  padding: 1.5rem;
  border-radius: 8px;
  border-top: 2px solid var(--indigo);
  transition: background-color 0.2s;
}

.post-card:hover {
  background-color: var(--elevada);
}

.post-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.post-meta {
  font-size: 12px;
  color: var(--coral);
  margin-bottom: 1rem;
}

.post-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.tag {
  background-color: rgba(97, 104, 185, 0.15);
  color: var(--indigo);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-content {
  line-height: 1.8;
  margin: 2rem 0;
}

.post-content p {
  margin-bottom: 1rem;
}

.post-content strong {
  color: var(--lavanda);
}

footer {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(97, 104, 185, 0.2);
  text-align: center;
  font-size: 13px;
  color: var(--creme-mudo);
}

.filtros {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.filtro-btn {
  background-color: var(--superficie);
  color: var(--creme);
  border: 1px solid var(--indigo);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: all 0.2s;
}

.filtro-btn:hover,
.filtro-btn.active {
  background-color: var(--indigo);
  color: var(--noite);
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
  border-top: 2px solid #6168B9;
}

.post-content img + em {
  display: block;
  text-align: center;
  color: #FD8354;
  font-style: italic;
  margin-top: -1rem;
  margin-bottom: 2rem;
  font-size: 13px;
}
