/**
 * ============================================================
 * OEDC CORE CSS v0.8 — HARMONIZAÇÃO CONTROLADA
 * Projeto: Os Ecos da Carne
 * Camada: consumo da matriz style.css
 * ============================================================
 *
 * REGRA CORRIGIDA
 *
 * - style.css é a matriz visual soberana.
 * - Este arquivo não redefine a matriz.
 * - Este arquivo não cria uma segunda fundação.
 * - Este arquivo não corrige tudo por força.
 * - Este arquivo só organiza o consumo da matriz em blocos reais:
 *   Gutenberg,
Stackable,
Fluent Forms,
Complianz,
shortcodes,
*   sidebar,
blog e single.
 *
 * oedc-runtime.css fica reservado para provisórios auditáveis.
 * ============================================================
 */

/* ============================================================
 * 01. ESCOPO ESTRUTURAL
 * ============================================================ */

.oedc {
  color: var(--oedc-text);
  font-family: var(--oedc-font-body);
  font-size: var(--oedc-body-size);
  font-weight: 400;
  line-height: var(--oedc-line-height-body);
}.oedc-main {
  background: var(--oedc-bg-site);
  color: var(--oedc-text);
}.oedc-section,
.oedc-objects-section {
  padding-block: var(--oedc-section-pad-y);
}.oedc-prose {
  max-width: var(--oedc-prose-max);
}.oedc-stack > * + * {
  margin-block-start: var(--oedc-gap);
}/* ============================================================
 * 02. TIPOGRAFIA DE CONSUMO
 * ============================================================ */

.oedc :where(p, li, dt, dd, figcaption, label, input, textarea, select, button, summary) {
  font-size: max(16px, 1rem);
}.oedc :where(p) {
  margin-block: 0 1.15em;
  color: inherit;
  font-family: var(--oedc-font-body);
  font-weight: 400;
  line-height: var(--oedc-line-height-body);
}.oedc :where(ul, ol) {
  margin-block: 0 1.4em;
  padding-inline-start: 1.35em;
}.oedc :where(li)::marker {
  color: var(--oedc-bronze);
}.oedc :where(h1, h2, h3, h4, h5, h6) {
  margin-block: 0 0.45em;
  color: var(--oedc-text);
  font-family: var(--oedc-font-heading);
  font-weight: 600;
  text-wrap: balance;
}.oedc :where(h1) {
  font-size: var(--oedc-title-h1);
  line-height: var(--oedc-line-h1);
  letter-spacing: -0.01em;
}.oedc :where(h2) {
  font-size: var(--oedc-title-h2);
  line-height: var(--oedc-line-h2);
  letter-spacing: -0.005em;
}.oedc :where(h3) {
  font-size: var(--oedc-title-h3);
  line-height: var(--oedc-line-h3);
}.oedc :where(h4) {
  font-size: var(--oedc-title-h4);
  line-height: var(--oedc-line-h4);
  letter-spacing: 0.01em;
}.oedc :where(h5) {
  font-size: var(--oedc-title-h5);
  line-height: var(--oedc-line-h5);
  letter-spacing: 0.02em;
}.oedc :where(h6) {
  font-family: var(--oedc-font-body);
  font-size: var(--oedc-title-h6);
  font-weight: 700;
  line-height: var(--oedc-line-h6);
  letter-spacing: 0.02em;
  color: var(--oedc-muted);
}.oedc :where(.oedc-hero-title, .oedc-editorial-hero-title) {
  font-family: var(--oedc-font-heading);
  font-size: var(--oedc-title-hero);
  font-weight: 600;
  line-height: var(--oedc-line-hero);
  letter-spacing: -0.015em;
  color: var(--oedc-text);
}.oedc :where(.oedc-lead, .oedc-typo-lead, .oedc-editorial-hero-copy) {
  font-family: var(--oedc-font-body);
  font-size: var(--oedc-lead-size);
  font-weight: 400;
  line-height: var(--oedc-lead-leading);
  color: var(--oedc-muted);
}.oedc :where(.oedc-eyebrow, .oedc-kicker, .oedc-typo-eyebrow, .ct-breadcrumbs, .oedc-breadcrumbs, .oedc-micro-meta) {
  font-family: var(--oedc-font-heading);
  font-size: var(--oedc-micro-size);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: var(--oedc-micro-letter);
  text-transform: uppercase;
  color: var(--oedc-bronze);
}/* ============================================================
 * 03. ELEMENTOS EDITORIAIS BASE
 * ============================================================ */

.oedc :where(figcaption, .wp-element-caption, .wp-caption-text) {
  margin-top: 0.75rem;
  font-family: var(--oedc-font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--oedc-muted);
}.oedc :where(blockquote, .wp-block-quote) {
  color: var(--oedc-muted);
  font-family: var(--oedc-font-body);
  font-size: 16px;
  line-height: 1.75;
}.oedc :where(blockquote cite, .wp-block-quote cite) {
  display: block;
  margin-block-start: 0.75rem;
  font-family: var(--oedc-font-heading);
  font-size: var(--oedc-micro-size);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: var(--oedc-micro-letter);
  text-transform: uppercase;
  color: var(--oedc-bronze);
}/* ============================================================
 * 04. GUTENBERG — CONSUMO DA MATRIZ
 * ============================================================ */

.oedc :where(.wp-block-columns) {
  gap: var(--oedc-grid-gap);
  margin-block: clamp(24px, 4vw, 48px);
}.oedc :where(.wp-block-columns.oedc-grid, .oedc-objects-grid) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--oedc-grid-gap);
}.oedc :where(.wp-block-buttons) {
  gap: 0.85rem;
  margin-block: clamp(20px, 3vw, 32px);
}.oedc :where(.wp-block-button__link, .wp-element-button) {
  min-height: var(--oedc-btn-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--oedc-btn-radius);
  padding: var(--oedc-btn-pad-y) var(--oedc-btn-pad-x);
  font-family: var(--oedc-font-heading);
  font-size: var(--oedc-btn-size);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: var(--oedc-btn-letter);
  text-transform: uppercase;
  text-decoration: none;
}.oedc :where(.oedc-button-primary .wp-block-button__link, .oedc-comps-btn-primary .wp-block-button__link) {
  color: var(--oedc-btn-primary-text);
  background: var(--oedc-btn-primary-bg);
  border: 1px solid var(--oedc-btn-primary-border);
}.oedc :where(.oedc-button-secondary .wp-block-button__link, .oedc-comps-btn-secondary .wp-block-button__link, .is-style-outline .wp-block-button__link) {
  color: var(--oedc-btn-secondary-text);
  background: var(--oedc-btn-secondary-bg);
  border: 1px solid var(--oedc-btn-secondary-border);
}.oedc :where(.wp-block-image, .wp-block-gallery, .wp-block-video, .wp-block-audio) {
  margin-block: clamp(24px, 4vw, 48px);
}.oedc :where(.wp-block-image img, .wp-block-gallery img, .wp-block-media-text__media img) {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--oedc-radius-image);
}.oedc :where(.wp-block-separator, .oedc-core-separator) {
  width: 100%;
  max-width: none;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(181, 133, 81, 0.38), transparent);
  margin-block: clamp(32px, 5vw, 64px);
}/* ============================================================
 * 05. STACKABLE — DEFAULTS SEGUROS,
NÃO REDESENHO TOTAL
 * ============================================================ */

.oedc :where(.stk-block) {
  color: var(--oedc-text);
  font-family: var(--oedc-font-body);
}.oedc :where(.stk-block-heading__text) {
  color: var(--oedc-text);
  font-family: var(--oedc-font-heading);
  font-weight: 600;
}.oedc :where(.stk-block-text__text, .stk-block-posts__excerpt, .stk-block-icon-list-item__text) {
  color: var(--oedc-text);
  font-family: var(--oedc-font-body);
  font-size: max(16px, 1rem);
  line-height: var(--oedc-line-height-body);
}.oedc :where(.stk-subtitle, .stk-block-subtitle__text, .stk-block-posts__meta, .stk-block-posts__category) {
  color: var(--oedc-bronze);
  font-family: var(--oedc-font-heading);
  font-size: var(--oedc-micro-size);
  font-weight: 500;
  letter-spacing: var(--oedc-micro-letter);
  text-transform: uppercase;
}.oedc :where(.stk-button) {
  min-height: var(--oedc-btn-height);
  border-radius: var(--oedc-btn-radius);
  font-family: var(--oedc-font-heading);
  font-size: var(--oedc-btn-size);
  font-weight: 600;
  letter-spacing: var(--oedc-btn-letter);
  text-transform: uppercase;
}/* Defaults preventivos: só impedem queda para branco/azul genérico. */
.oedc :where(.stk-container:not(.stk--no-background)) {
  background-color: var(--oedc-bg-card);
  border-color: rgba(181, 133, 81, 0.18);
}/* ============================================================
 * 06. FORMS / FLUENT FORMS — CONSUMO DA MATRIZ
 * ============================================================ */

.oedc :where(.oedc-form, .oedc-form-demo, .fluentform, .frm-fluent-form, .fluent_form) {
  color: var(--oedc-text);
  font-family: var(--oedc-font-body);
  font-size: 16px;
  line-height: 1.55;
}.oedc :where(label, .ff-el-input--label label, .ff-el-form-check-label, .ff-el-section-title) {
  color: var(--oedc-muted);
  font-family: var(--oedc-font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}.oedc :where(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="number"], input[type="password"], input[type="date"], select, textarea, .ff-el-form-control) {
  width: 100%;
  min-height: var(--oedc-form-height);
  color: var(--oedc-form-text);
  background: var(--oedc-form-bg);
  border: 1px solid var(--oedc-form-border);
  border-radius: var(--oedc-form-radius);
  font-family: var(--oedc-font-body);
  font-size: 16px;
  line-height: 1.45;
  padding: 0.9rem 1rem;
}.oedc :where(input, select, textarea, .ff-el-form-control):focus {
  outline: none;
  border-color: var(--oedc-form-border-focus);
  box-shadow: var(--oedc-form-glow-focus);
  background: var(--oedc-form-bg-focus);
}.oedc :where(.ff-btn-submit, .ff_submit_btn_wrapper .ff-btn, .fluentform .ff-btn, .oedc-form button) {
  min-height: var(--oedc-btn-height);
  color: var(--oedc-btn-primary-text);
  background: var(--oedc-btn-primary-bg);
  border: 1px solid var(--oedc-btn-primary-border);
  border-radius: var(--oedc-btn-radius);
  font-family: var(--oedc-font-heading);
  font-size: var(--oedc-btn-size);
  font-weight: 600;
  letter-spacing: var(--oedc-btn-letter);
  text-transform: uppercase;
}/* ============================================================
 * 07. COMPLIANZ — APENAS HARMONIZAÇÃO VISUAL
 * ============================================================ */

.oedc :where(.cmplz-cookiebanner, .cmplz-cookiebanner .cmplz-body, .cmplz-cookiebanner .cmplz-links, .cmplz-cookiebanner .cmplz-categories) {
  color: var(--oedc-text);
  font-family: var(--oedc-font-body);
  font-size: 16px;
  line-height: 1.55;
}.oedc :where(.cmplz-cookiebanner) {
  background: var(--oedc-bg-card-raised);
  border: 1px solid rgba(181, 133, 81, 0.24);
  border-radius: var(--oedc-radius-card);
  box-shadow: var(--oedc-shadow-raised);
}.oedc :where(.cmplz-document, #cmplz-document) {
  color: var(--oedc-text);
  font-family: var(--oedc-font-body);
  font-size: 16px;
  line-height: 1.7;
  max-width: var(--oedc-prose-max);
}/* ============================================================
 * 08. SHORTCODES / SIDEBAR / BLOG
 * ============================================================ */

.oedc :where(.oedc-related-posts, .oedc-post-echoes, .oedc-reader-history, .oedc-category-axis-list, .oedc-preview-cta, .oedc-sidebar-card, .oedc-widget) {
  box-sizing: border-box;
  color: var(--oedc-text);
}.oedc :where(.oedc-sidebar-card, .oedc-widget, .oedc-reader-history, .oedc-category-axis-list) {
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid rgba(181, 133, 81, 0.18);
  border-radius: var(--oedc-radius-card);
  background: rgba(50, 9, 9, 0.68);
}.oedc :where(.oedc-post-list, .oedc-blog-list, .oedc-archive-list) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  width: 100%;
}.oedc :where(.entry-meta, .ct-entry-meta, .oedc-post-meta, .oedc-core-post-date, .oedc-core-post-terms) {
  color: var(--oedc-muted);
  font-family: var(--oedc-font-heading);
  font-size: var(--oedc-micro-size);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: var(--oedc-micro-letter);
  text-transform: uppercase;
}/* ============================================================
 * 11. BLOCOS EDITORIAIS DOS POSTS — GUTENBERG / STACKABLE
 * ============================================================
 *
 * Função:
 * - consumir classes institucionais usadas nas laudas do blog;
 * - manter o blog dentro da matriz institucional;
 * - não criar matriz visual própria do blog;
 * - não usar data attributes como camada visual.
 */

