/*
Theme Name: Zero62 Blog
Theme URI: https://zero62.com/blog/
Author: Zero62
Description: Tema nativo e leve do blog da Zero62, com o cabeçalho, o rodapé e a identidade visual do site. Sem page builder e sem jQuery no front.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: zero62-blog
*/

/* ARQUIVO GERADO por scripts/build-blog-theme.mjs — edite blog-theme/src/blog.css ou app/styles/. */


@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Texto */
  --ink: #141c28;
  --ink-2: #4c5a6e;
  --ink-3: #64748b;
  --ink-4: #5c6b80;

  /* Marca */
  --brand: #1b4fd4;
  --brand-bright: #2e6bf0;
  --brand-soft: #eef3fd;
  --brand-line: #c9d8f5;
  --brand-line-2: #d7e2f6;
  --brand-glow: rgba(27, 79, 212, 0.35);
  --on-dark-accent: #7fa3e8;

  /* Fundos claros */
  --bg: #ffffff;
  --bg-soft: #f6f8fb;

  /* Fundos escuros */
  --dark-0: #010307;
  --dark-1: #03060c;
  --dark-2: #080d18;
  --dark-3: #050912;
  --nav-bg: rgba(7, 14, 30, 0.94);

  /* Texto em fundo escuro */
  --on-dark: #ffffff;
  --on-dark-2: #c3cedd;
  --on-dark-3: #a9b8cc;
  --on-dark-4: #93a8c9;
  --on-dark-5: #7d8ca5;
  --on-dark-input: #e4eaf4;
  --on-dark-chip: #d6deeb;

  /* Linhas */
  --line: #e8ecf2;
  --line-2: #e1e7f0;
  --line-3: #eff2f7;
  --line-4: #d5dde9;

  /* Tipografia */
  --font-heading: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  /* Métricas */
  --container: 1160px;
  --gutter: 32px;
  --nav-h: 76px;
  --radius-sm: 8px;
  --radius: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 28px;

  --shadow-card: 0 1px 2px rgba(20, 28, 40, 0.04), 0 18px 44px -28px rgba(20, 28, 40, 0.22);
  --shadow-float: 0 24px 50px -28px rgba(20, 28, 40, 0.35);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

@media (max-width: 700px) {
  :root {
    --gutter: 20px;
    --nav-h: 64px;
  }
}


*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  color: inherit;
}
p {
  margin: 0;
}
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  color: var(--ink);
}
img,
svg {
  display: block;
  max-width: 100%;
}
button {
  font: inherit;
  color: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
address {
  font-style: normal;
}
:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
@media (prefers-reduced-motion: reduce) {
html {
  scroll-behavior: auto;
}
*,
  *::before,
  *::after {
  animation-duration: 0.001s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001s !important;
}
}

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--on-dark);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.nav-logo img {
  height: 28px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}
