/* =========================
   BLOG VENDMASTER
========================= */

.blog-page {
  --blog-text: #0f172a;
  --blog-muted: #475569;
  --blog-muted-soft: #64748b;
  --blog-line: rgba(148, 163, 184, 0.18);
  --blog-blue: #2563eb;
  --blog-blue-soft: #60a5fa;
  --blog-green: #22c55e;
  --blog-green-dark: #16a34a;
  --blog-dark: #071225;
  --blog-panel: linear-gradient(180deg, #0f254c 0%, #163a73 100%);
  --blog-card-bg: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(247, 250, 255, 0.98) 100%
  );
  --blog-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
  --blog-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --blog-radius-lg: 26px;
  --blog-radius-md: 22px;
  --blog-radius-sm: 16px;

  background:
    radial-gradient(
      circle at 14% 8%,
      rgba(59, 130, 246, 0.12),
      transparent 26%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(34, 197, 94, 0.08),
      transparent 22%
    ),
    linear-gradient(180deg, #eef5fe 0%, #e7f0fb 100%);
  color: var(--blog-text);
}

.blog-page {
  overflow-x: hidden;
}

.blog-main {
  overflow-x: clip;
  margin: 0;
  padding: 0;
  background: transparent;
}

.blog-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* =========================
   HERO / BLOG HOME
========================= */

.blog-hero {
  position: relative;
  min-height: calc(100vh - var(--blog-public-header-height, 76px));
  min-height: calc(100dvh - var(--blog-public-header-height, 76px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(3rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 8% 78%, rgba(34, 197, 94, 0.2), transparent 28%),
    radial-gradient(
      circle at 82% 18%,
      rgba(37, 99, 235, 0.35),
      transparent 36%
    ),
    linear-gradient(135deg, #06111f 0%, #0b1b33 48%, #123f82 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-hero::before,
.blog-article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.blog-hero::before {
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 84%);
}

.blog-article-hero::before {
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 84%);
}

.blog-hero::after,
.blog-article-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
}

.blog-hero > .blog-container,
.blog-article-hero > .blog-container {
  position: relative;
  z-index: 1;
}

.blog-home-hero {
  padding-top: 86px;
  padding-bottom: 62px;
}

.blog-hero-compact {
  padding-bottom: 56px;
}

.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 0 0 30px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.blog-breadcrumb a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.blog-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 52px;
  align-items: center;
}

.blog-hero-content {
  max-width: 830px;
}

.blog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blog-green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.blog-hero-content h1 {
  margin: 0;
  max-width: 880px;
  color: #f8fafc;
  font-size: clamp(2.35rem, 4.9vw, 4.6rem);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.058em;
}

.blog-hero-content p {
  margin: 24px 0 0;
  max-width: 760px;
  color: #dbe7f7;
  opacity: 0.96;
  font-size: clamp(1.04rem, 1.7vw, 1.18rem);
  line-height: 1.72;
}

.blog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.blog-primary-link,
.blog-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.35rem;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 520ms ease,
    background-color 650ms ease,
    border-color 650ms ease,
    color 520ms ease,
    box-shadow 650ms ease,
    opacity 650ms ease;
}

.blog-primary-link {
  border: 0;
  background: linear-gradient(
    135deg,
    var(--blog-blue) 0%,
    var(--blog-green) 100%
  );
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.blog-primary-link:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1d4ed8 0%, #15803d 100%);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.32);
}

.blog-secondary-link {
  border: 1px solid rgba(203, 213, 225, 0.48);
  background: rgba(255, 255, 255, 0.045);
  color: #f8fafc;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 26px rgba(15, 23, 42, 0.12);
}

.blog-secondary-link:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.78);
  background: rgba(147, 197, 253, 0.13);
  color: #f8fafc;
  box-shadow:
    0 16px 30px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.blog-hero-panel {
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.34);
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 5%, rgba(37, 99, 235, 0.22), transparent 32%),
    linear-gradient(
      180deg,
      rgba(20, 47, 91, 0.94) 0%,
      rgba(17, 42, 82, 0.94) 100%
    );
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(18px);
}

.blog-hero-panel-header {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-hero-panel-label {
  color: #dbeafe;
  font-size: 0.86rem;
  font-weight: 700;
}

.blog-hero-panel-header strong {
  font-size: 1.08rem;
  font-weight: 950;
}

.blog-brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  text-shadow: 0 1px 10px rgba(2, 6, 23, 0.18);
}

.blog-hero-panel-header .blog-brand-primary {
  color: #93c5fd;
}

.blog-hero-panel-header .blog-brand-accent {
  color: #4ade80;
}

.blog-hero-topic-list {
  display: grid;
  gap: 0;
}

.blog-hero-topic {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 15px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-hero-topic:last-child {
  border-bottom: 0;
}

.blog-hero-topic > span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.16);
  color: #93c5fd;
  font-size: 1.0rem;
  font-weight: 950;
}

.blog-hero-topic h2 {
  margin: 0;
  color: #f8fafc;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.blog-hero-topic p {
  margin: 6px 0 0;
  color: #dbeafe;
  opacity: 0.86;
  font-size: 1.02rem;
  line-height: 1.55;
}

