/* ── Barra de progresso de leitura ─────────────── */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #2d7a4f, #4caf7d);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── Hero do artigo ─────────────────────────────── */
.post-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 72px;
}

/* Imagem de fundo */
.post-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.post-hero__bg.loaded {
  transform: scale(1);
}

/* Overlay gradiente */
.post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 13, 8, 0.97) 0%,
    rgba(5, 13, 8, 0.75) 40%,
    rgba(5, 13, 8, 0.35) 70%,
    rgba(5, 13, 8, 0.15) 100%
  );
}

/* Conteúdo do hero */
.post-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* Breadcrumb */
.post-hero__breadcrumb {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}
.post-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}
.post-hero__breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.85);
}
.post-hero__breadcrumb span {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 0.4rem;
}

/* Categoria pill */
.post-hero__cat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4caf7d;
  border: 1px solid rgba(76, 175, 125, 0.35);
  padding: 0.3rem 0.85rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* Título */
.post-hero__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  max-width: 820px;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

/* Meta: data + tempo de leitura */
.post-hero__meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.post-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}
.post-hero__meta-item ion-icon {
  font-size: 0.9rem;
  color: rgba(76, 175, 125, 0.7);
}

/* ── Layout do artigo ────────────────────────────── */
.post-layout {
  background: #fff;
  padding: 5rem 0 0;
}

/* ── Corpo do artigo ─────────────────────────────── */
.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

/* Voltar ao blog */
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #aaa;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 3rem;
  transition: color 0.2s;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.post-back ion-icon {
  font-size: 0.9rem;
}
.post-back:hover {
  color: #2d7a4f;
}

/* Parágrafo intro (lead) */
.post-body p:first-of-type {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #222;
  font-weight: 300;
  margin-bottom: 2rem;
}

/* Parágrafos */
.post-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #3a3a3a;
  margin-bottom: 1.5rem;
}

/* H2 — seções do artigo */
.post-body h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #111;
  margin: 3rem 0 1rem;
  padding-left: 1.1rem;
  border-left: 3px solid #4caf7d;
  line-height: 1.25;
}

/* H3 */
.post-body h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a4a2e;
  margin: 2rem 0 0.75rem;
}

/* Blockquote */
.post-body blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  background: #f7faf8;
  border-left: 4px solid #4caf7d;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
  color: #1a4a2e;
  line-height: 1.65;
}

/* Listas */
.post-body ul,
.post-body ol {
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}
.post-body li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3a3a3a;
  margin-bottom: 0.5rem;
}
.post-body ul li::marker {
  color: #4caf7d;
}

/* Imagens dentro do artigo */
.post-body img {
  width: 100%;
  height: auto;
  margin: 2.5rem 0;
  display: block;
}

/* Divisor */
.post-body hr {
  border: none;
  border-top: 1px solid #e8e4df;
  margin: 3rem 0;
}

/* ── Share box ───────────────────────────────────── */
.share-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.share-box__inner {
  border-top: 1px solid #e8e4df;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.share-box__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
  margin-right: 0.25rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  font-family: "Inter", system-ui, sans-serif;
  letter-spacing: 0.02em;
}
.share-btn ion-icon {
  font-size: 0.95rem;
}

.share-btn--whatsapp {
  background: #25d366;
  color: #fff;
}
.share-btn--whatsapp:hover {
  background: #1cb858;
}

.share-btn--facebook {
  background: #1877f2;
  color: #fff;
}
.share-btn--facebook:hover {
  background: #0f65d8;
}

.share-btn--twitter {
  background: #000;
  color: #fff;
}
.share-btn--twitter:hover {
  background: #1a1a1a;
}

.share-btn--copy {
  background: transparent;
  color: #666;
  border-color: #ddd;
}
.share-btn--copy:hover {
  border-color: #4caf7d;
  color: #2d7a4f;
}

/* ── Veja também ─────────────────────────────────── */
.related {
  background: #f7f6f3;
  padding: 4rem 0;
  border-top: 1px solid #e8e4df;
}

.related__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.related__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4caf7d;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.related__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e0dcd8;
}

