body.blog-page {
  --blog-gold: #daa520;
  --blog-ink: #171614;
  --blog-muted: #625c55;
  --blog-ivory: #fffdf8;
  --blog-white: #fffdf8;
  --blog-line: rgba(23, 22, 20, 0.14);
  background: var(--blog-white);
  color: var(--blog-ink);
}

.blog-main {
  background: var(--blog-white);
}

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 150px max(24px, calc(50vw - 590px)) 86px;
  border-bottom: 1px solid rgba(218, 165, 32, 0.32);
  background:
    radial-gradient(circle at 78% 22%, rgba(218, 165, 32, 0.11), transparent 27%),
    linear-gradient(145deg, #fff 0%, #fffdf8 68%, #faf5eb 100%);
}

.blog-hero::after {
  position: absolute;
  top: 38px;
  right: -150px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(218, 165, 32, 0.2);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.blog-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.blog-page .breadcrumbs {
  margin-bottom: 34px;
}

.blog-page .breadcrumbs a:hover {
  color: var(--blog-gold);
}

.blog-page .breadcrumbs i,
.blog-page .kicker {
  color: var(--blog-gold);
}

.blog-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--blog-ink);
  font-family: var(--serif, Georgia, "Times New Roman", serif);
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.blog-hero .blog-intro {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--blog-muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.75;
}

.blog-content {
  padding-block: 82px 110px;
}

.blog-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
  align-items: end;
  gap: 44px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--blog-line);
}