.blog-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.blog-home-category-list {
  padding-top: 28px;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-category-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(203, 213, 225, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.blog-category-list a:hover,
.blog-category-list a.is-active {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(37, 99, 235, 0.16);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.blog-category-list span {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #bbf7d0;
  font-size: 0.78rem;
  font-weight: 800;
}

/* =========================
   STRIP / CATEGORIAS EM DESTAQUE
========================= */

.blog-intro-strip {
  position: relative;
  z-index: 2;
  margin-top: -30px;
}

.blog-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.07),
      transparent 34%
    ),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.12);
}

.blog-intro-item {
  position: relative;
  min-height: 124px;
  padding: 26px 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  border-right: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.86) 0%,
    rgba(248, 251, 255, 0.86) 100%
  );
  color: inherit;
  text-decoration: none;
  transition:
    transform 320ms ease,
    background 320ms ease,
    box-shadow 320ms ease;
}

.blog-intro-item:last-child {
  border-right: 0;
}

.blog-intro-item:hover {
  transform: translateY(-2px);
  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.09),
      transparent 38%
    ),
    linear-gradient(180deg, #ffffff 0%, #f1f7ff 100%);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.blog-intro-item:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: -3px;
}

.blog-intro-item::before {
  content: '';
  width: 34px;
  height: 34px;
  margin-bottom: 4px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.12),
    rgba(34, 197, 94, 0.12)
  );
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--blog-blue);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: -0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.blog-intro-item:nth-child(1)::before {
  content: '01';
}

.blog-intro-item:nth-child(2)::before {
  content: '02';
}

.blog-intro-item:nth-child(3)::before {
  content: '03';
}

.blog-intro-item strong {
  display: block;
  margin: 0;
  color: var(--blog-text);
  font-size: clamp(1.02rem, 1.2vw, 1.16rem);
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.blog-intro-item span {
  display: block;
  max-width: 34ch;
  color: var(--blog-muted-soft);
  font-size: 0.96rem;
  line-height: 1.58;
}

.blog-intro-item:hover strong {
  color: #1d4ed8;
}

/* =========================
   SEÇÕES GERAIS
========================= */

.blog-section {
  padding: 84px 0;
}

.blog-section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 420px);
  gap: 20px 32px;
  align-items: end;
  margin-bottom: 36px;
}

.blog-section-header h2 {
  margin: 0;
  color: var(--blog-text);
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.blog-section-header p {
  margin: 0;
  color: var(--blog-muted);
  font-size: 1rem;
  line-height: 1.72;
}

/* =========================
   ARTIGOS / PUBLICAÇÕES
========================= */

.blog-articles-section {
  padding-top: 84px;
  padding-bottom: 76px;
}

.blog-articles-header {
  max-width: 820px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.blog-articles-header .blog-eyebrow {
  margin-bottom: 0.9rem;
}

.blog-articles-header h2 {
  max-width: 760px;
  margin: 0;
  color: var(--blog-text);
  font-size: clamp(2.25rem, 4vw, 3.7rem);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-align: center;
  text-wrap: balance;
}

.blog-articles-header p {
  max-width: 700px;
  margin: 1.05rem auto 0;
  color: var(--blog-muted);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.75;
  text-align: center;
}

/* =========================
   GRID E CARDS
========================= */

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

.blog-articles-grid {
  align-items: stretch;
}

.blog-articles-grid .blog-card:only-child {
  width: min(430px, 100%);
  justify-self: center;
}

.blog-articles-grid .blog-card:first-child:nth-last-child(2) {
  justify-self: end;
}

.blog-articles-grid .blog-card:nth-child(2):last-child {
  justify-self: start;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--blog-line);
  border-radius: var(--blog-radius-lg);
  background: var(--blog-card-bg);
  box-shadow: var(--blog-shadow-soft);
  transition:
    transform 420ms ease,
    box-shadow 420ms ease,
    border-color 420ms ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(96, 165, 250, 0.24);
  box-shadow: 0 28px 58px rgba(15, 23, 42, 0.12);
}

.blog-card-image {
  display: block;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #0f2744;
}

.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.05);
}

.blog-card-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    radial-gradient(
      circle at top left,
      rgba(37, 99, 235, 0.22),
      transparent 34%
    ),
    linear-gradient(135deg, #071527, #123f65);
}

.blog-card-image-placeholder span {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.blog-card-body {
  padding: 24px 24px 22px;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--blog-muted-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.blog-card-meta a {
  color: var(--blog-blue);
  text-decoration: none;
}

.blog-card-meta a:hover {
  text-decoration: underline;
}

.blog-card h3 {
  margin: 0;
  color: var(--blog-text);
  font-size: 1.24rem;
  line-height: 1.24;
  font-weight: 900;
  letter-spacing: -0.024em;
}

.blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: #1d4ed8;
}

.blog-card p {
  margin: 14px 0 20px;
  color: var(--blog-muted);
  font-size: 0.97rem;
  line-height: 1.68;
}

.blog-read-more {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--blog-blue);
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
}

.blog-read-more:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* =========================
   CARROSSEL DE ARTIGOS / ESTEIRA INFINITA
========================= */