.related__titulo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 2rem;
}

.related-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid #e8e4df;
  transition: opacity 0.2s;
  text-decoration: none;
}
.related-card:first-child {
  border-top: 1px solid #e8e4df;
}
.related-card:hover {
  opacity: 0.65;
}

.related-card__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
  flex: 1;
}

.related-card__arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: all 0.2s;
}
.related-card:hover .related-card__arrow {
  background: #1a4a2e;
  border-color: #1a4a2e;
  color: #fff;
}
.related-card__arrow ion-icon {
  font-size: 0.9rem;
}

/* ── CTA WhatsApp ────────────────────────────────── */
.post-cta {
  background: #050d08;
  padding: 6rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.post-cta::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(45, 122, 79, 0.2) 0%,
    transparent 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.post-cta__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4caf7d;
  margin-bottom: 1rem;
  display: block;
}
.post-cta__titulo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.post-cta__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Botão CTA genérico */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  color: #1a4a2e;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 1rem 2rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.btn-cta ion-icon {
  font-size: 1.15rem;
}
.btn-cta:hover {
  background: #4caf7d;
  color: #fff;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
  background: #050d08;
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 3.5rem 1.25rem 2.5rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* -- Coluna marca -- */
.footer__col--brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.footer__logo-img {
  height: 72px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
}

.footer__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.footer__social-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4caf7d;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer__social a ion-icon {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.75);
  flex-shrink: 0;
  transition: color 0.2s;
}
.footer__social a:hover,
.footer__social a:hover ion-icon {
  color: #4caf7d;
}

/* -- Colunas secundárias -- */
.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4caf7d;
  margin-bottom: 0.85rem;
}

/* -- Coluna links -- */
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: #4caf7d;
}

/* -- Coluna localização -- */
.footer__location {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.footer__location ion-icon {
  font-size: 1.1rem;
  color: #4caf7d;
  flex-shrink: 0;
}

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 420px;
}

/* -- Rodapé inferior -- */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.25rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer__col--brand {
    grid-column: 1 / -1;
  }
  .footer__tagline {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ── Responsivo artigo ───────────────────────────── */
@media (max-width: 768px) {
  .post-hero {
    min-height: 70vh;
  }
  .post-hero__title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
  .post-layout {
    padding-top: 3rem;
  }
  .post-body p:first-of-type {
    font-size: 1.1rem;
  }
}
@media (max-width: 480px) {
  .post-hero {
    min-height: 60vh;
  }
  .post-body {
    padding: 0 1rem 3rem;
  }
  .share-box {
    padding: 0 1rem 3rem;
  }
}

/* ═══════════════════════════════════════════════
   GardenPrime — Index do Blog — Estilos não-críticos
═══════════════════════════════════════════════ */

/* ── Hero ── */
.blog-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
  padding: 10rem 0 6rem;
}

/* Linha decorativa de fundo — grade sutil */
.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(76, 175, 125, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 175, 125, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Fade suave na parte inferior para transição com filtros */
.blog-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--dark));
  pointer-events: none;
}

/* Glow orbs */
.blog-hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.blog-hero__glow--a {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 122, 79, 0.28) 0%, transparent 70%);
  top: -160px;
  right: -80px;
  animation: heroGlowPulse 8s ease-in-out infinite alternate;
}
.blog-hero__glow--b {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(76, 175, 125, 0.14) 0%, transparent 70%);
  bottom: -80px;
  left: 5%;
  animation: heroGlowPulse 11s ease-in-out infinite alternate-reverse;
}
@keyframes heroGlowPulse {
  from { opacity: 0.7; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.12); }
}

.blog-hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.45;
  pointer-events: none;
}

.blog-hero__content {
  position: relative;
  z-index: 1;
}

/* Label */
.blog-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--verde-claro);
  margin-bottom: 2rem;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.1s forwards;
}
.blog-hero__label::before,
.blog-hero__label::after {
  content: "";
  height: 1px;
  background: var(--verde-claro);
  opacity: 0.5;
}
.blog-hero__label::before { width: 28px; }
.blog-hero__label::after  { width: 12px; }

