:root {
  --bg: #2A211B;
  --card: #3A2F28;
  --text: #F5EBDD;
  --accent: #D9A744; /* amarelo suave para o título */
  --border: #4C3E36;
  --subtle: #C3B299;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Lora', serif;
  margin: 0;
  line-height: 1.75;
}

/* === TOPO / HERO === */
header{
  position: relative;
  width: 100%;              /* ocupa 100% da largura da página (que está limitada) */
  height: 320px;            /* ajuste fino da “faixa” */
  background: url('IMG/banner-cafe.jpg') center top / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  font-family: 'Playfair Display', serif;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* escurecimento leve */
  z-index: 1;
}

header h1 {
  position: relative;
  z-index: 2;
  font-size: 2.8rem;
  color: var(--accent);
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

header p {
  position: relative;
  z-index: 2;
  font-style: italic;
  margin-top: 10px;
  color: #f0f0e6;
}

/* === MENU DENTRO DO BANNER === */
nav {
  position: absolute;
  bottom: 20px; /* coloca o menu na parte inferior do banner */
  width: 100%;
  text-align: center;
  z-index: 2;
}

nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin: 0 1rem;
  padding: 0.4rem 0.8rem;
  background: rgba(0, 0, 0, 0.4); /* fundo translúcido sutil */
  border-radius: 6px;
  transition: background 0.3s ease;
}

nav a:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* === CONTEÚDO === */
main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 0 3rem 3rem;
}

section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}

section:hover { transform: translateY(-4px); }

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--accent);
}

/* === ÍCONE XÍCARA === */
.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.cup-icon {
  width: 40px;
  height: 40px;
  border: 2px solid var(--accent);
  border-radius: 4px 4px 12px 12px;
  position: relative;
  background: linear-gradient(to bottom, #3A2F28 50%, #2A211B 50%);
}

.cup-icon::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  border-bottom: none;
  border-left: none;
  transform: rotate(45deg);
}

.steam {
  position: absolute;
  top: -18px;
  left: 15px;
  width: 8px;
  height: 18px;
  border-left: 2px solid rgba(213,191,162,0.5);
  border-radius: 50%;
  animation: steamUp 3s ease-in-out infinite;
}

@keyframes steamUp {
  0% { transform: translateY(0) scaleY(1); opacity: 1; }
  100% { transform: translateY(-20px) scaleY(0.8); opacity: 0; }
}

/* === RODAPÉ === */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  color: var(--subtle);
  font-size: 0.95rem;
}

/* === RESPONSIVO === */
@media (max-width: 900px) {
  main {
    grid-template-columns: 1fr;
    padding: 0 1.5rem 3rem;
  }
  header {
    height: 220px;
    padding-bottom: 30px;
  }
  header h1 { font-size: 2rem; }
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* evita qualquer barra de rolagem lateral */
}
/* === LIVROS / RESENHAS === */
.conteudo-livros {
  display: flex;
  justify-content: center;
  padding: 3rem 2rem;
}

.resenha {
  display: flex;
  gap: 2rem;
  max-width: 1000px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

.capa-livro {
  width: 280px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.texto-resenha {
  flex: 1;
  color: var(--text);
}

.texto-resenha h2 {
  font-family: 'Playfair Display', serif;
  color: var(--accent);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.botao-comprar {
  display: inline-block;
  background: var(--accent);
  color: #2A211B;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: background 0.3s ease;
}

.botao-comprar:hover {
  background: #e8d18a;
}
/* === FEED DE POSTS / BLOG === */
.feed-posts {
  grid-column: 1 / -1; /* ocupa toda a largura do grid principal */
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  padding: 2rem;
  margin-top: 2rem;
}

.feed-posts h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 2rem;
}

.post {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.post img.thumb {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 3px 6px rgba(0,0,0,0.25);
}

.post .conteudo h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--accent);
  margin: 0 0 0.4rem;
}

.post .conteudo p {
  margin: 0 0 0.8rem;
  color: var(--text);
  line-height: 1.6;
}

.lermais {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.lermais:hover {
  text-decoration: underline;
}

/* Responsivo */
@media (max-width: 800px) {
  .post {
    flex-direction: column;
    align-items: flex-start;
  }
  .post img.thumb {
    width: 100%;
    height: 200px;
    border-radius: 8px 8px 0 0;
  }
}
/* === FEED EM COLUNA ÚNICA (estilo Plantas & Gatos) === */
.feed-coluna {
  max-width: 900px;
  margin: 3rem auto;
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.feed-coluna h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  color: var(--accent);
  margin-bottom: 2rem;
  font-size: 1.6rem;
}

.post {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}

.post:hover { transform: translateY(-3px); }

.post img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-left: 1.5rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.post .texto {
  flex: 1;
  color: var(--text);
}

.post .texto h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--accent);
}

.post .texto p {
  margin: 0.6rem 0 0.8rem;
  line-height: 1.6;
  color: var(--text);
}

.lermais {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.lermais:hover { text-decoration: underline; }

@media (max-width: 800px) {
  .post {
    flex-direction: column;
    align-items: flex-start;
  }
  .post img {
    width: 100%;
    height: 220px;
    margin: 1rem 0 0;
  }
}
/* === PÁGINAS DE RESENHA === */
.resenha-unica {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  color: var(--text);
}

/* BLOCO COM CAPA E FICHA */
.bloco-livro {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.capa-livro {
  width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.dados-livro h2 {
  font-family: 'Playfair Display', serif;
  color: var(--accent);
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.botao-comprar {
  display: inline-block;
  background: var(--accent);
  color: #2A211B;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: background 0.3s ease;
}

.botao-comprar:hover {
  background: #e8d18a;
}

/* TEXTO PRINCIPAL */
.texto-resenha h3 {
  color: var(--accent);
  font-family: 'Playfair Display', serif;
  margin-top: 2rem;
}

.texto-resenha p, .texto-resenha ul, .texto-resenha blockquote {
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.texto-resenha ul {
  padding-left: 1.2rem;
}

blockquote {
  font-style: italic;
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
  color: var(--subtle);
  margin-top: 1rem;
}

/* RESPONSIVO */
@media (max-width: 800px) {
  .bloco-livro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .capa-livro {
    width: 70%;
  }
}