.blog-articles-carousel {
  --blog-carousel-gap: 26px;
  --blog-carousel-half-gap: 13px;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.blog-articles-carousel-viewport {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 4px 0 18px;
}

.blog-articles-carousel-track {
  display: flex;
  width: max-content;
  gap: var(--blog-carousel-gap);
  align-items: stretch;
  will-change: transform;
}

.blog-articles-carousel.is-looping .blog-articles-carousel-track {
  animation: blogArticlesCarousel 52s linear infinite;
}

.blog-articles-carousel:hover .blog-articles-carousel-track,
.blog-articles-carousel:focus-within .blog-articles-carousel-track {
  animation-play-state: paused;
}

.blog-carousel-card {
  flex: 0 0 calc((min(1180px, calc(100vw - 48px)) - 52px) / 3);
  width: calc((min(1180px, calc(100vw - 48px)) - 52px) / 3);
  min-width: 0;
  height: auto;
}

.blog-articles-carousel.is-static .blog-articles-carousel-track {
  width: 100%;
  justify-content: center;
}

.blog-articles-carousel.is-static .blog-carousel-card {
  flex: 0 1 min(430px, 100%);
  width: min(430px, 100%);
}

@keyframes blogArticlesCarousel {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-50% - var(--blog-carousel-half-gap)), 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-articles-carousel.is-looping .blog-articles-carousel-track {
    animation: none;
  }
}

/* =========================
   EMPTY STATE
========================= */

.blog-empty {
  padding: 42px 32px;
  border: 1px solid var(--blog-line);
  border-radius: var(--blog-radius-lg);
  background: var(--blog-card-bg);
  text-align: center;
  box-shadow: var(--blog-shadow-soft);
}

.blog-empty-premium {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 30px;
  text-align: left;
}

.blog-empty-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    var(--blog-blue) 0%,
    var(--blog-green) 100%
  );
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -0.03em;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
}

.blog-empty h3 {
  margin: 0 0 10px;
  color: var(--blog-text);
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.blog-empty p {
  margin: 0;
  max-width: 680px;
  color: var(--blog-muted-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.blog-empty-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    var(--blog-blue) 0%,
    var(--blog-green) 100%
  );
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
}

.blog-empty-link:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #1d4ed8 0%, #15803d 100%);
  color: #ffffff;
}

/* =========================
   TOPIC SECTION / PILARES
========================= */

.blog-topic-section {
  padding: 18px 0 76px;
}

.blog-topic-header {
  max-width: 820px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
}

.blog-topic-header .blog-eyebrow {
  margin-bottom: 0.9rem;
}

.blog-topic-header h2 {
  max-width: 760px;
  margin: 0;
  color: var(--blog-text);
  font-size: clamp(2.25rem, 4vw, 3.7rem);
  font-weight: 950;
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-align: center;
  text-wrap: balance;
}

.blog-topic-header p {
  max-width: 680px;
  margin: 1.05rem auto 0;
  color: var(--blog-muted);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.75;
  text-align: center;
}

.blog-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 0;
}

.blog-topic-card {
  min-height: 250px;
  padding: 1.7rem;
  border: 1px solid var(--blog-line);
  border-radius: var(--blog-radius-lg);
  background: var(--blog-card-bg);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
  transition:
    transform 420ms ease,
    box-shadow 420ms ease,
    border-color 420ms ease;
}

.blog-topic-card:hover {
  transform: translateY(-8px);
  border-color: rgba(96, 165, 250, 0.24);
  box-shadow: 0 28px 58px rgba(15, 23, 42, 0.12);
}

.blog-topic-card span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blog-blue);
  font-size: 0.82rem;
  font-weight: 950;
}

.blog-topic-card h3 {
  margin: 0;
  color: var(--blog-text);
  font-size: 1.12rem;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.blog-topic-card p {
  margin: 12px 0 0;
  color: var(--blog-muted-soft);
  font-size: 0.95rem;
  line-height: 1.68;
}

/* =========================
   CTA
========================= */

.blog-cta-section {
  padding: 0 0 76px;
}

.blog-cta-card {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 38px 40px;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at top right,
      rgba(34, 197, 94, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, #071527, #10375a);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.blog-cta-card-premium {
  position: relative;
  overflow: hidden;
}

.blog-cta-card-premium::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  filter: blur(4px);
}

.blog-cta-card > * {
  position: relative;
  z-index: 1;
}

.blog-cta-card h2 {
  margin: 0;
  max-width: 740px;
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.blog-cta-card p {
  margin: 14px 0 0;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.72;
}

.blog-cta-button,
.blog-sidebar-cta a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.25rem;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    var(--blog-green) 0%,
    var(--blog-green-dark) 100%
  );
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 16px 30px rgba(34, 197, 94, 0.22);
  transition:
    transform 420ms ease,
    box-shadow 420ms ease,
    background 420ms ease;
}

.blog-cta-button:hover,
.blog-sidebar-cta a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  box-shadow: 0 20px 38px rgba(34, 197, 94, 0.28);
}

/* =========================
   CATEGORIA
========================= */

.blog-hero-compact .blog-hero-content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.blog-hero-compact .blog-hero-content h1 {
  margin-inline: auto;
}

.blog-hero-compact .blog-hero-content p {
  margin-inline: auto;
}

.blog-category-hero {
  padding-bottom: 58px;
}

.blog-category-hero .blog-breadcrumb {
  margin-bottom: 34px;
}

.blog-category-hero .blog-hero-content {
  max-width: 860px;
}

.blog-category-hero .blog-hero-content h1 {
  max-width: 780px;
}

.blog-category-hero .blog-hero-content p {
  max-width: 690px;
}