.blog-section-heading h2 {
  margin: 0;
  font-family: var(--serif, Georgia, "Times New Roman", serif);
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.blog-section-heading > p {
  margin: 0;
  color: var(--blog-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.blog-category {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(218, 165, 32, 0.45);
  border-radius: 999px;
  background: var(--blog-white);
  color: var(--blog-ink);
  font-size: 0.74rem;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-category[aria-pressed="true"],
.blog-category:hover {
  border-color: var(--blog-gold);
  background: var(--blog-gold);
  color: #171614;
}

.blog-articles {
  margin-top: 54px;
}

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

.blog-card {
  overflow: hidden;
  border: 1px solid rgba(218, 165, 32, 0.3);
  background: #fffdf8;
  box-shadow: 0 18px 42px rgba(77, 59, 24, 0.08);
}

.blog-card[hidden] {
  display: none;
}

.blog-card-image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f6edd2;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.025);
}

.blog-card > div {
  padding: 24px;
}

.blog-card > div > span {
  color: #b98710;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 16px 0 12px;
  font-family: var(--serif, Georgia, "Times New Roman", serif);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.blog-card p {
  margin: 0 0 22px;
  color: var(--blog-muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.blog-card-link {
  color: #92700f;
  font-size: 0.76rem;
  font-weight: 800;
}

.blog-card-link i {
  margin-left: 6px;
  font-style: normal;
}

.article-main {
  padding-top: 96px;
  background: #fffdf8;
}

.article-hero {
  max-width: 960px;
  padding-block: 72px 54px;
}

.article-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif, Georgia, "Times New Roman", serif);
  font-size: clamp(3rem, 5.7vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.article-lead {
  max-width: 780px;
  margin: 28px 0 0;
  color: var(--blog-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.article-cover {
  max-width: 1180px;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border: 1px solid rgba(218, 165, 32, 0.3);
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.article-content {
  max-width: 800px;
  padding-block: 64px 84px;
}

.article-content section {
  padding-block: 28px;
  border-bottom: 1px solid var(--blog-line);
}

.article-content h2,
.article-related h2 {
  margin: 0 0 16px;
  font-family: var(--serif, Georgia, "Times New Roman", serif);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.article-content p {
  margin: 0;
  color: #4f4a44;
  font-size: 1rem;
  line-height: 1.8;
}

.article-content a {
  color: #8d6a0b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-answer {
  padding: 28px 30px;
  border-left: 4px solid #daa520;
  background: #f8f3ea;
}

.article-answer strong {
  display: block;
  margin-bottom: 10px;
  color: #9c7610;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.article-related {
  padding-block: 64px 94px;
  border-top: 1px solid var(--blog-line);
}

.article-related > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.article-related a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
  border: 1px solid rgba(218, 165, 32, 0.32);
  background: #fff;
  font-weight: 700;
}

.blog-empty-state {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: clamp(34px, 6vw, 68px);
  border: 1px solid rgba(218, 165, 32, 0.31);
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 22px 54px rgba(77, 59, 24, 0.09);
}

.blog-empty-state::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 92px;
  height: 3px;
  background: var(--blog-gold);
  content: "";
}

.blog-empty-state span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blog-gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.blog-empty-state span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.blog-empty-state h2 {
  max-width: 650px;
  margin: 56px 0 18px;
  font-family: var(--serif, Georgia, "Times New Roman", serif);
  font-size: clamp(2.3rem, 4.3vw, 4.15rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.blog-empty-state p {
  max-width: 650px;
  margin: 0;
  color: var(--blog-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .blog-section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

@media (max-width: 600px) {
  .blog-hero {
    padding: 116px 16px 58px;
  }

  .blog-hero::after {
    top: 58px;
    right: -230px;
    width: 360px;
    height: 360px;
  }

  .blog-hero h1 {
    font-size: clamp(2.75rem, 13vw, 3.65rem);
  }

  .blog-hero .blog-intro {
    margin-top: 22px;
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .blog-content {
    width: calc(100% - 32px);
    padding-block: 58px 72px;
  }

  .blog-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .blog-category {
    width: 100%;
    padding-inline: 12px;
  }

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

  .blog-empty-state {
    min-height: 290px;
    padding: 30px 24px;
  }

  .blog-empty-state h2 {
    margin-top: 48px;
  }

  .blog-card > div {
    padding: 20px;
  }

  .article-main {
    padding-top: 76px;
  }

  .article-hero {
    width: calc(100% - 32px);
    padding-block: 48px 40px;
  }

  .article-hero h1 {
    font-size: clamp(2.7rem, 12.5vw, 3.55rem);
  }

  .article-lead {
    font-size: 0.94rem;
  }

  .article-cover {
    width: calc(100% - 32px);
    aspect-ratio: 4 / 3;
  }

  .article-content,
  .article-related {
    width: calc(100% - 32px);
    padding-block: 48px 64px;
  }

  .article-answer {
    padding: 22px;
  }

  .article-related > div {
    grid-template-columns: 1fr;
  }
}

/* Artigos V2: leitura editorial compacta, sem imagens dominando a tela. */
.blog-card-image {
  aspect-ratio: 16 / 9;
}

.blog-card h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.article-main {
  padding-top: 90px;
}

.article-hero {
  max-width: 900px;
  padding-block: 58px 42px;
}

.article-hero .breadcrumbs {
  margin-bottom: 30px;
}

.article-hero h1 {
  max-width: 850px;
  font-size: clamp(2.8rem, 4.7vw, 4.65rem);
  line-height: 1;
}

.article-lead {
  max-width: 760px;
  margin-top: 24px;
  font-size: 1rem;
  line-height: 1.72;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--blog-line);
  color: #756e66;
  font-size: 0.72rem;
}

.article-meta span + span::before {
  margin-right: 24px;
  color: #daa520;
  content: "◆";
  font-size: 0.5rem;
}

.article-cover {
  position: relative;
  width: min(880px, calc(100% - 48px));
  height: clamp(240px, 30vw, 360px);
  aspect-ratio: auto;
  margin-block: 0;
  border-radius: 2px;
}

.article-cover::after {
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(23, 22, 20, 0.62));
  content: "";
  pointer-events: none;
}

.article-cover figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 14px;
  left: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.68rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  justify-content: center;
  align-items: start;
  gap: clamp(38px, 6vw, 74px);
  padding-block: 70px 92px;
}

.article-toc {
  position: sticky;
  top: 112px;
  display: grid;
  border-top: 2px solid #daa520;
  background: #f8f3ea;
  padding: 20px;
}

.article-toc strong {
  margin-bottom: 12px;
  color: #9c7610;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.article-toc a {
  padding: 9px 0;
  border-top: 1px solid rgba(23, 22, 20, 0.1);
  color: #514b45;
  font-size: 0.72rem;
  line-height: 1.35;
}

.article-toc a:hover {
  color: #92700f;
}

.article-content {
  width: auto;
  max-width: none;
  padding: 0;
}

.article-content section {
  scroll-margin-top: 110px;
  padding-block: 34px;
}

.article-content h2,
.article-related h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.65rem);
}

.article-content p,
.article-content li,
.article-content td,
.article-content th {
  color: #4f4a44;
  font-size: 0.96rem;
  line-height: 1.78;
}

.article-answer {
  padding: 26px 28px;
  box-shadow: 0 12px 30px rgba(77, 59, 24, 0.06);
}

.article-highlights ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-highlights li {
  position: relative;
  padding: 16px 16px 16px 34px;
  border: 1px solid rgba(218, 165, 32, 0.25);
  background: #fff;
  line-height: 1.5;
}

.article-highlights li::before {
  position: absolute;
  top: 22px;
  left: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #daa520;
  content: "";
}

.article-steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--blog-line);
}

.article-steps li:last-child {
  border-bottom: 1px solid var(--blog-line);
}

.article-steps li span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(218, 165, 32, 0.55);
  border-radius: 50%;
  color: #92700f;
  font-size: 0.68rem;
  font-weight: 800;
}

.article-steps li p {
  padding-top: 4px;
}

.article-table-scroll {
  overflow-x: auto;
  border: 1px solid var(--blog-line);
}

.article-comparison table {
  width: 100%;
  min-width: 610px;
  border-collapse: collapse;
  background: #fff;
}

.article-comparison th,
.article-comparison td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--blog-line);
  text-align: left;
  vertical-align: top;
}

.article-comparison thead th {
  background: #f8f3ea;
  color: #83630d;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-comparison tbody th {
  color: #27231f;
  font-weight: 800;
}

.article-faq details {
  border-top: 1px solid var(--blog-line);
}

.article-faq details:last-child {
  border-bottom: 1px solid var(--blog-line);
}

.article-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  cursor: pointer;
  color: #27231f;
  font-weight: 750;
  list-style: none;
}

.article-faq summary::-webkit-details-marker {
  display: none;
}

.article-faq summary span {
  color: #b98710;
  font-size: 1.15rem;
}

.article-faq details[open] summary span {
  transform: rotate(45deg);
}

.article-faq details p {
  padding: 0 34px 20px 0;
}

.article-local {
  margin-top: 18px;
  padding-inline: 26px;
  border: 1px solid rgba(218, 165, 32, 0.3);
  background: #fffdf8;
}

.article-related {
  max-width: 980px;
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    width: min(760px, calc(100% - 40px));
  }

  .article-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
  }

  .article-toc strong {
    grid-column: 1 / -1;
  }
}

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

  .blog-category {
    font-size: 0.66rem;
  }

  .article-hero {
    width: calc(100% - 32px);
    padding-block: 42px 34px;
  }

  .article-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.15rem);
  }

  .article-meta {
    display: grid;
    gap: 6px;
  }

  .article-meta span + span::before {
    display: none;
  }

  .article-cover {
    width: calc(100% - 32px);
    height: 220px;
  }

  .article-layout {
    width: calc(100% - 32px);
    padding-block: 44px 64px;
  }

  .article-toc {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .article-content {
    width: 100%;
    padding: 0;
  }

  .article-highlights ul {
    grid-template-columns: 1fr;
  }

  .article-content section {
    padding-block: 28px;
  }

  .article-related {
    width: calc(100% - 32px);
  }
}
