/* Blog Brado — leitura em fundo claro (override do header da landing) */
.blog-body {
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(8, 119, 109, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 0%, rgba(194, 138, 66, 0.08), transparent 50%),
    var(--paper);
  color: var(--ink);
}

/* Header sticky legível — a landing usa nav branco no hero escuro */
.blog-header.site-header,
.blog-header {
  position: sticky;
  top: 0;
  z-index: 40;
  left: auto;
  right: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 24px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(245, 246, 241, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(8, 24, 39, 0.04);
}

/* Logo branco da landing → tinta escura no blog */
.blog-header .brand img {
  width: 120px;
  height: 52px;
  filter: brightness(0) saturate(100%) invert(10%) sepia(22%) saturate(1400%) hue-rotate(175deg) brightness(0.95);
}

.blog-header .header-nav {
  color: var(--navy);
}

.blog-header .header-nav a {
  color: rgba(8, 24, 39, 0.72);
  font-weight: 700;
}

.blog-header .header-nav a:hover,
.blog-header .header-nav a[aria-current="page"] {
  color: var(--teal);
}

.blog-header .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 10px 28px rgba(8, 119, 109, 0.22);
}

.blog-header .header-cta:hover {
  background: #0a8a7e;
  color: var(--white);
}

.blog-main {
  padding: 36px 0 88px;
}

.blog-hero {
  margin-bottom: 8px;
}

.blog-hero h1 {
  font-family: var(--display-font);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: 0 0 16px;
  color: var(--navy);
}

.blog-hero .hero-lead {
  max-width: 62ch;
  color: var(--steel);
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.55;
}

.blog-breadcrumb {
  margin: 0 0 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--steel);
}

.blog-breadcrumb a {
  color: var(--teal);
}

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

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.blog-filter {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.blog-filter.is-active,
.blog-filter:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--navy);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 18px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  min-height: 280px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--navy-2);
}

.blog-card-cover-empty {
  background:
    linear-gradient(135deg, rgba(8, 119, 109, 0.45), rgba(8, 24, 39, 0.9)),
    var(--navy);
}

.blog-card .blog-card-city,
.blog-card h2,
.blog-card p,
.blog-card-meta {
  padding-inline: 18px;
}

.blog-card .blog-card-city {
  margin-top: 14px;
}

.blog-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(8, 24, 39, 0.08);
}

.blog-card h2 {
  font-family: var(--display-font);
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.blog-card p {
  margin: 0;
  color: var(--steel);
  font-size: 0.95rem;
  line-height: 1.45;
  flex: 1;
}

.blog-card-city {
  color: var(--teal);
}

.blog-card-meta {
  color: var(--muted);
}

.blog-card.is-hidden {
  display: none;
}

/* Artigo — coluna de leitura */
.blog-article {
  max-width: 720px;
}

.blog-cover {
  margin: 0 0 28px;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--navy);
  box-shadow: 0 18px 48px rgba(8, 24, 39, 0.12);
}

.blog-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.blog-kicker {
  color: var(--teal);
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.blog-article h1 {
  font-family: var(--display-font);
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  color: var(--navy);
  max-width: 22ch;
}

.blog-meta {
  color: var(--muted);
  margin: 0 0 28px;
}

.blog-news {
  border-left: 3px solid var(--gold);
  background: var(--paper-2);
  padding: 16px 18px;
  margin: 0 0 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.blog-news .mono {
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

.blog-news p {
  margin: 0;
  color: var(--navy);
  line-height: 1.55;
  font-size: 1.02rem;
}

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

.blog-content h2 {
  font-family: var(--display-font);
  font-size: 1.35rem;
  margin: 36px 0 12px;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.25;
}

.blog-content h3 {
  font-size: 1.08rem;
  margin: 28px 0 8px;
  color: var(--navy);
}

.blog-content p {
  color: var(--navy-2);
  margin: 0 0 16px;
}

.blog-content a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-content strong {
  color: var(--navy);
  font-weight: 700;
}

.blog-content ul,
.blog-content ol {
  margin: 0 0 20px;
  padding-left: 1.35rem;
  color: var(--navy-2);
}

.blog-content li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.blog-content li::marker {
  color: var(--teal);
}

.blog-content blockquote {
  margin: 24px 0;
  padding: 14px 18px;
  border-left: 3px solid var(--teal);
  background: var(--teal-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.blog-content blockquote p {
  margin: 0;
  color: var(--navy);
}

.blog-cta-box {
  margin-top: 48px;
  padding: clamp(24px, 4vw, 32px);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 20px 50px rgba(8, 24, 39, 0.18);
}

.blog-cta-box .eyebrow {
  color: var(--gold-2);
}

.blog-cta-box h2 {
  font-family: var(--display-font);
  font-size: clamp(1.3rem, 2.5vw, 1.55rem);
  margin: 8px 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--white);
  max-width: none;
}

.blog-cta-box p {
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 20px;
  line-height: 1.55;
}

.blog-cta-box .button-primary {
  background: var(--teal);
  color: var(--white);
  border: none;
  min-height: 48px;
  padding: 0 20px;
  font-weight: 800;
}

.blog-cta-box .button-primary:hover {
  background: #0a8a7e;
}

.blog-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.45);
}

.blog-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-footer a {
  color: var(--teal);
  font-weight: 600;
}

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

@media (max-width: 720px) {
  .blog-header.site-header,
  .blog-header {
    grid-template-columns: 1fr auto;
    padding: 10px 16px;
  }

  .blog-header .header-nav {
    display: none;
  }

  .blog-header .brand img {
    width: 104px;
    height: 46px;
  }

  .blog-main {
    padding-top: 24px;
  }

  .blog-article h1 {
    max-width: none;
  }

  .blog-cover {
    margin-left: -4px;
    margin-right: -4px;
    border-radius: var(--radius);
  }
}