.oedc :where(
  .oedc-post-insight-box,
  .oedc-post-crossing-box,
  .oedc-post-book-echo-box
) {
  display: block;
  padding: var(--oedc-post-box-padding);
  margin-block: clamp(28px, 4vw, 48px);
  color: var(--oedc-text);
  background: var(--oedc-post-box-bg);
  border: 1px solid var(--oedc-post-box-border);
  border-radius: var(--oedc-radius-card);
  box-shadow: var(--oedc-shadow-soft);
}.oedc :where(
  .oedc-post-insight-box > *:last-child,
  .oedc-post-crossing-box > *:last-child,
  .oedc-post-book-echo-box > *:last-child
) {
  margin-bottom: 0;
}.oedc :where(
  .oedc-post-insight-box h2,
  .oedc-post-insight-box h3,
  .oedc-post-insight-box h4,
  .oedc-post-crossing-box h2,
  .oedc-post-crossing-box h3,
  .oedc-post-crossing-box h4,
  .oedc-post-book-echo-box h2,
  .oedc-post-book-echo-box h3,
  .oedc-post-book-echo-box h4
) {
  color: var(--oedc-text);
}.oedc :where(.oedc-post-book-echo-box) {
  border-top: 1px solid var(--oedc-post-box-border);
  border-right: 1px solid var(--oedc-post-box-border);
  border-bottom: 1px solid var(--oedc-post-box-border);
  border-left: var(--oedc-rail-border);
}.oedc :where(.oedc-post-phrase, .oedc-core-quote, .oedc-editorial-rail) {
  margin-block: clamp(28px, 4vw, 48px);
  border: 0;
  border-left: var(--oedc-rail-border);
  padding: 0 0 0 var(--oedc-quote-padding-left);
  background: transparent;
  box-shadow: none;
}.oedc :where(.oedc-final-question, .oedc-post-final-question) {
  margin-block: clamp(40px, 6vw, 72px);
  color: var(--oedc-skin);
  font-family: var(--oedc-font-heading);
  font-size: var(--oedc-post-question-size);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}.oedc :where(.oedc-final-question p, .oedc-post-final-question p) {
  color: inherit;
  font: inherit;
  line-height: inherit;
}.oedc :where(.oedc-category-axis-list) {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}/* ============================================================
 * 10. RESPONSIVO
 * ============================================================ */

@media (max-width: 999px) {.oedc :where(.wp-block-columns.oedc-grid, .oedc-objects-grid, .oedc-post-list, .oedc-blog-list, .oedc-archive-list) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 689px) {.oedc-section,
.oedc-objects-section {
    padding-block: clamp(40px, 10vw, 64px);
  }.oedc-container,
.oedc-objects-container,
.oedc-container--wide,
.oedc-objects-container-lg {
    width: min(100% - 40px, var(--oedc-container-max));
  }.oedc :where(.wp-block-columns.oedc-grid, .oedc-objects-grid, .oedc-post-list, .oedc-blog-list, .oedc-archive-list) {
    grid-template-columns: 1fr;
  }.oedc :where(.wp-block-buttons) {
    align-items: stretch;
  }.oedc :where(.wp-block-button, .wp-block-button__link) {
    width: 100%;
  }
}/* ============================================================
 * 12. BLOG EDITORIAL OEDC — HOMOGENEIZAÇÃO BLOCKSY REAL
 * ============================================================
 *
 * Escopo:
 * - index/archive nativo do Blocksy: body.blog / body.archive
 * - single post nativo do Blocksy: body.single-post
 *
 * Regra:
 * - não cria nova matriz;
 * - consome tokens de style.css;
 * - corrige o HTML real renderizado pelo Blocksy;
 * - preserva função de blog: arquivo editorial + leitura lateral.
 * ============================================================ */

/* ------------------------------------------------------------
 * 12.1 Fundo editorial real do blog
 * ------------------------------------------------------------ */

body.oedc.blog,
body.oedc.archive,
body.oedc.single-post,
body.oedc[data-prefix="blog"],
body.oedc[data-prefix="single_blog_post"] {
  color: var(--oedc-text);
  background:
    var(--oedc-gradient-site,
      radial-gradient(circle at 12% 14%, rgba(120, 17, 24, 0.24), transparent 28%),
      radial-gradient(circle at 84% 22%, rgba(83, 12, 16, 0.32), transparent 36%),
      linear-gradient(180deg, #2a0609 0%, #18090b 22%, #130709 52%, #16080a 100%)
    ) !important;
}body.oedc.blog::before,
body.oedc.archive::before,
body.oedc.single-post::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.10;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(rgba(234, 228, 210, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 228, 210, 0.07) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(181, 133, 81, 0.28), transparent 1px);
  background-size: 96px 96px, 96px 96px, 6px 6px;
}body.oedc.blog #main-container,
body.oedc.archive #main-container,
body.oedc.single-post #main-container,
body.oedc.blog .site-main,
body.oedc.archive .site-main,
body.oedc.single-post .site-main {
  position: relative;
  z-index: 1;
  background: transparent !important;
}body.oedc.blog .site-main::before,
body.oedc.archive .site-main::before,
body.oedc.single-post .site-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 10%, rgba(181, 133, 81, 0.10), transparent 24rem),
    radial-gradient(circle at 78% 32%, rgba(58, 6, 6, 0.52), transparent 28rem);
}
/* ------------------------------------------------------------
 * 12.2 Blog index/archive — arquivo editorial compacto com reveal
 * ------------------------------------------------------------
 *
 * Função:
 * - aproximar a index da densidade visual da single;
 * - retirar bento irregular baseado em posição;
 * - manter cards estáveis em qualquer quantidade de posts;
 * - preparar reveal do blog index sem depender de IDs gerados.
 * ------------------------------------------------------------ */

body.oedc.blog .site-main > .ct-container,
body.oedc.archive .site-main > .ct-container {
  width: min(1180px, calc(100% - (var(--oedc-container-pad-x, 32px) * 2)));
  padding-block: clamp(48px, 6vw, 82px) clamp(64px, 8vw, 104px);
}

body.oedc.blog .hero-section,
body.oedc.archive .hero-section {
  max-width: none;
  margin: 0 0 clamp(28px, 4vw, 44px);
  padding: clamp(24px, 3vw, 34px);
  color: var(--oedc-text);
  background:
    radial-gradient(circle at 14% 0, rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.08), transparent 20rem),
    var(--oedc-gradient-panel, linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01))),
    rgba(18, 3, 3, 0.58);
  border: 1px solid rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.16);
  border-radius: var(--oedc-radius-lg, 22px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.26);
}

body.oedc.blog .hero-section .entry-header,
body.oedc.archive .hero-section .entry-header {
  max-width: 56rem;
}

body.oedc.blog .page-title,
body.oedc.archive .page-title {
  margin: 0;
  color: var(--oedc-text);
  font-family: var(--oedc-font-display);
  font-size: clamp(2.8rem, 6vw, 4.9rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.018em;
  text-transform: uppercase;
}

body.oedc.blog .page-description,
body.oedc.archive .page-description {
  max-width: 62ch;
  margin-top: 0.9rem;
  color: var(--oedc-muted);
  font-family: var(--oedc-font-body);
  font-size: clamp(1rem, 1vw, 1.08rem);
  line-height: 1.62;
}

body.oedc.blog .ct-breadcrumbs,
body.oedc.archive .ct-breadcrumbs {
  margin-top: 1rem;
  color: var(--oedc-bronze);
  font-family: var(--oedc-font-heading);
  font-size: var(--oedc-micro-size, 0.8rem);
  font-weight: 700;
  letter-spacing: var(--oedc-micro-letter, 0.08em);
  text-transform: uppercase;
}

/* Grid estável: não usa nth-child como arquitetura. */
body.oedc.blog .entries[data-archive],
body.oedc.archive .entries[data-archive] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2.2vw, 28px) !important;
  align-items: stretch;
}

/* Card editorial compacto. */
body.oedc.blog .entry-card,
body.oedc.archive .entry-card {
  position: relative;
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 14px;
  color: var(--oedc-text);
  background:
    var(--oedc-gradient-panel, linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01))),
    rgba(24, 18, 20, 0.92);
  border: 1px solid rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.16);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

body.oedc.blog .entry-card:hover,
body.oedc.blog .entry-card:focus-within,
body.oedc.archive .entry-card:hover,
body.oedc.archive .entry-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.34);
  background:
    radial-gradient(circle at 18% 0, rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.08), transparent 16rem),
    var(--oedc-gradient-panel, linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012))),
    rgba(28, 21, 23, 0.96);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
}

body.oedc.blog .entry-card::after,
body.oedc.archive .entry-card::after {
  content: "";
  position: absolute;
  inset: auto 14px 0;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.72), transparent);
  transition: opacity 180ms ease;
}

body.oedc.blog .entry-card:hover::after,
body.oedc.blog .entry-card:focus-within::after,
body.oedc.archive .entry-card:hover::after,
body.oedc.archive .entry-card:focus-within::after {
  opacity: 1;
}

/* Neutraliza lógica anterior por posição. */
body.oedc.blog .entry-card:nth-child(n),
body.oedc.archive .entry-card:nth-child(n) {
  grid-column: auto;
}

body.oedc.blog .entry-card .entry-meta,
body.oedc.archive .entry-card .entry-meta {
  order: 1;
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  margin: 0 0 0.75rem;
  padding: 0;
  color: var(--oedc-bronze);
  font-family: var(--oedc-font-heading);
  font-size: var(--oedc-micro-size, 0.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: var(--oedc-micro-letter, 0.08em);
  text-transform: uppercase;
}

body.oedc.blog .entry-card .entry-meta a,
body.oedc.archive .entry-card .entry-meta a {
  color: inherit;
  text-decoration: none;
}

body.oedc.blog .entry-card .ct-media-container,
body.oedc.archive .entry-card .ct-media-container {
  order: 2;
  display: block;
  margin: 0 0 1rem;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: rgba(18, 3, 3, 0.65);
}

body.oedc.blog .entry-card .ct-media-container img,
body.oedc.archive .entry-card .ct-media-container img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.04) brightness(0.80);
  transform: scale(1.001);
  transition: filter 180ms ease, transform 260ms ease;
}

body.oedc.blog .entry-card:hover .ct-media-container img,
body.oedc.archive .entry-card:hover .ct-media-container img {
  filter: saturate(0.92) contrast(1.06) brightness(0.88);
  transform: scale(1.025);
}