.blog-category-hero-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(760px, 100%);
  margin: 32px auto 0;
  padding: 10px;
  border: 1px solid rgba(147, 197, 253, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 42px rgba(2, 6, 23, 0.12);
  backdrop-filter: blur(12px);
}

.blog-category-current-pill,
.blog-category-back-link {
  display: inline-flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
}

.blog-category-current-pill {
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px 10px 18px;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.38);
}

.blog-category-current-pill span {
  overflow: hidden;
  font-size: 0.95rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-category-current-pill strong {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.18);
  color: #bbf7d0;
  font-size: 0.8rem;
  font-weight: 950;
  white-space: nowrap;
}

.blog-category-back-link {
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(203, 213, 225, 0.3);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  font-weight: 950;
  white-space: nowrap;
  transition:
    transform 320ms ease,
    background-color 320ms ease,
    border-color 320ms ease;
}

.blog-category-back-link:hover {
  transform: translateY(-1px);
  border-color: rgba(147, 197, 253, 0.58);
  background: rgba(147, 197, 253, 0.12);
  color: #ffffff;
}

.blog-category-posts-section {
  padding-top: 78px;
}

.blog-category-posts-header {
  margin-bottom: 34px;
}

.blog-category-posts-header h2 {
  max-width: 780px;
}

.blog-category-posts-header p {
  max-width: 680px;
}

.blog-category-grid.blog-articles-grid {
  align-items: stretch;
}

.blog-category-grid.blog-articles-grid .blog-card:only-child {
  width: min(520px, 100%);
}

/* =========================
   ARTIGO
========================= */

.blog-article-page {
  background:
    radial-gradient(circle at 9% 6%, rgba(37, 99, 235, 0.16), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(34, 197, 94, 0.1), transparent 24%),
    linear-gradient(180deg, #edf5ff 0%, #e7f0fb 48%, #f7fbff 100%);
}

.blog-article-hero {
  box-sizing: border-box;
  position: relative;
  width: min(100% - 32px, 1854px);
  min-height: calc(100vh - var(--blog-public-header-height, 76px) - 40px);
  min-height: calc(100dvh - var(--blog-public-header-height, 76px) - 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 18px auto 0;
  padding: 72px 24px 58px;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.3), transparent 31%),
    radial-gradient(circle at 84% 28%, rgba(34, 197, 94, 0.16), transparent 24%),
    linear-gradient(135deg, #06111f 0%, #09213f 48%, #123f82 100%);
  color: #ffffff;
  box-shadow: 0 34px 88px rgba(15, 23, 42, 0.24);
}

.blog-article-hero::before {
  opacity: 0.62;
}

.blog-article-hero .blog-breadcrumb {
  margin-bottom: 28px;
}

.blog-article-heading {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.blog-article-heading .blog-eyebrow {
  margin-bottom: 16px;
}

.blog-article-heading h1 {
  max-width: 980px;
  margin: 0 auto;
  color: #f8fafc;
  font-size: clamp(2.7rem, 5.1vw, 5.35rem);
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: -0.068em;
  text-wrap: balance;
}

.blog-article-heading p {
  max-width: 820px;
  margin: 22px auto 0;
  color: #dbeafe;
  font-size: clamp(1.04rem, 1.45vw, 1.2rem);
  line-height: 1.72;
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.92rem;
  font-weight: 800;
}

.blog-article-meta-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(191, 219, 254, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(241, 245, 249, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.blog-article-author-name {
  color: #ffffff;
  font-weight: 950;
}

.blog-article-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 30px;
}

.blog-article-featured-cover {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  margin: 36px auto 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.blog-article-featured-cover::before {
  content: none;
}

.blog-article-featured-cover img {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  box-shadow: 0 22px 52px rgba(2, 6, 23, 0.28);
}

.blog-article-featured-placeholder {
  display: grid;
  min-height: 420px;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.32), transparent 34%),
    linear-gradient(135deg, #071527, #123f65);
}

.blog-article-featured-placeholder > span {
  color: #ffffff;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 950;
  letter-spacing: -0.07em;
}

.blog-article-featured-caption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  max-width: calc(100% - 40px);
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.5);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(14px);
}

.blog-article-featured-caption {
  display: none;
}

.blog-article-featured-caption span {
  color: #bfdbfe;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.blog-article-featured-caption strong {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding-top: 58px;
  padding-bottom: 84px;
}

.blog-article-sidebar {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 18px;
}

.blog-sidebar-card {
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.055), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 22px 52px rgba(15, 23, 42, 0.09);
}

.blog-sidebar-card h2,
.blog-sidebar-card h3 {
  margin: 0 0 16px;
  color: var(--blog-text);
  font-size: 1.08rem;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.blog-sidebar-categories {
  display: grid;
  gap: 10px;
}

.blog-sidebar-categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 15px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--blog-text);
  font-size: 0.92rem;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 260ms ease,
    background-color 260ms ease,
    border-color 260ms ease,
    color 260ms ease;
}

.blog-sidebar-categories a:hover,
.blog-sidebar-categories a.is-active {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, 0.16);
  background: rgba(37, 99, 235, 0.12);
  color: var(--blog-blue);
}

.blog-sidebar-categories span {
  color: var(--blog-muted-soft);
  font-size: 0.82rem;
  font-weight: 850;
}

