.blog-hero { position: relative; padding: 132px 0 95px; overflow: hidden; background: var(--paper); color: var(--ink); }
.blog-hero::after { content: ""; position: absolute; top: 88px; right: 0; bottom: 0; width: 36%; background: var(--paper-soft); }
.breadcrumb { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; color: #78848d; font-size: .67rem; }
.breadcrumb a:hover { color: var(--green-dark); }
.breadcrumb i { color: #a2aba7; font-style: normal; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(320px,.72fr); gap: clamp(55px,8vw,120px); align-items: center; margin-top: 65px; }
h1,.section-heading h2,.cta-inner h2 { margin: 0; color: var(--navy); font-weight: 780; letter-spacing: -.052em; }
h1 { max-width: 850px; margin-top: 22px; font-size: var(--step-4); line-height: 1.01; }
h1 em,.section-heading h2 em { color: var(--green-dark); font-style: normal; }
.hero-copy > p { max-width: 680px; margin: 28px 0 0; color: #465364; font-size: var(--step-1); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 25px; color: #78848d; font-size: .67rem; }
.article-meta span + span::before { content: "/"; margin-right: 24px; color: #a2aba7; }

.blog-visual { position: relative; min-height: 400px; display: flex; align-items: center; overflow: hidden; }
.blog-visual::before { content: "01"; position: absolute; top: 12px; right: 4px; color: rgba(13,35,64,.055); font-size: clamp(8rem,15vw,13rem); font-weight: 850; line-height: 1; letter-spacing: -.09em; }
.blog-visual::after { content: ""; position: absolute; top: 12%; bottom: 12%; left: 30px; width: 2px; background: var(--green); transform-origin: top; animation: editorial-line 900ms var(--ease-out) both 250ms; }
.blog-panel { position: relative; z-index: 1; width: 100%; margin: 0; padding: 48px 30px 42px 72px; }
.blog-panel::before { content: "NAXIFY / LEITURA TÉCNICA"; position: absolute; right: 18px; bottom: 15px; color: #8c979f; font-size: .52rem; font-weight: 800; letter-spacing: .17em; writing-mode: vertical-rl; }
.blog-panel small { color: var(--green-dark); font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.blog-panel strong { display: block; max-width: 360px; margin-top: 38px; color: var(--navy); font-size: clamp(2rem,3.2vw,3rem); font-weight: 780; line-height: 1.05; letter-spacing: -.045em; }
.blog-panel ul { display: grid; gap: 11px; max-width: 370px; margin: 38px 0 0; padding: 17px 0 0; border-top: 1px solid #cbd7d1; list-style: none; color: var(--muted); font-size: .72rem; }
.blog-panel li { transition: transform var(--ease),color var(--ease); }
.blog-panel li::before { content: "→"; margin-right: 10px; color: var(--green); }
.blog-visual:hover .blog-panel li:nth-child(2) { transform: translateX(5px); color: var(--navy); }

.section { position: relative; padding: var(--space-8) 0; }
.section-light { background: #fff; }
.section-heading { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: clamp(45px,8vw,110px); align-items: end; margin-bottom: 58px; }
.section-heading h2 { font-size: var(--step-3); line-height: 1.05; }
.section-heading > p { margin: 0; color: var(--muted); font-size: .84rem; }
.blog-tools { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin: -8px 0 36px; }
.blog-search { display: grid; width: min(100%,620px); gap: 9px; color: var(--green-dark); font-size: .66rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.blog-search-control { display: flex; align-items: center; min-height: 58px; border: 1px solid var(--line); background: #fff; transition: border-color var(--ease),box-shadow var(--ease); }
.blog-search-control:focus-within { border-color: var(--green-dark); box-shadow: 0 0 0 3px color-mix(in srgb,var(--green-dark) 13%,transparent); }
.blog-search-control svg { width: 21px; height: 21px; margin-left: 18px; fill: none; stroke: var(--green-dark); stroke-width: 1.8; }
.blog-search-control input { width: 100%; min-width: 0; padding: 17px 14px; border: 0; outline: 0; background: transparent; color: var(--navy); font: inherit; font-size: .92rem; text-transform: none; }
.blog-search-control input::placeholder { color: var(--muted); opacity: .82; }
.blog-search-control button { align-self: stretch; padding: 0 18px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--green-dark); font-size: .72rem; font-weight: 800; cursor: pointer; }
.blog-tools > p { margin: 0 0 17px; color: var(--muted); font-size: .75rem; white-space: nowrap; }
.blog-empty { padding: 70px 25px; border-bottom: 1px solid var(--line); text-align: center; }
.blog-empty strong { color: var(--navy); font-size: var(--step-1); }
.blog-empty p { max-width: 540px; margin: 12px auto 0; color: var(--muted); }

.post-grid { display: grid; grid-template-columns: repeat(12,1fr); border-top: 1px solid var(--navy); }
.post-card { position: relative; grid-column: span 4; min-height: 330px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background var(--ease),transform var(--ease); }
.post-card:nth-child(3n+2),.post-card:nth-child(3n+3) { padding-left: 30px; }
.post-card:nth-child(3n) { border-right: 0; }
.post-card:nth-child(1) { grid-column: span 7; background: var(--paper-soft); }
.post-card:nth-child(2) { grid-column: span 5; border-right: 0; }
.post-card:nth-child(2) + .post-card { padding-left: 30px; }
.post-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; color: var(--green-dark); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.post-meta time { color: var(--muted); font-size: .66rem; font-weight: 600; letter-spacing: .04em; }
.post-card h2 { max-width: 440px; margin: 58px 0 14px; color: var(--navy); font-size: var(--step-2); font-weight: 750; line-height: 1.1; letter-spacing: -.035em; }
.post-card p { margin: 0 0 25px; color: var(--muted); font-size: .78rem; }
.post-card a { position: absolute; bottom: 28px; display: inline-flex; gap: 12px; color: var(--green-dark); font-size: .72rem; font-weight: 800; }
.post-card a::after { content: ""; position: absolute; right: 0; bottom: -4px; left: 0; height: 1px; background: currentColor; transform: scaleX(.25); transform-origin: left; transition: transform var(--ease); }
.post-card:hover { z-index: 1; background: var(--paper-soft); transform: translateY(-3px); }
.post-card:hover a::after { transform: scaleX(1); }

.article-section { background: #fff; }
.article-layout { display: grid; grid-template-columns: minmax(0,var(--reading)) 280px; gap: clamp(60px,9vw,125px); justify-content: center; align-items: start; }
.article-body { color: #334154; font-size: 1.02rem; line-height: 1.82; }
.article-body .lead { padding: 25px 28px; border-left: 4px solid var(--green); background: var(--paper-soft); color: var(--navy); font-size: 1.2rem; font-weight: 560; line-height: 1.65; }
.article-body h2 { margin: 3.6rem 0 1rem; color: var(--navy); font-size: clamp(1.55rem,2.5vw,2.15rem); line-height: 1.15; letter-spacing: -.04em; }
.article-body h2::before { content: ""; display: block; width: 38px; height: 3px; margin-bottom: 18px; background: var(--green); }
.article-body h3 { margin-top: 2.3rem; color: var(--navy); line-height: 1.2; }
.article-body p { margin: 0 0 1.45rem; }
.article-body ul,.article-body ol { padding-left: 1.3rem; }
.article-body li { margin-bottom: .55rem; }
.article-body a { color: var(--green-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-sidebar { position: sticky; top: 110px; }
.sidebar-card { padding: 22px 0; border-top: 1px solid var(--line); }
.sidebar-card > strong { color: var(--navy); font-size: 1.05rem; font-weight: 750; }
.sidebar-card p { color: var(--muted); font-size: .75rem; }
.sidebar-card a { color: var(--green-dark); font-size: .72rem; font-weight: 800; }
.sidebar-card.dark { padding: 23px; border: 0; background: var(--navy); color: #fff; }
.sidebar-card.dark > strong { color: #fff; }
.sidebar-card.dark p { color: #aebdca; }
.sidebar-card.dark a { color: var(--mint); }
.toc { display: grid; gap: 8px; margin-top: 16px; }
.toc a { padding-left: 12px; border-left: 2px solid var(--line); color: var(--muted); font-size: .68rem; font-weight: 550; }
.toc a:hover,.toc a.current { border-color: var(--green); color: var(--green-dark); }

.related-section { background: var(--paper-soft); }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 40px; border-top: 1px solid #cbd7d1; }
.related-card { position: relative; min-height: 210px; padding: 27px; border-right: 1px solid #cbd7d1; border-bottom: 1px solid #cbd7d1; transition: background var(--ease),transform var(--ease); }
.related-card + .related-card { padding-left: 27px; }
.related-card:last-child { border-right: 0; }
.related-card span { color: var(--green-dark); font-size: .6rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.related-card h3 { margin: 50px 0 8px; color: var(--navy); font-size: 1.3rem; font-weight: 750; line-height: 1.15; }
.related-card p { margin: 0; color: var(--muted); font-size: .72rem; }
.related-card i { position: absolute; right: 24px; bottom: 24px; color: var(--green); font-style: normal; transition: transform var(--ease); }
.related-card:hover { background: #fff; transform: translateY(-3px); }
.related-card:hover i { transform: translate(3px,-3px); }

.cta-section { padding: 90px 0; background: var(--green-dark); color: #fff; }
.cta-inner { display: flex; justify-content: space-between; gap: 55px; align-items: end; }
.cta-inner h2 { max-width: 760px; color: #fff; font-size: var(--step-3); line-height: 1.05; }
.cta-inner p { max-width: 600px; margin: 20px 0 0; color: #e5fff3; }
.cta-inner .button { flex: 0 0 auto; border-color: var(--navy); background: var(--navy); color: #fff; }
.cta-inner .button:hover { background: var(--navy-soft); transform: translateY(-2px); }

@keyframes editorial-line { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (max-width:980px) {
  .blog-hero::after { width: 100%; top: auto; height: 40%; }
  .hero-grid,.article-layout { grid-template-columns: 1fr; }
  .blog-visual { width: min(100%,600px); }
  .article-sidebar { position: static; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
  .post-card,.post-card:nth-child(1),.post-card:nth-child(2) { grid-column: span 6; }
  .post-card:nth-child(even) { border-right: 0; padding-left: 30px; }
  .post-card:nth-child(odd) { padding-left: 0; }
}
@media (max-width:760px) {
  .blog-hero { padding: 105px 0 75px; }
  .hero-grid { margin-top: 44px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .blog-visual { min-height: 350px; }
  .blog-visual::after { left: 8px; }
  .blog-panel { padding: 42px 26px 38px 30px; }
  h1,.section-heading h2,.cta-inner h2 { font-weight: 650; letter-spacing: -.038em; }
  h1 { font-size: clamp(2.4rem,11vw,3.35rem); }
  .hero-copy > p { font-size: 1rem; line-height: 1.62; }
  .blog-panel strong { font-weight: 600; }
  .section { padding: 72px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  .blog-tools { display: grid; gap: 12px; margin-bottom: 28px; }
  .blog-tools > p { margin: 0; }
  .blog-search-control { min-height: 54px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card,.post-card:nth-child(1),.post-card:nth-child(2),.post-card:nth-child(even),.post-card:nth-child(odd) { grid-column: auto; min-height: 280px; padding: 27px 18px 70px; border-right: 0; }
  .post-card h2,.related-card h3,.sidebar-card > strong { font-weight: 600; }
  .post-meta,.post-card a,.related-card span,.sidebar-card a { font-weight: 700; }
  .article-body { font-size: 1rem; }
  .article-body .lead { padding: 20px; font-size: 1.08rem; font-weight: 500; }
  .article-body h2,.article-body h3 { font-weight: 600; letter-spacing: -.025em; }
  .article-sidebar { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card,.related-card + .related-card { min-height: 180px; padding: 25px 18px; border-right: 0; }
  .cta-inner { display: block; }
  .cta-inner .button { margin-top: 28px; }
}
@media (max-width:430px) {
  .blog-hero { padding: 96px 0 62px; }
  h1 { font-size: clamp(2.25rem,10.8vw,2.85rem); }
  .blog-visual { min-height: 310px; }
  .blog-panel { padding: 34px 24px 34px 28px; }
  .blog-panel strong { margin-top: 28px; font-size: 1.85rem; }
  .blog-panel ul { margin-top: 28px; }
  .section { padding: 64px 0; }
  .post-card,.post-card:nth-child(1),.post-card:nth-child(2),.post-card:nth-child(even),.post-card:nth-child(odd) { padding-inline: 14px; }
  .article-body .lead { margin-inline: -4px; }
  .article-body h2 { margin-top: 3rem; }
  .cta-section { padding: 70px 0; }
}