body.oedc.blog .entry-card .entry-title,
body.oedc.archive .entry-card .entry-title {
  order: 3;
  margin: 0 0 0.72rem;
  padding: 0;
  color: var(--oedc-bronze);
  font-family: var(--oedc-font-display);
  font-size: clamp(1.55rem, 2.1vw, 2.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: none;
  text-wrap: balance;
}

/* Mata a ampliação antiga dos primeiros cards. */
body.oedc.blog .entry-card:nth-child(1) .entry-title,
body.oedc.blog .entry-card:nth-child(2) .entry-title,
body.oedc.archive .entry-card:nth-child(1) .entry-title,
body.oedc.archive .entry-card:nth-child(2) .entry-title {
  font-size: clamp(1.55rem, 2.1vw, 2.25rem);
}

body.oedc.blog .entry-card .entry-title a,
body.oedc.archive .entry-card .entry-title a {
  color: inherit;
  text-decoration: none;
}

body.oedc.blog .entry-card .entry-title a:hover,
body.oedc.archive .entry-card .entry-title a:hover {
  color: var(--oedc-skin);
}

body.oedc.blog .entry-card .entry-excerpt,
body.oedc.archive .entry-card .entry-excerpt {
  order: 4;
  margin: 0;
  padding: 0;
  color: var(--oedc-muted);
  font-family: var(--oedc-font-body);
  font-size: max(16px, 1rem);
  line-height: 1.58;
}

body.oedc.blog .entry-card .entry-excerpt p,
body.oedc.archive .entry-card .entry-excerpt p {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ------------------------------------------------------------
 * 12.2.x Blog index/archive — reveal integrado ao core.js
 * ------------------------------------------------------------
 * O core.js adiciona:
 * - data-oedc-blog-reveal
 * - is-visible
 * ------------------------------------------------------------ */

body.oedc.blog :where(.hero-section, .entry-card)[data-oedc-blog-reveal],
body.oedc.archive :where(.hero-section, .entry-card)[data-oedc-blog-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s ease,
    transform 1s ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
  transition-delay: var(--oedc-reveal-delay, 0ms);
  will-change: opacity, transform;
}

body.oedc.blog :where(.hero-section, .entry-card)[data-oedc-blog-reveal].is-visible,
body.oedc.archive :where(.hero-section, .entry-card)[data-oedc-blog-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  body.oedc.blog :where(.hero-section, .entry-card)[data-oedc-blog-reveal],
  body.oedc.archive :where(.hero-section, .entry-card)[data-oedc-blog-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ------------------------------------------------------------
 * 12.3 Single post — leitura editorial com sidebar real
 * ------------------------------------------------------------ */

body.oedc.single-post .site-main > .ct-container[data-sidebar] {
  width: min(var(--oedc-container-wide, 1280px), calc(100% - (var(--oedc-container-pad-x, 32px) * 2))) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 870px) minmax(300px, 350px) !important;
  gap: 0 !important;
  align-items: start;
  padding-block: clamp(42px, 6vw, 76px) clamp(64px, 8vw, 104px);
}body.oedc.single-post .site-main > .ct-container[data-sidebar] > article.post {
  position: relative;
  min-width: 0;
  padding: clamp(22px, 3.4vw, 44px);
  color: var(--oedc-text);
  background:
    radial-gradient(circle at 12% 0, rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.07), transparent 21rem),
    var(--oedc-gradient-panel, linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01))),
    rgba(18, 3, 3, 0.70);
  border: 1px solid rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.16);
  border-radius: var(--oedc-radius-lg, 22px);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.30);
}body.oedc.single-post .hero-section {
  margin-bottom: clamp(22px, 4vw, 38px);
}body.oedc.single-post .entry-header {
  max-width: var(--oedc-prose-max, 760px);
}body.oedc.single-post .entry-header .page-title {
  margin: 20px 0 0 0;
  color: var(--oedc-text);
  font-family: var(--oedc-font-display);
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.018em;
}body.oedc.single-post .page-description {
  color: var(--oedc-muted);
  font-size: clamp(1rem, 1.15vw, 1.125rem);
  line-height: 1.65;
}body.oedc.single-post .entry-meta {
  color: var(--oedc-bronze);
  font-family: var(--oedc-font-heading);
  font-size: var(--oedc-micro-size, 0.8rem);
  font-weight: 700;
  letter-spacing: var(--oedc-micro-letter, 0.08em);
  text-transform: uppercase;
}body.oedc.single-post .entry-meta a {
  color: var(--oedc-bronze);
}body.oedc.single-post .ct-featured-image {
  margin: 0 0 clamp(22px, 3.2vw, 34px);
}body.oedc.single-post .ct-featured-image .ct-media-container {
/*  border-radius: calc(var(--oedc-radius-lg, 22px) - 4px); */
  overflow: hidden;
  border: 1px solid rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.16);
  background: var(--oedc-bg-card, #320909);
}body.oedc.single-post .ct-featured-image img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04) brightness(0.80);
}body.oedc.single-post .ct-featured-image figcaption {
  margin: 0;
  padding: 0.7rem 0.85rem;
  color: var(--oedc-muted);
  background: rgba(18, 3, 3, 0.55);
  border-top: 1px solid rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.12);
  font-size: 0.92rem;
  line-height: 1.45;
}body.oedc.single-post .ct-share-box {
  margin-block: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.18);
  border-radius: var(--oedc-radius-sm, 8px);
  background: rgba(18, 3, 3, 0.45);
  overflow: hidden;
}body.oedc.single-post .entry-content {
  max-width: none;
  color: var(--oedc-text);
  font-size: clamp(1rem, 1.04vw, 1.075rem);
  line-height: 1.82;
}body.oedc.single-post .entry-content > * {
  max-width: var(--oedc-prose-max, 760px);
}body.oedc.single-post .entry-content p {
  color: var(--oedc-text);
}body.oedc.single-post .entry-content h2,
body.oedc.single-post .entry-content h3,
body.oedc.single-post .entry-content h4 {
  margin-top: clamp(34px, 5vw, 58px);
  color: var(--oedc-bronze);
  font-family: var(--oedc-font-display);
  line-height: 1.05;
}body.oedc.single-post .entry-content h4.oedc-post-kicker {
  margin: 0 0 1.15rem;
  color: var(--oedc-bronze);
  font-family: var(--oedc-font-heading);
  font-size: var(--oedc-micro-size, 0.8rem);
  font-weight: 700;
  letter-spacing: var(--oedc-micro-letter, 0.08em);
  text-transform: uppercase;
}body.oedc.single-post .entry-content blockquote,
body.oedc.single-post .entry-content .wp-block-quote {
  margin-block: clamp(26px, 4vw, 42px);
  padding: 0 0 0 clamp(18px, 2.5vw, 28px);
  color: var(--oedc-text);
  background: transparent;
  border: 0;
  border-left: 2px solid rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.62);
  box-shadow: none;
}body.oedc.single-post .entry-content blockquote p {
  color: var(--oedc-text);
  font-family: var(--oedc-font-serif, Georgia, "Times New Roman", serif);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.24;
  font-style: italic;
}body.oedc.single-post .entry-content :where(
  .oedc-post-insight-box,
  .oedc-sinais-cotidiano,
  .oedc-post-crossing-box,
  .oedc-post-book-echo-box,
  .oedc-post-related-book-box,
  .oedc-post-after-reading
) {
  max-width: var(--oedc-prose-max, 760px);
  margin-block: clamp(30px, 5vw, 52px);
  padding: clamp(22px, 3vw, 34px);
  color: var(--oedc-text);
  background:
    var(--oedc-gradient-panel, linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01))),
    rgba(50, 9, 9, 0.62);
  border: 1px solid rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.18);
  border-radius: var(--oedc-radius-lg, 22px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.20);
}body.oedc.single-post .entry-content :where(.pergunta-interna, .oedc-internal-question, .oedc-final-question) {
  display: block;
  margin-block: clamp(28px, 4vw, 48px);
  padding: clamp(20px, 3vw, 30px);
  color: var(--oedc-skin);
  background:
    linear-gradient(135deg, rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.12), rgba(58, 6, 6, 0.35) 52%, rgba(18, 3, 3, 0.74));
  border: 1px solid rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.26);
  border-left: 2px solid var(--oedc-bronze);
  border-radius: var(--oedc-radius-md, 14px);
  font-family: var(--oedc-font-display);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
}body.oedc.single-post .entry-tags {
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 1.1rem;
  border-top: 1px solid rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.16);
}body.oedc.single-post .entry-tags .ct-module-title {
  color: var(--oedc-bronze);
  font-family: var(--oedc-font-heading);
  font-size: var(--oedc-micro-size, 0.8rem);
  letter-spacing: var(--oedc-micro-letter, 0.08em);
  text-transform: uppercase;
}body.oedc.single-post .entry-tags-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}body.oedc.single-post .entry-tags-items a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.68rem;
  color: var(--oedc-muted);
  background: rgba(18, 3, 3, 0.52);
  border: 1px solid rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.22);
  border-radius: var(--oedc-radius-sm, 8px);
  font-family: var(--oedc-font-heading);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}/* ------------------------------------------------------------
 * 12.4 Sidebar do single — arquitetura semântica
 * ------------------------------------------------------------
 *
 * REGRA:
 * - Sem #block-XX.
 * - Sem classes geradas do Stackable.
 * - Sem seletor preso à posição.
 * - Componentes governados por classes semânticas estáveis.
 *
 * Contratos:
 * - Stackable Posts temporário: adicionar classe manual
 *   .oedc-sidebar-posts-stack
 * - HTML próprio recomendado:
 *   .oedc-sidebar-posts / .oedc-sidebar-post-card
 * ------------------------------------------------------------ */

body.oedc.single-post #sidebar {
  min-width: 0;
}

body.oedc.single-post #sidebar .ct-sidebar {
  --oedc-side-bg: rgba(24, 18, 20, 0.96);
  --oedc-side-card: rgba(255, 255, 255, 0.045);
  --oedc-side-card-hover: rgba(255, 255, 255, 0.075);
  --oedc-side-border: rgba(255, 255, 255, 0.10);
  --oedc-side-border-hover: rgba(255, 255, 255, 0.18);
  --oedc-side-text: #f3ebdd;
  --oedc-side-muted: #d3cab0;
  --oedc-side-muted-soft: rgba(243, 235, 221, 0.76);
  --oedc-side-accent: #99672d;

  position: sticky;
  top: clamp(84px, 10vw, 118px);
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: 0;
  color: var(--oedc-side-text);
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Wrapper do tema: hospeda. A identidade vem do componente interno. */
body.oedc.single-post #sidebar .ct-widget {
  margin: 0;
}

body.oedc.single-post #sidebar .ct-widget:has(.oedc-sidebar-panel),
body.oedc.single-post #sidebar .ct-widget:has(.oedc-preview-cta),
body.oedc.single-post #sidebar .ct-widget:has(.oedc-category-axis-list),
body.oedc.single-post #sidebar .ct-widget:has(.oedc-sidebar-posts),
body.oedc.single-post #sidebar .ct-widget:has(.oedc-sidebar-posts-stack),
body.oedc.single-post #sidebar .ct-widget.oedc-trail-host {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

/* Busca e headings soltos ainda precisam de painel próprio. */
body.oedc.single-post #sidebar .ct-widget.widget_search,
body.oedc.single-post #sidebar .ct-widget:has(> .wp-block-stackable-heading) {
  padding: 18px;
  color: var(--oedc-side-text);
  background: var(--oedc-side-bg);
  border: 1px solid var(--oedc-side-border);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

body.oedc.single-post #sidebar .ct-widget > p:empty {
  display: none;
}

body.oedc.single-post #sidebar .ct-widget > p {
  margin: 0;
  padding: 0;
}

/* Painel canônico de sidebar. */
body.oedc.single-post #sidebar :where(
  .oedc-sidebar-panel,
  .oedc-preview-cta,
  .oedc-category-axis-list,
  .oedc-sidebar-posts,
  .oedc-sidebar-posts-stack
) {
  display: block;
  margin: 0;
  padding: 18px;
  color: var(--oedc-side-text);
  background: var(--oedc-side-bg);
  border: 1px solid var(--oedc-side-border);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  box-sizing: border-box;
  overflow: hidden;
}

/* O widget de trilhas é governado pelo plugin; aqui só garantimos encaixe. */
body.oedc.single-post #sidebar .oedc-trail-shell,
body.oedc.single-post #sidebar .oedc-trail-widget,
body.oedc.single-post #sidebar .oedc-recent-reads {
  box-sizing: border-box;
}

/* Tipografia. */
body.oedc.single-post #sidebar :where(
  .wp-block-search__label,
  .stk-block-heading__text,
  .oedc-widget__title,
  .oedc-widget-title,
  .oedc-sidebar-panel__title,
  .oedc-sidebar-block__title,
  .widget-title
) {
  display: block;
  margin: 0 0 0.85rem;
  color: var(--oedc-side-accent);
  font-family: var(--oedc-font-heading);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: none;
}

body.oedc.single-post #sidebar :where(
  .ct-widget p,
  .ct-widget li,
  .oedc-sidebar-panel__text
) {
  color: var(--oedc-side-muted-soft);
  font-family: var(--oedc-font-body);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Busca. */
body.oedc.single-post #sidebar .wp-block-search {
  margin: 0;
}

body.oedc.single-post #sidebar .wp-block-search__inside-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
}

body.oedc.single-post #sidebar .wp-block-search__input {
  min-height: 2.55rem;
  width: 100%;
  color: var(--oedc-side-text);
  background: var(--oedc-side-card);
  border: 1px solid var(--oedc-side-border);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  box-shadow: none;
}

body.oedc.single-post #sidebar .wp-block-search__button {
  min-width: 2.55rem;
  min-height: 2.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #18090b;
  background: var(--oedc-side-accent);
  border: 1px solid var(--oedc-side-accent);
  border-radius: 10px;
  padding: 0;
  transition: transform 160ms ease, filter 160ms ease;
}

body.oedc.single-post #sidebar .wp-block-search__button:hover {
  transform: translateY(-1px);
  filter: brightness(1.10);
}

/* Botões e listas internas. */
body.oedc.single-post #sidebar :where(.oedc-btn, .oedc-btn-primary, .oedc-preview-cta-button) {
  width: 100%;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #18090b;
  background: linear-gradient(180deg, #c3914f, #99672d);
  border: 1px solid rgba(211, 169, 145, 0.45);
  border-radius: 999px;
  font-family: var(--oedc-font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

body.oedc.single-post #sidebar :where(.oedc-btn, .oedc-btn-primary, .oedc-preview-cta-button):hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.20);
}

body.oedc.single-post #sidebar :where(.oedc-list, .oedc-related-posts__list, .oedc-category-axis-list ul) {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.oedc.single-post #sidebar :where(.oedc-list a, .oedc-related-posts a, .oedc-category-axis-list a) {
  display: block;
  padding: 0.62rem 0.72rem;
  color: var(--oedc-side-muted);
  background: var(--oedc-side-card);
  border: 1px solid var(--oedc-side-border);
  border-radius: 10px;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

body.oedc.single-post #sidebar :where(.oedc-list a, .oedc-related-posts a, .oedc-category-axis-list a):hover {
  color: var(--oedc-side-text);
  background: var(--oedc-side-card-hover);
  border-color: var(--oedc-side-border-hover);
  transform: translateY(-1px);
}

/* Posts laterais — HTML próprio recomendado. */
body.oedc.single-post #sidebar .oedc-sidebar-posts__list {
  display: grid;
  gap: 12px;
}