.blog-sidebar-share p {
  margin: 0 0 18px;
  color: var(--blog-muted);
  font-size: 0.95rem;
  line-height: 1.62;
}

.blog-sidebar-share-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.blog-sidebar-share-links a,
.blog-sidebar-share-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: 15px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--blog-blue);
  font: inherit;
  font-size: 1.12rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 260ms ease,
    background-color 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    color 260ms ease;
}

.blog-sidebar-share-links a:hover,
.blog-sidebar-share-copy:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.26);
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
}

.blog-sidebar-share-links a:focus-visible,
.blog-sidebar-share-copy:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.24);
  outline-offset: 3px;
}

.blog-sidebar-share-feedback {
  margin: 12px 0 0;
  color: var(--blog-green-dark);
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.45;
}

.blog-sidebar-cta {
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.18), transparent 32%),
    linear-gradient(135deg, #071527, #10375a);
  color: #ffffff;
}

.blog-sidebar-cta h2,
.blog-sidebar-cta h3 {
  color: #ffffff;
}

.blog-sidebar-cta p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.blog-article-content {
  min-width: 0;
  padding: 46px 54px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 253, 255, 0.96) 100%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.1);
  color: #1e293b;
  font-size: 1.08rem;
  line-height: 1.9;
  overflow-wrap: break-word;
  word-break: normal;
}

.blog-article-mobile-cta {
  display: none;
}

.blog-article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  color: var(--blog-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.blog-article-byline strong {
  color: var(--blog-text);
  font-weight: 950;
}

.blog-article-reading-card {
  margin: 0 0 2rem;
  padding: 24px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.blog-article-reading-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blog-blue);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-article-reading-card strong {
  display: block;
  color: var(--blog-text);
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1.24;
  letter-spacing: -0.03em;
}

.blog-article-reading-card p {
  margin: 10px 0 0;
  color: var(--blog-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.blog-article-content h2 {
  position: relative;
  margin: 2.4rem 0 1rem;
  padding-left: 18px;
  color: var(--blog-text);
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.blog-article-content h2::before {
  content: '';
  position: absolute;
  top: 0.18em;
  bottom: 0.14em;
  left: 0;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blog-blue) 0%, var(--blog-green) 100%);
}

.blog-article-content h2:first-child {
  margin-top: 0;
}

.blog-article-content h3 {
  margin: 1.9rem 0 0.8rem;
  color: var(--blog-text);
  font-size: clamp(1.28rem, 2vw, 1.6rem);
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.blog-article-content p {
  margin: 0 0 1.25rem;
  max-width: 100%;
  overflow-wrap: break-word;
}

.blog-article-content ul,
.blog-article-content ol {
  margin: 0 0 1.45rem;
  padding-left: 1.35rem;
}

.blog-article-content li + li {
  margin-top: 0.58rem;
}

.blog-article-content a {
  color: var(--blog-blue);
  font-weight: 850;
}

.blog-article-commercial-link {
  margin-top: 34px;
  padding: 24px;
  border-radius: var(--blog-radius-md);
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.14), transparent 28%),
    linear-gradient(135deg, #0b1b33 0%, #123f82 100%);
  color: #f8fafc;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

.blog-article-commercial-link span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #bbf7d0;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-article-commercial-link p {
  margin: 0;
  color: rgba(226, 232, 240, 0.92);
  font-size: 1rem;
  line-height: 1.65;
}

.blog-article-content .blog-article-commercial-link a {
  display: inline-flex;
  margin-top: 16px;
  color: #ffffff;
  font-weight: 950;
  text-decoration: none;
}

.blog-article-content .blog-article-commercial-link a:hover {
  color: #bbf7d0;
}

.blog-article-content blockquote {
  margin: 1.9rem 0;
  padding: 1.35rem 1.45rem;
  border-left: 5px solid var(--blog-green);
  border-radius: 20px;
  background: #f1f7ff;
  color: #334155;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.06);
}

.blog-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 22px;
}

.blog-article-content table {
  width: 100%;
  display: block;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-collapse: collapse;
  border-radius: 18px;
}

.blog-article-content th,
.blog-article-content td {
  padding: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  text-align: left;
}

.blog-article-content th {
  background: #eef6ff;
  color: var(--blog-text);
  font-weight: 950;
}

/* CTA inline dentro dos artigos */
.blog-cta-inline {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin: 2.4rem 0;
  padding: 32px 34px;
  border-radius: 24px;
  background:
    radial-gradient(
      circle at top right,
      rgba(34, 197, 94, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, #071527, #10375a);
  color: #ffffff;
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.16);
}

.blog-cta-inline-text {
  max-width: 620px;
}

.blog-cta-inline strong {
  display: inline;
  color: #ffffff;
  font-weight: 950;
  letter-spacing: -0.01em;
}

.blog-cta-inline span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.72;
}

.blog-article-content .blog-cta-inline-btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.25rem;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    var(--blog-green) 0%,
    var(--blog-green-dark) 100%
  );
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 16px 30px rgba(34, 197, 94, 0.22);
  transition:
    transform 420ms ease,
    box-shadow 420ms ease,
    background 420ms ease;
}

.blog-article-content .blog-cta-inline-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 20px 38px rgba(34, 197, 94, 0.28);
}