/* Título principal */
.blog-hero__titulo {
  font-family: var(--fonte-titulo);
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.03;
  margin-bottom: 1.75rem;
  letter-spacing: -0.03em;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.22s forwards;
}
.blog-hero__titulo,
.blog-hero__titulo em {
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Parte normal — branco puro */
.blog-hero__titulo {
  background-image: linear-gradient(160deg, #ffffff 0%, rgba(255,255,255,0.75) 100%);
}
/* Em itálico — accent verde */
.blog-hero__titulo em {
  font-style: italic;
  background-image: linear-gradient(135deg, var(--verde-claro) 0%, #a8e6c6 100%);
  display: inline-block;
}

/* Subtítulo */
.blog-hero__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: 3rem;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.34s forwards;
}

/* Stats */
.blog-hero__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  animation: heroFadeUp 0.7s ease 0.46s forwards;
}
.blog-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.blog-hero__stat-num {
  font-family: var(--fonte-titulo);
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.blog-hero__stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.blog-hero__stat-div {
  width: 1px;
  height: 36px;
  background: rgba(76, 175, 125, 0.25);
}

/* Scroll indicator */
.blog-hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(76, 175, 125, 0.3);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  z-index: 2;
  animation: heroScrollBounce 2.5s ease-in-out infinite;
  transition: border-color 0.2s, color 0.2s;
}
.blog-hero__scroll:hover {
  border-color: var(--verde-claro);
  color: var(--verde-claro);
}
.blog-hero__scroll ion-icon {
  font-size: 1rem;
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Animação de entrada */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsivo */
@media (max-width: 768px) {
  .blog-hero {
    min-height: 60vh;
    padding: 9rem 0 5rem;
  }
  .blog-hero__stats {
    gap: 1.25rem;
  }
  .blog-hero__stat-num {
    font-size: 1.4rem;
  }
}
@media (max-width: 480px) {
  .blog-hero {
    min-height: 55vh;
  }
  .blog-hero__sub {
    font-size: 0.95rem;
  }
  .blog-hero__scroll {
    display: none;
  }
}

/* ── Filtros ── */
.blog-filtros {
  background: #fafaf8;
  border-bottom: 1px solid #e8e4df;
  position: sticky;
  top: 72px;
  z-index: 100;
}
.blog-filtros__inner {
  display: flex;
  gap: 0;
  padding: 0 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1200px;
  margin: 0 auto;
}
.blog-filtros__inner::after {
  content: "";
  flex-shrink: 0;
  width: 1.5rem;
}
.blog-filtros__inner::-webkit-scrollbar {
  display: none;
}
.filtro-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.9rem 1.1rem;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #999;
  font-family: var(--fonte-corpo);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: -1px;
}
.filtro-btn:hover {
  color: #333;
}
.filtro-btn.ativo {
  color: #1a1a1a;
  border-bottom-color: #1a4a2e;
}
.filtro-btn__count {
  font-size: 0.68rem;
  color: #bbb;
  font-weight: 400;
  letter-spacing: 0;
}
.filtro-btn.ativo .filtro-btn__count {
  color: #666;
}
.filtro-btn ion-icon {
  display: none;
}

/* ── Área do grid ── */
.blog-grid {
  background: #fafaf8;
  padding: 3rem 0 7rem;
}

.blog-grid__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 2px solid #1a4a2e;
  padding-bottom: 0.75rem;
}
.blog-grid__titulo {
  font-family: var(--fonte-titulo);
  font-size: 1.1rem;
  color: #111;
  font-weight: 700;
}
.blog-grid__contagem {
  font-size: 0.72rem;
  color: #aaa;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Lista de artigos ── */
.posts-grid {
  display: flex;
  flex-direction: column;
}

/* ── Card ── */
.post-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 0;
  background: transparent;
  border-bottom: 1px solid #dedad4;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.post-card:first-of-type {
  border-top: 1px solid #dedad4;
}
.post-card:hover {
  opacity: 0.75;
}

