/* =============================================================================
   Páginas do CMS — folha compartilhada

   GERADO por scripts/exportar-para-o-site.mjs a partir de src/styles/site.css.
   NÃO EDITE ESTE ARQUIVO: a próxima geração o sobrescreve. Altere a origem e
   rode o script de novo.

   É a mesma folha que a prévia da Central usa. Ter uma única origem é o que faz
   "assim vai ficar" ser verdade: uma segunda cópia mantida à mão divergiria, e
   a divergência apareceria como uma página publicada diferente da aprovada.

   Um arquivo para Cases, Blog, Biografias e Materiais, no lugar de um
   {cliente}.css por página. As Cases antigas continuam com os seus enquanto
   estiverem no ar.

   A moldura — cabeçalho, mega menu, rodapé — NÃO está aqui: ela vem de
   home.css, que o site já carrega.
   ============================================================================= */

:root {
  /* ---------------------------------------------------------------------------
     Cores

     A regra que as duas páginas de referência seguem sem exceção: dourado sobre
     fundo escuro é #cda55e; sobre fundo claro é #b99155. Não é preferência —
     o tom claro sobre papel branco reprova em contraste.
     --------------------------------------------------------------------------- */
  --site-navy-900: #041d2b;
  --site-navy-800: #052b46;
  --site-navy-700: #083a5d;
  --site-ink: #06243a;
  --site-ink-strong: #0d2740;
  --site-ink-body: #244158;
  --site-ink-muted: #6b6f73;
  --site-gold: #cda55e;
  --site-gold-deep: #b99155;
  --site-paper: #f7f6f4;
  --site-paper-alt: #f4f3f2;
  --site-rule: rgba(8, 53, 86, 0.14);
  --site-rule-strong: rgba(8, 53, 86, 0.18);

  /* ---------------------------------------------------------------------------
     Tipografia

     As duas pilhas são as de `home.css`, copiadas literalmente — o arquivo
     chegou com o acervo do site em 30/08/2026 e encerrou a aproximação que
     estava aqui antes ("Playfair Display" e "Inter", escolhidas por semelhança
     de função). A ordem importa: o site não carrega webfont nenhuma, então quem
     desenha é a primeira família instalada na máquina do leitor, e uma pilha
     diferente daqui produziria uma prévia com outra letra.
     --------------------------------------------------------------------------- */
  --site-font-title: "Classical Garamond BT", "Classical Garamond", Garamond, "Times New Roman", serif;
  --site-font-body: "Montserrat", Arial, Helvetica, sans-serif;

  background: #ffffff;
  color: var(--site-ink-body);
  font-family: var(--site-font-body);
  -webkit-font-smoothing: antialiased;

  /* Ocupa a altura da janela. Sem isto, uma página curta deixaria aparecer o
     fundo azulado do painel abaixo do rodapé — e a prévia diria, sem querer,
     que o site tem uma faixa que ele não tem. */
  min-height: 100dvh;
}

.site-container {
  width: min(1220px, calc(100vw - 42px));
  margin: 0 auto;
}

.case-index {
  position: sticky;
  top: 116px;
  align-self: start;
  min-width: 0;
}

.case-index__inner {
  position: static;
  top: auto;
  padding-top: 10px;
}

.case-index h2 {
  margin: 0 0 18px;
  color: var(--site-ink);
  font-size: 1.56rem;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.case-index__line {
  position: relative;
  display: block;
  width: 100%;
  height: 6px;
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8e8e8;
}

.case-index__line-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--site-index-progress, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--site-gold-deep), var(--site-gold));
  transition: width 0.18s ease-out;
}

.case-index p {
  margin: 0 0 16px;
  color: var(--site-gold-deep);
  font-size: 0.98rem;
  font-weight: 600;
}

.case-index nav {
  display: grid;
  gap: 18px;
}

.case-index a {
  color: var(--site-ink-muted);
  font-size: 0.94rem;
  line-height: 1.46;
  transition: color 0.2s ease, transform 0.2s ease;
}

.case-index a:hover,
.case-index a.is-active {
  color: var(--site-gold-deep);
  transform: translateX(3px);
}

