/* ==========================================================================
   Blog Descarbonize v2 — artigo (D-06.1, D-07.2, M-06.1, M-06.2, M-07.3)
   e header compacto que aparece ao rolar (todas as páginas).
   ========================================================================== */

/* ---------- Header compacto ---------- */
.dz-compact-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 80; /* acima do header (70), abaixo do menu mobile (100) */
	transform: translateY(-100%); opacity: 0; visibility: hidden;
	transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s;
}
.dz-compact-header.is-visible { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.dz-compact-header.is-suppressed { transform: translateY(-100%); opacity: 0; visibility: hidden; }
.dz-compact-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px;
	padding-inline: max(var(--dz-gutter), calc((100% - var(--dz-container)) / 2));
	background: var(--dz-ink); box-shadow: 0 8px 24px rgba(64, 0, 115, .1);
}
.dz-compact-header__brand { display: flex; align-items: center; gap: 13.6px; flex: none; text-decoration: none; border-radius: 4px; }
.dz-compact-header__brand picture { display: flex; }
.dz-compact-header__brand img { display: block; width: 165.75px; height: 17px; max-width: none; }
.dz-compact-header__brand-divider { width: 1.275px; height: 25.5px; flex: none; background: rgba(255, 255, 255, .35); }
.dz-compact-header__brand-blog { font: 600 16.15px/1.26 var(--dz-font); letter-spacing: .1615px; color: var(--dz-lilac); white-space: nowrap; }

.dz-compact-header__context {
	display: flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0;
	font: 400 14px/1.26 var(--dz-font); white-space: nowrap;
}
.dz-compact-header__section { flex: 0 1 auto; min-width: 0; max-width: 60%; overflow: hidden; text-overflow: ellipsis; font-weight: 600; color: #fff; }
.dz-compact-header__section[hidden] { display: none; }
.dz-compact-header__post { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, .72); }