body.oedc.single-post #sidebar .oedc-sidebar-post-card {
  display: block;
  margin: 0;
  padding: 12px;
  color: var(--oedc-side-muted);
  background: var(--oedc-side-card);
  border: 1px solid var(--oedc-side-border);
  border-radius: 14px;
  overflow: hidden;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

body.oedc.single-post #sidebar .oedc-sidebar-post-card:hover,
body.oedc.single-post #sidebar .oedc-sidebar-post-card:focus-within {
  color: var(--oedc-side-text);
  background: var(--oedc-side-card-hover);
  border-color: var(--oedc-side-border-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

body.oedc.single-post #sidebar .oedc-sidebar-post-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 14px;
  overflow: hidden;
  text-decoration: none;
  background: rgba(18, 3, 3, 0.65);
}

body.oedc.single-post #sidebar .oedc-sidebar-post-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04) brightness(0.82);
  transition: filter 180ms ease, transform 260ms ease;
}

body.oedc.single-post #sidebar .oedc-sidebar-post-card:hover .oedc-sidebar-post-card__image img {
  filter: saturate(0.94) contrast(1.06) brightness(0.90);
  transform: scale(1.025);
}

body.oedc.single-post #sidebar .oedc-sidebar-post-card__axis {
  display: block;
  margin-bottom: 8px;
  color: var(--oedc-side-accent);
  font-family: var(--oedc-font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.oedc.single-post #sidebar .oedc-sidebar-post-card__title {
  margin: 0 0 8px;
  color: var(--oedc-side-text);
  font-family: var(--oedc-font-heading);
  font-size: var(--oedc-title-h4);
  font-weight: 600;
  line-height: var(--oedc-line-h4);
  letter-spacing: 0.01em;
  text-wrap: balance;
}

body.oedc.single-post #sidebar .oedc-sidebar-post-card__title a {
  color: inherit;
  text-decoration: none;
}

body.oedc.single-post #sidebar .oedc-sidebar-post-card__excerpt {
  margin: 0;
  color: var(--oedc-side-muted-soft);
  font-family: var(--oedc-font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stackable Posts — compatibilidade temporária.
 * Exige classe manual estável: .oedc-sidebar-posts-stack
 */
body.oedc.single-post #sidebar .oedc-sidebar-posts-stack .stk-inner-blocks,
body.oedc.single-post #sidebar .oedc-sidebar-posts-stack .stk-content-align,
body.oedc.single-post #sidebar .oedc-sidebar-posts-stack .stk-block-posts__items {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.oedc.single-post #sidebar .oedc-sidebar-posts-stack .stk-block-posts__items {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

body.oedc.single-post #sidebar .oedc-sidebar-posts-stack .stk-block-posts__item {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
}

body.oedc.single-post #sidebar .oedc-sidebar-posts-stack .stk-block-posts__item > .stk-container {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 12px !important;
  color: var(--oedc-side-muted) !important;
  background: var(--oedc-side-card) !important;
  border: 1px solid var(--oedc-side-border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

body.oedc.single-post #sidebar .oedc-sidebar-posts-stack .stk-block-posts__item > .stk-container:hover {
  color: var(--oedc-side-text) !important;
  background: var(--oedc-side-card-hover) !important;
  border-color: var(--oedc-side-border-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22) !important;
}

body.oedc.single-post #sidebar .oedc-sidebar-posts-stack article {
  display: flex !important;
  flex-direction: column !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.oedc.single-post #sidebar .oedc-sidebar-posts-stack .stk-block-posts__category {
  order: 1;
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: var(--oedc-side-accent) !important;
  font-family: var(--oedc-font-heading) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

body.oedc.single-post #sidebar .oedc-sidebar-posts-stack .stk-block-posts__image-link {
  order: 2;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: rgba(18, 3, 3, 0.65) !important;
  border: 0 !important;
  border-radius: 0 !important;
  text-decoration: none !important;
}

body.oedc.single-post #sidebar .oedc-sidebar-posts-stack .stk-img-wrapper {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.oedc.single-post #sidebar .oedc-sidebar-posts-stack .stk-img-wrapper img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  filter: saturate(0.86) contrast(1.04) brightness(0.82);
  transition: filter 180ms ease, transform 260ms ease;
}

body.oedc.single-post #sidebar .oedc-sidebar-posts-stack .stk-block-posts__item > .stk-container:hover .stk-img-wrapper img {
  filter: saturate(0.94) contrast(1.06) brightness(0.90);
  transform: scale(1.025);
}

body.oedc.single-post #sidebar .oedc-sidebar-posts-stack .stk-block-posts__title {
  order: 3;
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--oedc-side-text) !important;
  font-family: var(--oedc-font-heading) !important;
  font-size: var(--oedc-title-h4) !important;
  font-weight: 600 !important;
  line-height: var(--oedc-line-h4) !important;
  letter-spacing: 0.01em !important;
  text-wrap: balance;
}

body.oedc.single-post #sidebar .oedc-sidebar-posts-stack .stk-block-posts__title a {
  color: inherit !important;
  text-decoration: none !important;
}

body.oedc.single-post #sidebar .oedc-sidebar-posts-stack .stk-block-posts__excerpt {
  order: 4;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--oedc-side-muted-soft) !important;
  font-family: var(--oedc-font-body) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

body.oedc.single-post #sidebar .oedc-sidebar-posts-stack .stk-block-posts__excerpt p {
  margin: 0 !important;
  color: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}

/* Foco. */
body.oedc.single-post #sidebar a:focus-visible,
body.oedc.single-post #sidebar button:focus-visible,
body.oedc.single-post #sidebar input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(153, 103, 45, 0.18);
}


/* ------------------------------------------------------------
 * 12.5 Posts relacionados — faixa editorial full-width
 * ------------------------------------------------------------ */

body.oedc.single-post .ct-related-posts-container {
  position: relative;
  padding-block: clamp(54px, 7vw, 90px);
  background:
    radial-gradient(circle at 16% 0, rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.10), transparent 24rem),
    linear-gradient(180deg, rgba(58, 6, 6, 0.38), rgba(18, 3, 3, 0.82));
  border-top: 1px solid rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.18);
  border-bottom: 1px solid rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.12);
}body.oedc.single-post .ct-related-posts-container .ct-container {
  width: min(var(--oedc-container-wide, 1280px), calc(100% - (var(--oedc-container-pad-x, 32px) * 2)));
}body.oedc.single-post .ct-related-posts .ct-module-title {
  margin: 0 0 clamp(22px, 3vw, 34px);
  color: var(--oedc-bronze);
  font-family: var(--oedc-font-display);
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 0.98;
  text-transform: none;
}body.oedc.single-post .ct-related-posts-items {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 3vw, 34px);
}body.oedc.single-post .ct-related-posts-items article > .post {
  height: 100%;
  padding: clamp(12px, 1.4vw, 18px);
  background:
    var(--oedc-gradient-panel, linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01))),
    rgba(28, 7, 8, 0.74);
  border: 1px solid rgba(var(--oedc-gold-rgb, 153, 103, 45), 0.16);
  border-radius: var(--oedc-radius-lg, 22px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}body.oedc.single-post .ct-related-posts-items .ct-media-container {
  display: block;
  overflow: hidden;
  border-radius: calc(var(--oedc-radius-lg, 22px) - 7px);
  margin-bottom: 0.9rem;
}body.oedc.single-post .ct-related-posts-items img {
  width: 100%;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04) brightness(0.78);
}body.oedc.single-post .related-entry-title {
  margin: 0.7rem 0 0.5rem;
  color: var(--oedc-bronze);
  font-family: var(--oedc-font-display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.02;
}body.oedc.single-post .related-entry-title a {
  color: inherit;
  text-decoration: none;
}

/* ------------------------------------------------------------
 * 12.6 Responsivo
 * ------------------------------------------------------------ */

@media (max-width: 1020px) {body.oedc.blog .entries[data-archive],
body.oedc.archive .entries[data-archive] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }body.oedc.blog .entry-card,
body.oedc.archive .entry-card,
body.oedc.blog .entry-card:nth-child(n),
body.oedc.archive .entry-card:nth-child(n) {
    grid-column: auto;
  }body.oedc.single-post .site-main > .ct-container[data-sidebar] {
    grid-template-columns: 1fr !important;
  }body.oedc.single-post #sidebar .ct-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {body.oedc.blog .site-main > .ct-container,
body.oedc.archive .site-main > .ct-container,
body.oedc.single-post .site-main > .ct-container[data-sidebar] {
    width: min(100% - 1.25rem, var(--oedc-container-wide, 1280px)) !important;
    padding-block: 42px 64px;
  }body.oedc.blog .entries[data-archive],
body.oedc.archive .entries[data-archive],
body.oedc.single-post .ct-related-posts-items {
    grid-template-columns: 1fr !important;
  }body.oedc.single-post .site-main > .ct-container[data-sidebar] > article.post {
    padding: 1rem;
    border-radius: var(--oedc-radius-md, 14px);
  }body.oedc.single-post .entry-header .page-title {
    max-width: none;
    font-size: clamp(2.25rem, 12vw, 3.4rem);
  }
}



/* ============================================================
 * OEDC NOVA VISAO MIGRADA — COMPONENTES E RESPONSIVIDADE
 * Origem anterior: css/oedc-editorial-pages.css
 * ============================================================ */

/* ============================================================
 * 02. CONSUMO / HARMONIZACAO
 * ============================================================ */