.post-card__img-wrap {
  flex-shrink: 0;
  width: 380px;
  height: 240px;
  overflow: hidden;
}
.post-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.post-card:hover .post-card__img-wrap img {
  transform: scale(1.04);
}

.post-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.post-card__tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.post-card__sep {
  color: #ccc;
  font-size: 0.7rem;
}
.post-card__date {
  font-size: 0.7rem;
  color: #999;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.post-card__date ion-icon {
  font-size: 0.75rem;
  color: #bbb;
}

.post-card__title {
  font-family: var(--fonte-titulo);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
  transition: color 0.2s ease;
}
.post-card:hover .post-card__title {
  color: var(--verde-escuro);
}

/* Cores por categoria */
.post-card[data-cat="gramado"] .post-card__tag {
  color: #2d7a4f;
}
.post-card[data-cat="paisagismo"] .post-card__tag {
  color: #1a4a2e;
}
.post-card[data-cat="pets"] .post-card__tag {
  color: #c07a1a;
}
.post-card[data-cat="piscina"] .post-card__tag {
  color: #1a6a9a;
}
.post-card[data-cat="manutencao"] .post-card__tag {
  color: #2d7a6a;
}
.post-card[data-cat="dicas"] .post-card__tag {
  color: #6a4a9a;
}
.post-card[data-cat="curiosidades"] .post-card__tag {
  color: #7a5a4a;
}
.post-card[data-cat="tipos"] .post-card__tag {
  color: #3a8a3a;
}
.post-card[data-cat="substrato"] .post-card__tag {
  color: #8a6a3a;
}

.post-card.oculto {
  display: none;
}

.sem-resultados {
  display: none;
  text-align: center;
  padding: 6rem 1rem;
  color: #ccc;
}
.sem-resultados ion-icon {
  font-size: 2.5rem;
  color: #ddd;
  margin-bottom: 1rem;
  display: block;
}

@media (max-width: 800px) {
  .post-card__img-wrap {
    width: 260px;
    height: 170px;
  }
  .post-card__title {
    font-size: 1.2rem;
  }
}
@media (max-width: 520px) {
  .post-card {
    gap: 1rem;
    padding: 1.25rem 0;
  }
  .post-card__img-wrap {
    width: 140px;
    height: 96px;
  }
  .post-card__title {
    font-size: 1rem;
  }
}

/* ═══════════════════════════════════════════════
   Blog Index — Layout Destaque + Sidebar
═══════════════════════════════════════════════ */

.blog-layout {
  background: #f5f4f1;
  padding: 0 0 6rem;
}

.blog-layout__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}

/* ── Artigo em destaque ── */
.blog-featured {
  position: sticky;
  top: 136px;
}

.featured-card {
  position: relative;
  display: block;
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  text-decoration: none;
  background: var(--dark);
}

.featured-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}
.featured-card:hover .featured-card__bg {
  transform: scale(1.04);
}

.featured-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 13, 8, 0.97) 0%,
    rgba(5, 13, 8, 0.82) 28%,
    rgba(5, 13, 8, 0.45) 58%,
    rgba(5, 13, 8, 0.12) 100%
  );
}

.featured-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  z-index: 2;
}

.featured-card__novo {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--verde-claro);
  color: var(--dark);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 2px;
}

.featured-card__cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--verde-claro);
  margin-bottom: 0.7rem;
}

.featured-card__title {
  font-family: var(--fonte-titulo);
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  font-weight: 900;
  line-height: 1.18;
  color: #fff;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
}

.featured-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.featured-card__meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.48);
}
.featured-card__meta-item ion-icon {
  font-size: 0.8rem;
  color: rgba(76, 175, 125, 0.7);
}

.featured-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  background: var(--verde-claro);
  color: var(--dark);
  font-family: var(--fonte-corpo);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.7rem 1.4rem;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.featured-card__btn ion-icon {
  font-size: 0.85rem;
  transition: transform 0.2s;
}
.featured-card:hover .featured-card__btn {
  background: #fff;
}
.featured-card:hover .featured-card__btn ion-icon {
  transform: translateX(3px);
}

/* ── Sidebar ── */
.blog-sidebar {
  min-width: 0;
}