.nav-links a {
  color: var(--on-dark-2);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--on-dark);
}
.nav-links .btn {
  margin-left: 4px;
}
.nav-links a.btn,
.nav-links a.btn:hover {
  color: var(--ink);
}
.nav.at-top {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav {
  transition: background 0.3s, border-color 0.3s;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.nav-mobile {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(1, 3, 7, 0.97);
  padding: 20px var(--gutter) 24px;
}
.nav-mobile.open {
  display: grid;
  gap: 4px;
}
.nav-mobile a {
  color: var(--on-dark);
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-mobile a:hover {
  color: #fff;
}
.nav-mobile .btn {
  margin-top: 12px;
  border-bottom: 0;
  justify-content: center;
}
@media (max-width: 1000px) {
.nav-links {
  gap: 22px;
}
.nav-links a.nav-optional {
  display: none;
}
}
@media (max-width: 900px) {
.nav-links {
  display: none;
}
.nav-toggle {
  display: flex;
}
}
@media (max-width: 700px) {
.nav-logo img {
  height: 24px;
}
}
.footer {
  background: var(--dark-3);
  color: var(--on-dark-3);
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand img {
  height: 24px;
  width: auto;
  margin-bottom: 20px;
}
.footer-tagline {
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 340px;
  color: var(--on-dark-4);
}
.footer h4 {
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  margin-bottom: 18px;
}
.footer ul {
  display: grid;
  gap: 10px;
}
.footer ul a {
  color: var(--on-dark-3);
  font-size: 14.5px;
  transition: color 0.2s;
}
.footer ul a:hover {
  color: #fff;
}
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-contact svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--on-dark-4);
  transition: color 0.2s;
}
.footer-contact a:hover svg {
  color: #fff;
}
.footer-meta {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--on-dark-4);
}
.footer-meta a {
  color: var(--on-dark-3);
}
.footer-meta a:hover {
  color: #fff;
}
@media (max-width: 1000px) {
.footer-grid {
  grid-template-columns: 1fr 1fr;
}
}
@media (max-width: 560px) {
.footer-grid {
  grid-template-columns: 1fr;
  gap: 36px;
}
.footer-meta {
  flex-direction: column;
}
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.2s;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}
.btn--lg {
  padding: 16px 28px;
  font-size: 15.5px;
}
.btn--block {
  width: 100%;
}
.btn--white {
  background: #fff;
  color: var(--ink);
}
.btn--white:hover {
  background: #e9edf3;
  color: var(--ink);
}
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn--outline-light:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--brand {
  background: var(--brand-bright);
  color: #fff;
  box-shadow: 0 14px 34px -18px rgba(46, 107, 240, 0.9);
}
.btn--brand:hover {
  background: #2559d6;
  color: #fff;
}
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover {
  background: #22304a;
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-4);
}
.btn--outline:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.btn .arrow {
  transition: transform 0.2s;
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 24px;
}
.eyebrow--muted {
  color: var(--ink-3);
}
.eyebrow--light {
  color: var(--on-dark-accent);
}
.eyebrow--soft {
  color: var(--on-dark-4);
  letter-spacing: 0.18em;
  font-size: 12px;
}
.eyebrow--line::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--brand-line);
}
.eyebrow--soft.eyebrow--line::after {
  background: rgba(147, 168, 201, 0.4);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.tile-card {
  display: block;
  color: inherit;
}
.tile-card:hover {
  color: inherit;
}
.tile-card .tile {
  margin-bottom: 20px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.tile-card:hover .tile {
  transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}
.tile-meta {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.tile-title {
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.2s;
}
.tile-card:hover .tile-title {
  color: var(--brand);
}
.post-thumb {
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 20px;
  background: var(--bg-soft);
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.tile-card:hover .post-thumb img {
  transform: scale(1.03);
}
.post-thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(46, 107, 240, 0.28) 0%, transparent 60%),
    linear-gradient(160deg, #101b2e 0%, #05080f 100%);
}
.post-thumb--empty img {
  width: 96px;
  height: auto;
  opacity: 0.85;
}
@media (max-width: 1000px) {
.grid-3 {
  grid-template-columns: 1fr 1fr;
}
}
@media (max-width: 620px) {
.grid-3 {
  grid-template-columns: 1fr;
  gap: 40px;
}
}

/* ============================================================
   Blog Zero62 — estilos próprios (o resto vem do site)
   ============================================================ */

:root {
  --font-heading: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --reading: 720px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.site-main {
  flex: 1 0 auto;
}

/* ---------- Cabeçalho escuro (listagem e post) ---------- */

.blog-hero {
  position: relative;
  overflow: hidden;
  background: var(--dark-0);
  color: var(--on-dark);
  padding: 72px 0 64px;
}
.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 75% 0%, rgba(46, 107, 240, 0.24) 0%, transparent 65%);
  pointer-events: none;
}
.blog-hero > .container {
  position: relative;
}
.blog-hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 900px;
  color: #fff;
}
.blog-hero .lead {
  margin-top: 20px;
  max-width: 720px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--on-dark-2);
}
.blog-hero .eyebrow {
  margin-bottom: 20px;
}
.blog-hero--post {
  padding: 56px 0 120px;
}
.blog-hero--post .container {
  max-width: calc(var(--reading) + var(--gutter) * 2);
}

.breadcrumbs {
  font-size: 13.5px;
  color: var(--on-dark-4);
  margin-bottom: 28px;
}
.breadcrumbs a {
  color: var(--on-dark-3);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 3px;
}
.breadcrumbs a:hover {
  color: #fff;
}
.breadcrumbs .separator {
  margin: 0 8px;
  opacity: 0.6;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--on-dark-3);
}
.post-meta a {
  color: var(--on-dark-2);
}
.post-meta a:hover {
  color: #fff;
}
.post-meta .author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark);
  font-weight: 500;
}
.post-meta .author img {
  width: 32px;
  height: 32px;
  border-radius: 999px;
}

/* ---------- Listagem ---------- */