.oedc-container,
.oedc-objects-container {
  width: min(100% - (var(--oedc-container-pad-x) * 2), var(--oedc-container-max));
  margin-inline: auto;
  position: relative;
}.oedc-container--wide,
.oedc-objects-container-lg {
  width: min(100% - (var(--oedc-container-pad-x) * 2), var(--oedc-container-wide));
  margin-inline: auto;
}.oedc-section {
  padding-block: var(--oedc-section-pad-y);
  position: relative;
}.oedc-section--compact {
  padding-block: clamp(64px, 7vw, 78px);
}.oedc-section--tight {
  padding-block: clamp(72px, 8vw, 92px);
}.oedc-section--roomy {
  padding-block: clamp(88px, 9vw, 112px);
}.oedc-section--home-author {
  padding-top: clamp(108px, 11vw, 132px);
}.oedc-section--home-author .oedc-container {
  padding-top: clamp(28px, 4vw, 44px);
}.oedc-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(92vw, 1120px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--oedc-color-line), transparent);
}.oedc-hero {
  min-height: min(88vh, 960px);
  display: grid;
  align-items: center;
  padding-block: var(--oedc-section-pad-y-hero) clamp(68px, 8vw, 88px);
  position: relative;
}.oedc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}.oedc-hero-grid > *,
.oedc-grid > *,
.oedc-grid--split > *,
.oedc-grid--author > *,
.oedc-grid--receive > *,
.oedc-grid--2 > *,
.oedc-grid--3 > *,
.oedc-grid--4 > *,
.oedc-form-grid > *,
.oedc-step-grid > * {
  min-width: 0;
}.oedc-grid,
.oedc-objects-grid {
  display: grid;
  gap: clamp(17px, 2vw, 25px);
  row-gap: clamp(20px, 2.6vw, 33px);
  align-items: stretch;
}.oedc-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}.oedc-grid--3,
.oedc-objects-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}.oedc-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}.oedc-grid--split {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: start;
  gap: clamp(24px, 3vw, 36px);
}.oedc-grid--author {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(24px, 3vw, 38px);
}.oedc-grid--receive {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: stretch;
  gap: clamp(24px, 3vw, 36px);
}.oedc-eyebrow,
.oedc-typo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  margin-bottom: 14px;
  color: var(--oedc-color-accent-soft);
  font-family: var(--oedc-font-body-family);
  font-size: var(--oedc-size-eyebrow);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: var(--oedc-track-micro);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}.oedc-page-title {
  margin: 0;
  color: var(--oedc-color-text);
  font-family: var(--oedc-font-body-family);
  font-size: clamp(0.98rem, 1vw + 0.9rem, 1.18rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}.oedc-eyebrow::before,
.oedc-typo-eyebrow::before {
  content: "";
  width: 3rem;
  height: 1px;
  flex: 0 0 auto;
  background: var(--oedc-gradient-kicker-rule);
}.oedc-hero-title,
.oedc-title-section,
.oedc-title-card,
.oedc-closing-title {
  margin: 0;
  color: var(--oedc-color-text);
  font-family: var(--oedc-font-display-family);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--oedc-track-heading);
  text-wrap: balance;
}.oedc-hero-title {
  font-size: var(--oedc-size-hero);
  line-height: var(--oedc-lh-hero);
  letter-spacing: var(--oedc-track-hero);
  max-width: 10.5ch;
  text-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}.oedc-page--home .oedc-hero-title {
  max-width: 11ch;
}.oedc-page--livro .oedc-hero-title {
  max-width: 13.5ch;
}.oedc-page--autor .oedc-hero-title {
  max-width: 13.5ch;
}.oedc-page--previa .oedc-hero-title {
  max-width: 12ch;
}.oedc-title-section {
  font-size: var(--oedc-size-h2);
  line-height: var(--oedc-lh-heading);
/*  max-width: 12ch;*/
}.oedc-title-card {
  font-size: var(--oedc-size-h3);
  line-height: var(--oedc-lh-heading);
  font-weight: 600;
}.oedc-title-section + .oedc-prose,
.oedc-title-section + .oedc-vocab-grid,
.oedc-title-section + .oedc-grid,
.oedc-title-section + .oedc-actions,
.oedc-title-card + .oedc-prose,
.oedc-title-card + p,
.oedc-title-card + .oedc-grid,
.oedc-card-label + .oedc-title-card,
.oedc-eyebrow + .oedc-title-section,
.oedc-eyebrow + .oedc-title-card,
.oedc-page-title + .oedc-hero-title,
.oedc-hero-title + .oedc-lead,
.oedc-hero-title + .oedc-prose {
  margin-top: 18px;
}.oedc-preview-cta .oedc-title-card + p {
  margin-top: 24px;
}.oedc-lead,
.oedc-typo-lead {
  margin: 18px 0 0;
  color: var(--oedc-color-text);
  font-size: var(--oedc-size-lead);
  line-height: var(--oedc-lh-lead);
  font-weight: 400;
  max-width: 48ch;
}.oedc-prose,
.oedc-prose p {
  color: var(--oedc-color-muted);
  font-size: var(--oedc-size-body);
  line-height: var(--oedc-lh-body);
}.oedc-prose p {
  margin: 0 0 1rem;
}.oedc-prose p:last-child {
  margin-bottom: 0;
}.oedc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}.oedc-actions--center {
  justify-content: center;
}.oedc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding-inline: 22px;
  border-radius: var(--oedc-radius-pill);
  border: 1px solid transparent;
  font-family: var(--oedc-font-body-family);
  font-size: var(--oedc-size-micro);
  letter-spacing: var(--oedc-track-button);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, color 0.35s ease;
}.oedc-actions > .oedc-btn {
  flex: 1 1 220px;
}.oedc-btn:hover,
.oedc-btn:focus-visible {
  transform: translateY(-2px);
}.oedc-btn-primary {
  background: var(--oedc-gradient-button);
  color: #210d06;
  box-shadow: 0 18px 40px rgba(var(--oedc-color-accent-rgb), 0.24);
}.oedc-btn-secondary,
.oedc-btn-link {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(var(--oedc-color-accent-rgb), 0.24);
  color: var(--oedc-color-text);
  backdrop-filter: blur(10px);
}.oedc-btn-secondary:hover,
.oedc-btn-link:hover,
.oedc-btn-secondary:focus-visible,
.oedc-btn-link:focus-visible {
  border-color: rgba(var(--oedc-color-accent-rgb), 0.52);
}.oedc-panel,
.oedc-card,
.oedc-preview-cta,
.oedc-reader-history,
.oedc-faq-item,
.oedc-stage,
.oedc-form-panel {
  position: relative;
  border-radius: var(--oedc-radius-xl);
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.12);
  background: var(--oedc-gradient-panel), var(--oedc-color-panel);
  box-shadow: var(--oedc-shadow-xl);
  backdrop-filter: blur(10px);
  height: 100%;
}.oedc-panel {
  padding: clamp(26px, 3.6vw, 36px);
}.oedc-card {
  padding: clamp(26px, 3vw, 32px);
  border-radius: var(--oedc-radius-lg);
  background: var(--oedc-gradient-panel), var(--oedc-color-card);
  box-shadow: var(--oedc-shadow-lg);
  overflow: hidden;
  transition: transform 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
}.oedc-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--oedc-color-accent-rgb), 0.66), transparent);
  opacity: 0;
  transition: opacity 0.45s ease;
}.oedc-card:hover,
.oedc-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(var(--oedc-color-accent-rgb), 0.28);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.34);
}.oedc-card:hover::before,
.oedc-card:focus-within::before {
  opacity: 1;
}.oedc-card-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--oedc-color-accent-soft);
  font-family: var(--oedc-font-body-family);
  font-size: var(--oedc-size-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--oedc-track-micro);
}.oedc-core-quote {
  padding: 0 0 0 clamp(18px, 2.2vw, 24px);
  border-left: 2px solid rgba(var(--oedc-color-accent-rgb), 0.38);
  background: transparent;
  box-shadow: none;
  max-width: 100%;
}.oedc-core-quote em,
.oedc-quote-voice {
  display: block;
  color: var(--oedc-color-text-on-dark);
  font-family: var(--oedc-font-serif-family);
  font-size: var(--oedc-size-quote);
  line-height: var(--oedc-lh-quote);
  font-style: italic;
}.oedc-quote-voice {
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}.oedc-core-quote small,
.oedc-quote-signature {
  display: block;
  margin-top: 12px;
  color: var(--oedc-color-accent-soft);
  font-family: var(--oedc-font-body-family);
  font-size: var(--oedc-size-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--oedc-track-micro);
}.oedc-stage {
  padding: clamp(24px, 4vw, 32px);
  overflow: hidden;
}.oedc-stage::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 440px;
  height: 440px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.18);
  pointer-events: none;
}.oedc-stage::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(var(--oedc-color-accent-rgb), 0.12);
  pointer-events: none;
}.oedc-book-cover {
  position: relative;
  z-index: 1;
  width: min(100%, 330px);
  margin: 0 auto;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.42));
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.6s ease, filter 0.6s ease;
}.oedc-stage:hover .oedc-book-cover,
.oedc-stage:focus-within .oedc-book-cover {
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg) translateY(-4px);
  filter: drop-shadow(0 38px 58px rgba(0, 0, 0, 0.5));
}.oedc-pulse {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 540px;
  height: 540px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, transparent 0 26%, rgba(var(--oedc-color-accent-rgb), 0.12) 26.5%, transparent 27.2% 31.2%, rgba(var(--oedc-color-accent-rgb), 0.08) 31.8%, transparent 32.5% 40%, rgba(var(--oedc-color-accent-rgb), 0.05) 40.4%, transparent 41%),
    radial-gradient(circle, rgba(var(--oedc-color-accent-rgb), 0.08), transparent 52%);
  opacity: 0.76;
  pointer-events: none;
}.oedc-scene-switcher {
  margin-top: 28px;
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 0 0 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--oedc-color-accent-rgb), 0.36) transparent;
}.oedc-scene-switcher::-webkit-scrollbar {
  height: 6px;
}.oedc-scene-switcher::-webkit-scrollbar-thumb {
  background: rgba(var(--oedc-color-accent-rgb), 0.26);
  border-radius: 999px;
}.oedc-chip {
  min-height: 42px;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0 16px;
  border-radius: var(--oedc-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: var(--oedc-color-muted);
  cursor: pointer;
  transition: all 0.35s ease;
  font-family: var(--oedc-font-body-family);
  font-size: var(--oedc-size-body);
}.oedc-chip.is-active,
.oedc-chip:hover,
.oedc-chip:focus-visible {
  color: var(--oedc-color-text);
  border-color: rgba(var(--oedc-color-accent-rgb), 0.42);
  background: rgba(var(--oedc-color-accent-rgb), 0.08);
  transform: translateY(-1px);
}.oedc-stack-gap-sm {
  gap: 14px;
}.oedc-grid--2.oedc-grid--cards-roomy > *,
.oedc-grid--3.oedc-grid--cards-roomy > *,
.oedc-grid--4.oedc-grid--cards-roomy > * {
  height: 100%;
}.oedc-flow-mt-sm {
  margin-top: 14px;
}.oedc-flow-mt-md {
  margin-top: 16px;
}.oedc-flow-mt-xl {
  margin-top: 24px;
}.oedc-flow-mt-2xl {
  margin-top: 48px;
}.oedc-cover-preview {
  width: min(100%, 320px);
  margin-inline: auto;
}.oedc-note-card {
  min-height: 142px;
  padding: 22px;
  border-radius: var(--oedc-radius-lg);
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.12);
  background: var(--oedc-gradient-panel), var(--oedc-color-card-soft);
  box-shadow: var(--oedc-shadow-md);
}.oedc-note-card span {
  display: block;
  color: var(--oedc-color-accent-soft);
  font-family: var(--oedc-font-body-family);
  font-size: var(--oedc-size-micro);
  font-weight: 700;
  letter-spacing: var(--oedc-track-micro);
  text-transform: uppercase;
  margin-bottom: 10px;
}.oedc-note-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--oedc-font-display-family);
  font-size: var(--oedc-size-h4);
  line-height: var(--oedc-lh-heading);
  text-transform: uppercase;
  font-weight: 600;
}.oedc-note-card p {
  margin: 0;
  color: var(--oedc-color-muted);
  font-size: var(--oedc-size-body);
  line-height: var(--oedc-lh-body);
}.oedc-quote-band {
  margin-top: 28px;
  padding: 28px clamp(24px, 4vw, 40px);
  border-radius: var(--oedc-radius-xl);
  background:
    radial-gradient(circle at center, rgba(var(--oedc-color-accent-rgb), 0.1), transparent 60%),
    rgba(18, 7, 8, 0.92);
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.14);
  box-shadow: var(--oedc-shadow-xl);
  text-align: center;
}.oedc-quote-band p {
  max-width: 34ch;
  margin: 0 auto;
  color: var(--oedc-color-text-on-dark);
  font-family: var(--oedc-font-serif-family);
  font-size: var(--oedc-size-quote);
  line-height: var(--oedc-lh-quote);
  font-style: italic;
}.oedc-quote-band span {
  display: block;
  margin-top: 14px;
  color: var(--oedc-color-accent-soft);
  font-family: var(--oedc-font-body-family);
  font-size: var(--oedc-size-micro);
  font-weight: 700;
  letter-spacing: var(--oedc-track-micro);
  text-transform: uppercase;
}.oedc-number {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--oedc-color-accent-soft);
  font-family: var(--oedc-font-display-family);
  font-size: var(--oedc-size-h4);
  letter-spacing: 0.08em;
}.oedc-bullets {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}.oedc-bullets > div {
  position: relative;
  padding-left: 20px;
  color: var(--oedc-color-muted);
  font-size: var(--oedc-size-body);
  line-height: var(--oedc-lh-body);
}.oedc-bullets > div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--oedc-color-accent);
  box-shadow: 0 0 0 6px rgba(var(--oedc-color-accent-rgb), 0.12);
}.oedc-chapter-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  gap: 28px;
  align-items: stretch;
  min-height: 590px; /* clamp(, 50vw + 250px, 590px);*/
}.oedc-chapter-list {
  display: grid;
  gap: 14px;
}.oedc-page--livro .oedc-chapter-list {
  height: 100%;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}.oedc-page--home .oedc-chapter-list {
  height: 100%;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}.oedc-chapter-trigger {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--oedc-color-text);
  cursor: pointer;
  transition: all 0.35s ease;
}.oedc-page--livro .oedc-chapter-trigger {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
}.oedc-page--home .oedc-chapter-trigger {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  transform: none;
  transition: border-color 0.35s ease, background 0.35s ease, color 0.35s ease;
}.oedc-chapter-trigger small {
  display: block;
  margin-bottom: 6px;
  color: var(--oedc-color-accent-soft);
  font-family: var(--oedc-font-body-family);
  font-size: var(--oedc-size-micro);
  font-weight: 700;
  letter-spacing: var(--oedc-track-micro);
  text-transform: uppercase;
}.oedc-chapter-trigger strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--oedc-font-display-family);
  font-size: var(--oedc-size-h4);
  line-height: var(--oedc-lh-heading);
  text-transform: uppercase;
  font-weight: 600;
}.oedc-chapter-trigger span {
  color: var(--oedc-color-muted);
  font-size: var(--oedc-size-body);
  line-height: var(--oedc-lh-body);
}.oedc-chapter-trigger.is-active,
.oedc-chapter-trigger:hover,
.oedc-chapter-trigger:focus-visible {
  transform: translateX(6px);
  border-color: rgba(var(--oedc-color-accent-rgb), 0.42);
  background: rgba(var(--oedc-color-accent-rgb), 0.08);
}.oedc-page--home .oedc-chapter-trigger.is-active,
.oedc-page--home .oedc-chapter-trigger:hover,
.oedc-page--home .oedc-chapter-trigger:focus-visible {
  transform: none;
}.oedc-chapter-viewer {
  min-height: 100%;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--oedc-radius-xl);
  background:
    radial-gradient(circle at 86% 14%, rgba(var(--oedc-color-accent-rgb), 0.12), transparent 36%),
    var(--oedc-gradient-panel),
    rgba(25, 8, 9, 0.96);
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.12);
  box-shadow: var(--oedc-shadow-xl);
  display: grid;
  gap: 18px;
  align-content: start;
}.oedc-page--livro .oedc-chapter-viewer {
  min-height: clamp(420px, 40vw, 476px);
}.oedc-page--home .oedc-chapter-viewer {
  min-height: 520px;
}.oedc-chapter-viewer > * {
  transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease;
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}.oedc-chapter-viewer.is-transitioning > * {
  opacity: 0;
  transform: translateY(8px);
  filter: blur(3px);
}.oedc-chapter-viewer small {
  color: var(--oedc-color-accent-soft);
  font-family: var(--oedc-font-body-family);
  font-size: var(--oedc-size-micro);
  font-weight: 700;
  letter-spacing: var(--oedc-track-micro);
  text-transform: uppercase;
}.oedc-chapter-viewer h3 {
  margin: 0;
  color: var(--oedc-color-text);
  font-family: var(--oedc-font-display-family);
  font-size: var(--oedc-size-h1);
  line-height: var(--oedc-lh-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--oedc-track-heading);
}.oedc-chapter-quote {
  margin: 0;
  padding-left: 18px;
  border-left: 2px solid rgba(var(--oedc-color-accent-rgb), 0.38);
  color: var(--oedc-color-text-on-dark);
  font-family: var(--oedc-font-serif-family);
  font-size: var(--oedc-size-quote);
  line-height: var(--oedc-lh-quote);
  font-style: italic;
}.oedc-tag-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}.oedc-tag-flow span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding-inline: 14px;
  border-radius: var(--oedc-radius-pill);
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.16);
  background: rgba(255, 255, 255, 0.02);
  color: var(--oedc-color-muted);
  font-size: var(--oedc-size-body);
}.oedc-author-seal {
  min-height: 100%;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--oedc-radius-xl);
  background:
    radial-gradient(circle at center, rgba(var(--oedc-color-accent-rgb), 0.12), transparent 36%),
    var(--oedc-gradient-panel),
    rgba(22, 8, 9, 0.96);
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.12);
  box-shadow: var(--oedc-shadow-xl);
  position: relative;
  overflow: hidden;
}.oedc-author-portrait {
  margin: 0 0 24px;
  border-radius: calc(var(--oedc-radius-xl) - 6px);
  overflow: hidden;
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.16);
  background: rgba(255, 255, 255, 0.03);
}.oedc-author-portrait img {
  width: 100%;
  aspect-ratio: 0.92;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) contrast(1.03) brightness(0.94);
}.oedc-journey-list {
  display: grid;
  gap: 12px;
}

