/* ── 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: 55vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
  padding: 10rem 0 5rem;
}
.blog-hero::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(45, 122, 79, 0.25) 0%,
    transparent 70%
  );
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.blog-hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(76, 175, 125, 0.12) 0%,
    transparent 70%
  );
  bottom: -50px;
  left: 10%;
  pointer-events: none;
}
.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.4;
  pointer-events: none;
}
.blog-hero__content {
  position: relative;
  z-index: 1;
}
.blog-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--verde-claro);
  margin-bottom: 1.5rem;
}
.blog-hero__label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--verde-claro);
}
.blog-hero__titulo {
  font-family: var(--fonte-titulo);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  background: linear-gradient(
    135deg,
    #fff 0%,
    rgba(255, 255, 255, 0.6) 50%,
    var(--verde-claro) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.blog-hero__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 480px;
  line-height: 1.7;
}

/* ── 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;
  }
}
