/* =====================================================================
   BLOCOS DOS ARTIGOS + LAYOUT MODERNO (27/10/2026)
   Inspirado na página de campanha do Biocat (bio.com.br/campanhas/como-funciona-cateter-biocat/v2/).

   - Blocos (.ab-*): inseridos pelo botão "Blocos" do editor do painel. Funcionam em qualquer artigo
     (clássico ou moderno) e também aparecem com este visual dentro do editor.
   - Layout moderno (.bl-artigo--moderno / .am-*): ligado em cada post na caixa "Aparência do artigo".
   Ícones: fonte Bootstrap Icons (já carregada no site); cada ícone é uma classe .ab-ic--<nome>.
   ===================================================================== */
:root {
  --ab-tinta: #1d1d1f; --ab-cinza: #6e6e73; --ab-cinza-2: #6e6e73;   /* 25/11/2026: era #86868b (contraste 3,4:1, Lighthouse) */ --ab-painel: #f5f5f7; --ab-linha: #d2d2d7;
  --ab-ciano: #14d9dc; --ab-ciano-esc: #08797c;   /* 25/11/2026: era #0a9da0 (contraste 3,1:1 nos links, Lighthouse); o degradê continua com o ciano original */ --ab-navy: #0e1528;
  --ab-degrade: linear-gradient(90deg, #0e1528 0%, #0a9da0 55%, #14d9dc 100%);
}

/* ---------- ícones ---------- */
.ab-ic::before, ul.ab-lista > li::before, ul.ab-chips > li::before {
  font-family: "bootstrap-icons"; font-style: normal; font-weight: 400 !important; font-variant: normal; text-transform: none;
  line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; flex: none;
}
ul.ab-lista > li:not([class*="ab-ic--"])::before, ul.ab-chips > li:not([class*="ab-ic--"])::before { content: "\f26b"; }   /* ícone padrão: check */

/* ---------- caixa cinza de destaque ---------- */
.ab-caixa { background: var(--ab-painel); border-radius: 28px; padding: clamp(28px, 6vw, 80px) clamp(22px, 8vw, 120px); margin: 2.5em 0; }
.ab-caixa > p { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.45; font-weight: 400; color: var(--ab-cinza); letter-spacing: -.018em; margin: 0; }
.ab-caixa > p + p { margin-top: .8em; }
.ab-caixa > p strong, .ab-caixa > p b { color: var(--ab-tinta); font-weight: 600; }
ul.ab-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 40px 0 0; padding: 30px 0 0; border-top: 1px solid var(--ab-linha); }
ul.ab-chips > li { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; line-height: 1.35; font-weight: 600; color: var(--ab-tinta); }
ul.ab-chips > li::before { font-size: 22px; color: var(--ab-ciano-esc); }

/* ---------- lista com ícones (2 colunas) ---------- */
ul.ab-lista { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; margin: 2em 0; padding: 0; }
ul.ab-lista > li { display: flex; gap: 18px; align-items: flex-start; margin: 0; padding: 24px 0; border-top: 1px solid var(--ab-linha); font-size: 18px; line-height: 1.5; font-weight: 500; color: var(--ab-tinta); }
ul.ab-lista > li::before { font-size: 28px; color: var(--ab-ciano-esc); margin-top: -1px; }
@media (max-width: 760px) { ul.ab-lista { grid-template-columns: 1fr; } }