@media (min-width: 981px) {.oedc-journey-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }.oedc-journey-list > :last-child {
    grid-column: 1 / -1;
  }
}.oedc-journey-item {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.1);
  background: rgba(255, 255, 255, 0.02);
}.oedc-journey-item small {
  display: block;
  margin-bottom: 4px;
  color: var(--oedc-color-accent-soft);
  font-family: var(--oedc-font-body-family);
  font-size: var(--oedc-size-micro);
  font-weight: 700;
  letter-spacing: var(--oedc-track-micro);
  text-transform: uppercase;
}.oedc-journey-item strong {
  display: block;
  color: var(--oedc-color-text);
  font-family: var(--oedc-font-display-family);
  font-size: clamp(1.3125rem, 1.85vw, 1.5rem);
  line-height: var(--oedc-lh-heading);
  text-transform: uppercase;
  font-weight: 600;
}.oedc-vocab-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}.oedc-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}.oedc-step-card {
  padding: 24px;
  border-radius: var(--oedc-radius-lg);
  background: var(--oedc-gradient-panel), rgba(44, 16, 17, 0.9);
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.12);
  box-shadow: var(--oedc-shadow-lg);
}.oedc-step-number {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(var(--oedc-color-accent-rgb), 0.12);
  color: var(--oedc-color-accent);
  font-family: var(--oedc-font-display-family);
  font-size: var(--oedc-size-h4);
}.oedc-form-panel {
  padding: clamp(24px, 4vw, 40px);
}.oedc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}.oedc-field {
  display: grid;
  gap: 8px;
}.oedc-field--full {
  grid-column: 1 / -1;
}.oedc-field label {
  color: var(--oedc-color-muted);
  font-size: var(--oedc-size-body);
}.oedc-field-note {
  color: var(--oedc-color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}.oedc-field input,
.oedc-field select,
.oedc-field textarea {
  min-height: 54px;
  padding-inline: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--oedc-color-text);
  transition: border-color 0.35s ease, background 0.35s ease;
}.oedc-field textarea {
  min-height: 140px;
  padding-block: 14px;
  resize: vertical;
}.oedc-field input:focus,
.oedc-field select:focus,
.oedc-field textarea:focus {
  outline: none;
  border-color: rgba(var(--oedc-color-accent-rgb), 0.52);
  background: rgba(255, 255, 255, 0.05);
}.oedc-checks {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}.oedc-check,
.oedc-choice {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--oedc-color-muted);
  font-size: var(--oedc-size-body);
  line-height: var(--oedc-lh-body);
}.oedc-check input,
.oedc-choice input {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin: 3px 0 0;
  border-radius: 6px;
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.42);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 13px;
}.oedc-check input:hover,
.oedc-choice input:hover {
  border-color: rgba(var(--oedc-color-accent-rgb), 0.62);
}.oedc-check input:focus-visible,
.oedc-choice input:focus-visible {
  outline: 2px solid rgba(var(--oedc-color-accent-rgb), 0.32);
  outline-offset: 2px;
}.oedc-check input:checked,
.oedc-choice input:checked {
  border-color: rgba(var(--oedc-color-accent-rgb), 0.9);
  background-color: #c5944d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23210d06' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
  box-shadow: 0 8px 18px rgba(var(--oedc-color-accent-rgb), 0.18);
}.oedc-choice {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.12);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}.oedc-choice:hover,
.oedc-choice:focus-within {
  border-color: rgba(var(--oedc-color-accent-rgb), 0.3);
  background: rgba(var(--oedc-color-accent-rgb), 0.06);
  transform: translateY(-1px);
}.oedc-choice__body {
  display: grid;
  gap: 3px;
}.oedc-choice__body strong {
  color: var(--oedc-color-text);
  font-size: var(--oedc-size-body);
  font-weight: 700;
}.oedc-choice__body span {
  color: var(--oedc-color-muted);
  font-size: 0.94rem;
  line-height: 1.58;
}.oedc-choice--conditional[hidden] {
  display: none;
}.oedc-form-legal {
  margin: -4px 0 0;
  color: var(--oedc-color-muted);
  font-size: 0.92rem;
  line-height: 1.58;
}.oedc-form-legal a {
  color: var(--oedc-color-text);
  text-decoration-color: rgba(var(--oedc-color-accent-rgb), 0.5);
  text-underline-offset: 0.18em;
}.oedc-form-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(var(--oedc-color-accent-rgb), 0.08);
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.16);
  color: var(--oedc-color-muted);
}.oedc-form-note p {
  margin: 0;
}.oedc-cover-caption {
  display: grid;
  gap: 10px;
  margin-top: 38px;
}.oedc-cover-caption p {
  margin: 0;
  color: var(--oedc-color-muted);
}.oedc-faq-list {
  display: grid;
  gap: 14px;
}.oedc-section-intro {
  display: grid;
  gap: 18px;
  max-width: 74ch;
}.oedc-section-intro--split {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  align-items: start;
  max-width: none;
}

@media (min-width: 981px) {.oedc-section-intro--split {
    grid-template-columns: minmax(0, 1.22fr) minmax(260px, 0.78fr);
  }.oedc-book-thesis-intro {
    grid-template-columns: minmax(0, 1.34fr) minmax(340px, 0.66fr);
    gap: clamp(32px, 4vw, 52px);
    align-items: start;
  }.oedc-book-thesis-roots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

.oedc-thinker-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--oedc-radius-xl);
  overflow: hidden;
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.12);
  background: var(--oedc-gradient-panel), rgba(24, 8, 10, 0.96);
  box-shadow: var(--oedc-shadow-xl);
}.oedc-thinker-card figure {
  margin: 0;
  aspect-ratio: 1.04;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}.oedc-thinker-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) sepia(0.12) brightness(0.84) contrast(1.08);
}.oedc-thinker-card-body {
  display: grid;
  gap: 14px;
  padding: 24px;
}.oedc-thinker-card-body p {
  margin: 0;
  color: var(--oedc-color-muted);
}.oedc-synthesis-panel {
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--oedc-radius-xl);
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.18);
  background:
    radial-gradient(circle at 88% 14%, rgba(var(--oedc-color-accent-rgb), 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(29, 11, 13, 0.97);
  box-shadow: var(--oedc-shadow-xl);
  position: relative;
  overflow: hidden;
}.oedc-synthesis-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(var(--oedc-color-accent-rgb), 0.92), rgba(var(--oedc-color-accent-soft-rgb), 0.16));
}.oedc-synthesis-panel > * {
  position: relative;
  z-index: 1;
}.oedc-synthesis-panel .oedc-title-section,
.oedc-synthesis-panel .oedc-title-card {
  max-width: none;
}.oedc-synthesis-sequence {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

@media (min-width: 981px) {.oedc-synthesis-sequence {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}.oedc-synthesis-step {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.12);
  background: rgba(255, 255, 255, 0.025);
}.oedc-synthesis-layout {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  align-items: start;
  margin-top: 22px;
}

@media (min-width: 981px) {.oedc-synthesis-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  }
}.oedc-synthesis-step strong {
  color: var(--oedc-color-text);
  font-size: var(--oedc-size-micro);
  letter-spacing: var(--oedc-track-micro);
  text-transform: uppercase;
}.oedc-synthesis-step span {
  color: var(--oedc-color-muted);
  line-height: 1.55;
}.oedc-faq-item {
  overflow: hidden;
}.oedc-faq-question {
  width: 100%;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--oedc-color-text);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-family: var(--oedc-font-display-family);
  font-size: var(--oedc-size-h4);
  line-height: var(--oedc-lh-heading);
  letter-spacing: var(--oedc-track-heading);
  text-transform: uppercase;
}.oedc-faq-question span:last-child {
  color: var(--oedc-color-accent);
  font-size: var(--oedc-size-h3);
  transition: transform 0.35s ease;
}.oedc-faq-item.is-open .oedc-faq-question span:last-child {
  transform: rotate(45deg);
}.oedc-faq-answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s ease;
}.oedc-faq-answer {
  padding: 0 22px 22px;
  color: var(--oedc-color-muted);
  font-size: 1rem;
}.oedc-inline-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}.oedc-inline-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding-inline: 14px;
  border-radius: var(--oedc-radius-pill);
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.12);
  background: rgba(255, 255, 255, 0.02);
  color: var(--oedc-color-muted);
  font-size: var(--oedc-size-micro);
  font-weight: 600;
  letter-spacing: var(--oedc-track-button);
  transition: all 0.35s ease;
}.oedc-inline-nav a:hover,
.oedc-inline-nav a:focus-visible {
  color: var(--oedc-color-text);
  border-color: rgba(var(--oedc-color-accent-rgb), 0.42);
}.oedc-closing {
  padding: clamp(28px, 6vw, 54px);
  border-radius: 34px;
  border: 1px solid rgba(var(--oedc-color-accent-rgb), 0.16);
  background:
    radial-gradient(circle at 50% 30%, rgba(var(--oedc-color-accent-rgb), 0.14), transparent 42%),
    var(--oedc-gradient-panel),
    rgba(20, 8, 8, 0.96);
  box-shadow: var(--oedc-shadow-xl);
  text-align: center;
}.oedc-closing-title {
  margin-inline: auto;
  font-size: var(--oedc-size-h1);
  line-height: var(--oedc-lh-heading);
}.oedc-closing p {
  max-width: 36ch;
  margin: 18px auto 0;
  color: var(--oedc-color-muted);
  font-size: var(--oedc-size-lead);
  line-height: var(--oedc-lh-lead);
}[data-oedc-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s ease;
}[data-oedc-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
 * 04. RESPONSIVIDADE
 * ============================================================ */

@media (max-width: 980px) {.oedc-section--home-author {
    padding-top: clamp(118px, 14vw, 148px);
  }.oedc-section--home-author .oedc-container {
    padding-top: clamp(44px, 8vw, 72px);
  }.oedc-hero {
    min-height: auto;
  }.oedc-grid--author {
    gap: 44px;
  }.oedc-page--autor .oedc-grid--author > .oedc-stack {
    margin-top: 44px;
    padding-top: 0;
  }.oedc-hero-grid,
.oedc-grid--split,
.oedc-grid--author,
.oedc-grid--receive,
.oedc-chapter-shell,
.oedc-grid--4,
.oedc-grid--3,
.oedc-step-grid {
    grid-template-columns: 1fr;
  }.oedc-grid--2,
.oedc-form-grid {
    grid-template-columns: 1fr;
  }.oedc-hero-title {
    max-width: 9.4ch;
  }.oedc-page--home .oedc-chapter-list {
    height: auto;
    grid-template-rows: repeat(3, minmax(132px, auto));
  }.oedc-page--home .oedc-chapter-trigger {
    min-height: 132px;
  }
}

@media (max-width: 720px) {.oedc-section {
    padding-block: clamp(60px, 10vw, 84px);
  }.oedc-section--tight {
    padding-block: clamp(78px, 12vw, 98px);
  }.oedc-section--compact {
    padding-block: clamp(68px, 11vw, 84px);
  }.oedc-page-title {
    font-size: 0.92rem;
    line-height: 1.3;
    letter-spacing: 0.12em;
  }.oedc-hero-title {
    max-width: none;
    font-size: clamp(2.45rem, 13vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-wrap: pretty;
  }.oedc-title-section {
    font-size: clamp(1.65rem, 8.8vw, 2.4rem);
    line-height: 1.08;
    text-wrap: pretty;
  }.oedc-title-card {
    font-size: clamp(1.2rem, 7vw, 1.65rem);
    line-height: 1.1;
    text-wrap: pretty;
  }.oedc-title-section + .oedc-prose,
.oedc-title-section + .oedc-vocab-grid,
.oedc-title-section + .oedc-grid,
.oedc-title-section + .oedc-actions,
.oedc-title-card + .oedc-prose,
.oedc-title-card + p,
.oedc-title-card + .oedc-grid,
.oedc-card-label + .oedc-title-card,
.oedc-eyebrow + .oedc-title-section,
.oedc-eyebrow + .oedc-title-card,
.oedc-page-title + .oedc-hero-title,
.oedc-hero-title + .oedc-lead,
.oedc-hero-title + .oedc-prose {
    margin-top: 22px;
  }.oedc-panel {
    padding: 28px 22px;
  }.oedc-card,
.oedc-form-panel {
    padding: 26px 22px;
  }.oedc-grid,
.oedc-objects-grid,
.oedc-grid--cards-roomy,
.oedc-step-grid,
.oedc-checks,
.oedc-faq-list {
    gap: 22px;
  }.oedc-actions {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
  }.oedc-actions > .oedc-btn {
    flex: 0 1 auto;
    width: min(calc(100% - 24px), 26rem);
    margin-inline: auto;
  }.oedc-btn {
    min-height: 56px;
    padding-inline: 18px;
    font-size: 0.95rem;
    line-height: 1.15;
    text-align: center;
  }.oedc-core-quote {
    padding-left: 16px;
  }.oedc-quote-voice,
.oedc-core-quote em {
    font-size: 1.24rem;
    line-height: 1.14;
  }.oedc-page--home .oedc-chapter-trigger {
    min-height: auto;
    padding: 16px 18px;
    grid-template-rows: auto auto;
    gap: 6px;
  }.oedc-page--livro .oedc-chapter-list {
    height: auto;
    grid-template-rows: repeat(3, minmax(0, auto));
  }.oedc-page--livro .oedc-chapter-trigger {
    min-height: auto;
    padding: 16px 18px;
    grid-template-rows: auto auto;
    gap: 6px;
  }.oedc-page--home .oedc-chapter-trigger span {
    display: none;
  }.oedc-page--livro .oedc-chapter-trigger span {
    display: none;
  }.oedc-page--home .oedc-chapter-trigger strong {
    margin-bottom: 0;
  }.oedc-page--livro .oedc-chapter-trigger strong {
    margin-bottom: 0;
  }.oedc-page--home .oedc-chapter-list {
    grid-template-rows: repeat(3, minmax(0, auto));
  }
}

@media (prefers-reduced-motion: reduce) {*,
*::before,
*::after {
    animation: none !important;
    transition: none !important;
  }[data-oedc-reveal] {
    opacity: 1;
    transform: none;
  }
}
/* ============================================================
 * LIVRO — SÍNTESE FUNCIONAL COM RETRATO
 * Escopo: página Livro / painel #livro-sintese
 * ============================================================ */

#livro-sintese.oedc-synthesis-panel {
  padding: clamp(40px, 5vw, 72px);
}#livro-sintese .oedc-synthesis-intro {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  margin-top: clamp(24px, 3vw, 36px);
}#livro-sintese .oedc-synthesis-portrait {
  margin: 0;
  width: 100%;
  max-width: 240px;
}#livro-sintese .oedc-synthesis-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid rgba(181, 133, 81, 0.22);
}#livro-sintese .oedc-title-section {
  margin: 100px 0 0 0;
  max-width: 960px;
  line-height: 0.95;
  letter-spacing: -0.035em;
}#livro-sintese .oedc-synthesis-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.68fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  margin-top: clamp(32px, 4vw, 52px);
}#livro-sintese .oedc-prose {
  max-width: 760px;
}#livro-sintese .oedc-core-quote {
  align-self: center;
  padding-left: clamp(24px, 3vw, 40px);
  border-left: 2px solid rgba(181, 133, 81, 0.55);
}#livro-sintese .oedc-quote-voice {
  margin: 0;
  max-width: 560px;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  font-style: italic;
  color: var(--oedc-text, #EAE4D2);
}#livro-sintese .oedc-synthesis-sequence {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}#livro-sintese .oedc-synthesis-step {
  min-height: 100%;
}