.blog-related-section {
  padding-top: 0;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 1080px) {
  .blog-home-hero-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero-panel {
    max-width: 720px;
  }

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

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

  .blog-section-header p {
    max-width: 680px;
  }

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

  .blog-empty-premium {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .blog-empty-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .blog-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-article-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .blog-article-sidebar {
    position: static;
    order: 2;
  }

  .blog-sidebar-share-links {
    grid-template-columns: repeat(4, minmax(44px, 1fr));
  }

  .blog-article-content {
    order: 1;
  }
}

@media (max-width: 768px) {
  .blog-container {
    width: min(100% - 28px, 1180px);
  }

  .blog-hero {
    min-height: calc(100vh - var(--blog-public-header-height, 76px));
    min-height: calc(100dvh - var(--blog-public-header-height, 76px));
    padding: 2.5rem 0;
  }

  .blog-home-hero {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }

  .blog-hero-compact {
    padding-bottom: 2rem;
  }

  .blog-category-hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .blog-category-hero .blog-breadcrumb {
    margin-bottom: 28px;
  }

  .blog-category-hero .blog-hero-content {
    text-align: left;
  }

  .blog-category-hero .blog-hero-content h1 {
    max-width: 13ch;
    margin-inline: 0;
    font-size: clamp(2rem, 8.2vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
  }

  .blog-category-hero .blog-hero-content p {
    max-width: 34ch;
    margin-inline: 0;
    font-size: 1.04rem;
    line-height: 1.62;
  }

  .blog-category-hero-summary {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 26px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .blog-category-current-pill,
  .blog-category-back-link {
    width: 100%;
    min-height: 48px;
    border-radius: 18px;
  }

  .blog-category-current-pill {
    padding: 10px 12px 10px 16px;
  }

  .blog-category-current-pill strong {
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .blog-category-back-link {
    justify-content: center;
    padding: 10px 16px;
  }

  .blog-breadcrumb {
    justify-content: flex-start;
    margin-bottom: 22px;
    font-size: 0.86rem;
  }

  .blog-home-hero-grid {
    gap: 24px;
  }

  .blog-hero-content .blog-eyebrow {
    margin-bottom: 12px;
  }

  .blog-hero-content h1 {
    max-width: 18ch;
    font-size: clamp(1.9rem, 7.4vw, 2.35rem);
    line-height: 1.1;
    letter-spacing: -0.052em;
  }

  .blog-hero-content p {
    max-width: 35ch;
    margin-top: 18px;
    font-size: 1.04rem;
    line-height: 1.6;
  }

  .blog-hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .blog-primary-link,
  .blog-secondary-link {
    width: 100%;
    min-height: 52px;
  }

  .blog-hero-panel {
    border-radius: 22px;
  }

  .blog-hero-panel-header {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 16px 18px;
  }

  .blog-hero-panel-label {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .blog-hero-panel-header strong {
    font-size: 1rem;
  }

  .blog-hero-topic {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 18px;
  }

  .blog-hero-topic > span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 1.0rem;
  }

  .blog-hero-topic h2 {
    font-size: 0.98rem;
    line-height: 1.25;
  }

  .blog-hero-topic p {
    display: none;
  }

  .blog-home-category-list {
    padding-top: 24px;
    margin-top: 30px;
  }

  .blog-category-list {
    gap: 10px;
  }

  .blog-category-list a {
    width: 100%;
    justify-content: space-between;
    min-height: 46px;
    padding: 10px 16px;
  }

  .blog-intro-strip {
    margin-top: -20px;
  }

  .blog-intro-grid {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .blog-intro-item {
    min-height: auto;
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  }

  .blog-intro-item:last-child {
    border-bottom: 0;
  }

  .blog-intro-item span {
    max-width: 100%;
  }

  .blog-section {
    padding: 58px 0;
  }

  .blog-articles-section {
    padding-top: 60px;
    padding-bottom: 56px;
  }

  .blog-category-posts-section {
    padding-top: 54px;
    padding-bottom: 46px;
  }

  .blog-articles-header {
    max-width: 100%;
    margin-bottom: 1.75rem;
    padding-inline: 0.25rem;
  }

  .blog-articles-header h2 {
    max-width: 11ch;
    font-size: clamp(2rem, 8.8vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
  }

  .blog-articles-header p {
    max-width: 32ch;
    font-size: 1.04rem;
    line-height: 1.62;
  }

  .blog-category-posts-header {
    margin-bottom: 1.6rem;
  }

  .blog-category-posts-header h2 {
    max-width: 14ch;
  }

  .blog-category-posts-header p {
    max-width: 31ch;
  }

  .blog-articles-carousel {
    --blog-carousel-gap: 18px;
    --blog-carousel-half-gap: 9px;
    overflow: hidden;
  }

  .blog-articles-carousel-viewport {
    padding-bottom: 12px;
  }

  .blog-articles-carousel-track {
    gap: var(--blog-carousel-gap);
  }

  .blog-carousel-card {
    flex-basis: min(100%, calc(100vw - 28px));
    width: min(100%, calc(100vw - 28px));
  }

  .blog-articles-carousel.is-looping .blog-articles-carousel-track {
    animation-duration:48s;
  }

  .blog-card:hover,
  .blog-carousel-card:hover {
    transform: none;
  }

  .blog-card-body {
    padding: 22px 20px 20px;
  }

  .blog-card h3 {
    font-size: 1.12rem;
    line-height: 1.26;
  }

  .blog-card p {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .blog-topic-section {
    padding: 3.5rem 0 48px;
  }

  .blog-topic-header {
    max-width: 100%;
    margin-bottom: 1.75rem;
    padding-inline: 0.25rem;
  }

  .blog-topic-header h2 {
    max-width: 13ch;
    font-size: clamp(2rem, 8.8vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.055em;
  }

  .blog-topic-header p {
    max-width: 32ch;
    font-size: 1.04rem;
    line-height: 1.62;
  }

  .blog-topic-grid {
    gap: 20px;
  }

  .blog-topic-card {
    min-height: auto;
    padding: 1.45rem;
    border-radius: 22px;
  }

  .blog-topic-card p {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .blog-cta-section {
    padding: 0 0 28px;
    margin: 0;
  }

  .blog-cta-card {
    gap: 22px;
    padding: 30px 26px;
    border-radius: 24px;
  }

  .blog-cta-card h2 {
    font-size: clamp(1.9rem, 8.5vw, 2.35rem);
    line-height: 1.1;
  }

  .blog-cta-card p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .blog-cta-button,
  .blog-sidebar-cta a {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .blog-article-hero {
    width: min(100% - 24px, 1854px);
    margin-top: 14px;
    padding: 42px 18px 30px;
    border-radius: 28px;
  }

  .blog-article-hero > .blog-article-container {
    width: 100%;
  }

  .blog-article-hero .blog-breadcrumb {
    margin-bottom: 24px;
  }

  .blog-article-heading {
    max-width: 100%;
  }

  .blog-article-heading .blog-eyebrow {
    margin-bottom: 12px;
  }

  .blog-article-heading h1 {
    max-width: 13ch;
    font-size: clamp(2rem, 8.3vw, 2.72rem);
    line-height: 1.06;
    letter-spacing: -0.052em;
  }

  .blog-article-heading p {
    max-width: 34ch;
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.62;
  }

  .blog-article-meta {
    gap: 8px;
    margin-top: 18px;
  }

  .blog-article-meta-item {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 0.84rem;
  }

  .blog-article-hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .blog-article-featured-cover {
    width: 100%;
    max-width: 720px;
    margin-top: 30px;
    margin-inline: auto;
  }

  .blog-article-featured-cover img {
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    box-shadow: 0 20px 46px rgba(2, 6, 23, 0.3);
  }

  .blog-article-featured-caption {
    display: none;
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    padding: 8px 10px;
  }

  .blog-article-featured-caption span {
    font-size: 0.68rem;
  }

  .blog-article-featured-caption strong {
    font-size: 0.82rem;
  }

  .blog-article-layout {
    gap: 28px;
    padding-top: 34px;
    padding-bottom: 52px;
  }

  .blog-article-sidebar {
    gap: 16px;
  }

  .blog-sidebar-share {
    order: 1;
  }

  .blog-sidebar-categories-card {
    order: 2;
  }

  .blog-sidebar-cta {
    order: 3;
  }

  .blog-article-content {
    padding: 28px 22px;
    border-radius: 24px;
    max-width: 100%;
    overflow-x: visible;
  }

  .blog-article-byline {
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }

  .blog-article-reading-card {
    margin-bottom: 1.7rem;
    padding: 20px;
    border-radius: 20px;
  }

  .blog-article-reading-card strong {
    font-size: 1.1rem;
  }

  .blog-article-reading-card p {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .blog-cta-inline {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
    border-radius: 24px;
  }

  .blog-cta-inline-text {
    max-width: 100%;
  }

  .blog-article-content .blog-cta-inline-btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .blog-container {
    width: min(100% - 24px, 1180px);
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-articles-grid .blog-card:only-child,
  .blog-articles-grid .blog-card:first-child:nth-last-child(2),
  .blog-articles-grid .blog-card:nth-child(2):last-child {
    width: 100%;
    justify-self: stretch;
  }

  .blog-carousel-card {
    flex-basis: calc(100vw - 24px);
    width: calc(100vw - 24px);
  }

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

  .blog-hero-content h1,
  .blog-article-heading h1 {
    letter-spacing: -0.045em;
  }

  .blog-hero-content p,
  .blog-article-heading p {
    font-size: 1rem;
  }

  .blog-card {
    border-radius: 22px;
  }

  .blog-card-image {
    aspect-ratio: 16 / 8.7;
  }

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

  .blog-card-meta {
    margin-bottom: 0.62rem;
  }

  .blog-card h3 {
    font-size: 1.08rem;
    line-height: 1.22;
  }

  .blog-card p {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 0.55rem;
    font-size: 0.96rem;
    line-height: 1.48;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .blog-read-more {
    min-height: 42px;
    margin-top: 0.75rem;
  }

  .blog-empty {
    padding: 34px 22px;
    border-radius: 20px;
  }

  .blog-empty-premium {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .blog-empty-link {
    width: 100%;
  }

  .blog-article-hero {
    box-sizing: border-box;
    width: min(100% - 22px, 680px);
    padding: 38px 14px 28px;
    border-radius: 26px;
  }

  .blog-article-hero > .blog-article-container {
    width: 100%;
    max-width: none;
  }

  .blog-article-heading h1 {
    max-width: 12.5ch;
    font-size: clamp(1.92rem, 8vw, 2.42rem);
  }

  .blog-article-heading p {
    max-width: 31ch;
  }

  .blog-article-featured-cover {
    width: calc(100% + 28px);
    max-width: none;
    margin-top: 28px;
    margin-right: -14px;
    margin-left: -14px;
  }

  .blog-article-featured-cover img {
    width: 100%;
    max-width: none;
    border-radius: 18px;
  }

  .blog-article-content {
    font-size: 1.03rem;
    line-height: 1.78;
    padding: 26px 18px;
  }

  .blog-article-mobile-cta {
    display: grid;
    gap: 0.58rem;
    margin: 0 0 1.45rem;
    padding: 1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff 0%, #ecfdf5 100%);
    border: 1px solid rgba(37, 99, 235, 0.18);
  }

  .blog-article-mobile-cta span {
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
  }

  .blog-article-mobile-cta strong {
    color: #0f172a;
    font-size: 1.04rem;
    line-height: 1.2;
  }

  .blog-article-mobile-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1rem;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    font-size: 0.96rem;
    font-weight: 950;
    text-decoration: none;
  }

  .blog-article-content h2 {
    margin-top: 2rem;
    padding-left: 15px;
    font-size: clamp(1.52rem, 7vw, 2rem);
    line-height: 1.12;
  }

  .blog-article-content h3 {
    font-size: clamp(1.2rem, 5.8vw, 1.42rem);
  }

  .blog-sidebar-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .blog-container {
    width: min(100% - 22px, 1180px);
  }

  .blog-carousel-card {
    flex-basis: calc(100vw - 22px);
    width: calc(100vw - 22px);
  }

  .blog-home-hero {
    padding-top: 42px;
    padding-bottom: 32px;
  }

  .blog-article-hero {
    box-sizing: border-box;
    width: min(100% - 18px, 680px);
    padding: 34px 12px 24px;
  }

  .blog-article-featured-cover {
    width: calc(100% + 24px);
    margin-right: -12px;
    margin-left: -12px;
  }

  .blog-hero-content h1 {
    font-size: clamp(1.84rem, 7.6vw, 2.24rem);
  }

  .blog-article-heading h1 {
    font-size: clamp(1.82rem, 7.8vw, 2.3rem);
  }

  .blog-article-meta {
    justify-content: center;
  }

  .blog-article-meta-item {
    font-size: 0.8rem;
  }

  .blog-article-content {
    padding: 24px 16px;
  }

  .blog-article-featured-caption {
    display: none;
    position: static;
    max-width: 100%;
    justify-content: space-between;
    border-radius: 0;
    background: rgba(2, 6, 23, 0.86);
  }

  .blog-articles-header h2,
  .blog-topic-header h2 {
    font-size: clamp(1.86rem, 8vw, 2.28rem);
  }
}

/* ==========================================================================
   AJUSTE MOBILE — LEITURA MAIS CONFORTÁVEL
   ========================================================================== */

@media (max-width: 575.98px) {
  .blog-page {
    font-size: 16px;
    line-height: 1.6;
  }

  .blog-hero-content h1 {
    font-size: clamp(1.86rem, 7.8vw, 2.34rem);
    line-height: 1.1;
  }

  .blog-article-heading h1 {
    font-size: clamp(1.82rem, 7.7vw, 2.34rem);
    line-height: 1.08;
  }

  .blog-section-header h2,
  .blog-cta-card h2 {
    font-size: clamp(1.8rem, 7.8vw, 2.2rem);
    line-height: 1.12;
  }

  .blog-hero-content p,
  .blog-article-heading p,
  .blog-section-header p,
  .blog-card-body p,
  .blog-topic-card p,
  .blog-sidebar-card p,
  .blog-cta-card p {
    font-size: 1.0625rem;
    line-height: 1.6;
  }

  .blog-card-body h3,
  .blog-topic-card h2,
  .blog-topic-card h3 {
    font-size: 1.16rem;
    line-height: 1.25;
  }

  .blog-article-content {
    font-size: 1.0625rem;
    line-height: 1.75;
  }

  .blog-breadcrumb,
  .blog-article-meta-item,
  .blog-hero-panel-label,
  .blog-hero-topic > span,
  .blog-article-featured-caption span,
  .blog-article-featured-caption strong {
    font-size: 0.94rem;
  }

  .blog-sidebar-share-links a,
  .blog-sidebar-share-copy {
    min-height: 48px;
    font-size: 1.18rem;
  }

  .blog-primary-link,
  .blog-secondary-link,
  .blog-cta-button,
  .blog-empty-link,
  .blog-read-more {
    min-height: 46px;
    font-size: 1.0625rem;
    line-height: 1.15;
  }
}

@media (max-width: 575.98px) {
  .blog-article-main .blog-article-content p {
    margin-bottom: 1.15rem;
  }

  .blog-article-main .blog-article-content ul,
  .blog-article-main .blog-article-content ol {
    padding-left: 1.15rem;
  }

  .blog-article-main .blog-sidebar-categories a {
    min-height: 46px;
  }

  .blog-article-main .blog-related-section {
    padding-top: 0;
  }
}

@media (max-width: 390px) {
  .blog-hero-content p,
  .blog-article-heading p,
  .blog-section-header p,
  .blog-card-body p,
  .blog-topic-card p,
  .blog-sidebar-card p,
  .blog-cta-card p,
  .blog-article-content {
    font-size: 1.0625rem;
  }
}