/* Blog: lista (/blog/) e artigos (/blog/<slug>/), gerados por scripts/blog/build-blog.ps1 */
.blog-page {
  background: var(--ivory, #ffffff);
  color: var(--ink, #2b211d);
}

.blog-page .kicker {
  margin-bottom: 12px;
  color: var(--gold-500, #daa520);
}

.blog-page .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  color: var(--muted, #736760);
  font-size: .8rem;
}

.blog-page .breadcrumbs i {
  margin-right: 6px;
  font-style: normal;
  opacity: .6;
}

.blog-page .breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.blog-page .breadcrumbs a:hover {
  color: var(--ink, #2b211d);
}

.blog-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(218, 165, 32, .14);
  color: #8a6512;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  color: var(--muted, #736760);
  font-size: .8rem;
}

/* Lista */
.blog-hero,
.blog-featured,
.blog-list,
.blog-related {
  width: var(--page, min(1320px, calc(100% - 64px)));
  margin: 0 auto;
}

.blog-hero {
  padding: 150px 0 36px;
}

.blog-hero h1 {
  margin: 0 0 14px;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.04;
}

.blog-hero > p:not(.kicker) {
  max-width: 560px;
  margin: 0;
  color: var(--muted, #736760);
  font-size: 1.02rem;
  line-height: 1.65;
}

.blog-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  overflow: hidden;
  border: 1px solid rgba(218, 165, 32, .3);
  background: var(--white, #ffffff);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(54, 31, 24, .08);
}

.blog-featured-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.blog-featured-photo img,
.blog-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.blog-featured-card:hover .blog-featured-photo img,
.blog-card a:hover .blog-card-photo img {
  transform: scale(1.04);
}

.blog-featured-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  padding: clamp(28px, 4vw, 56px);
}

.blog-featured-copy h2 {
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
}

.blog-featured-copy > p:not(.blog-meta) {
  margin: 0;
  color: var(--muted, #736760);
  font-size: .98rem;
  line-height: 1.65;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.blog-read-more i {
  font-style: normal;
  transition: transform .25s ease;
}

.blog-featured-card:hover .blog-read-more i {
  transform: translateX(4px);
}

.blog-list,
.blog-related {
  padding: clamp(48px, 6vw, 80px) 0;
}

.blog-section-heading {
  margin-bottom: 24px;
}

.blog-section-heading h2 {
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-list .blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(218, 165, 32, .26);
  background: var(--white, #ffffff);
  color: inherit;
  text-decoration: none;
  transition: box-shadow .3s ease, transform .3s ease;
}

.blog-card a:hover {
  box-shadow: 0 18px 40px rgba(54, 31, 24, .1);
  transform: translateY(-3px);
}

.blog-card-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.blog-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px;
}

.blog-card-copy h3 {
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
}

.blog-card-copy > p:not(.blog-meta) {
  margin: 0;
  color: var(--muted, #736760);
  font-size: .9rem;
  line-height: 1.6;
}

.blog-card-copy .blog-meta {
  margin-top: auto;
  padding-top: 6px;
}

/* Artigo */
.blog-article {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 clamp(40px, 5vw, 64px);
}

.blog-article-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 30px;
}

.blog-article-header .breadcrumbs {
  margin-bottom: 4px;
}

.blog-article-header h1 {
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.08;
}

.blog-article-lead {
  margin: 0;
  color: var(--muted, #736760);
  font-size: 1.12rem;
  line-height: 1.6;
}

.blog-article-cover {
  margin: 0 0 clamp(30px, 4vw, 44px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article-body {
  max-width: 680px;
  margin: 0 auto;
  color: #3d332d;
  font-size: 1.06rem;
  line-height: 1.8;
}

.blog-article-body > * + * {
  margin-top: 1.1em;
}

.blog-article-body p,
.blog-article-body ul,
.blog-article-body ol {
  margin-bottom: 0;
}

.blog-article-body h2 {
  margin: 1.9em 0 .5em;
  color: var(--ink, #2b211d);
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  font-weight: 400;
  line-height: 1.2;
}

.blog-article-body h3 {
  margin: 1.5em 0 .3em;
  color: var(--ink, #2b211d);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.blog-article-body h3 + p {
  margin-top: 0;
}

.blog-article-body ul,
.blog-article-body ol {
  padding-left: 1.3em;
}

.blog-article-body li + li {
  margin-top: .45em;
}

.blog-article-body li::marker {
  color: var(--gold-500, #daa520);
}

.blog-article-body strong {
  color: var(--ink, #2b211d);
}

.blog-article-body a {
  color: #8a6512;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(138, 101, 18, .4);
  text-underline-offset: 3px;
}

.blog-article-body a:hover {
  color: var(--ink, #2b211d);
}

.blog-article-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  max-width: 680px;
  margin: clamp(40px, 5vw, 56px) auto 0;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(218, 165, 32, .34);
  background: var(--white, #ffffff);
}

.blog-article-cta h2 {
  margin: 0 0 6px;
  font-family: var(--serif, Georgia, serif);
  font-size: 1.6rem;
  font-weight: 400;
}

.blog-article-cta p:not(.kicker) {
  margin: 0;
  color: var(--muted, #736760);
  font-size: .92rem;
}

.blog-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}

.blog-button:hover {
  transform: translateY(-2px);
}

.blog-button-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(21, 126, 62, .22);
}

.blog-button-whatsapp:hover {
  background: #1fbd59;
  color: #fff;
}

.blog-button-whatsapp img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.blog-button-catalog {
  border: 1px solid rgba(75, 44, 36, .3);
  color: var(--ink, #2b211d);
}

.blog-button-catalog:hover {
  border-color: var(--ink, #2b211d);
  background: var(--ink, #2b211d);
  color: #fff;
}

.blog-related {
  border-top: 1px solid rgba(218, 165, 32, .25);
}

@media (max-width: 1100px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .blog-featured-card {
    grid-template-columns: 1fr;
  }

  .blog-featured-photo {
    aspect-ratio: 16 / 10;
  }

  .blog-article-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .blog-hero,
  .blog-featured,
  .blog-list,
  .blog-related {
    width: calc(100% - 32px);
  }

  .blog-hero {
    padding: 116px 0 26px;
  }

  .blog-grid,
  .blog-list .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-card a {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
  }

  /* A foto só preenche a altura do card; quem define a altura é o texto */
  .blog-card-photo {
    position: relative;
    aspect-ratio: auto;
    min-height: 104px;
  }

  .blog-card-photo img {
    position: absolute;
    inset: 0;
  }

  .blog-card-copy {
    gap: 6px;
    padding: 14px;
  }

  .blog-card-copy .blog-meta {
    margin-top: 0;
    padding-top: 2px;
  }

  .blog-card-copy h3 {
    font-size: 1.08rem;
  }

  .blog-card-copy > p:not(.blog-meta) {
    display: none;
  }

  .blog-chip {
    font-size: .68rem;
  }

  .blog-article {
    width: calc(100% - 32px);
    padding-top: 112px;
  }

  .blog-article-lead {
    font-size: 1rem;
  }

  .blog-article-body {
    font-size: 1rem;
    line-height: 1.75;
  }

  .blog-cta-actions,
  .blog-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-featured-photo img,
  .blog-card-photo img,
  .blog-card a,
  .blog-button {
    transition: none;
  }
}