@media (max-width: 980px) {#livro-sintese .oedc-synthesis-intro {
    grid-template-columns: 1fr;
  }#livro-sintese .oedc-synthesis-portrait {
    max-width: 220px;
  }#livro-sintese .oedc-synthesis-layout {
    grid-template-columns: 1fr;
  }#livro-sintese .oedc-core-quote {
    padding-left: 24px;
  }#livro-sintese .oedc-synthesis-sequence {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {#livro-sintese.oedc-synthesis-panel {
    padding: 28px 20px;
  }#livro-sintese .oedc-synthesis-portrait {
    max-width: 180px;
  }
}

/* ============================================================
 * OEDC NOVA VISAO MIGRADA — ESTADOS E INTERAÇÕES
 * Origem anterior: css/oedc-editorial-pages.css
 * ============================================================ */

/* ============================================================
 * 03. RUNTIME RESERVADO / ESTADOS
 * ============================================================ */

[data-oedc-scene-panel],
[data-oedc-chapter-viewer],
[data-oedc-copy-swap] {
  min-height: 0;
}[data-oedc-chapter-viewer][hidden],
[data-oedc-copy-swap][hidden] {
  display: none;
}

/* ============================================================
 * OFINTNF — layout do formulário de prévia
 * ============================================================ */

.ofintnf-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.125rem;
}

.ofintnf-preview-grid .oedc-field--full {
  grid-column: 1 / -1;
}

