/*
Theme Name: R3/CRM
Author: r3tech-sites
Description: Hotsite Consultoria CRM de Vendas (Aceleração Digital). Visual do design system Rogério Matofino.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: r3crm
*/

/* ===== Tokens (design system Matofino) ===== */
:root {
  --navy: #262b64;
  --navy-2: #3d4380;
  --turquesa: #57b29e;
  --turquesa-claro: #7accc7;
  --pessego: #f38487;
  --amarelo: #fddf42;
  --paper: #ffffff;
  --paper-quente: #f7f6f1;
  --ink: #15171c;
  --ink-2: #5c5c5c;
  --linha: #e1ded4;

  --font-display: "Chapaza", "Times New Roman", Times, Georgia, serif;
  --font-sans: "Avenir", "Avenir Next", Calibri, Candara, "Segoe UI", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 6vw, 120px);
  --secao: clamp(56px, 8vw, 80px);
  --raio: 4px;
}

/* ===== Base ===== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.d { font-family: var(--font-display); font-weight: 400; }
.cap { font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.kicker { color: var(--ink-2); }
.titulo-secao { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; color: var(--navy); }
.secao { padding: var(--secao) 0; }
.secao--quente { background: var(--paper-quente); }
.cabeca-secao { display: flex; flex-direction: column; gap: 16px; max-width: 900px; margin-bottom: 48px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 24px; border: 1px solid var(--navy); border-radius: var(--raio);
  background: var(--navy); color: #fff; text-decoration: none; font: inherit;
  font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--amarelo { background: var(--amarelo); border-color: var(--amarelo); color: var(--navy); }
.btn--amarelo:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn--contorno { background: transparent; color: var(--navy); }
.btn--contorno:hover { background: var(--navy); color: #fff; }

/* Placeholder de imagem (antes de escolher no Personalizar) */
.ph {
  background: var(--linha); color: var(--ink-2); display: flex; align-items: center; justify-content: center;
  font-size: 13px; text-align: center; padding: 12px; width: 100%; height: 100%;
}
.foto-pb { filter: grayscale(1); }

/* Imagens editáveis (1.2.0): wrappers ocupam o espaço do bloco */
.galeria__foto { width: 100%; height: 100%; }
.hero__midia { position: relative; }
.hero__midia > img { display: block; width: 100%; max-width: 460px; height: auto; position: relative; }
.logos .logo-cliente img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.site-logo img { max-width: 180px; }

/* Termos de uso e privacidade */
.legal-ficha { background: var(--paper-quente); padding: 24px 28px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; }
.legal-resumo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0; margin: 0; border-top: 2px solid var(--navy); }
.legal-resumo dt, .legal-resumo dd { margin: 0; padding: 16px; border-bottom: 1px solid var(--linha); font-size: 16px; line-height: 1.5; }
.legal-resumo dt { font-weight: 500; color: var(--navy); }
@media (max-width: 700px) {
  .legal-resumo { grid-template-columns: 1fr; }
  .legal-resumo dt { border-bottom: 0; padding-bottom: 4px; }
  .legal-resumo dd { padding-top: 0; }
}