.dz-compact-header__nav { display: flex; align-items: center; gap: 32px; min-width: 0; }
.dz-compact-header__link {
	font: 400 14px/1.26 var(--dz-font); color: rgba(255, 255, 255, .72) !important; white-space: nowrap; text-decoration: none;
	border-radius: 4px; transition: color .15s ease;
}
.dz-compact-header__link:hover { color: #fff !important; }
.dz-compact-header__all { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; }
.dz-compact-header__link.is-active { font-weight: 600; color: #fff !important; }

.dz-compact-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.dz-compact-header__search, .dz-compact-header__menu {
	display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 20px;
	background: rgba(255, 255, 255, .1); cursor: pointer; transition: background .15s ease;
}
.dz-compact-header__search:hover { background: rgba(255, 255, 255, .18); }
.dz-compact-header__menu { display: none; }
.dz-compact-header__cta {
	display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px; border-radius: 20px;
	background: var(--dz-gradient); font: 700 13px/1.26 var(--dz-font); color: #fff !important; white-space: nowrap; text-decoration: none;
	transition: background .2s ease;
}
.dz-compact-header__cta:hover { background: var(--dz-gradient-hover); }

/* ---------- Progresso de leitura ---------- */
.dz-progress { position: relative; width: 100%; height: 4px; background: var(--dz-tint); overflow: hidden; }
.dz-progress__fill { position: absolute; left: 0; top: 0; width: 0; height: 100%; background: var(--dz-gradient); }

/* ---------- Toast "Link copiado": check no círculo roxo ---------- */
.dz-toast > img {
	box-sizing: content-box; width: 11.73px; height: 9.07px; padding: 9.465px 8.135px; margin-left: -6px; flex: none;
	border-radius: 50%; background: var(--dz-purple);
}

/* ==========================================================================
   Artigo
   ========================================================================== */
.dz-article-page { background: #fff; }

/* Abertura */
.dz-article__opening { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 40px; }
.dz-breadcrumb { display: flex; align-items: center; gap: 8px; max-width: 100%; font: 400 13px/1.26 var(--dz-font); white-space: nowrap; }
.dz-breadcrumb__link { flex: none; color: var(--dz-muted) !important; text-decoration: none; border-radius: 4px; }
.dz-breadcrumb__link:hover { color: var(--dz-purple-deep) !important; text-decoration: underline; text-underline-position: from-font; }
.dz-breadcrumb__sep { display: inline-flex; flex: none; }
.dz-breadcrumb__current { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 600; color: var(--dz-ink); }
.dz-article__opening .dz-badge { border-radius: 4px; }
.dz-article__opening a.dz-badge:hover { text-decoration: underline; text-underline-position: from-font; }

.dz-article__title { max-width: 966px; font: 700 52px/62px var(--dz-font); letter-spacing: -.52px; color: var(--dz-ink); overflow-wrap: break-word; }
.dz-article__lead { max-width: 860px; font: 400 20px/32px var(--dz-font); color: var(--dz-body); }

.dz-article__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 4px 0 40px; }
.dz-article__author { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; }
.dz-article__author-name { font: 600 14px/1.26 var(--dz-font); color: var(--dz-ink); }
.dz-article__author-note { font: 400 12px/1.26 var(--dz-font); color: var(--dz-muted); }
.dz-article__meta-compact { display: none; }
.dz-article__meta-divider { width: 1px; height: 28px; flex: none; background: var(--dz-border); }
.dz-article__meta-item { display: flex; align-items: center; gap: 6px; font: 400 13px/1.26 var(--dz-font); color: var(--dz-muted); white-space: nowrap; }
.dz-article__meta-item strong { font-weight: 600; color: inherit; }

/* Imagem principal */
.dz-article__hero-img { display: block; width: 100%; height: auto; aspect-ratio: 1296 / 620; object-fit: cover; border-radius: 28px; }
.dz-article__hero figcaption { padding-top: 12px; font: 400 13px/1.26 var(--dz-font); color: var(--dz-muted); }

/* Corpo em 3 colunas: índice / leitura / compartilhar */
.dz-article__body {
	display: grid; grid-template-columns: 306px minmax(0, 746px) 196px; justify-content: space-between; column-gap: 24px;
	align-items: start; padding-top: 64px;
}
.dz-article__main { min-width: 0; }
.dz-article__index, .dz-article__share-rail { position: sticky; top: 112px; } /* 72 header compacto + 4 progresso + 36 */

/* Índice (desktop) */
.dz-article__index { display: flex; flex-direction: column; gap: 20px; min-width: 0; max-height: calc(100vh - 136px); }
.dz-toc { display: flex; flex-direction: column; gap: 4px; flex: 0 1 auto; min-height: 0; padding: 24px; background: var(--dz-surface); border-radius: 22px; }
.dz-toc__title { display: flex; align-items: center; gap: 8px; flex: none; padding-bottom: 12px; font: 700 15px/1.26 var(--dz-font); color: var(--dz-ink); }
.dz-toc__list { position: relative; list-style: none; display: flex; flex-direction: column; gap: 4px; flex: 0 1 auto; min-height: 60px; overflow-y: auto; scrollbar-width: thin; }
.dz-toc__list li { flex: none; }
.dz-toc__item {
	display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px;
	font: 400 14px/20px var(--dz-font); color: #3d3448 !important; text-decoration: none; transition: background-color .15s ease, color .15s ease;
}
.dz-toc__item::before { content: ""; flex: none; width: 3px; height: 20px; border-radius: 2px; background: var(--dz-border); transition: background-color .15s ease; }
.dz-toc__item:hover { color: var(--dz-purple-deep) !important; }
.dz-toc__item:focus-visible { box-shadow: inset 0 0 0 2px var(--dz-purple); }
.dz-toc__item.is-read { color: var(--dz-muted) !important; }
.dz-toc__item.is-active { background: #fff; font-weight: 600; color: var(--dz-purple-deep) !important; }
.dz-toc__item.is-active::before { height: 40px; background: var(--dz-purple); }
.dz-toc__progress { display: flex; flex-direction: column; gap: 8px; flex: none; padding: 16px 8px 0; }
.dz-toc__progress-labels { display: flex; align-items: center; justify-content: space-between; font: 400 12px/1.26 var(--dz-font); color: var(--dz-muted); white-space: nowrap; }
.dz-toc__progress-labels strong { font-weight: 600; color: var(--dz-purple-deep); }
.dz-toc__progress-track { position: relative; height: 6px; border-radius: 3px; background: var(--dz-tint); overflow: hidden; }
.dz-toc__progress-fill { position: absolute; left: 0; top: 0; width: 0; height: 6px; border-radius: 3px; background: var(--dz-gradient); }

.dz-toc-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: none; padding: 24px; background: var(--dz-ink); border-radius: 22px; }
.dz-toc-cta__title { font: 700 17px/24px var(--dz-font); color: #fff; }
.dz-toc-cta__text { font: 400 13px/20px var(--dz-font); color: rgba(255, 255, 255, .75); }
.dz-toc-cta__button {
	display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border-radius: 20px; background: #fff;
	font: 700 13px/1.26 var(--dz-font); color: var(--dz-purple-deep) !important; white-space: nowrap; text-decoration: none; transition: background .2s ease;
}
.dz-toc-cta__button:hover { background: var(--dz-tint); }

.dz-toc-toggle, .dz-toc-panel { display: none; }

/* Trilho de compartilhamento */
.dz-article__share-rail { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dz-share-rail__label { font: 600 14px/1.26 var(--dz-font); color: var(--dz-muted); }
.dz-share-rail__btn {
	display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 22px;
	background: #fff; border: 1px solid var(--dz-border); cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.dz-share-rail__btn:hover { background: var(--dz-surface); border-color: var(--dz-lilac); }

/* ---------- Tipografia do conteúdo (saída do Gutenberg) ---------- */
.dz-article__content { width: 100%; font: 400 18px/32px var(--dz-font); color: #3d3448; overflow-wrap: break-word; }
.dz-article__content::after { content: ""; display: table; clear: both; }
.dz .dz-article__content > * { margin-top: 0; margin-bottom: 0; }
.dz .dz-article__content > * + * { margin-top: 28px; }
.dz .dz-article__content > * + h2 { margin-top: 48px; }
.dz .dz-article__content > * + h3, .dz .dz-article__content > * + h4 { margin-top: 36px; }

.dz-article__content p, .dz-article__content li { font-size: 18px; line-height: 32px; font-weight: 400; color: #3d3448; }
.dz-article__content strong, .dz-article__content b { font-weight: 700; color: var(--dz-ink); }
.dz-article__content mark, .dz-article__content .has-dz-purple-color { background: none; font-weight: 700; color: var(--dz-purple-deep); }
.dz-article__content a:not(.wp-block-button__link) {
	font-weight: 600; color: var(--dz-purple); text-decoration: underline; text-decoration-skip-ink: none;
	text-underline-position: from-font; text-decoration-thickness: from-font; border-radius: 2px; transition: color .15s ease;
}
.dz-article__content a:not(.wp-block-button__link):hover { color: var(--dz-purple-deep); }
.dz-article__content a strong { color: inherit; }

.dz-article__content h2 { font: 700 30px/38px var(--dz-font); color: var(--dz-ink); scroll-margin-top: 112px; }
.dz-article__content h3 { font: 700 22px/30px var(--dz-font); color: var(--dz-ink); scroll-margin-top: 112px; }
.dz-article__content h4, .dz-article__content h5, .dz-article__content h6 { font: 700 18px/28px var(--dz-font); color: var(--dz-ink); scroll-margin-top: 112px; }

/* Listas */
.dz-article__content ul, .dz-article__content ol { list-style: none; display: flex; flex-direction: column; gap: 12px; padding-left: 8px; }
.dz-article__content ol { counter-reset: dz-ol; }
.dz-article__content li { position: relative; padding-left: 22px; }
.dz-article__content ul > li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 4px; background: var(--dz-purple); }
.dz-article__content ol > li { counter-increment: dz-ol; padding-left: 30px; }
.dz-article__content ol > li::before { content: counter(dz-ol) "."; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--dz-purple); }
.dz-article__content li > ul, .dz-article__content li > ol { margin-top: 12px; padding-left: 0; }

/* Tabela: figure.wp-block-table > table (ou .dz-table-wrap no editor clássico) */
.dz-article__content .wp-block-table, .dz-article__content .dz-table-wrap {
	border: 1px solid var(--dz-border); border-radius: 20px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
}
.dz .dz-article__content table { width: 100%; margin: 0; border: 0; border-collapse: collapse; table-layout: fixed; font-size: 15px; line-height: 1.26; }
.dz-article__content table thead, .dz-article__content table tfoot { border: 0; }
.dz .dz-article__content table[style], .dz .dz-article__content table [style*="width"] { width: auto !important; min-width: 0 !important; }
.dz .dz-article__content table[style] { width: 100% !important; }
.dz-article__content table thead th strong { font-weight: inherit; color: inherit; }
.dz-article__content table th, .dz-article__content table td { padding: 16px 24px; border: 0; text-align: left; vertical-align: middle; }
.dz-article__content table thead th { background: var(--dz-ink); font-weight: 600; color: #fff; }
.dz-article__content table tbody tr, .dz-article__content table tfoot tr { background: #fff; border-top: 1px solid var(--dz-border); }
.dz-article__content table > tbody:first-child > tr:first-child { border-top: 0; }
.dz-article__content table tbody tr:nth-child(even) { background: #fcfafe; }
.dz-article__content table tbody td, .dz-article__content table tfoot td { font-weight: 400; color: var(--dz-ink); }
.dz-article__content table tbody td:first-child, .dz-article__content table tbody th { font-weight: 600; color: var(--dz-ink); }
.dz-article__content table tbody tr.is-highlight,
.dz-article__content .is-style-dz-highlight-first tbody tr:first-child { background: var(--dz-surface); }
.dz-article__content table tbody tr.is-highlight td,
.dz-article__content .is-style-dz-highlight-first tbody tr:first-child td { font-weight: 600; color: var(--dz-purple-deep); }
.dz-article__content .wp-block-table figcaption {
	position: sticky; left: 0; margin: 0; padding: 12px 24px; border-top: 1px solid var(--dz-border);
	font-size: 13px; line-height: 20px; color: var(--dz-muted); text-align: left;
}
.dz-article__content p.dz-note, .dz-article__content p.is-style-dz-note, .dz-article__content p.has-small-font-size {
	font-size: 13px; line-height: 20px; color: var(--dz-muted);
}

/* Imagens, figuras e incorporações */
.dz-article__content img { max-width: 100%; height: auto; border-radius: 20px; }
.dz-article__content figure { max-width: 100%; }
.dz-article__content figure.wp-block-image { display: flex; flex-direction: column; gap: 12px; }
.dz-article__content figure.wp-block-image img { display: block; width: 100%; }
.dz-article__content figure.wp-block-image.is-resized img, .dz-article__content figure.wp-block-image.aligncenter img { width: auto; }
.dz-article__content figure figcaption, .dz-article__content .wp-caption-text {
	margin: 0; font-size: 13px; line-height: 1.26; color: var(--dz-muted); text-align: left;
}
.dz-article__content .wp-block-image figcaption { margin: 0; }
.dz-article__content .aligncenter { margin-inline: auto; align-items: center; }
.dz-article__content figure.aligncenter { display: flex; width: fit-content; }
.dz-article__content .alignleft { float: left; max-width: 50%; margin: 4px 28px 16px 0; }
.dz-article__content .alignright { float: right; max-width: 50%; margin: 4px 0 16px 28px; }
.dz-article__content .alignwide, .dz-article__content .alignfull { width: 100%; max-width: 100%; }
.dz-article__content .wp-caption { max-width: 100%; }
.dz-article__content .wp-caption img { display: block; margin-bottom: 12px; }
.dz-article__content iframe, .dz-article__content video, .dz-article__content embed, .dz-article__content object { max-width: 100%; }
.dz-article__content video { height: auto; border-radius: 20px; }
.dz-article__content .wp-block-embed__wrapper { border-radius: 20px; overflow: hidden; }
.dz-article__content .wp-block-embed.is-type-video iframe { display: block; width: 100%; }
.dz-article__content .wp-block-embed:not(.wp-has-aspect-ratio).is-type-video iframe { height: auto; aspect-ratio: 16 / 9; }

/* Citação e "Destaque · dica" */
.dz-article__content blockquote, .dz-article__content .dz-callout, .dz-article__content .is-style-dz-callout {
	display: flex; flex-direction: column; gap: 6px; padding: 24px 28px; border: 0; border-left: 4px solid var(--dz-purple);
	border-radius: 0 16px 16px 0; background: var(--dz-surface);
}
.dz-article__content .wp-block-group__inner-container { display: contents; }
.dz .dz-article__content blockquote > *, .dz .dz-article__content .dz-callout > *, .dz .dz-article__content .is-style-dz-callout > *,
.dz .dz-article__content .wp-block-group__inner-container > * { margin: 0; }
.dz-article__content blockquote p, .dz-article__content .dz-callout p, .dz-article__content .is-style-dz-callout p,
.dz-article__content blockquote li, .dz-article__content .dz-callout li, .dz-article__content .is-style-dz-callout li { font-size: 16px; line-height: 27px; color: #3d3448; }
.dz-article__content blockquote cite, .dz-article__content blockquote footer { font: 400 13px/20px var(--dz-font); font-style: normal; color: var(--dz-muted); }
/* Rótulo ("Dica"): classe própria, primeiro título do grupo ou a citação do bloco no estilo "Dica". */
.dz-article__content .dz-callout__label,
.dz-article__content .dz-callout :is(h3, h4, h5, h6):first-child,
.dz-article__content .is-style-dz-callout :is(h3, h4, h5, h6):first-child,
.dz-article__content blockquote.is-style-dz-callout cite,
.dz-article__content blockquote cite:first-child { order: -1; font: 700 15px/1.26 var(--dz-font); font-style: normal; color: var(--dz-purple); }

/* "Destaque · fórmula" */
.dz-article__content .dz-highlight, .dz-article__content .is-style-dz-highlight {
	padding: 24px 28px; border: 1px solid var(--dz-border); border-radius: 20px; background: var(--dz-surface);
	font-size: 18px; line-height: 28px; font-weight: 600; color: var(--dz-ink);
}
.dz-article__content .dz-highlight p, .dz-article__content .is-style-dz-highlight p { font-size: 18px; line-height: 28px; font-weight: 600; color: var(--dz-ink); }
.dz-article__content .dz-highlight strong, .dz-article__content .is-style-dz-highlight strong { font-weight: 700; color: var(--dz-purple-deep); }
.dz .dz-article__content .is-style-dz-highlight .wp-block-group__inner-container > * + * { margin-top: 12px; }

/* Demais elementos comuns */
.dz-article__content hr { height: 1px; border: 0; background: var(--dz-border); }
.dz-article__content code, .dz-article__content kbd { padding: 2px 6px; border-radius: 6px; background: var(--dz-surface); font-size: .9em; }
.dz-article__content pre { padding: 20px 24px; border-radius: 16px; background: var(--dz-surface); font-size: 14px; line-height: 22px; overflow-x: auto; }
.dz-article__content pre code { padding: 0; background: none; }
.dz-article__content .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 28px; border-radius: 26px;
	background: var(--dz-gradient); font: 700 15px/1.26 var(--dz-font); color: #fff; text-decoration: none;
}
.dz-article__pages { display: flex; align-items: center; gap: 12px; margin-top: 28px; font: 600 14px/1.26 var(--dz-font); color: var(--dz-muted); }
.dz-article__pages a { color: var(--dz-purple-deep); }

/* ---------- Fim do artigo: assuntos, compartilhar, anterior/próximo ---------- */
.dz-article__footer { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--dz-border); }
.dz-article__footer-label { font: 600 14px/1.26 var(--dz-font); color: var(--dz-ink); white-space: nowrap; }
.dz-article__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dz-article__tags .dz-tag { max-width: 100%; }
.dz-article__share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.dz-share-pill {
	display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 20px; background: transparent;
	border: 1px solid var(--dz-border); font: 600 13px/1.26 var(--dz-font); color: var(--dz-purple-deep) !important; white-space: nowrap;
	text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.dz-share-pill:hover { background: var(--dz-surface); border-color: var(--dz-lilac); }
.dz-share-pill--copy { background: var(--dz-tint); border-color: transparent; }
.dz-share-pill--copy:hover { background: var(--dz-lilac-soft); border-color: transparent; }

.dz-article__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.dz-post-nav {
	display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; padding: 20px; border: 1px solid var(--dz-border);
	border-radius: 18px; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.dz-post-nav:hover { border-color: var(--dz-lilac); box-shadow: var(--dz-shadow-card); }
.dz-post-nav--next { grid-column: 2; align-items: flex-end; text-align: right; }
.dz-post-nav__label { display: flex; align-items: center; gap: 6px; font: 600 14px/1.26 var(--dz-font); color: var(--dz-purple); }
.dz-post-nav__title { font: 600 15px/22px var(--dz-font); color: var(--dz-ink); transition: color .2s ease; }
.dz-post-nav:hover .dz-post-nav__title { color: var(--dz-purple-deep); }

/* ---------- Continue lendo ---------- */
.dz-related { padding-top: 96px; }
.dz-related__inner { display: flex; flex-direction: column; gap: 32px; }
.dz-related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: 28px; border-top: 1px solid var(--dz-border); }
.dz-related__back { gap: 8px; }

/* ---------- Mobile: barra inferior e folha de compartilhamento ---------- */
.dz-bottom-bar, .dz-share-sheet { display: none; }

/* ==========================================================================
   Telas intermediárias
   ========================================================================== */
@media (max-width: 1279px) {
	.dz-article__title { font-size: 44px; line-height: 54px; letter-spacing: -.44px; }
	.dz-article__body { grid-template-columns: 260px minmax(0, 1fr) 44px; }
	.dz-share-rail__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
	.dz-compact-header__nav { gap: 24px; }
}
@media (max-width: 1099px) {
	.dz-article__body { grid-template-columns: 240px minmax(0, 1fr); }
	.dz-article__share-rail { display: none; }
	.dz-compact-header__nav { display: none; }
	.dz-toc { padding: 20px; }
}

/* ==========================================================================
   Mobile (frames de 390 px)
   ========================================================================== */
@media (max-width: 767px) {
	/* Header compacto: 56 px, só marca + busca + menu */
	.dz-compact-header__inner { height: 56px; padding-inline: 24px; box-shadow: 0 6px 18px rgba(64, 0, 115, .1); }
	.dz-compact-header__brand { gap: 9.904px; }
	.dz-compact-header__brand img { width: 120.705px; height: 12.38px; }
	.dz-compact-header__brand-divider { width: .928px; height: 18.57px; }
	.dz-compact-header__brand-blog { font-size: 11.761px; letter-spacing: .1176px; }
	.dz-compact-header__context, .dz-compact-header__cta { display: none; }
	.dz-compact-header__actions { gap: 8px; }
	.dz-compact-header__search { width: 36px; height: 36px; border-radius: 18px; }
	.dz-compact-header__menu { display: flex; width: 36px; height: 36px; border-radius: 18px; background: var(--dz-ink); }
	.dz-progress { height: 3px; }

	.dz-toast > img { width: 10.27px; height: 7.94px; padding: 8.03px 6.865px; margin-left: -4px; }
	.single-post .dz-toast { bottom: var(--dz-toast-bottom, 24px); }

	/* Abertura */
	.dz-article__opening { gap: 14px; padding-top: 20px; padding-bottom: 24px; }
	.dz-breadcrumb { gap: 6px; font-size: 12px; }
	.dz-breadcrumb__sep--last, .dz-breadcrumb__current { display: none; }
	.dz-article__title { max-width: none; font-size: 30px; line-height: 37px; letter-spacing: -.15px; }
	.dz-article__lead { max-width: none; font-size: 16px; line-height: 25px; }
	.dz-article__meta { padding: 0; gap: 0; }
	.dz-article__author { white-space: normal; }
	.dz-article__author-name { font-size: 13px; }
	.dz-article__meta-divider, .dz-article__meta-item, .dz-article__author-note { display: none; }
	.dz-article__meta-compact { display: block; font: 400 12px/1.26 var(--dz-font); color: var(--dz-muted); }

	/* Imagem principal sangrando até as bordas */
	.dz-article__hero { padding-inline: 0; }
	.dz-article__hero-img { aspect-ratio: 390 / 260; border-radius: 0; }
	.dz-article__hero figcaption { padding: 8px 24px 0; font-size: 12px; }

	/* Corpo em coluna única */
	.dz-article__body { display: block; padding-top: 24px; }
	.dz-article__index { position: static; display: block; max-height: none; margin-bottom: 22px; }
	.dz-article__index--no-toc { display: none; }
	.dz-article__index .dz-toc, .dz-article__index .dz-toc-cta { display: none; }

	/* Índice recolhido + painel sob o header compacto */
	.dz-toc-toggle {
		display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 16px; border: 0;
		border-radius: 16px; background: var(--dz-surface); cursor: pointer; text-align: left;
	}
	.dz-toc-toggle__label { display: flex; align-items: center; gap: 10px; min-width: 0; font: 400 14px/1.26 var(--dz-font); color: var(--dz-muted); white-space: nowrap; }
	.dz-toc-toggle__label strong { font-weight: 700; color: var(--dz-ink); }
	.dz-toc-panel {
		position: fixed; top: 0; left: 0; right: 0; z-index: 75; display: flex; flex-direction: column; gap: 4px;
		max-height: calc(100vh - 59px - 100px); max-height: calc(100dvh - 59px - 100px); padding: 16px 24px 12px; overflow-y: auto;
		background: #fff; border: 1px solid var(--dz-border); border-top: 0; border-radius: 0 0 20px 20px; box-shadow: 0 14px 30px rgba(64, 0, 115, .14);
	}
	.dz-compact-on .dz-toc-panel { top: 59px; } /* 56 header + 3 progresso */
	.dz-toc-panel[hidden] { display: none; }
	.dz-toc-panel__head { display: flex; align-items: center; justify-content: space-between; flex: none; width: 100%; padding: 0 8px 8px; border: 0; border-radius: 8px; background: none; cursor: pointer; }
	.dz-toc-panel__title { display: flex; align-items: center; gap: 10px; font: 700 15px/1.26 var(--dz-font); color: var(--dz-ink); }
	.dz-toc-panel__list { display: flex; flex-direction: column; gap: 4px; }
	.dz-toc-panel__item {
		display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 10px; border-radius: 12px;
		font: 400 14px/1.26 var(--dz-font); color: var(--dz-ink) !important; text-decoration: none;
	}
	.dz-toc-panel__num {
		display: flex; align-items: center; justify-content: center; flex: none; width: 24px; height: 24px; border-radius: 12px;
		background: var(--dz-tint); font: 700 11px/1.26 var(--dz-font); color: var(--dz-purple-deep);
	}
	.dz-toc-panel__item.is-active { background: var(--dz-surface); font-weight: 600; color: var(--dz-purple-deep) !important; }
	.dz-toc-panel__item.is-active .dz-toc-panel__num { background: var(--dz-purple); color: #fff; }

	/* Conteúdo: corpo 17/30 */
	.dz .dz-article__content > * + *, .dz .dz-article__content > * + h2 { margin-top: 22px; }
	.dz .dz-article__content > * + h3, .dz .dz-article__content > * + h4 { margin-top: 22px; }
	.dz-article__content { font-size: 17px; line-height: 30px; }
	.dz-article__content p, .dz-article__content li { font-size: 17px; line-height: 30px; }
	.dz-article__content ul > li::before { top: 11px; }
	.dz-article__content h2 { font-size: 24px; line-height: 31px; scroll-margin-top: 75px; } /* 56 header + 3 progresso + 16 */
	.dz-article__content h3 { font-size: 20px; line-height: 27px; scroll-margin-top: 75px; }
	.dz-article__content h4, .dz-article__content h5, .dz-article__content h6 { font-size: 17px; line-height: 26px; scroll-margin-top: 75px; }
	.dz-article__content .dz-highlight, .dz-article__content .is-style-dz-highlight { padding: 20px; border-radius: 18px; font-size: 16px; line-height: 24px; }
	.dz-article__content .dz-highlight p, .dz-article__content .is-style-dz-highlight p { font-size: 16px; line-height: 24px; }
	.dz-article__content .wp-block-table, .dz-article__content .dz-table-wrap { border-radius: 16px; }
	/* Tabelas largas rolam na horizontal dentro do contêiner arredondado */
	/* Tabela compacta: o texto quebra dentro da célula; só rola para o lado se houver colunas demais. */
	.dz .dz-article__content table { table-layout: auto; width: 100%; min-width: 100%; font-size: 13px; line-height: 18px; }
	.dz-article__content table th, .dz-article__content table td {
		padding: 12px 7px; min-width: 60px; white-space: normal; overflow-wrap: break-word; hyphens: auto; vertical-align: top;
	}
	.dz-article__content table th:first-child, .dz-article__content table td:first-child { padding-left: 14px; }
	.dz-article__content table th:last-child, .dz-article__content table td:last-child { padding-right: 14px; }
	.dz-article__content table th:nth-child(2):last-child, .dz-article__content table td:nth-child(2):last-child { text-align: right; }
	.dz-article__content table tbody tr:nth-child(even) { background: #fff; }
	.dz-article__content table tbody tr.is-highlight,
	.dz-article__content .is-style-dz-highlight-first tbody tr:first-child { background: var(--dz-surface); }
	.dz-article__content .wp-block-table figcaption { padding: 10px 18px; font-size: 12px; }
	.dz-article__content img, .dz-article__content video, .dz-article__content .wp-block-embed__wrapper { border-radius: 16px; }
	.dz-article__content figure.wp-block-image { gap: 10px; }
	.dz-article__content figure figcaption, .dz-article__content .wp-caption-text { font-size: 12px; }
	.dz-article__content .alignleft, .dz-article__content .alignright { float: none; max-width: 100%; margin: 0; }
	.dz-article__content blockquote, .dz-article__content .dz-callout, .dz-article__content .is-style-dz-callout { gap: 4px; padding: 20px; }
	.dz-article__content blockquote p, .dz-article__content .dz-callout p, .dz-article__content .is-style-dz-callout p,
	.dz-article__content blockquote li, .dz-article__content .dz-callout li, .dz-article__content .is-style-dz-callout li { font-size: 15px; line-height: 24px; }
	.dz-article__content .dz-callout__label,
	.dz-article__content .dz-callout :is(h3, h4, h5, h6):first-child,
	.dz-article__content .is-style-dz-callout :is(h3, h4, h5, h6):first-child,
	.dz-article__content blockquote.is-style-dz-callout cite,
	.dz-article__content blockquote cite:first-child { font-size: 14px; }

	/* Fim do artigo */
	.dz-article__footer { gap: 16px; margin-top: 22px; padding-top: 20px; }
	.dz-article__footer-label { flex-basis: 100%; color: var(--dz-muted); }
	.dz-article__tags .dz-article__footer-label { margin-bottom: 8px; }
	.dz-article__share .dz-article__footer-label { margin-bottom: 6px; }
	.dz-share-pill, .dz-share-pill--copy { justify-content: center; width: 48px; height: 48px; padding: 0; border-radius: 24px; background: transparent; border: 1px solid var(--dz-border); }
	.dz-share-pill__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
	.dz-article__nav { grid-template-columns: 1fr; margin-top: 22px; }
	.dz-post-nav { gap: 6px; padding: 18px; border-radius: 16px; }
	.dz-post-nav--prev:not(:only-child) { display: none; } /* o mobile mostra só "Próximo" */
	.dz-post-nav--next { grid-column: auto; align-items: flex-start; text-align: left; }

	/* Continue lendo: título, 2 cards e "Voltar para o blog" por último */
	.dz-related { padding-top: 48px; }
	.dz-related__inner { gap: 16px; }
	.dz-related__head { display: contents; }
	.dz-related__title { order: 0; }
	.dz-related__grid { order: 1; gap: 16px; }
	.dz-related__grid > :nth-child(n+3) { display: none; }
	.dz-related__back { order: 2; align-self: flex-start; height: 44px; padding: 0 20px; border: 1px solid var(--dz-border); border-radius: 22px; }
	.dz-related__back:hover { text-decoration: none; background: var(--dz-surface); }

	/* Barra fixa inferior (aparece após a primeira dobra) */
	.dz-bottom-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: flex; align-items: center; gap: 10px;
		padding: 12px 16px calc(24px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--dz-border);
		box-shadow: 0 -8px 24px rgba(64, 0, 115, .12); transform: translateY(100%); visibility: hidden;
		transition: transform .25s ease, visibility 0s linear .25s;
	}
	.dz-bottom-bar.is-visible { transform: none; visibility: visible; transition-delay: 0s; }
	.dz-bottom-bar__share {
		display: flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; padding: 0; border-radius: 24px;
		border: 1px solid var(--dz-border); background: transparent; cursor: pointer;
	}
	.dz-bottom-bar__cta {
		display: flex; align-items: center; justify-content: center; flex: 1 1 0; min-width: 0; height: 48px; border-radius: 24px;
		background: var(--dz-gradient); font: 700 15px/1.26 var(--dz-font); color: #fff !important; white-space: nowrap; text-decoration: none;
	}
	.single-post .dz-footer { padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px)); } /* a barra não cobre o fim do rodapé */

	/* Folha de compartilhamento (quando não há Web Share API) */
	.dz-share-sheet { position: fixed; inset: 0; z-index: 150; display: block; }
	.dz-share-sheet[hidden] { display: none; }
	.dz-share-sheet__scrim { position: absolute; inset: 0; background: rgba(20, 1, 34, .55); }
	.dz-share-sheet__panel {
		position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
		padding: 12px 24px calc(32px + env(safe-area-inset-bottom, 0px)); background: #fff; border-radius: 28px 28px 0 0;
	}
	.dz-share-sheet__handle { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--dz-border); }
	.dz-share-sheet__title { font: 700 20px/1.26 var(--dz-font); color: var(--dz-ink); }
	.dz-share-sheet__post { font: 400 14px/21px var(--dz-font); color: var(--dz-muted); }
	.dz-share-sheet__options { display: flex; align-items: flex-start; justify-content: space-between; width: 100%; }
	.dz-share-option { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; border-radius: 12px; background: none; text-decoration: none; cursor: pointer; }
	.dz-share-option__icon { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 30px; background: var(--dz-surface); }
	.dz-share-option__label { font: 400 12px/1.26 var(--dz-font); color: var(--dz-ink); white-space: nowrap; }
	.dz-share-option__done { display: none; }
	.dz-share-option.is-copied .dz-share-option__icon { background: linear-gradient(135deg, #a218ff 0%, #59009e 100%); }
	.dz-share-option.is-copied .dz-share-option__idle { display: none; }
	.dz-share-option.is-copied .dz-share-option__done { display: inline-flex; }
	.dz-share-option.is-copied .dz-share-option__label { font-weight: 700; color: var(--dz-purple); }
}

@media print {
	.dz-compact-header, .dz-bottom-bar, .dz-share-sheet, .dz-article__index, .dz-article__share-rail, .dz-progress { display: none !important; }
	.dz-article__body { display: block; }
}