.ofintnf-phone-labels {
  display: grid;
  grid-template-columns: minmax(180px, 248px) minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.ofintnf-phone-labels label {
  margin: 0;
}

.ofintnf-phone-labels label span {
  opacity: 0.72;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.ofintnf-phone-inline {
  display: grid;
  grid-template-columns: minmax(180px, 248px) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.ofintnf-phone-inline input[type="tel"] {
  min-width: 0;
}

.ofintnf-country-picker {
  position: relative;
  min-width: 0;
}

.ofintnf-country-picker-label {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

/* ============================================================
 * OFINTNF — bloco do sorteio agregado
 * ============================================================ */

.ofintnf-checks {
  display: grid;
  gap: 1rem;
}

.ofintnf-form-subsection {
  border: 1px solid rgba(211, 169, 145, 0.22);
  border-radius: 1.125rem;
  padding: 1.125rem;
  background: rgba(255, 255, 255, 0.025);
}

.ofintnf-form-subsection-title {
  margin: 0 0 0.5rem;
}

.ofintnf-form-subsection-note {
  margin: 0 0 1rem;
  opacity: 0.78;
  line-height: 1.55;
}

.ofintnf-raffle-group .oedc-choice {
  margin-bottom: 0.75rem;
}

.ofintnf-proof-social {
  margin-left: 2.2rem;
}

.ofintnf-proof-social input:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ofintnf-proof-social.is-disabled {
  opacity: 0.62;
}

.ofintnf-main-consent {
  margin-top: 0.5rem;
}

/* ============================================================
 * OFINTNF — estados escuros corrigidos
 * ============================================================ */

.ofintnf-field-status {
  display: block;
  min-height: 1.2em;
  margin-top: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.35;
  visibility: hidden;
}

.ofintnf-field-status:not(:empty) {
  visibility: visible;
}

.ofintnf-field input,
.ofintnf-field textarea,
.ofintnf-field select {
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.ofintnf-field.is-error input:not([type="checkbox"]):not([type="radio"]),
.ofintnf-field.is-error textarea,
.ofintnf-field.is-error select {
  border-color: rgba(239, 68, 68, 0.95) !important;
  background-color: rgba(239, 68, 68, 0.075) !important;
  box-shadow:
    0 0 0 1px rgba(239, 68, 68, 0.35),
    0 0 0 4px rgba(239, 68, 68, 0.08) !important;
}

.ofintnf-field.is-error .ofintnf-field-status {
  color: #ff8a7d;
}

.ofintnf-field.is-success input:not([type="checkbox"]):not([type="radio"]),
.ofintnf-field.is-success textarea,
.ofintnf-field.is-success select {
  border-color: rgba(74, 222, 128, 0.58) !important;
  background-color: rgba(74, 222, 128, 0.045) !important;
  box-shadow:
    0 0 0 1px rgba(74, 222, 128, 0.18),
    0 0 0 4px rgba(74, 222, 128, 0.04) !important;
}

.oedc-choice.ofintnf-field.is-error {
  border-color: rgba(239, 68, 68, 0.72) !important;
  background-color: rgba(239, 68, 68, 0.055) !important;
  box-shadow:
    0 0 0 1px rgba(239, 68, 68, 0.20),
    0 0 0 4px rgba(239, 68, 68, 0.045) !important;
}

.oedc-choice.ofintnf-field.is-success {
  border-color: rgba(74, 222, 128, 0.32) !important;
  background-color: rgba(74, 222, 128, 0.03) !important;
  box-shadow: none !important;
}

@media (max-width: 700px) {
  .ofintnf-phone-labels,
  .ofintnf-phone-inline {
    grid-template-columns: 1fr;
  }

  .ofintnf-proof-social {
    margin-left: 0;
  }

  }

/* ============================================================
 * OFINTNF — ajustes finos do country picker, autofill e honeypot
 * ============================================================ */

/* ------------------------------------------------------------
 * 1. Honeypot: deve existir no HTML, mas nunca ocupar espaço visual
 * ------------------------------------------------------------ */

.ofintnf-honeypot-wrap {
  position: absolute !important;
  inset: auto auto auto -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
}

.ofintnf-honeypot-wrap label,
.ofintnf-honeypot-wrap input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ------------------------------------------------------------
 * 2. País / código — botão seguindo o estilo arredondado do site
 * ------------------------------------------------------------ */

.ofintnf-country-picker-button {
  width: 100%;
  min-height: 3.625rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.625rem;

  padding: 0 1.125rem;

  color: var(--oedc-text, #ead7c8);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(211, 169, 145, 0.24);
  border-radius: 1rem;

  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;

  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;

  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.ofintnf-country-picker-button:hover,
.ofintnf-country-picker-button[aria-expanded="true"] {
  border-color: rgba(211, 169, 145, 0.62);
  background: rgba(211, 169, 145, 0.08);
  box-shadow:
    0 0 0 1px rgba(211, 169, 145, 0.12),
    0 0 0 4px rgba(211, 169, 145, 0.04);
}

.ofintnf-country-picker-flag {
  display: inline-flex;
  width: 1.45em;
  min-width: 1.45em;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.ofintnf-country-picker-code {
  color: inherit;
  font-weight: 800;
}

/* ------------------------------------------------------------
 * 3. Dropdown do país — visual do site + scrollbar customizada
 * ------------------------------------------------------------ */

.ofintnf-country-picker-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 0.5rem);
  left: 0;

  width: 100%;
  min-width: 248px;
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;

  padding: 0.45rem;

  color: var(--oedc-text, #ead7c8);
  background:
    linear-gradient(
      180deg,
      rgba(61, 24, 24, 0.98),
      rgba(31, 9, 10, 0.98)
    );
  border: 1px solid rgba(211, 169, 145, 0.22);
  border-radius: 1rem;

  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);

  backdrop-filter: blur(10px);
  scrollbar-width: thin;
  scrollbar-color: rgba(211, 169, 145, 0.55) rgba(255, 255, 255, 0.045);
}

/* Firefox */
/* Chrome / Edge / Safari */
.ofintnf-country-picker-menu::-webkit-scrollbar {
  width: 0.65rem;
}

.ofintnf-country-picker-menu::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.045);
  border-radius: 999px;
}

.ofintnf-country-picker-menu::-webkit-scrollbar-thumb {
  background: rgba(211, 169, 145, 0.48);
  border-radius: 999px;
  border: 2px solid rgba(31, 9, 10, 0.96);
}

.ofintnf-country-picker-menu::-webkit-scrollbar-thumb:hover {
  background: rgba(211, 169, 145, 0.72);
}

.ofintnf-country-picker-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.875rem;

  padding: 0.72rem 0.78rem;

  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0.72rem;

  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;

  transition:
    background-color 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

.ofintnf-country-picker-option:hover,
.ofintnf-country-picker-option.ofintnf-state-active {
  background: rgba(211, 169, 145, 0.13);
}

.ofintnf-country-picker-option:active {
  transform: translateY(1px);
}



/* ------------------------------------------------------------
 * 4. Autofill do Chrome/Safari — remove azul/branco do navegador
 * ------------------------------------------------------------ */

.ofintnf-form input:-webkit-autofill,
.ofintnf-form input:-webkit-autofill:hover,
.ofintnf-form input:-webkit-autofill:focus,
.ofintnf-form textarea:-webkit-autofill,
.ofintnf-form select:-webkit-autofill {
  -webkit-text-fill-color: var(--oedc-text, #ead7c8) !important;
  caret-color: var(--oedc-text, #ead7c8) !important;

  box-shadow:
    0 0 0 1000px rgba(61, 24, 24, 0.96) inset,
    0 0 0 1px rgba(211, 169, 145, 0.22) !important;

  border-color: rgba(211, 169, 145, 0.32) !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* Autofill + estado de sucesso */
.ofintnf-field.is-success input:-webkit-autofill {
  -webkit-text-fill-color: var(--oedc-text, #ead7c8) !important;

  box-shadow:
    0 0 0 1000px rgba(26, 55, 36, 0.65) inset,
    0 0 0 1px rgba(74, 222, 128, 0.28),
    0 0 0 4px rgba(74, 222, 128, 0.05) !important;

  border-color: rgba(74, 222, 128, 0.58) !important;
}

/* Autofill + estado de erro */
.ofintnf-field.is-error input:-webkit-autofill {
  -webkit-text-fill-color: var(--oedc-text, #ead7c8) !important;

  box-shadow:
    0 0 0 1000px rgba(78, 24, 24, 0.72) inset,
    0 0 0 1px rgba(239, 68, 68, 0.35),
    0 0 0 4px rgba(239, 68, 68, 0.08) !important;

  border-color: rgba(239, 68, 68, 0.95) !important;
}

/* ------------------------------------------------------------
 * 5. Foco acessível sem ficar azul padrão
 * ------------------------------------------------------------ */

.ofintnf-form input:focus,
.ofintnf-form textarea:focus,
.ofintnf-form select:focus,
.ofintnf-country-picker-button:focus-visible,
.ofintnf-country-picker-option:focus-visible {
  outline: none;
  border-color: rgba(211, 169, 145, 0.72);
  box-shadow:
    0 0 0 1px rgba(211, 169, 145, 0.24),
    0 0 0 4px rgba(211, 169, 145, 0.08);
}

/* ------------------------------------------------------------
 * 6. Responsivo
 * ------------------------------------------------------------ */

@media (max-width: 700px) {
  .ofintnf-country-picker-menu {
    width: 100%;
    min-width: 100%;
  }
}

/* ============================================================
 * OFINTNF — MODAL APROVADO / VIDRO ESCURO
 * Mantém estrutura e textos aprovados.
 * Vidro no overlay + painel translúcido com blur.
 * ============================================================ */

.ofintnf-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;

  display: none !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100vw !important;
  height: 100vh !important;
  padding: 1.25rem !important;

  overflow: hidden !important;
}

.ofintnf-modal.is-open {
  display: flex !important;
}

.ofintnf-modal[hidden]:not(.is-open) {
  display: none !important;
}

.ofintnf-modal__backdrop {
  position: absolute !important;
  inset: 0 !important;

  background: rgb(8 2 3 / 0.64) !important;

  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;

  pointer-events: none !important;
}

.ofintnf-modal__panel {
  position: relative !important;
  z-index: 1 !important;

  width: min(100%, 32rem) !important;

  display: grid !important;
  gap: 1rem !important;

  padding: 1.5rem 1.35rem !important;

  border-radius: 24px !important;
  border: 1px solid rgb(198 150 97 / 0.32) !important;

  background:
    linear-gradient(
      180deg,
      rgb(34 6 8 / 0.30),
      rgb(22 4 6 / 0.42)
    ) !important;

  backdrop-filter: blur(18px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.12) !important;

  box-shadow:
    0 28px 80px rgb(0 0 0 / 0.72),
    inset 0 1px 0 rgb(255 235 214 / 0.08),
    inset 0 -1px 0 rgb(198 150 97 / 0.10) !important;

  text-align: center !important;
  color: var(--text-soft, #d9c3b2) !important;

  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
}

.ofintnf-modal__panel::before,
.ofintnf-modal__panel::after {
  content: none !important;
  display: none !important;
}

.ofintnf-modal__loader {
  width: 3rem !important;
  height: 3rem !important;
  margin: 0 auto !important;

  display: block !important;

  border-radius: 50% !important;
  border: 3px solid rgb(214 174 132 / 0.16) !important;
  border-top-color: var(--color-copper-400, #d3a991) !important;

  animation: ofintnf-modal-spin 0.9s linear infinite !important;
}

.ofintnf-modal__title {
  margin: 0 !important;

  font-family: var(--font-display, inherit) !important;
  font-size: clamp(1.4rem, 2vw, 1.9rem) !important;
  line-height: 1.05 !important;

  text-transform: uppercase !important;
  color: var(--text-strong, #fff1e4) !important;
}

.ofintnf-modal__text {
  margin: 0 !important;

  color: var(--text-soft, #d9c3b2) !important;
  font-size: 0.96rem !important;
  line-height: 1.75 !important;
}

.ofintnf-modal__note {
  margin: 0 !important;

  color: rgb(211 169 145 / 0.78) !important;
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
}

html.ofintnf-modal-lock,
body.ofintnf-modal-lock {
  overflow: hidden !important;
}

@keyframes ofintnf-modal-spin {
  to {
    transform: rotate(360deg);
  }
}
.ofintnf-modal__close {
  position: absolute !important;
  top: 0.85rem !important;
  right: 0.9rem !important;
  z-index: 2 !important;

  width: 2.15rem !important;
  height: 2.15rem !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  border: 1px solid rgb(198 150 97 / 0.24) !important;

  background: rgb(244 238 219 / 0.035) !important;
  color: rgb(234 215 200 / 0.86) !important;

  font-size: 1.35rem !important;
  line-height: 1 !important;
  font-weight: 400 !important;

  cursor: pointer !important;

  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease !important;
}

.ofintnf-modal__close:hover {
  border-color: rgb(198 150 97 / 0.46) !important;
  background: rgb(198 150 97 / 0.10) !important;
  color: var(--text-strong, #fff1e4) !important;
}

.ofintnf-modal__close:active {
  transform: scale(0.96) !important;
}

.ofintnf-modal__close:focus-visible {
  outline: none !important;
  box-shadow:
    0 0 0 1px rgb(198 150 97 / 0.38),
    0 0 0 4px rgb(198 150 97 / 0.12) !important;
}
/* ============================================================
 * OFINTNF — correção final de autofill Chrome/Safari
 * Deve ficar no FIM absoluto do oedc-runtime.css
 * ============================================================ */

.oedc-page .ofintnf-form input.ofint-hooks-field:-webkit-autofill,
.oedc-page .ofintnf-form input.ofint-hooks-field:-webkit-autofill:hover,
.oedc-page .ofintnf-form input.ofint-hooks-field:-webkit-autofill:focus,
.oedc-page .ofintnf-form input.ofint-hooks-field:-webkit-autofill:active,
.oedc-page .ofintnf-form textarea.ofint-hooks-field:-webkit-autofill,
.oedc-page .ofintnf-form textarea.ofint-hooks-field:-webkit-autofill:hover,
.oedc-page .ofintnf-form textarea.ofint-hooks-field:-webkit-autofill:focus,
.oedc-page .ofintnf-form select.ofint-hooks-field:-webkit-autofill {
  -webkit-text-fill-color: var(--oedc-text, #ead7c8) !important;
  caret-color: var(--oedc-text, #ead7c8) !important;

  background-color: transparent !important;
  background-image: none !important;

  box-shadow:
    0 0 0 1000px rgba(61, 24, 24, 0.96) inset,
    0 0 0 1px rgba(211, 169, 145, 0.22) !important;

  -webkit-box-shadow:
    0 0 0 1000px rgba(61, 24, 24, 0.96) inset,
    0 0 0 1px rgba(211, 169, 145, 0.22) !important;

  border-color: rgba(211, 169, 145, 0.32) !important;

  transition:
    background-color 999999s ease-in-out 0s,
    color 999999s ease-in-out 0s !important;
}

/* Autofill + sucesso */
.oedc-page .ofintnf-form .ofintnf-field.is-success input.ofint-hooks-field:-webkit-autofill,
.oedc-page .ofintnf-form .ofintnf-field.is-success input.ofint-hooks-field:-webkit-autofill:hover,
.oedc-page .ofintnf-form .ofintnf-field.is-success input.ofint-hooks-field:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--oedc-text, #ead7c8) !important;

  box-shadow:
    0 0 0 1000px rgba(26, 55, 36, 0.72) inset,
    0 0 0 1px rgba(74, 222, 128, 0.30),
    0 0 0 4px rgba(74, 222, 128, 0.06) !important;

  -webkit-box-shadow:
    0 0 0 1000px rgba(26, 55, 36, 0.72) inset,
    0 0 0 1px rgba(74, 222, 128, 0.30),
    0 0 0 4px rgba(74, 222, 128, 0.06) !important;

  border-color: rgba(74, 222, 128, 0.58) !important;
}

/* Autofill + erro */
.oedc-page .ofintnf-form .ofintnf-field.is-error input.ofint-hooks-field:-webkit-autofill,
.oedc-page .ofintnf-form .ofintnf-field.is-error input.ofint-hooks-field:-webkit-autofill:hover,
.oedc-page .ofintnf-form .ofintnf-field.is-error input.ofint-hooks-field:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--oedc-text, #ead7c8) !important;

  box-shadow:
    0 0 0 1000px rgba(78, 24, 24, 0.78) inset,
    0 0 0 1px rgba(239, 68, 68, 0.35),
    0 0 0 4px rgba(239, 68, 68, 0.08) !important;

  -webkit-box-shadow:
    0 0 0 1000px rgba(78, 24, 24, 0.78) inset,
    0 0 0 1px rgba(239, 68, 68, 0.35),
    0 0 0 4px rgba(239, 68, 68, 0.08) !important;

  border-color: rgba(239, 68, 68, 0.95) !important;
}

/* ============================================================
 * OEDC — Página Prévia: correção da lateral do formulário
 * Escopo: /baixar-a-previa/ seção #formulario-previa
 * ============================================================ */

.oedc-page--previa .oedc-section--preview-form .oedc-grid--receive {
  align-items: start;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.86fr);
  gap: clamp(24px, 3.4vw, 42px);
}

.oedc-page--previa .oedc-section--preview-form .oedc-form-panel {
  align-self: start;
}

.oedc-page--previa .oedc-preview-sidebar {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  align-self: start;
  min-width: 0;
}

.oedc-page--previa .oedc-preview-sidebar .oedc-panel {
  min-height: 0;
}

.oedc-page--previa .oedc-preview-sidebar__main {
  align-self: start;
}

.oedc-page--previa .oedc-preview-sidebar__card {
  padding: clamp(22px, 2.5vw, 30px);
}

.oedc-page--previa .oedc-preview-sidebar__card .oedc-title-card {
  margin-bottom: 0.75rem;
}

.oedc-page--previa .oedc-preview-sidebar__card p {
  margin: 0;
  color: var(--oedc-color-muted, var(--oedc-muted));
  font-size: max(16px, 1rem);
  line-height: 1.65;
}

@media (min-width: 981px) {
  .oedc-page--previa .oedc-preview-sidebar {
    position: sticky;
    top: clamp(88px, 9vw, 118px);
  }
}

@media (max-width: 980px) {
  .oedc-page--previa .oedc-section--preview-form .oedc-grid--receive {
    grid-template-columns: 1fr;
  }

  .oedc-page--previa .oedc-preview-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .oedc-page--previa .oedc-preview-sidebar__card {
    padding: 22px;
  }
}

/* ============================================================
 * OEDC — Home: correção da lateral do formulário da prévia
 * Escopo: página Home / seção de captura da prévia
 * ============================================================ */

.oedc-page--home .oedc-section--home-preview-form .oedc-grid--receive {
  align-items: start;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.86fr);
  gap: clamp(24px, 3.4vw, 42px);
}

.oedc-page--home .oedc-section--home-preview-form .oedc-form-panel {
  align-self: start;
}

.oedc-page--home .oedc-home-preview-sidebar {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  align-self: start;
  min-width: 0;
}

.oedc-page--home .oedc-home-preview-sidebar .oedc-panel {
  min-height: 0;
}


.oedc-page--home .oedc-home-preview-sidebar .oedc-card {
  min-height: 0;
}
@media (min-width: 981px) {
  .oedc-page--home .oedc-home-preview-sidebar {
    position: sticky;
    top: clamp(88px, 9vw, 118px);
  }
}

@media (max-width: 980px) {
  .oedc-page--home .oedc-section--home-preview-form .oedc-grid--receive {
    grid-template-columns: 1fr;
  }

  .oedc-page--home .oedc-home-preview-sidebar {
    position: static;
  }
}

