/* PANA Blog — style.css
   Paleta: Pale Oak #DDCFBA | Graphite #2A2A27 | Faded Copper #9A7B50
   Tipografia: Fraunces (headings) + DM Sans (body) */

:root {
  --pale-oak:      #DDCFBA;
  --graphite:      #2A2A27;
  --faded-copper:  #9A7B50;
  --olive-leaf:    #566740;
  --bg:            #F5EDE0;
}

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

html { font-size: 18px; scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--graphite);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Cabeçalho ── */
header {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--faded-copper);
}

header .marca {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faded-copper);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

header .blog-title {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
  font-size: 2rem;
  font-weight: 400;
  color: var(--graphite);
  line-height: 1.2;
}

header .blog-desc {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--faded-copper);
}

/* ── Navegação de eixos ── */
nav.eixos {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(42,42,39,0.12);
  margin-bottom: 3rem;
}

nav.eixos ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

nav.eixos a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

nav.eixos a:hover { opacity: 1; color: var(--faded-copper); }

/* ── Lista de posts (index) ── */
.posts-list { padding: 3rem 0; }

.post-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(42,42,39,0.10);
}

.post-item:first-child { padding-top: 0; }

.post-meta {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faded-copper);
  margin-bottom: 0.75rem;
}

.post-item h2 {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.post-item h2 a {
  color: var(--graphite);
  text-decoration: none;
  transition: color 0.2s;
}

.post-item h2 a:hover { color: var(--faded-copper); }

.post-item .lead {
  font-size: 0.97rem;
  color: rgba(42,42,39,0.75);
  line-height: 1.65;
}

.post-item .ler-mais {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  text-decoration: none;
  border-bottom: 1px solid var(--faded-copper);
  padding-bottom: 1px;
  transition: color 0.2s;
}

.post-item .ler-mais:hover { color: var(--faded-copper); }

/* ── Post individual ── */
article.post {
  padding: 4rem 0;
}

article.post .post-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--faded-copper);
}

article.post .eixo-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faded-copper);
  display: block;
  margin-bottom: 1rem;
}

article.post h1 {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--graphite);
  margin-bottom: 1rem;
}

article.post .subtitulo {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(42,42,39,0.7);
  line-height: 1.45;
}

article.post .data {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(42,42,39,0.5);
}

/* ── Corpo do post ── */
.post-body {
  font-size: 1rem;
  line-height: 1.8;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-body h2 {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--graphite);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}

.post-body blockquote {
  border-left: 2px solid var(--faded-copper);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: rgba(42,42,39,0.8);
}

/* ── Rodapé ── */
footer {
  padding: 3rem 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(42,42,39,0.12);
  font-size: 0.82rem;
  color: rgba(42,42,39,0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer a {
  color: var(--faded-copper);
  text-decoration: none;
}

footer a:hover { text-decoration: underline; }

/* ── Back link ── */
.back-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  text-decoration: none;
  margin-top: 3rem;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(42,42,39,0.25);
}

.back-link:hover { color: var(--faded-copper); border-color: var(--faded-copper); }

/* ── Responsivo ── */
@media (max-width: 600px) {
  html { font-size: 16px; }
  header .blog-title { font-size: 1.6rem; }
  article.post h1 { font-size: 1.9rem; }
  nav.eixos ul { gap: 1rem; }
  footer { flex-direction: column; }
}
