.blog-page {
  background-color: #f8fafc;
  font-family: 'Inter', sans-serif;
  color: #0f172a;
}

/* HERO */
.hero-blog {
  background: radial-gradient(circle at top, #174283 0%, #0b1b33 40%, #020617 100%);
  color: #f9fafb;
  text-align: center;
  padding: 130px 20px 60px;
  position: relative;
  overflow: hidden;
}

.hero-blog::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 5% 0%, rgba(34,197,94,0.2) 0%, transparent 55%),
              radial-gradient(circle at 95% 100%, rgba(56,189,248,0.2) 0%, transparent 55%);
  opacity: 0.85;
  pointer-events: none;
}

.hero-blog-content {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.hero-blog .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.7);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(148,163,184,0.6);
  color: #e2e8f0;
}

.hero-blog .hero-pill i {
  color: #22c55e;
}

.hero-blog h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  line-height: 1.2;
  margin-top: 18px;
}

.hero-blog p {
  margin-top: 8px;
  font-size: 0.98rem;
  color: #cbd5f5;
}

/* LISTA DE CARDS */
.blog-list-section {
  padding: 40px 0 70px;
}

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

/* grade responsiva de cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* CARD */
.blog-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15,23,42,0.12);
  border: 1px solid rgba(148,163,184,0.4);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* imagem do card */
.blog-card-image {
  position: relative;
  width: 100%;
  padding-top: 58%;
  overflow: hidden;
  background: #020617;
}

.blog-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease, filter 0.28s ease;
}

/* corpo do card */
.blog-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b7280;
  margin-bottom: 4px;
}

.blog-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: #0f172a;
  margin-bottom: 6px;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 10px;
}

.blog-card-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
  color: #6b7280;
}

.blog-card-date::before {
  content: "• ";
  color: #9ca3af;
  margin-right: 2px;
}

.blog-card-readtime::before {
  content: "⏱ ";
  margin-right: 2px;
}

/* hover */
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15,23,42,0.18);
  border-color: rgba(37,99,235,0.45);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* WHATSAPP FLOATING - mesmo padrão dos produtos */
.whatsapp-floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.whatsapp-floating-button {
  background-color: #22c55e;
  color: #ffffff;
  font-size: 26px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.6);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.25s ease;
  flex-shrink: 0;
}

.whatsapp-floating-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 32px rgba(22, 163, 74, 0.7);
  background-color: #16a34a;
}

.whatsapp-floating-message {
  position: relative;
  background: #ffffff;
  color: #0f172a;
  padding: 12px 16px;
  border-radius: 14px;
  max-width: 260px;
  min-height: 52px;
  font-size: 0.88rem;
  line-height: 1.4;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.28);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.whatsapp-floating-message::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 18px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-right: 1px solid rgba(148, 163, 184, 0.28);
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  transform: rotate(-45deg);
}

.whatsapp-floating-message.visible {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-floating-message span {
  display: block;
  max-width: 100%;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .hero-blog {
    padding-top: 120px;
  }

  .hero-blog h1 {
    font-size: 2rem;
  }

  .whatsapp-floating {
    right: 18px;
    bottom: 18px;
    gap: 10px;
  }

  .whatsapp-floating-message {
    max-width: 220px;
    font-size: 0.82rem;
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .hero-blog h1 {
    font-size: 1.7rem;
  }

  .blog-grid {
    gap: 18px;
  }

  .blog-card-body {
    padding: 14px 14px 16px;
  }

  .whatsapp-floating-button {
    width: 54px;
    height: 54px;
    font-size: 24px;
  }

  .whatsapp-floating-message {
    max-width: 180px;
    min-height: 46px;
    font-size: 0.78rem;
    padding: 9px 12px;
  }
}