/* Páginas editoriais — extensão da identidade BRA 2026 */
.subpage-hero { position: relative; padding: clamp(78px, 9vw, 128px) 0; color: var(--white); background: var(--navy); overflow: hidden; }
.subpage-hero::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(90deg, transparent, #000 48%, transparent); }
.subpage-hero::after { content: ""; position: absolute; top: -35%; right: -8%; width: 44vw; height: 44vw; min-width: 420px; min-height: 420px; background: var(--signal); clip-path: polygon(32% 0,100% 0,68% 100%,0 100%); opacity: .92; transform: rotate(8deg); }
.subpage-hero .shell { position: relative; z-index: 2; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; color: #bacadb; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumb a { color: var(--white); text-decoration: none; }
.breadcrumb span { color: var(--signal); }
.subpage-hero h1 { max-width: 980px; margin: 0 0 28px; font-size: clamp(4rem, 8vw, 7.8rem); font-weight: 800; text-transform: uppercase; }
.subpage-hero .hero-lead { max-width: 720px; margin: 0; color: #c7d5e2; font-size: clamp(1.03rem, 1.45vw, 1.22rem); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 38px 0 0; padding: 0; list-style: none; }
.hero-facts li { padding: 10px 14px; color: var(--white); background: rgba(4,21,40,.54); border-left: 3px solid var(--signal); font-size: .68rem; font-weight: 800; letter-spacing: .065em; text-transform: uppercase; }

.content-section { padding: clamp(80px, 9vw, 130px) 0; }
.content-intro { max-width: 780px; margin-bottom: 55px; }
.content-intro h2 { margin-bottom: 24px; color: var(--navy); overflow-wrap: anywhere; hyphens: auto; }
.content-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.category-card { min-height: 320px; padding: 30px; display: flex; flex-direction: column; background: var(--fog); border-top: 5px solid var(--blue); }
.category-code { color: var(--signal); font-family: var(--display); font-size: 4.6rem; font-weight: 800; line-height: .8; }
.category-card h3 { margin: auto 0 15px; color: var(--navy); font-size: 2rem; text-transform: uppercase; }
.category-card p { margin: 0; color: var(--muted); font-size: .84rem; }
.split-content { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(55px, 9vw, 125px); }
.split-content h2 { color: var(--navy); }
.numbered-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.numbered-list li { padding: 24px 0; display: grid; grid-template-columns: 55px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.numbered-list span { color: var(--blue); font-family: var(--display); font-size: 1.35rem; font-weight: 800; }
.numbered-list strong { display: block; color: var(--navy); text-transform: uppercase; }
.numbered-list p { margin: 5px 0 0; color: var(--muted); font-size: .86rem; }
.technical-panel { padding: clamp(42px, 6vw, 75px); color: var(--white); background: var(--ink); }
.technical-panel h2 { margin-bottom: 25px; color: var(--white); }
.technical-panel p { color: #b9c4cc; }
.source-links { display: grid; gap: 9px; margin-top: 28px; }
.source-links a { color: var(--signal); font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.content-cta { padding: clamp(55px, 7vw, 90px) 0; color: var(--white); background: var(--blue); }
.content-cta .shell { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.content-cta h2 { max-width: 820px; color: var(--white); font-size: clamp(2.8rem, 5vw, 5rem); }

.blog-tools { padding: 34px 0; background: var(--fog); border-bottom: 1px solid var(--steel); }
.blog-tools .shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { padding: 9px 13px; color: var(--navy); background: var(--white); border: 1px solid var(--line); font-size: .67rem; font-weight: 800; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.filter-chip.is-active, .filter-chip:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }
.search-form { min-width: min(100%, 335px); display: flex; }
.search-form input { min-width: 0; flex: 1; padding: 11px 13px; border: 1px solid var(--line); border-right: 0; }
.search-form button { padding: 11px 15px; color: var(--white); background: var(--blue); border: 1px solid var(--blue); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.editorial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.editorial-card { min-width: 0; display: flex; flex-direction: column; background: var(--fog); border-top: 5px solid var(--navy); transition: transform .25s, box-shadow .25s; }
.editorial-card[hidden], .empty-state[hidden] { display: none; }
.editorial-card:hover { transform: translateY(-7px); box-shadow: 0 24px 55px rgba(13,43,82,.12); }
.editorial-card > a { height: 100%; display: flex; flex-direction: column; text-decoration: none; }
.editorial-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.editorial-card-body { flex: 1; padding: 27px; display: flex; flex-direction: column; }
.card-kicker { margin-bottom: 16px; color: var(--blue); font-family: var(--display); font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.editorial-card h2 { margin-bottom: 16px; color: var(--navy); font-size: clamp(2rem, 3vw, 2.7rem); text-transform: uppercase; }
.editorial-card p { color: var(--muted); font-size: .85rem; }
.read-link { margin-top: auto; padding-top: 15px; color: var(--navy); font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.empty-state { grid-column: 1/-1; padding: 55px; text-align: center; background: var(--fog); }
.empty-state h2 { color: var(--navy); font-size: 2.6rem; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); text-decoration: none; }
.pagination .current { color: var(--white); background: var(--navy); border-color: var(--navy); }

.article-hero { padding-bottom: 70px; }
.article-hero h1 { max-width: 1080px; font-size: clamp(3.5rem, 7vw, 6.8rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 9px 25px; margin-top: 30px; color: #c5d4e2; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.article-meta span::before { content: "/"; margin-right: 9px; color: var(--signal); }
.article-wrap { width: min(calc(100% - 48px), 1120px); margin-inline: auto; }
.article-cover { width: 100%; max-height: 620px; margin: 0 0 55px; object-fit: cover; box-shadow: 18px 18px 0 var(--signal); }
.article-layout { display: grid; grid-template-columns: minmax(0,760px) minmax(230px,1fr); align-items: start; gap: clamp(50px, 8vw, 105px); }
.article-prose { color: #35424c; font-size: 1.02rem; line-height: 1.82; }
.article-prose > p:first-child { color: var(--navy); font-size: 1.22rem; }
.article-prose h2 { margin: 55px 0 20px; color: var(--navy); font-size: clamp(2.5rem, 4vw, 3.65rem); text-transform: uppercase; }
.article-prose h3 { margin: 38px 0 15px; color: var(--navy); font-size: 2rem; text-transform: uppercase; }
.article-prose a { color: var(--blue); font-weight: 700; }
.article-prose li { margin-bottom: 9px; }
.article-prose blockquote { margin: 35px 0; padding: 25px 28px; color: var(--navy); background: var(--fog); border-left: 5px solid var(--signal); }
.article-aside { position: sticky; top: 105px; padding: 27px; background: var(--fog); border-top: 5px solid var(--navy); }
.article-aside strong { display: block; margin-bottom: 14px; color: var(--navy); font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 28px; }
.tag-list span { padding: 6px 9px; color: var(--blue); background: var(--white); font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.article-aside p { color: var(--muted); font-size: .78rem; }
.related-section { background: var(--fog); }
.related-section .section-heading { margin-bottom: 44px; }

/* Serviços */
.service-directory { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.service-tile { min-width: 0; background: var(--fog); border-top: 5px solid var(--navy); }
.service-tile img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.service-tile .service-image--ipaf { object-position: center 48%; }
.service-tile-body { min-height: 285px; padding: 28px; display: flex; flex-direction: column; }
.service-tile .card-kicker { display: block; }
.service-tile h3 { margin-bottom: 15px; color: var(--navy); font-size: clamp(2rem,3vw,2.75rem); text-transform: uppercase; }
.service-tile p { color: var(--muted); font-size: .84rem; }
.service-tile .text-link { margin-top: auto; }
.system-panel { display: grid; grid-template-columns: 1.05fr .95fr; background: var(--ink); }
.system-panel-media { position: relative; min-height: 620px; overflow: hidden; }
.system-panel-media img { width: 100%; height: 100%; object-fit: cover; }
.system-panel-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top,rgba(8,14,20,.75),transparent 52%); }
.system-panel-copy { padding: clamp(46px,7vw,90px); color: var(--white); }
.system-panel-copy h2 { margin-bottom: 25px; color: var(--white); }
.system-panel-copy > p:not(.eyebrow) { color: #b8c3cb; }
.system-list { margin: 38px 0 0; padding: 0; list-style: none; border-top: 1px solid #3c454d; }
.system-list li { padding: 18px 0; display: grid; grid-template-columns: 125px 1fr; gap: 20px; border-bottom: 1px solid #3c454d; }
.system-list strong { color: var(--signal); font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; }
.system-list span { color: #d0d7dc; font-size: .8rem; }
.component-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.component-card { position: relative; min-height: 390px; color: var(--white); background: var(--navy); overflow: hidden; }
.component-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.component-card::after { content: ""; position: absolute; inset: 24% 0 0; background: linear-gradient(transparent,rgba(8,14,20,.96)); }
.component-card:hover img { transform: scale(1.04); }
.component-card div { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 28px; }
.component-card h3 { margin-bottom: 10px; font-size: 2rem; text-transform: uppercase; }
.component-card p { margin: 0; color: #c6d0d7; font-size: .8rem; }
.test-bench { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(48px,8vw,110px); }
.test-bench-media { padding: 18px; background: var(--navy); box-shadow: 18px 18px 0 var(--signal); }
.test-bench-media img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; }
.test-bench-copy h2 { margin-bottom: 25px; color: var(--navy); }
.test-bench-copy > p:not(.eyebrow) { color: var(--muted); }
.check-list { margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { padding: 13px 0; color: var(--navy); border-top: 1px solid var(--line); font-size: .82rem; font-weight: 700; }
.check-list li::before { content: "■"; margin-right: 11px; color: var(--signal); font-size: .55rem; }

/* Páginas institucionais */
.service-detail .subpage-hero::after { opacity: .14; }
.service-detail .split-content { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.service-detail .technical-panel { padding: clamp(28px, 3.5vw, 50px); }
.service-detail .technical-panel h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); overflow-wrap: anywhere; }
.service-detail .technical-panel .button { width: 100%; white-space: normal; text-align: center; }
.service-detail .content-cta h2 { flex: 1; }
.service-detail .info-card h3 { overflow-wrap: anywhere; }
.service-detail-photo { margin: 30px 0; }
.service-detail-photo img { width: 100%; max-height: 350px; object-fit: contain; background: #fff; }
.service-detail-photo figcaption { margin-top: 10px; color: var(--muted); font-size: .73rem; }
.intake-list { margin: 25px 0; padding-left: 20px; color: #d6e0e8; }
.intake-list li { margin-bottom: 18px; padding-left: 6px; font-size: .9rem; }
.intake-list li::marker { color: var(--signal); }
.service-detail .technical-panel > p:not(.eyebrow) { font-size: .8rem; }
@media (max-width: 760px) { .service-detail .split-content { grid-template-columns: minmax(0, 1fr); } }

.info-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.info-card { min-width: 0; padding: 34px; background: var(--fog); border-top: 5px solid var(--navy); }
.info-card h3 { margin: 0 0 18px; color: var(--navy); font-size: 2.2rem; text-transform: uppercase; overflow-wrap: anywhere; hyphens: auto; }
.info-card p { color: var(--muted); font-size: .88rem; }
.info-card .text-link { display: inline-block; margin-top: 20px; }
.info-card .check-list { margin-top: 22px; }
.company-photo { width: 100%; height: auto; margin-top: 35px; }
.contact-page .contact-copy h2 { max-width: 650px; }
.contact-page .contact-direct a { overflow-wrap: anywhere; }
.utility-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 35px; }

@media (max-width: 1000px) {
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .editorial-grid { grid-template-columns: repeat(2,1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .service-directory, .component-grid, .info-grid { grid-template-columns: repeat(2,1fr); }
  .system-panel, .test-bench { grid-template-columns: 1fr; }
  .system-panel-media { min-height: 480px; }
}
@media (max-width: 760px) {
  .subpage-hero::after { right: -48%; opacity: .22; }
  .subpage-hero h1 { font-size: clamp(2.75rem, 12.8vw, 5.6rem); overflow-wrap: anywhere; hyphens: auto; }
  .blog-tools .shell, .content-cta .shell { align-items: stretch; flex-direction: column; }
  .search-form { width: 100%; }
  .split-content { grid-template-columns: 1fr; }
  .article-wrap { width: min(calc(100% - 28px), 1120px); }
  .article-cover { box-shadow: 9px 9px 0 var(--signal); }
  .test-bench-media { box-shadow: 9px 9px 0 var(--signal); }
}
@media (max-width: 560px) {
  .technical-panel { padding: 34px 20px; }
  .technical-panel h2 { font-size: clamp(2rem, 8.5vw, 2.6rem); overflow-wrap: anywhere; hyphens: auto; }
  .category-grid, .editorial-grid, .service-directory, .component-grid, .info-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 280px; }
  .content-cta .button { width: 100%; }
  .service-tile-body { min-height: 250px; }
  .system-panel-media { min-height: 360px; }
  .system-panel-copy { padding: 44px 24px; }
  .system-list li { grid-template-columns: 1fr; gap: 5px; }
  .component-card { min-height: 350px; }
}