/* ===== Cabeçalho ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--linha); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.site-logo img { height: 56px; width: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 36px; }
.main-nav a { text-decoration: none; color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: 4px; }
.main-nav .btn { color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid var(--navy); border-radius: var(--raio); width: 48px; height: 48px; color: var(--navy); cursor: pointer; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--linha); display: none; }
  .main-nav.aberto { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; }
  .main-nav li a { display: block; padding: 14px 0; }
  .main-nav li .btn { margin-top: 12px; }
}

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: var(--secao); padding-bottom: var(--secao); }
.hero__texto { display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 1; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; color: var(--navy); }
.hero__tagline { font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; color: var(--navy); }
.hero__apoio { font-size: 18px; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.hero__visual { position: relative; min-height: 460px; }
.hero__anel { position: absolute; right: -200px; top: -20px; width: 560px; height: 560px; }
.hero__anel2 { position: absolute; right: -40px; bottom: -40px; width: 150px; height: 150px; }
.hero__diagrama { position: relative; width: 100%; max-width: 460px; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__visual { min-height: 0; }
  .hero__anel { width: 360px; height: 360px; right: -140px; top: -40px; }
  .hero__diagrama { margin: 0 auto; max-width: 360px; }
}

.faixa-stack { border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.faixa-stack .wrap { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; padding-top: 22px; padding-bottom: 22px; }
.faixa-stack span { color: var(--navy); }
.faixa-stack span:first-child { color: var(--ink-2); }

/* ===== Cards ===== */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-4, .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card-dor { background: #fff; border: 1px solid var(--linha); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.card-dor img { width: 72px; height: 72px; }
.card-dor h3, .card-solucao h3 { color: var(--navy); }

.card-solucao { border: 1px solid var(--linha); padding: 32px; display: flex; gap: 24px; align-items: flex-start; }
.card-solucao img { width: 88px; height: 88px; flex-shrink: 0; }
.card-solucao div { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 520px) { .card-solucao { flex-direction: column; } }

/* ===== Evidências ===== */
.evidencias { background: var(--amarelo); }
.evidencias .wrap { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 64px; }
.evidencias .kicker { color: var(--navy); }
.evidencia { border-top: 2px solid var(--navy); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.evidencia__numero { font-family: var(--font-display); font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--navy); }
.evidencia__print { height: 140px; background: #fff; }
.evidencia__print img { width: 100%; height: 100%; object-fit: cover; }
.evidencia__fonte { font-size: 12px; }
@media (max-width: 900px) { .evidencias .wrap { grid-template-columns: 1fr; gap: 32px; } }

/* ===== Timeline 30-60-90 ===== */
.timeline { display: flex; align-items: stretch; gap: 16px; }
.fase { flex: 1; background: #fff; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.fase h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--navy); }
.fase__metodo { border-top: 1px solid var(--linha); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; }
.fase__metodo strong { color: var(--navy); }
.seta { display: flex; align-items: center; }
.seta img { width: 34px; height: 36px; }
@media (max-width: 900px) {
  .timeline { flex-direction: column; }
  .seta { justify-content: center; transform: rotate(90deg); }
}

/* ===== Squad ===== */
.squad .wrap { display: grid; grid-template-columns: 460px minmax(0, 1fr); gap: 80px; align-items: center; }
.squad__foto { position: relative; width: 460px; height: 520px; }
.squad__padrao { position: absolute; left: 0; top: 0; width: 300px; height: 300px; overflow: hidden; background: var(--turquesa-claro); }
.squad__padrao img { width: 346px; height: 300px; max-width: none; }
.squad__img { position: absolute; left: 60px; top: 60px; width: 400px; height: 460px; }
.squad__img img { width: 100%; height: 100%; object-fit: cover; }
.squad__texto { display: flex; flex-direction: column; gap: 24px; }
.papel { border-top: 2px solid var(--navy); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.papel .cap { color: var(--navy); }
.papel div:last-child { font-size: 14px; color: var(--ink-2); }
@media (max-width: 1080px) {
  .squad .wrap { grid-template-columns: 1fr; gap: 40px; }
  .squad__foto { width: 100%; max-width: 460px; height: auto; aspect-ratio: 460 / 520; }
  .squad__img { left: 13%; top: 11.5%; width: 87%; height: 88.5%; }
  .squad__padrao { width: 65%; height: 58%; }
}

/* ===== Galeria ===== */
.galeria__topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; flex-wrap: wrap; }
.galeria__numero { display: flex; align-items: baseline; gap: 12px; }
.galeria__numero .d { font-size: 64px; line-height: 1; color: var(--navy); }
.galeria__grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 280px 280px; gap: 16px; }
.galeria__grade figure { margin: 0; position: relative; overflow: hidden; background: var(--linha); }
.galeria__grade figure img { width: 100%; height: 100%; object-fit: cover; }
.galeria__grade .g1 { grid-column: span 2; grid-row: span 2; }
.galeria__grade .g2 { grid-row: span 2; }
.galeria__grade figcaption { position: absolute; left: 0; bottom: 0; background: var(--navy); color: #fff; padding: 10px 14px; font-size: 12px; }
.galeria__grade .g3 figcaption { background: var(--amarelo); color: var(--navy); }
@media (max-width: 900px) {
  .galeria__grade { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .galeria__grade figure { aspect-ratio: 4 / 3; }
  .galeria__grade .g1 { grid-column: span 2; grid-row: auto; }
  .galeria__grade .g2 { grid-row: auto; }
}

/* ===== Cases ===== */
.logos { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 40px; }
.logos .logo-cliente { flex: 1 1 140px; height: 64px; background: #fff; }
.logos .parceiro { display: flex; flex-direction: column; gap: 4px; align-items: center; font-size: 11px; color: var(--ink-2); }
.logos .parceiro .logo-cliente { width: 140px; height: 40px; flex: none; }
.abas { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--linha); }
.abas button {
  background: none; border: 0; border-bottom: 4px solid transparent; padding: 16px 24px; min-height: 48px;
  color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; cursor: pointer;
}
.abas button[aria-selected="true"] { border-bottom-color: var(--turquesa); color: var(--navy); }
.painel { background: #fff; display: flex; }
.painel[hidden] { display: none; }
.painel__corpo { flex-grow: 1; padding: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.painel__corpo > div { display: flex; flex-direction: column; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--navy); color: var(--navy); padding: 6px 12px; border-radius: 999px; font-size: 13px; }
.painel__resultado { width: 340px; flex-shrink: 0; background: var(--navy); color: #fff; padding: 40px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.painel__resultado .cap { color: var(--turquesa-claro); }
.painel__resultado .d { font-size: clamp(44px, 5vw, 64px); line-height: 1; }
.painel__resultado a { color: var(--amarelo); }
@media (max-width: 1080px) {
  .painel { flex-direction: column; }
  .painel__resultado { width: auto; }
  .painel__corpo { grid-template-columns: 1fr; padding: 32px 24px; }
}

/* ===== Depoimentos ===== */
.depoimentos__corpo { display: flex; gap: 48px; align-items: flex-start; }
.depoimentos__corpo > img { width: 128px; height: 112px; flex-shrink: 0; }
.slide[hidden] { display: none; }
.slide blockquote { margin: 0 0 32px; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; color: var(--navy); }
.slide__autor { display: flex; gap: 16px; align-items: center; }
.slide__autor .cap { color: var(--navy); }
.slide__autor div div:last-child { font-size: 14px; color: var(--ink-2); }
.carrossel__nav { display: flex; gap: 12px; align-items: center; justify-content: flex-end; margin-top: 24px; }
.carrossel__nav button { width: 48px; height: 48px; border: 1px solid var(--navy); background: #fff; color: var(--navy); font-size: 20px; cursor: pointer; }
.carrossel__nav button:last-child { background: var(--navy); color: #fff; }
.pontos { display: flex; gap: 8px; margin-right: 12px; }
.pontos span { width: 24px; height: 4px; background: var(--linha); }
.pontos span.ativo { background: var(--navy); }
@media (max-width: 760px) { .depoimentos__corpo { flex-direction: column; gap: 16px; } .depoimentos__corpo > img { width: 72px; height: 63px; } }

/* ===== FAQ ===== */
.faq .wrap { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 80px; }
.faq__lista { border-top: 1px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--linha); padding: 24px 0; }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 18px; font-weight: 500; color: var(--navy); }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--navy); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--ink-2); }
@media (max-width: 1080px) { .faq .wrap { grid-template-columns: 1fr; gap: 32px; } }

/* ===== CTA + rodapé ===== */
.cta { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta__rede { position: absolute; left: -120px; bottom: 60px; width: 620px; opacity: .35; z-index: -1; pointer-events: none; max-width: none; }
.cta .wrap { padding-top: 96px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 80px; }
.cta__topo { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 80px; }
.cta__texto { display: flex; flex-direction: column; gap: 24px; }
.cta .titulo-secao { color: #fff; }
.cta .kicker, .cta__apoio { color: var(--turquesa-claro); }
.cta__apoio { font-size: 20px; line-height: 1.5; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.campo { display: flex; flex-direction: column; gap: 8px; }
.campo--largo { grid-column: span 2; }
.campo label { font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.campo input, .campo textarea { min-height: 48px; border: 0; border-radius: var(--raio); padding: 12px 16px; font: inherit; color: var(--ink); background: #fff; }
.campo textarea { height: 112px; resize: vertical; }
.form__rodape { grid-column: span 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.form__rodape p { font-size: 12px; color: var(--turquesa-claro); max-width: 360px; }
.form__rodape a { color: #fff; }
.hp { position: absolute; left: -9999px; }
.aviso { grid-column: span 2; padding: 12px 16px; border-radius: var(--raio); font-size: 15px; }
.aviso--ok { background: var(--turquesa-claro); color: var(--navy); }
.aviso--erro { background: var(--pessego); color: var(--ink); }
.site-footer { border-top: 1px solid var(--navy-2); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer img { height: 48px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px 32px; }
.site-footer nav a { color: #fff; font-size: 14px; }
.site-footer small { font-size: 12px; color: var(--turquesa-claro); }
.cta--compacto .wrap { padding-top: 80px; }
.cta__linha { display: flex; justify-content: space-between; align-items: center; gap: 48px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .cta__topo { grid-template-columns: 1fr; gap: 40px; }
  .form { grid-template-columns: 1fr; }
  .campo--largo, .form__rodape, .aviso { grid-column: auto; }
}

/* ===== Insights (listagem) ===== */
.cabeca-pagina { background: var(--paper-quente); position: relative; overflow: hidden; }
.cabeca-pagina .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.cabeca-pagina h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.1; color: var(--navy); }
.cabeca-pagina p { font-size: 18px; max-width: 720px; }
.cabeca-pagina__anel { position: absolute; right: -90px; top: -90px; width: 340px; height: 340px; }
.cabeca-pagina__anel2 { position: absolute; right: 230px; top: 150px; width: 110px; height: 110px; }
@media (max-width: 760px) { .cabeca-pagina__anel { width: 200px; height: 200px; right: -80px; top: -80px; } .cabeca-pagina__anel2 { display: none; } }
.migalhas { font-size: 13px; color: var(--ink-2); }
.migalhas a { color: var(--ink-2); }
.filtros { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 32px; }
.filtros a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--linha); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
}
.filtros a.ativo { background: var(--navy); border-color: var(--navy); color: #fff; }
.destaque { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 1fr); border: 1px solid var(--linha); text-decoration: none; color: var(--ink); }
.destaque__img { aspect-ratio: 17 / 10; }
.destaque__img img { width: 100%; height: 100%; object-fit: cover; }
.destaque__txt { padding: 48px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.destaque__txt h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; color: var(--navy); }
.selo { align-self: flex-start; background: var(--amarelo); color: var(--navy); padding: 4px 10px; font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.meta { font-size: 13px; color: var(--ink-2); }
@media (max-width: 900px) { .destaque { grid-template-columns: 1fr; } .destaque__txt { padding: 28px 24px; } }
.lista-posts { padding-top: 64px; }
.card-post { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.card-post__img { aspect-ratio: 16 / 9; }
.card-post__img img { width: 100%; height: 100%; object-fit: cover; }
.card-post h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.25; color: var(--navy); }
.card-post p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.card-post .cap { font-size: 12px; color: var(--ink-2); }
.paginacao { display: flex; justify-content: center; gap: 12px; padding: 56px 0 80px; }
.paginacao .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 12px; border: 1px solid var(--navy); border-radius: var(--raio); text-decoration: none; }
.paginacao .current { background: var(--navy); color: #fff; }

/* ===== Post ===== */
.post-cabeca { max-width: 960px; margin: 0 auto; padding: 56px var(--gutter) 40px; display: flex; flex-direction: column; gap: 20px; }
.post-cabeca h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; color: var(--navy); }
.autor-linha { display: flex; align-items: center; gap: 16px; }
.autor-linha img { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; }
.autor-linha .cap { color: var(--navy); font-size: 13px; }
.post-imagem { max-width: calc(1200px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.post-imagem figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.post-imagem img { width: 100%; aspect-ratio: 1200 / 520; object-fit: cover; }
.post-imagem .ph { aspect-ratio: 1200 / 520; }
.post-imagem figcaption { font-size: 13px; color: var(--ink-2); }
.post-corpo { max-width: 1000px; margin: 0 auto; padding: 64px var(--gutter) 0; display: grid; grid-template-columns: 120px minmax(0, 760px); gap: 120px; }
.compartilhar { position: sticky; top: 120px; align-self: start; display: flex; flex-direction: column; gap: 12px; }
.compartilhar .cap { font-size: 11px; color: var(--ink-2); }
.compartilhar a { width: 48px; height: 48px; border: 1px solid var(--navy); display: flex; align-items: center; justify-content: center; color: var(--navy); text-decoration: none; font-weight: 700; }
@media (max-width: 1080px) {
  .post-corpo { grid-template-columns: 1fr; gap: 24px; }
  .compartilhar { position: static; flex-direction: row; align-items: center; }
}
.conteudo { display: flex; flex-direction: column; gap: 28px; font-size: 18px; line-height: 1.7; }
.conteudo > p:first-child { font-size: 21px; line-height: 1.55; }
.conteudo h2 { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.2; color: var(--navy); margin-top: 16px; scroll-margin-top: 110px; }
.conteudo h3 { font-size: 20px; font-weight: 500; color: var(--navy); margin-top: 8px; scroll-margin-top: 110px; }
.conteudo ul, .conteudo ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.conteudo table { width: 100%; border-collapse: collapse; font-size: 16px; }
.conteudo th { text-align: left; padding: 14px 16px; border-bottom: 2px solid var(--navy); color: var(--navy); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.conteudo td { padding: 14px 16px; border-bottom: 1px solid var(--linha); }
.conteudo blockquote { margin: 16px 0; padding-left: 84px; position: relative; font-family: var(--font-display); font-size: 26px; line-height: 1.35; color: var(--navy); }
.conteudo blockquote::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 56px; background: var(--aspas) no-repeat center / contain; }
.conteudo blockquote p { margin: 0; }
.conteudo img { height: auto; }
.indice { background: var(--paper-quente); padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.indice .cap { color: var(--navy); }
.indice ol { list-style: decimal; padding-left: 20px; gap: 8px; font-size: 16px; }
.cta-contexto { background: var(--navy); padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-contexto p { font-family: var(--font-display); font-size: 24px; line-height: 1.3; color: #fff; }
@media (max-width: 760px) { .cta-contexto { flex-direction: column; align-items: flex-start; } }
.box-autor { max-width: 760px; margin: 64px auto 0; background: var(--paper-quente); padding: 32px; display: flex; gap: 32px; }
.box-autor__foto { position: relative; width: 140px; height: 140px; flex-shrink: 0; }
.box-autor__foto .padrao { position: absolute; left: 0; top: 0; width: 90px; height: 90px; overflow: hidden; background: var(--turquesa-claro); }
.box-autor__foto .padrao img { width: 104px; height: 90px; max-width: none; }
.box-autor__foto .retrato { position: absolute; left: 20px; top: 20px; width: 120px; height: 120px; }
.box-autor__foto .retrato img { width: 100%; height: 100%; object-fit: cover; }
.box-autor__txt { display: flex; flex-direction: column; gap: 10px; }
.box-autor__txt .d { font-size: 26px; color: var(--navy); }
@media (max-width: 760px) { .box-autor { flex-direction: column; margin-left: var(--gutter); margin-right: var(--gutter); } }
.relacionados h2 { font-family: var(--font-display); font-weight: 400; font-size: 34px; color: var(--navy); margin-bottom: 32px; }
.relacionados .card-post h3 { font-size: 22px; }
.conteudo { overflow-wrap: break-word; }