.blog-sidebar__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #1a4a2e;
  margin-bottom: 0;
}

.blog-sidebar__titulo {
  font-family: var(--fonte-titulo);
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

.blog-sidebar__count {
  font-size: 0.68rem;
  color: #aaa;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-sidebar__list {
  display: flex;
  flex-direction: column;
}

.blog-sidebar__empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #ccc;
}
.blog-sidebar__empty ion-icon {
  font-size: 2rem;
  color: #ddd;
  margin-bottom: 0.75rem;
  display: block;
}
.blog-sidebar__empty p {
  font-size: 0.85rem;
}

/* ── Sidebar Card ── */
.sidebar-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.9rem;
  padding: 1rem 0;
  border-bottom: 1px solid #dedad4;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.sidebar-card:hover {
  opacity: 0.7;
}

.sidebar-card__img-wrap {
  width: 96px;
  height: 66px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 2px;
}
.sidebar-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.sidebar-card:hover .sidebar-card__img {
  transform: scale(1.06);
}

.sidebar-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
  padding-top: 0.1rem;
}

.sidebar-card__tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sidebar-card__title {
  font-family: var(--fonte-titulo);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.38;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.sidebar-card:hover .sidebar-card__title {
  color: var(--verde-escuro);
}

.sidebar-card__date {
  font-size: 0.62rem;
  color: #999;
  display: flex;
  align-items: center;
  gap: 0.22rem;
  margin-top: auto;
}
.sidebar-card__date ion-icon {
  font-size: 0.68rem;
  color: #bbb;
}

/* Cores por categoria — sidebar */
.sidebar-card[data-cat="gramado"]     .sidebar-card__tag { color: #2d7a4f; }
.sidebar-card[data-cat="paisagismo"]  .sidebar-card__tag { color: #1a4a2e; }
.sidebar-card[data-cat="pets"]        .sidebar-card__tag { color: #c07a1a; }
.sidebar-card[data-cat="piscina"]     .sidebar-card__tag { color: #1a6a9a; }
.sidebar-card[data-cat="manutencao"]  .sidebar-card__tag { color: #2d7a6a; }
.sidebar-card[data-cat="dicas"]       .sidebar-card__tag { color: #6a4a9a; }
.sidebar-card[data-cat="curiosidades"] .sidebar-card__tag { color: #7a5a4a; }
.sidebar-card[data-cat="tipos"]       .sidebar-card__tag { color: #3a8a3a; }
.sidebar-card[data-cat="substrato"]   .sidebar-card__tag { color: #8a6a3a; }

/* Cores por categoria — destaque */
.featured-card[data-cat="gramado"]     .featured-card__cat { color: #5cdf9d; }
.featured-card[data-cat="paisagismo"]  .featured-card__cat { color: #4caf7d; }
.featured-card[data-cat="pets"]        .featured-card__cat { color: #e8b060; }
.featured-card[data-cat="piscina"]     .featured-card__cat { color: #60b8e8; }
.featured-card[data-cat="manutencao"]  .featured-card__cat { color: #5cdfd0; }
.featured-card[data-cat="dicas"]       .featured-card__cat { color: #b0a0e8; }
.featured-card[data-cat="curiosidades"] .featured-card__cat { color: #c8a090; }
.featured-card[data-cat="tipos"]       .featured-card__cat { color: #80d880; }
.featured-card[data-cat="substrato"]   .featured-card__cat { color: #d0b880; }

/* ── Responsivo ── */
@media (max-width: 960px) {
  .blog-layout__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .blog-featured {
    position: static;
  }
  .featured-card {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 600px) {
  .blog-layout__inner {
    padding: 1.5rem 1rem 0;
  }
  .featured-card__content {
    padding: 1.25rem;
  }
  .featured-card__title {
    font-size: 1.25rem;
  }
  .featured-card__meta {
    margin-bottom: 1.1rem;
  }
  .sidebar-card {
    grid-template-columns: 80px 1fr;
    gap: 0.75rem;
  }
  .sidebar-card__img-wrap {
    width: 80px;
    height: 56px;
  }
}