.nc-index {
  position: relative;
  align-self: stretch;
  min-width: 0;
}

.nc-index__inner {
  position: sticky;
  top: 118px;
  padding-top: 10px;
}

.nc-index h2 {
  margin: 0 0 20px;
  color: var(--site-ink);
  font-size: 1.58rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.nc-index__line {
  position: relative;
  display: block;
  width: 100%;
  height: 6px;
  margin: 0 0 22px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7e7e7;
}

.nc-index__line-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--site-index-progress, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--site-gold-deep), var(--site-gold));
  transition: width 0.18s ease-out;
}

.nc-index p {
  margin: 0 0 18px;
  color: var(--site-gold-deep);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}

.nc-index nav {
  display: grid;
  gap: 18px;
}

.nc-index a {
  color: #6c6f73;
  font-size: 0.96rem;
  line-height: 1.42;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nc-index a:hover,
.nc-index a.is-active {
  color: var(--site-gold-deep);
  transform: translateX(3px);
}

.case-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 40px;
  background:
    radial-gradient(circle at 50% 0%, rgba(205, 165, 94, 0.06), transparent 28%),
    var(--site-paper);
  border-top: 1px solid rgba(8, 53, 86, 0.08);
}

.case-hero__header {
  width: min(1040px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 0 0 30px;
  text-align: center;
}

.case-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin: 0 auto 20px;
  padding: 0 14px;
  border: 1px solid rgba(185, 145, 85, 0.56);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--site-gold-deep);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.case-date {
  margin: 0 0 24px;
  color: #26435b;
  font-size: 0.96rem;
  line-height: 1.4;
}

.case-title {
  max-width: 980px;
  margin: 0 auto 24px;
  color: var(--site-ink);
  font-size: clamp(2.15rem, 3.3vw, 3.35rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  color: var(--site-ink-strong);
  font-size: 0.95rem;
  line-height: 1.3;
}

.case-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.case-meta__icon {
  display: inline-flex;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--site-gold-deep);
}

.case-meta__icon svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  fill: none;
}

.case-cover-shell {
  width: min(1420px, calc(100vw - 60px));
  margin: 0 auto;
}

.case-cover {
  position: relative;
  overflow: hidden;
  margin: 0;
  /* 9:4 — a proporção do arquivo de capa (1800×800), desde 07/09/2026.
     Repetida em lib/domain/content.ts (CAPA_POR_TIPO) e em
     site/assets/cms-site.css; a duplicação está anotada nos três lados. */
  aspect-ratio: 9 / 4;
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 18%, rgba(205, 165, 94, 0.12), transparent 30%),
    linear-gradient(135deg, var(--site-navy-900) 0%, var(--site-navy-700) 100%);
  box-shadow: 0 22px 54px rgba(6, 36, 58, 0.14);
}

.case-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.case-cover__vazio {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 42px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  text-align: center;
}

.case-content-section {
  padding: 76px 0 18px;
  background: #ffffff;
}