.post-list {
  padding: 72px 0 96px;
}
.post-list .grid-3 {
  row-gap: 56px;
}
.tile-card:hover .tile-title {
  color: var(--brand);
}
.tile-card:hover .post-thumb img {
  transform: scale(1.03);
}
.post-thumb {
  height: auto;
  aspect-ratio: 16 / 9;
}
.tile-excerpt {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.post-list-empty {
  font-size: 17px;
  color: var(--ink-2);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 72px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-4);
  color: var(--ink);
  font-size: 15px;
}
.pagination .page-numbers:hover {
  border-color: var(--ink);
}
.pagination .page-numbers.current {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.pagination .page-numbers.dots {
  border: 0;
}

/* ---------- Post ---------- */

.article-cover {
  max-width: calc(960px + var(--gutter) * 2);
  margin: -88px auto 0;
  padding: 0 var(--gutter);
  position: relative;
}
.article-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  background: var(--bg-soft);
}
.article {
  max-width: calc(var(--reading) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 56px var(--gutter) 24px;
}
.blog-hero--post + .article {
  padding-top: 72px;
}

.toc {
  margin: 0 0 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}
.toc summary {
  cursor: pointer;
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
}
.toc summary::-webkit-details-marker {
  display: none;
}
.toc summary::after {
  content: "+";
  float: right;
  color: var(--brand);
}
.toc[open] summary::after {
  content: "–";
}
.toc ol {
  counter-reset: toc;
  padding: 0 20px 18px;
  display: grid;
  gap: 4px;
}
.toc li {
  counter-increment: toc;
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 1.45;
}
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.toc a {
  display: inline-block;
  padding: 3px 0;
  color: var(--ink-2);
}
.toc a:hover {
  color: var(--brand);
}

/* Tipografia de leitura — o conteúdo vem do editor (p, h2, h3, listas, strong, links) */
.entry-content {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-2);
  overflow-wrap: break-word;
}
.entry-content > * + * {
  margin-top: 1.25em;
}
.entry-content h2 {
  margin-top: 2.2em;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.entry-content h3 {
  margin-top: 1.8em;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.entry-content h2 + *,
.entry-content h3 + * {
  margin-top: 0.7em;
}
.entry-content strong {
  color: var(--ink);
  font-weight: 600;
}
.entry-content a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: var(--brand-line);
  text-underline-offset: 3px;
}
.entry-content a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}
.entry-content ul,
.entry-content ol {
  padding-left: 1.3em;
}
.entry-content ul {
  list-style: disc;
}
.entry-content ol {
  list-style: decimal;
}
.entry-content li + li {
  margin-top: 0.5em;
}
.entry-content li::marker {
  color: var(--brand);
}
.entry-content blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--brand);
  font-size: 20px;
  color: var(--ink);
}
.entry-content img,
.entry-content figure {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
.entry-content figure {
  margin: 1.8em 0;
}
.entry-content figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-3);
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  display: block;
  overflow-x: auto;
}
.entry-content th,
.entry-content td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
}
.entry-content th {
  color: var(--ink);
  font-weight: 600;
}
.entry-content code {
  font-size: 0.9em;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
}
.entry-content pre {
  overflow-x: auto;
  padding: 18px 20px;
  background: var(--dark-2);
  color: var(--on-dark-input);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  line-height: 1.6;
}
.entry-content pre code {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}

.post-tags {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.post-tags a {
  font-size: 13.5px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-4);
  color: var(--ink-2);
}
.post-tags a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.author-box {
  margin-top: 56px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.author-box img {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 999px;
}
.author-box-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.author-box-name {
  margin-top: 4px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.author-box-role {
  font-size: 14.5px;
  color: var(--ink-3);
}
.author-box-bio {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.author-box-links {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  font-size: 14.5px;
}

/* Chamada para o serviço do pilar ligado à categoria */
.pillar-cta {
  position: relative;
  overflow: hidden;
  margin: 64px 0 0;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--dark-2);
  color: var(--on-dark);
}
.pillar-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 90% at 100% 0%, rgba(46, 107, 240, 0.28) 0%, transparent 60%);
  pointer-events: none;
}
.pillar-cta > * {
  position: relative;
}
.pillar-cta .eyebrow {
  margin-bottom: 14px;
}
.pillar-cta h2 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}
.pillar-cta p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--on-dark-2);
  max-width: 560px;
}
.pillar-cta-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn--outline-light:hover {
  border-color: #fff;
  color: #fff;
}

.related {
  padding: 88px 0 96px;
  margin-top: 88px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.related h2 {
  font-size: 30px;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}
.related .tile-card .post-thumb {
  background: #fff;
}
.related .tile-meta {
  color: var(--ink-2);
}
.footer-meta a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 3px;
}

/* ---------- 404 / busca vazia ---------- */

.blog-hero--center {
  padding: 120px 0;
}
.blog-hero .hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsivo ---------- */

@media (max-width: 1000px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .blog-hero {
    padding: 48px 0 44px;
  }
  .blog-hero--post {
    padding: 40px 0 88px;
  }
  .article-cover {
    margin-top: -64px;
  }
  .article {
    padding-top: 40px;
  }
  .entry-content {
    font-size: 17px;
  }
  .entry-content h2 {
    font-size: 24px;
  }
  .entry-content h3 {
    font-size: 19px;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .pillar-cta {
    padding: 28px 24px;
  }
  .author-box {
    flex-direction: column;
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .post-thumb img {
    transition: none;
  }
}