/* ---------- passo a passo (vira carrossel com o artigo-blocos.js) ---------- */
.ab-passos { background: var(--ab-painel); border-radius: 28px; padding: clamp(20px, 4vw, 56px); margin: 2.5em 0; text-align: center; }
.ab-passo > * + * { margin-top: 0; }
.ab-passo img { display: block; width: auto; max-width: 100%; max-height: 520px; height: auto; margin: 0 auto; border-radius: 18px; }
.ab-passo figure { margin: 0; }
.ab-passo > p:not(.ab-foto) {
    max-width: 760px;
    margin: 28px auto 0;
    text-align: left;
    font-size: 19px;
    line-height: 1.55;
    font-weight: 400;
    letter-spacing: -.016em;
    color: #101010;
}
.ab-passo > p strong, .ab-passo > p b {
    color: var(--ab-tinta);
    font-weight: 600;
    font-size: 1.6rem;
    display: block;
    margin-bottom: 15px;
}
.ab-passo > p.ab-foto { margin: 0; }
.ab-foto:not(:has(img)) { display: none; }                         /* espaço da foto ainda vazio: não aparece no site */
.ab-passos:not(.ab-passos--js) .ab-passo + .ab-passo { margin-top: 2.5em; padding-top: 2.5em; border-top: 1px solid var(--ab-linha); }
.ab-passos--js .ab-passo.is-on { animation: ab-entra .55s cubic-bezier(.2, .7, .2, 1); }
@keyframes ab-entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ab-ctrl { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; background: #e8e8ed; border-radius: 980px; padding: 10px 12px 10px 20px; }
.ab-dots { display: flex; gap: 10px; }
.ab-dot { width: 8px; height: 8px; border-radius: 8px; border: 0; padding: 0; background: #aeaeb2; cursor: pointer; transition: width .35s, background-color .35s; }
.ab-dot.is-on { width: 36px; background: var(--ab-tinta); }
.ab-pp { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ab-tinta); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .ab-passos--js .ab-passo.is-on { animation: none; } .ab-dot { transition: none; } }

/* ---------- chamada (CTA) ---------- */
.ab-cta { background: var(--ab-navy); color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 64px) clamp(22px, 5vw, 64px); margin: 2.5em 0; text-align: center; }
.ab-cta > p { color: rgba(255, 255, 255, .72); font-size: clamp(17px, 1.8vw, 20px); line-height: 1.5; max-width: 640px; margin: .7em auto 0; }
.ab-cta > p.ab-cta-titulo { color: #fff; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; font-weight: 700; letter-spacing: -.025em; margin-top: 0; }
.ab-cta > p:last-child { margin-top: 1.6em; }
.ab-cta a.botao, .bl-conteudo .ab-cta a.botao { display: inline-flex; align-items: center; gap: .45em; background: var(--ab-ciano); color: var(--ab-navy); font-weight: 600; font-size: 16px;
  letter-spacing: 0; text-transform: none; line-height: 1; padding: .9em 1.6em; border-radius: 980px; text-decoration: none; transition: background-color .2s; }
.ab-cta a.botao:hover, .bl-conteudo .ab-cta a.botao:hover { background: #2be6e8; color: var(--ab-navy); }

/* ---------- citação ---------- */
blockquote.ab-citacao { border: 0; margin: 2.5em 0; padding: 0 0 0 clamp(0px, 3vw, 28px); position: relative; color: var(--ab-tinta); }
blockquote.ab-citacao::before { content: "\201C"; display: block; font-size: 72px; line-height: .8; font-weight: 700; background: var(--ab-degrade); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .1em; }
blockquote.ab-citacao > p { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.3; font-weight: 600; letter-spacing: -.02em; margin: 0; }
blockquote.ab-citacao > p + p { margin-top: .7em; }
blockquote.ab-citacao cite { display: block; font-style: normal; font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ab-cinza); }

/* =====================================================================
   LAYOUT MODERNO (.bl-artigo--moderno)
   ===================================================================== */
.am-topo { text-align: center; padding: 28px 0 0; }
.am-topo .bl-breadcrumb ol { justify-content: center; }
.am-eyebrow { display: inline-block; font-size: 17px; font-weight: 600; color: var(--ab-ciano-esc); margin: 0 0 12px; text-decoration: none; }
a.am-eyebrow:hover { color: var(--ab-navy); }
.am-h1 { font-size: clamp(36px, 6vw, 62px); line-height: 1.04; font-weight: 700; letter-spacing: -.028em; color: var(--ab-tinta); max-width: 980px; margin: 0 auto; }
.am-grad { background: var(--ab-degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.am-sub { font-size: clamp(19px, 2vw, 23px); line-height: 1.45; font-weight: 500; color: var(--ab-cinza); max-width: 720px; margin: 22px auto 0; }
.am-meta { margin: 20px 0 0; font-size: 14px; color: var(--ab-cinza-2); }
.am-meta a { color: inherit; }
.am-capa { width: min(1120px, 100% - 40px); margin: 56px auto 0; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 8.4; }
.am-capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bl-artigo--moderno .bl-conteudo { margin-top: clamp(48px, 7vw, 88px); font-size: 19px; line-height: 1.6; letter-spacing: -.011em; color: #333336; }
.bl-artigo--moderno .bl-conteudo h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; font-weight: 700; letter-spacing: -.028em; color: var(--ab-tinta); margin-top: 2.2em; }
.bl-artigo--moderno .bl-conteudo h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: var(--ab-tinta); }
.bl-artigo--moderno .bl-conteudo img { border-radius: 22px; }
.bl-artigo--moderno .bl-conteudo a { color: var(--ab-ciano-esc); }
/* no layout moderno a caixa de destaque e o passo a passo ficam mais largos que o texto (até 1120px) */
.bl-artigo--moderno .bl-conteudo > .ab-caixa, .bl-artigo--moderno .bl-conteudo > .ab-passos { margin-inline: min(0px, calc(50% - min(560px, 50vw - 20px))); }
@media (max-width: 575.98px) {
  .ab-caixa, .ab-passos, .ab-cta { border-radius: 22px; }
  .am-capa { border-radius: 20px; aspect-ratio: 4 / 3; margin-top: 36px; }
}

/* =====================================================================
   ÍNDICE DO ARTIGO (27/10/2026) — widget "Índice" do construtor e bloco "Índice" do editor de texto
   (o mesmo HTML: nav.cb-indice > details > summary + lista de links para os títulos)
   ===================================================================== */
.cb-indice { margin: 2.5em 0; border-top: 1px solid var(--ab-linha); border-bottom: 1px solid var(--ab-linha); }
.cb-indice > details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 22px 0; font-size: clamp(22px, 2.4vw, 26px); font-weight: 700; letter-spacing: -.02em; color: var(--ab-tinta); }
.cb-indice > details > summary::-webkit-details-marker { display: none; }
.cb-indice > details > summary::after { content: ""; width: 11px; height: 11px; border-right: 2.5px solid var(--ab-tinta); border-bottom: 2.5px solid var(--ab-tinta); transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s; flex: none; margin-right: 6px; }
.cb-indice > details[open] > summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.bl-conteudo .cb-indice__lista, .cb-indice__lista { list-style: none; margin: 0; padding: 0 0 14px; counter-reset: cbind; }
ol.cb-indice__lista > li { counter-increment: cbind; }
ol.cb-indice__lista > li > a::before { content: counter(cbind) ". "; color: var(--ab-cinza-2); font-weight: 500; }
.bl-conteudo .cb-indice__lista > li, .cb-indice__lista > li { margin: 0; }
.bl-conteudo .cb-indice__lista a, .cb-indice__lista a { display: block; padding: 11px 0; font-size: 17px; line-height: 1.35; color: var(--ab-tinta); text-decoration: none; transition: color .2s; }
.bl-conteudo .cb-indice__lista a:hover, .cb-indice__lista a:hover { color: var(--ab-ciano-esc); text-decoration: none; }
.cb-indice__lista a.is-atual { font-weight: 700; }
.cb-indice__lista .cb-indice__sub a { padding-left: 1.2rem; font-size: 15.5px; color: var(--ab-cinza); }
/* "Acompanhar a leitura": cópia que aparece depois que a pessoa passa do índice (criada pelo artigo-blocos.js) */
.cb-indice-flut { position: fixed; z-index: 900; background: #fff; }
.cb-indice-flut[hidden] { display: none; }
.cb-indice-flut .cb-indice { margin: 0; border: 0; }
.cb-indice-flut .cb-indice__lista { max-height: min(60vh, 520px); overflow: auto; overscroll-behavior: contain; }
@media (min-width: 1360px) {   /* computador: coluna à direita do texto */
  .cb-indice-flut { top: 150px; left: calc(50% + 380px + 48px); width: min(280px, calc(50vw - 380px - 72px)); padding: 0 4px; animation: ab-entra .35s ease; }
  .cb-indice-flut .cb-indice > details > summary { font-size: 15px; padding: 0 0 10px; text-transform: none; color: var(--ab-cinza); }
  .cb-indice-flut .cb-indice__lista a { font-size: 14.5px; padding: 7px 0 7px 12px; border-left: 2px solid var(--ab-linha); color: var(--ab-cinza); }
  .cb-indice-flut .cb-indice__lista a.is-atual { color: var(--ab-tinta); border-left-color: var(--ab-ciano-esc); }
}
@media (max-width: 1359.98px) {   /* celular/tablet: barrinha embaixo da tela que abre para cima */
  .cb-indice-flut { left: 12px; right: 12px; bottom: 12px; border-radius: 18px; padding: 0 20px; box-shadow: 0 10px 40px rgba(14, 21, 40, .22); animation: ab-sobe .3s ease; }
  .cb-indice-flut .cb-indice > details > summary { padding: 16px 0; font-size: 20px; }
  .cb-indice-flut .cb-indice > details > summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
  .cb-indice-flut .cb-indice > details[open] > summary::after { transform: rotate(45deg) translate(-3px, -3px); }
}
@keyframes ab-sobe { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cb-indice-flut { animation: none !important; } }

/* =====================================================================
   ÍCONES DISPONÍVEIS (a mesma lista do seletor do editor: admin/assets/editor.js)
   ===================================================================== */
.ab-ic--check-circle::before { content: "\f26b"; }
.ab-ic--check2-circle::before { content: "\f270"; }
.ab-ic--stars::before { content: "\f589"; }
.ab-ic--award::before { content: "\f154"; }
.ab-ic--patch-check::before { content: "\f4b6"; }
.ab-ic--shield-check::before { content: "\f52f"; }
.ab-ic--shield-plus::before { content: "\f53a"; }
.ab-ic--box-seam::before { content: "\f1c7"; }
.ab-ic--box2-heart::before { content: "\f70c"; }
.ab-ic--bandaid::before { content: "\f681"; }
.ab-ic--heart-pulse::before { content: "\f76f"; }
.ab-ic--activity::before { content: "\f66b"; }
.ab-ic--lungs::before { content: "\f800"; }
.ab-ic--droplet::before { content: "\f30d"; }
.ab-ic--droplet-half::before { content: "\f30c"; }
.ab-ic--thermometer-half::before { content: "\f5cd"; }
.ab-ic--capsule::before { content: "\f7df"; }
.ab-ic--capsule-pill::before { content: "\f7de"; }
.ab-ic--prescription2::before { content: "\f80b"; }
.ab-ic--eyedropper::before { content: "\f342"; }
.ab-ic--egg-fried::before { content: "\f312"; }
.ab-ic--cup-straw::before { content: "\f2df"; }
.ab-ic--clipboard2-pulse::before { content: "\f730"; }
.ab-ic--clipboard2-check::before { content: "\f725"; }
.ab-ic--file-medical::before { content: "\f3a1"; }
.ab-ic--virus::before { content: "\f827"; }
.ab-ic--hospital::before { content: "\f774"; }
.ab-ic--person-check::before { content: "\f4d6"; }
.ab-ic--person-heart::before { content: "\f77a"; }
.ab-ic--people::before { content: "\f4d0"; }
.ab-ic--gear::before { content: "\f3e5"; }
.ab-ic--tools::before { content: "\f5db"; }
.ab-ic--rulers::before { content: "\f523"; }
.ab-ic--layers::before { content: "\f45b"; }
.ab-ic--lightning-charge::before { content: "\f46d"; }
.ab-ic--clock-history::before { content: "\f292"; }
.ab-ic--arrow-repeat::before { content: "\f130"; }
.ab-ic--bullseye::before { content: "\f1de"; }
.ab-ic--lightbulb::before { content: "\f46b"; }
.ab-ic--info-circle::before { content: "\f431"; }
.ab-ic--exclamation-triangle::before { content: "\f33b"; }
.ab-ic--truck::before { content: "\f5ea"; }
.ab-ic--chat-dots::before { content: "\f24a"; }
.ab-ic--telephone::before { content: "\f5c1"; }
.ab-ic--whatsapp::before { content: "\f618"; }
/* =====================================================================
   ÍNDICE NA LATERAL (27/10/2026) — aside.bl-lateral, montado em indice_lateral() (app/bootstrap.php).
   Computador (>= 1200px): coluna fixa à direita do texto; item da parte lida em negrito; linha à direita = quanto já leu.
   Celular/tablet: some (continua o índice dentro do texto e a barrinha embaixo).
   ===================================================================== */
.bl-com-lateral { max-width: calc(var(--bl-largura, 760px) + 2 * var(--bs-gutter-x, .75rem)); }
.bl-lateral { display: none; }
@media (min-width: 1200px) {
  /* texto + índice cabem dentro da largura da imagem de capa (1120px), como no modelo */
  .bl-com-lateral { max-width: calc(1120px + 2 * var(--bs-gutter-x, .75rem)); display: grid; grid-template-columns: minmax(0, var(--bl-largura, 760px)) 210px; column-gap: 70px; justify-content: center; align-items: start; }
  .bl-coluna { min-width: 0; }
  .bl-com-lateral .bl-conteudo .cb-secao--larga { margin-inline: 0; }
  .bl-lateral { display: block; position: sticky; top: 110px; margin-top: 2.2rem; padding-right: 22px; border-right: 2px solid var(--ab-linha, #d2d2d7); }
  .bl-artigo--moderno .bl-lateral { margin-top: clamp(48px, 7vw, 88px); }
  .bl-lateral__lista::-webkit-scrollbar { display: none; }
  .bl-lateral__tit { margin: 0 0 .4rem; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ab-cinza-2, #86868b); }
  .bl-lateral__lista { list-style: none; margin: 0; padding: 0; max-height: calc(100vh - 170px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; position: relative; }
  .bl-lateral__lista li { margin: 0; }
  .bl-lateral__lista a { display: block; padding: 11px 0; font-size: 15px; line-height: 1.45; color: var(--ab-tinta, #1d1d1f); text-decoration: none; transition: color .2s; }
  .bl-lateral__lista a:hover { color: var(--ab-ciano-esc, #0a9da0); }
  .bl-lateral__lista a.is-atual { font-weight: 700; }
  .bl-lateral__sub a { padding-left: 1rem; font-size: 14px; color: var(--ab-cinza, #6e6e73); }
  .bl-lateral__prog { position: absolute; top: 0; right: -2px; width: 2px; height: calc(var(--prog, 0) * 100%); background: var(--ab-ciano-esc, #0a9da0); transition: height .15s linear; }   /* linha azul = quanto já leu */
  body:has(.bl-lateral) .cb-indice-flut { display: none !important; }   /* com a lateral, não precisa da cópia flutuante */
}

/* ÍNDICE NA LATERAL — estilo final (27/10/2026, modelo do usuário): sem caixa, direto no fundo cinza;
   título "ÍNDICE" com linha embaixo e itens bem espaçados. */
@media (min-width: 1200px) {
  .bl-com-lateral { grid-template-columns: minmax(0, var(--bl-largura, 760px)) 228px; column-gap: 84px; }
  .bl-lateral { border: 0; padding: 0; background: none; border-radius: 0; box-shadow: none; top: 120px; }
  .bl-lateral__tit { margin: 0 0 46px; padding-bottom: 18px; border-bottom: 1px solid #e6e8ed; font-size: 19px; font-weight: 800; letter-spacing: .08em; color: var(--ab-tinta, #1d1d1f); }
  .bl-lateral__lista { max-height: calc(100vh - 220px); }
  .bl-lateral__lista a { padding: 0; margin-bottom: 46px; font-size: 15px; line-height: 1.5; }
  .bl-lateral__lista li:last-child a { margin-bottom: 4px; }
  /* item atual: negrito + barrinha azul à esquerda */
  .bl-lateral__lista { margin-left: -14px; padding-left: 14px; }
  .bl-lateral__lista a { position: relative; }
  .bl-lateral__lista a.is-atual { font-weight: 700; color: var(--ab-tinta, #1d1d1f); }
  .bl-lateral__lista a.is-atual::before { content: ""; position: absolute; left: -12px; top: 2px; bottom: 2px; width: 2px; background: #0b4f7c; }
  /* linha à direita: trilho cinza + parte azul que enche conforme a leitura */
  .bl-lateral { padding-right: 28px; border-right: 1px solid #e6e8ed; }
  .bl-lateral__prog { display: block; position: absolute; top: 0; right: -1px; width: 1px; height: calc(var(--prog, 0) * 100%); background: #0b4f7c; transition: height .15s linear; }
}

/* Com o índice na lateral, o índice que fica dentro do texto some no computador (pedido do usuário, 27/10/2026).
   Se ele estiver sozinho numa seção (caixa cinza), a seção inteira some junto. No celular ele continua aparecendo. */
@media (min-width: 1200px) {
  .bl-com-lateral .bl-conteudo .cb-indice { display: none; }
  .bl-com-lateral .bl-conteudo .cb-secao:has(> .cb-col:only-child > .cb-indice:only-child) { display: none; }
}

/* CELULAR/TABLET (27/10/2026, modelo do usuário): índice fixo embaixo, de ponta a ponta, durante a leitura.
   Toque em "Índice" abre a lista para cima; tocar num item leva até o título e fecha. */
@media (max-width: 1199.98px) {
  .cb-indice-flut { left: 0; right: 0; bottom: 0; border-radius: 0; padding: 0 20px calc(env(safe-area-inset-bottom, 0px)); border-top: 1px solid #e6e8ed;
    box-shadow: 0 -6px 24px rgba(14, 21, 40, .08); }
  .cb-indice-flut .cb-indice > details > summary { padding: 18px 0; font-size: 22px; font-weight: 700; color: var(--ab-tinta, #1d1d1f); text-transform: none; letter-spacing: -.01em; }
  .cb-indice-flut .cb-indice__lista { max-height: 60vh; padding: 0 24px 18px; }   /* espaço dos lados da lista (pedido do usuário) */
  .cb-indice-flut .cb-indice__lista a { font-size: 16px; padding: 25px 0; }
  .cb-indice-flut .cb-indice__lista a.is-atual { font-weight: 700; }
  .bl-corpo:has(.cb-indice-flut:not([hidden])) { padding-bottom: 64px; }   /* o fim da página não fica escondido atrás da barra */
}

/* Celular: com o índice ABERTO, o título "Índice" vai para a direita e alinha com os itens da lista (24px);
   fechado, fica onde está (pedido do usuário, 27/10/2026) */
@media (max-width: 1199.98px) {
  .cb-indice-flut .cb-indice > details > summary { transition: padding-left .2s ease; }
  .cb-indice-flut .cb-indice > details[open] > summary { padding-left: 24px; }
}

/* Artigo: o último item do caminho (Início › Blog › Categoria › título) repetia o título logo abaixo — escondido
   (pedido do usuário, 27/10/2026). O Google continua recebendo o caminho completo pelos dados estruturados. */
.bl-artigo .bl-breadcrumb li[aria-current="page"] { display: none; }

/* Abertura do artigo (Moderno) no CELULAR alinhada à esquerda, título menor (modelo do usuário, 27/10/2026) */
@media (max-width: 767.98px) {
  .am-topo { text-align: left; }
  .am-topo .bl-breadcrumb ol { justify-content: flex-start; }
  .am-h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.02em; margin: 0; }
  .am-sub { font-size: 18px; margin: 16px 0 0; }
  .am-meta { margin-top: 16px; }
}

/* =====================================================================
   ÓRBITAS (27/10/2026) — faixa do satélite e "Aprofunde no tema" do pilar (app/views/post.php)
   ===================================================================== */
.orb-faixa { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 18px; margin: clamp(32px, 5vw, 56px) 0 8px; padding: 18px 20px; border-radius: 22px; background: #0e1528; color: #fff; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.orb-faixa:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(14, 21, 40, .25); }
.orb-faixa__icone { position: relative; width: 52px; height: 52px; flex: none; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .35); }
.orb-faixa__icone i { position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.orb-faixa__icone b { position: absolute; left: 39px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #14d9dc; }
.orb-faixa:hover .orb-faixa__icone { animation: orb-gira 3s linear infinite; }
@keyframes orb-gira { to { transform: rotate(360deg); } }
.orb-faixa__txt { flex: 1 1 240px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.orb-faixa__txt small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8ff1f2; }
.orb-faixa__txt strong { font-size: 18px; line-height: 1.3; letter-spacing: -.01em; }
.orb-faixa__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #14d9dc; color: #0e1528; font-weight: 700; font-size: 14.5px; }
.orb-aprofunde { margin: 56px 0 8px; padding: clamp(22px, 4vw, 36px); border-radius: 26px; background: #fff; border: 1px solid #e6e8ed; }
.orb-aprofunde__rot { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0b7376; }
.orb-aprofunde h2 { margin: 0 0 22px; font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; color: #1d1d1f; }
.orb-aprofunde__grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 14px; }
.orb-aprofunde__card { display: flex; flex-direction: column; gap: 12px; min-height: 170px; padding: 18px; border-radius: 18px; background: #f4f5f7; color: #1d1d1f; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.orb-aprofunde__card:hover { background: #e9fbfb; color: #1d1d1f; text-decoration: none; transform: translateY(-2px); }
.orb-aprofunde__ic { width: 36px; height: 36px; border-radius: 50%; background: #0e1528; display: grid; place-items: center; }
.orb-aprofunde__ic i { width: 11px; height: 11px; border-radius: 50%; background: #14d9dc; }
.orb-aprofunde__card strong { font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.orb-aprofunde__pe { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: #5b6475; }
.orb-aprofunde__pe em { font-style: normal; font-weight: 600; color: #0b7376; }
@media (prefers-reduced-motion: reduce) { .orb-faixa, .orb-aprofunde__card { transition: none; } .orb-faixa:hover .orb-faixa__icone { animation: none; } }

/* ==========================================================================
   25/11/2026 (pedido do usuário): QUADRO CINZA + BRILHO enquanto a foto/vídeo do artigo carrega.
   Só aparece quando o JS (artigo-blocos.js) marca .carregando; sai sozinho quando a mídia termina de carregar.
   SEO/Lighthouse: as <img> continuam com src, alt, width/height e loading="lazy" nativo (o Google vê tudo
   igual); o quadro usa o espaço que width/height já reservam, então não mexe no layout (CLS 0).
   ========================================================================== */
@keyframes cb-carregando { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.bl-conteudo img.carregando, .bl-artigo .am-capa img.carregando, .bl-conteudo .video-embed.carregando {
  background-color: #e8e8ed;
  background-image: linear-gradient(100deg, rgb(255 255 255 / 0) 30%, rgb(255 255 255 / .55) 50%, rgb(255 255 255 / 0) 70%);
  background-size: 200% 100%; background-repeat: no-repeat;
  animation: cb-carregando 1.4s ease-in-out infinite;
}
.bl-conteudo .video-embed.carregando { border-radius: 12px; }
.bl-conteudo .video-embed.carregando iframe { opacity: 0; }   /* o player do YouTube pinta preto antes da capa: fica escondido até carregar */
.bl-conteudo .video-embed iframe { transition: opacity .3s ease; }
@media (prefers-reduced-motion: reduce) {
  .bl-conteudo img.carregando, .bl-artigo .am-capa img.carregando, .bl-conteudo .video-embed.carregando { animation: none; }
}

/* 25/11/2026: CAPA DO VÍDEO do YouTube (o player só carrega no clique — ver video_capa() em app/bootstrap.php).
   Ocupa a mesma caixa 16:9 do player (.video-embed), então nada mexe no layout. */
.video-embed .video-capa { position: absolute; inset: 0; display: block; overflow: hidden; border-radius: 12px; background: #e8e8ed; cursor: pointer; }
.bl-conteudo .cb-secao .video-embed .video-capa { border-radius: 18px; }
.video-embed .video-capa img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; margin: 0; transition: transform .5s cubic-bezier(.3,.9,.3,1); }
.video-embed .video-capa::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0) 55%, rgb(0 0 0 / .28)); pointer-events: none; }
.video-capa__play { position: absolute; z-index: 1; left: 50%; top: 50%; width: 76px; height: 76px; translate: -50% -50%; border-radius: 50%;
  background: rgb(255 255 255 / .92); box-shadow: 0 10px 30px rgb(0 0 0 / .25); transition: transform .25s ease, background .25s ease; }
.video-capa__play::before { content: ""; position: absolute; left: 54%; top: 50%; translate: -50% -50%; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #0e1528; }
.video-capa:hover .video-capa__play, .video-capa:focus-visible .video-capa__play { transform: scale(1.08); background: #fff; }
.video-capa:hover img { transform: scale(1.03); }
.video-capa:focus-visible { outline: 3px solid #1a829b; outline-offset: 3px; }
@media (max-width: 767.98px) { .video-capa__play { width: 60px; height: 60px; } .video-capa__play::before { border-width: 11px 0 11px 17px; } }
@media (prefers-reduced-motion: reduce) { .video-capa img, .video-capa__play { transition: none; } }

/* 25/11/2026 (Lighthouse, contraste): links do texto também no layout clássico com o ciano escuro (4,7:1 no fundo claro) */
.bl-artigo .bl-conteudo a:not(.botao):not(.cb-botao):not(.btn-pill):not(.video-capa) { color: var(--ab-ciano-esc); }
.bl-artigo .bl-conteudo a:not(.botao):not(.cb-botao):not(.btn-pill):not(.video-capa):hover { color: var(--ab-navy); }

/* 25/11/2026 (Lighthouse "touch targets"): as bolinhas do Passo a passo eram botões de 8×8 px. Agora cada botão tem área de toque
   de 24 px de altura (a bolinha visível continua do mesmo tamanho, desenhada no ::before). */
.ab-dots { gap: 2px; }
.ab-dot { position: relative; width: 24px; height: 24px; border-radius: 12px; background: transparent; transition: width .35s; }
.ab-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; translate: -50% -50%; border-radius: 8px; background: #aeaeb2; transition: width .35s, background-color .35s; }
.ab-dot.is-on { width: 44px; background: transparent; }
.ab-dot.is-on::before { width: 36px; background: var(--ab-tinta); }
.ab-dot:focus-visible { outline: 2px solid var(--ab-ciano-esc); outline-offset: 0; }
.ab-ctrl { padding-top: 6px; padding-bottom: 6px; padding-left: 12px; }
@media (prefers-reduced-motion: reduce) { .ab-dot, .ab-dot::before { transition: none; } }