.case-content-grid {
  width: min(1220px, calc(100vw - 42px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 62px;
  align-items: start;
}

.case-article {
  width: 100%;
  max-width: 860px;
  min-width: 0;
}

.case-highlight {
  margin: 28px 0 32px;
  padding: 20px 24px;
  border-radius: 18px;
  background: var(--site-paper-alt);
  color: var(--site-ink);
  text-align: center;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  font-weight: 700;
  line-height: 1.45;
}

.case-section {
  scroll-margin-top: 24px;
  padding: 4px 0 34px;
  border-bottom: 1px solid var(--site-rule);
}

.case-section + .case-section {
  padding-top: 32px;
}

.case-section > h2 {
  margin: 0 0 18px;
  color: var(--site-ink);
  font-size: clamp(1.75rem, 2.3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.case-video-embed {
  margin-top: 24px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--site-rule);
  border-radius: 18px;
  background: var(--site-navy-900);
  box-shadow: 0 20px 48px rgba(4, 38, 61, 0.14);
}

.case-video-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.case-video-embed__vazio {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  text-align: center;
}

.case-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.case-result-card {
  min-height: 142px;
  padding: 22px 18px;
  border: 1px solid rgba(8, 53, 86, 0.16);
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
  display: grid;
  place-items: center;
}

.case-result-metric {
  display: block;
  color: var(--site-gold-deep);
  font-family: var(--site-font-title);
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.case-result-card .case-result-metric + span {
  display: block;
  margin-top: 10px;
  color: var(--site-ink-body);
  font-size: 0.9rem;
  line-height: 1.45;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.case-gallery figure {
  margin: 0;
}

.case-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  background: var(--site-paper-alt);
}

.case-gallery figcaption {
  margin-top: 8px;
  color: var(--site-ink-muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.case-testimonial {
  margin: 0 0 28px;
  padding: 26px 12px 6px;
  border-top: 1px solid var(--site-rule-strong);
  text-align: center;
}

.case-testimonial blockquote {
  margin: 0;
  color: var(--site-ink);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  font-weight: 400;
  line-height: 1.85;
}

.case-testimonial footer {
  margin-top: 20px;
  color: var(--site-gold-deep);
  font-size: 0.94rem;
  line-height: 1.5;
}

.case-cta-wrap {
  width: min(1060px, calc(100vw - 42px));
  margin: 58px auto 0;
}

.case-cta {
  position: relative;
  /* O cartao e alvo de ancora (`#case-cta`) no indice de algumas Cases. Sem a
     margem de rolagem, o cabecalho fixo do site cobre o topo dele. */
  scroll-margin-top: 116px;
  overflow: hidden;
  padding: 46px 42px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 16%, rgba(205, 165, 94, 0.16), transparent 30%),
    radial-gradient(circle at 88% 88%, rgba(205, 165, 94, 0.1), transparent 28%),
    linear-gradient(135deg, var(--site-navy-900) 0%, var(--site-navy-700) 100%);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 24px 58px rgba(4, 38, 61, 0.2);
}

.case-cta__eyebrow {
  margin: 0 0 14px;
  color: var(--site-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-cta h2 {
  max-width: 820px;
  margin: 0 auto 14px;
  color: #ffffff;
  font-family: var(--site-font-title);
  font-size: clamp(2rem, 3vw, 3.15rem);
  font-weight: 400;
  line-height: 1.15;
}

.case-cta h2 em {
  color: var(--site-gold);
  font-style: italic;
}

.case-cta > p:not(.case-cta__eyebrow) {
  max-width: 780px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.72;
}

.case-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.case-cta__button {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--site-gold);
  border-radius: 12px;
  background: var(--site-gold);
  color: var(--site-ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.case-cta__button:hover {
  transform: translateY(-2px);
  background: transparent;
  color: var(--site-gold);
}

.case-cta__button--secondary {
  background: transparent;
  color: var(--site-gold);
}

.case-cta__button--secondary:hover {
  background: var(--site-gold);
  color: var(--site-ink);
}

.nc-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 0 34px;
  background:
    radial-gradient(circle at 18% 16%, rgba(205, 165, 94, 0.11), transparent 26%),
    radial-gradient(circle at 84% 74%, rgba(205, 165, 94, 0.08), transparent 26%),
    linear-gradient(180deg, var(--site-navy-900) 0%, var(--site-navy-800) 100%);
  color: #ffffff;
}

.nc-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(205, 165, 94, 0.42), transparent);
}

.nc-hero__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1.22fr);
  gap: 58px;
  align-items: center;
}

.nc-hero__photo-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  min-height: 455px;
  background: #021624;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.nc-hero__photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(205, 165, 94, 0.28);
  pointer-events: none;
}

.nc-hero__photo {
  width: 100%;
  height: 100%;
  min-height: 455px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.nc-hero__photo-vazio {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 455px;
  padding: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  text-align: center;
}

.nc-hero__content {
  transform: translateY(-18px);
}

.nc-title {
  margin: 0 0 14px;
  color: #ffffff;
  font-family: var(--site-font-title);
  font-size: clamp(2.4rem, 3.8vw, 4.35rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.nc-role {
  margin: 0 0 28px;
  color: var(--site-gold);
  font-family: var(--site-font-title);
  font-size: clamp(1.18rem, 1.5vw, 1.72rem);
  line-height: 1.22;
}

.nc-products {
  margin: 0 0 34px;
}

.nc-products__title {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1;
}

.nc-product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nc-product-badge {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 132px;
  padding: 0 18px;
  border-radius: 8px;
  background: rgba(205, 165, 94, 0.14);
  border: 1px solid rgba(205, 165, 94, 0.18);
  color: var(--site-gold);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nc-product-badge::before {
  content: none;
}

.nc-product-badge:hover {
  transform: translateY(-1px);
  background: rgba(205, 165, 94, 0.22);
  border-color: rgba(205, 165, 94, 0.52);
}

.nc-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 54px;
  max-width: 720px;
}

.nc-fact {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.nc-fact__icon {
  display: block;
  margin-top: 6px;
  color: var(--site-gold);
}

.nc-fact__icon--marcador {
  width: 9px;
  min-width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--site-gold);
}

.nc-fact__icon--desenho {
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin-top: 1px;
}

.nc-fact__icon--desenho svg {
  width: 20px;
  height: 20px;
  display: block;
}

.nc-fact strong {
  display: block;
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
}

.nc-fact__valor {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.45;
}

.nc-content-section {
  padding: 72px 0 84px;
  background: #ffffff;
}

.nc-content-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.nc-biography {
  min-width: 0;
  border-top: 1px solid var(--site-rule-strong);
}

.nc-text-block {
  scroll-margin-top: 24px;
  padding: 24px 0 34px;
  border-bottom: 1px solid rgba(8, 53, 86, 0.16);
}

.nc-text-block > h2 {
  margin: 0 0 18px;
  color: var(--site-ink);
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.nc-photo {
  margin: 0;
  padding: 26px 0 30px;
}

.nc-photo img {
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(6, 36, 58, 0.12);
}

.nc-photo figcaption {
  margin-top: 12px;
  color: var(--site-ink-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  text-align: center;
}

.nc-form-cta {
  max-width: 940px;
  margin: 0 auto 42px;
  padding: 4px 0 28px;
  text-align: center;
}

.nc-form-cta h2 {
  max-width: 860px;
  margin: 0 auto 22px;
  color: var(--site-ink);
  font-family: var(--site-font-title);
  font-size: clamp(1.9rem, 3vw, 3.05rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.nc-form-cta h2 em {
  color: var(--site-gold);
  font-style: italic;
}

.nc-form-cta__texto {
  max-width: 840px;
  margin: 0 auto;
  color: var(--site-ink-strong);
  font-size: 1.02rem;
  line-height: 1.96;
}

.site-destaque {
  color: var(--site-gold-deep);
}

.case-cta .site-destaque,
.nc-hero .site-destaque {
  color: var(--site-gold);
}

.post-hero {
  padding: 48px 0 36px;
  background:
    radial-gradient(circle at 50% 0%, rgba(205, 165, 94, 0.06), transparent 28%),
    var(--site-paper);
  text-align: center;
}

.post-hero__inner {
  width: min(860px, calc(100vw - 36px));
  margin: 0 auto;
}

.post-eyebrow {
  margin: 0 0 14px;
  color: var(--site-gold-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-title {
  margin: 0 0 18px;
  color: var(--site-ink);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.post-lead {
  margin: 0 auto 20px;
  max-width: 700px;
  color: var(--site-ink-body);
  font-size: 1.05rem;
  line-height: 1.7;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  color: var(--site-ink-strong);
  font-size: 0.92rem;
}

.post-meta__autor strong {
  color: var(--site-ink);
  font-weight: 600;
}

.post-cover {
  width: min(1120px, calc(100vw - 48px));
  margin: 32px auto 0;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--site-navy-900) 0%, var(--site-navy-700) 100%);
}

.post-cover img {
  width: 100%;
  height: 100%;
  display: block;
}

.post-content-section {
  padding: 64px 0 72px;
  background: #ffffff;
}

.post-content-grid {
  width: min(1220px, calc(100vw - 42px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.post-body {
  width: 100%;
  max-width: 760px;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.post-body:only-child {
  grid-column: 1 / -1;
  justify-self: center;
}

.post-index {
  position: relative;
  align-self: stretch;
  min-width: 0;
}

.post-index__inner {
  position: sticky;
  top: 118px;
  padding-top: 10px;
}

.post-index h2 {
  margin: 0 0 20px;
  color: var(--site-ink);
  font-size: 1.58rem;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.post-index__line {
  position: relative;
  display: block;
  width: 100%;
  height: 6px;
  margin: 0 0 22px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7e7e7;
}

.post-index__line-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--site-index-progress, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--site-gold-deep), var(--site-gold));
  transition: width 0.18s ease-out;
}

.post-index p {
  margin: 0 0 18px;
  color: var(--site-gold-deep);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}

.post-index nav {
  display: grid;
  gap: 18px;
}

.post-index a {
  color: #6c6f73;
  font-size: 0.96rem;
  line-height: 1.42;
  transition: color 0.2s ease, transform 0.2s ease;
}

.post-index a:hover,
.post-index a.is-active {
  color: var(--site-gold-deep);
  transform: translateX(3px);
}

.post-section {
  scroll-margin-top: 116px;
  padding: 6px 0 18px;
}

.post-section h2 {
  margin: 18px 0 14px;
  color: var(--site-ink);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.post-share {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--site-rule);
}

.post-share__title {
  margin: 0 0 16px;
  color: var(--site-ink);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.post-share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.post-share__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--site-navy-800);
  color: var(--site-gold);
  cursor: pointer;
  appearance: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.post-share__button:hover {
  background: var(--site-navy-900);
  color: #e5c489;
  /* Dois pixels. O suficiente para o botão responder ao ponteiro sem que a
     fileira inteira pareça se mexer. */
  transform: translateY(-2px);
}

.post-share__button:focus-visible {
  outline: 2px solid var(--site-gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .post-share__button {
    transition: background 0.2s ease, color 0.2s ease;
  }

  .post-share__button:hover {
    transform: none;
  }
}

.post-author {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 36px;
  padding: 26px;
  border: 1px solid var(--site-rule);
  border-radius: 12px;
  background: var(--site-paper-alt);
}

.post-author__photo-link {
  display: block;
  flex: 0 0 auto;
  border-radius: 999px;
}

.post-author__photo-link:focus-visible {
  outline: 2px solid var(--site-gold);
  outline-offset: 3px;
}

.post-author__name a {
  color: inherit;
  text-decoration: none;
}

.post-author__name a:hover,
.post-author__name a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-author__photo {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  object-fit: cover;
}

.post-author__body {
  min-width: 0;
}

.post-author__eyebrow {
  margin: 0 0 6px;
  color: var(--site-gold-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-author__name {
  margin: 0;
  color: var(--site-ink);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.post-author__role {
  margin: 2px 0 0;
  color: var(--site-ink-strong);
  font-size: 0.9rem;
}

.post-author__bio {
  margin: 10px 0 0;
  color: var(--site-ink-body);
  font-size: 0.94rem;
  line-height: 1.65;
}

.post-related {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--site-rule);
}

.post-related h2 {
  margin: 0 0 12px;
  color: var(--site-ink);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.post-related ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.post-related a {
  color: var(--site-gold-deep);
  font-size: 0.98rem;
  line-height: 1.5;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.post-related a:hover {
  border-bottom-color: currentColor;
}

.material-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 44px;
  align-items: start;
  width: min(1120px, calc(100vw - 42px));
  margin: 0 auto;
  padding: 56px 0 24px;
}

.material-card {
  position: sticky;
  top: 24px;
  padding: 24px;
  border: 1px solid var(--site-rule);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(6, 36, 58, 0.08);
  text-align: center;
}

.material-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  margin-bottom: 18px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--site-paper-alt);
}

.material-card__tipo {
  margin: 0 0 8px;
  color: var(--site-gold-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.material-card__arquivo {
  margin: 14px 0 0;
  color: var(--site-ink-muted);
  font-size: 0.82rem;
}

.material-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--site-gold);
  color: var(--site-ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-prose > *:first-child {
  margin-top: 0;
}

.site-prose > *:last-child {
  margin-bottom: 0;
}

.site-prose p {
  margin: 0 0 18px;
  color: var(--site-ink-body);
  font-size: 1rem;
  line-height: 1.86;
}

.site-prose h2 {
  margin: 32px 0 16px;
  color: var(--site-ink);
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.site-prose h3 {
  margin: 24px 0 12px;
  color: var(--site-ink-strong);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
}

.site-prose ul,
.site-prose ol {
  margin: 18px 0;
  padding-left: 22px;
  color: var(--site-ink-body);
}

.site-prose li {
  margin-bottom: 10px;
  padding-left: 4px;
  line-height: 1.7;
}

.site-prose a {
  color: var(--site-gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-prose blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--site-gold);
  color: var(--site-ink);
  font-size: 1.06rem;
  line-height: 1.75;
}

.site-prose img {
  height: auto;
  margin: 24px 0;
  border-radius: 12px;
}

.site-prose strong {
  color: var(--site-ink);
  font-weight: 700;
}

.site-prose hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--site-rule);
}

.site-vazio {
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px dashed rgba(8, 53, 86, 0.24);
  border-radius: 12px;
  background: rgba(8, 53, 86, 0.02);
  color: var(--site-ink-muted);
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 980px) {
  .case-cover-shell {
    width: calc(100vw - 34px);
  }

  .case-content-grid {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 40px;
  }

  .case-results-grid,
  .case-gallery {
    grid-template-columns: 1fr;
  }

  .nc-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .nc-hero__content {
    transform: none;
  }

  .nc-content-grid,
  .post-content-grid {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 38px;
  }

  .material-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .material-card {
    position: static;
    max-width: 380px;
  }
}

@media (max-width: 820px) {
  .case-hero {
    padding: 24px 0 26px;
  }

  .case-hero__header {
    padding-bottom: 24px;
  }

  .case-title {
    font-size: clamp(1.9rem, 8vw, 2.75rem);
  }

  .case-cover-shell {
    width: calc(100vw - 18px);
  }

  .case-cover {
    border-radius: 10px;
  }

  .case-content-section {
    padding: 48px 0 8px;
  }

  .case-content-grid,
  .nc-content-grid,
  .post-content-grid {
    width: calc(100vw - 28px);
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .case-index,
  .nc-index,
  .post-index {
    position: static;
  }

  .case-index nav,
  .nc-index nav,
  .post-index nav {
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
  }

  .post-author {
    flex-direction: column;
    gap: 16px;
    padding: 22px;
  }

  .case-article {
    max-width: none;
  }

  .case-cta-wrap {
    width: calc(100vw - 28px);
    margin-top: 42px;
  }

  .nc-form-cta {
    margin-bottom: 30px;
    padding: 0 0 22px;
    text-align: left;
  }

  .nc-form-cta h2 {
    margin-bottom: 18px;
  }

  .nc-form-cta__texto {
    font-size: 0.98rem;
    line-height: 1.82;
  }

  .case-cta {
    padding: 38px 24px;
  }

  .nc-facts {
    gap: 22px 32px;
  }
}

@media (max-width: 560px) {
  .case-hero__header {
    width: calc(100vw - 22px);
  }

  .case-title {
    font-size: 1.88rem;
    line-height: 1.16;
  }

  .case-meta {
    flex-direction: column;
    gap: 10px;
  }

  .case-index nav,
  .nc-index nav,
  .post-index nav {
    grid-template-columns: 1fr;
  }

  .post-share__list {
    gap: 10px;
  }

  .case-highlight {
    padding: 18px;
    font-size: 1rem;
  }

  .case-section > h2 {
    font-size: 1.58rem;
  }

  .case-cta {
    padding: 34px 18px;
  }

  .case-cta h2 {
    font-size: 1.85rem;
  }

  .nc-form-cta {
    padding: 0 0 20px;
  }

  .case-cta__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .case-cta__button {
    width: 100%;
    min-height: 54px;
    padding: 12px 18px;
  }

  .nc-facts {
    grid-template-columns: 1fr;
  }

  .nc-title {
    font-size: 2.3rem;
  }

  .site-prose p {
    font-size: 0.96rem;
    line-height: 1.75;
  }
}

.case-index__atalho,
.nc-index__atalho,
.post-index__atalho {
  display: none;
}

@media (max-width: 820px) {
  .case-index.is-compacto .case-index__inner,
  .nc-index.is-compacto .nc-index__inner,
  .post-index.is-compacto .post-index__inner {
    position: fixed;
    top: var(--site-index-topo, 72px);
    right: 0;
    left: 0;
    z-index: 60;
    padding: 0;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(6, 36, 58, 0.12);
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .case-index.is-compacto.is-fim .case-index__inner,
  .nc-index.is-compacto.is-fim .nc-index__inner,
  .post-index.is-compacto.is-fim .post-index__inner {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
  }

  .case-index.is-compacto h2,
  .case-index.is-compacto p,
  .nc-index.is-compacto h2,
  .nc-index.is-compacto p,
  .post-index.is-compacto h2,
  .post-index.is-compacto p {
    display: none;
  }

  .case-index.is-compacto .case-index__atalho,
  .nc-index.is-compacto .nc-index__atalho,
  .post-index.is-compacto .post-index__atalho {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    /* 52px é alvo de toque com folga; o mínimo confortável é 44px. */
    min-height: 52px;
    margin: 0;
    padding: 10px 16px;
    border: 0;
    background: transparent;
    color: var(--site-ink);
    font: inherit;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
  }

  .case-index__atalho-rotulo,
  .nc-index__atalho-rotulo,
  .post-index__atalho-rotulo {
    overflow: hidden;
    min-width: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .case-index__atalho-seta,
  .nc-index__atalho-seta,
  .post-index__atalho-seta {
    flex: none;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--site-gold-deep);
    border-bottom: 2px solid var(--site-gold-deep);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.2s ease;
  }

  .case-index.is-aberto .case-index__atalho-seta,
  .nc-index.is-aberto .nc-index__atalho-seta,
  .post-index.is-aberto .post-index__atalho-seta {
    transform: rotate(-135deg) translate(-2px, -2px);
  }

  .case-index.is-compacto .case-index__line,
  .nc-index.is-compacto .nc-index__line,
  .post-index.is-compacto .post-index__line {
    height: 3px;
    margin: 0;
    border-radius: 0;
  }

  .case-index.is-compacto nav,
  .nc-index.is-compacto nav,
  .post-index.is-compacto nav {
    display: none;
  }

  .case-index.is-compacto.is-aberto nav,
  .nc-index.is-compacto.is-aberto nav,
  .post-index.is-compacto.is-aberto nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    /* Com muitas seções a lista passaria da tela; ela rola dentro de si. */
    max-height: min(52vh, 380px);
    overflow-y: auto;
    padding: 4px 16px 12px;
  }

  .case-index.is-compacto.is-aberto nav a,
  .nc-index.is-compacto.is-aberto nav a,
  .post-index.is-compacto.is-aberto nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--site-rule);
    /* O deslocamento lateral do hover é gesto de coluna lateral; em uma lista
       de toque ele só faz o item tremer sob o dedo. */
    transform: none;
  }

  .case-index.is-compacto.is-aberto nav a:last-child,
  .nc-index.is-compacto.is-aberto nav a:last-child,
  .post-index.is-compacto.is-aberto nav a:last-child {
    border-bottom: 0;
  }

  body.has-indice-compacto .case-section,
  body.has-indice-compacto .nc-text-block,
  body.has-indice-compacto .post-section {
    scroll-margin-top: var(--site-index-ancora, 128px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-index.is-compacto .case-index__inner,
  .nc-index.is-compacto .nc-index__inner,
  .post-index.is-compacto .post-index__inner,
  .case-index__atalho-seta,
  .nc-index__atalho-seta,
  .post-index__atalho-seta {
    transition: none;
  }
}
