/* Reset e fontes */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Quicksand', sans-serif;
  background-color: #fffaf7;
  color: #333;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.blog-header {
  background: linear-gradient(to right, #ffede5, #fff5f0);
  padding: 2rem 0;
  border-bottom: 3px solid #f8d3c8;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.logo {
  height: 60px;
}

.nav a {
  margin-left: 2rem;
  font-weight: 500;
  color: #823c33;
  transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
  color: #cc6d5b;
}

.hero {
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #823c33;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: #824840;
}

/* Blog main */
.blog-main {
  padding: 3rem 0;
}

.post.destaque {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: center;
}

.post-img {
  flex: 1 1 45%;
}

.post-info {
  flex: 1 1 50%;
}

.post-info h2 {
  font-size: 2rem;
  color: #823c33;
  margin-bottom: 0.5rem;
}

.post-info p {
  color: #555;
  margin-bottom: 1rem;
}

.meta {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1rem;
}

.meta i {
  margin-right: 0.3rem;
}

/* Botões */
.btn-leia {
  display: inline-block;
  background-color: #cc6d5b;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-leia:hover {
  background-color: #a65345;
}

/* Tags */
.tag {
  display: inline-block;
  background-color: #fce1d5;
  color: #a65345;
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 12px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.titulo-secundario {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #823c33;
  text-align: center;
  font-family: 'Playfair Display', serif;
}

/* Grid de posts */
.grid-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.post-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.3s;
}

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

.post-body {
  padding: 1rem;
}

.post-card h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  color: #823c33;
}

.post-body p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
}

/* Newsletter */
.newsletter {
  background-color: #ffece2;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
}

.newsletter h2 {
  font-size: 1.6rem;
  color: #823c33;
  margin-bottom: 0.5rem;
}

.newsletter p {
  color: #555;
  margin-bottom: 1rem;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.newsletter input[type="email"] {
  padding: 0.7rem 1rem;
  border: 2px solid #eac0b3;
  border-radius: 25px;
  outline: none;
  font-size: 1rem;
}

.newsletter button {
  background-color: #cc6d5b;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter button:hover {
  background-color: #a65345;
}

/* Footer */
.footer {
  background-color: #823c33;
  color: white;
  padding: 3rem 0 1rem;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-col {
  flex: 1 1 200px;
}

.logo-footer {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #f9dcd2;
}

.social a {
  font-size: 1.2rem;
  margin-right: 1rem;
  color: #fce1d5;
}

.footer-copy {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #f9dcd2;
}

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  font-size: 1.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: 50%;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
}

/* Responsivo */
@media (max-width: 768px) {
  .post.destaque {
    flex-direction: column;
  }

  .top-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .newsletter form {
    flex-direction: column;
  }
}



.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #823c33;
  cursor: pointer;
}

/* Menu padrão em telas grandes */
.nav {
  display: flex;
  gap: 2rem;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    background-color: #fffaf7;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 1rem 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    z-index: 999;
  }

  .nav.open {
    display: flex;
  }

  .top-bar {
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

