/* ============================================================
   FALCHET E MARQUES — PÁGINA DE ARTIGO (leitura) · v2
   UMA coluna de leitura consistente para tudo (cabeçalho, capa,
   corpo, autor). Corpo justificado, respiro generoso.
   Reusa home.css (nav, footer, btn, eyebrow, link-arrow, wa-fab,
   reveal, .post/.posts, .sec-head, .wrap).
   ============================================================ */

/* ---------- NAV sólido ---------- */
.page-solidnav .nav { background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--fm-ink-100); color: var(--fm-ink-900); }
.page-solidnav .nav__logo--white { opacity: 0; }
.page-solidnav .nav__logo--black { opacity: 1; }

/* ---------- Barra de progresso de leitura ---------- */
.reading-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--fm-blue-700); z-index: 70;
  transition: width .1s linear; }

/* ============================================================
   COLUNA DE LEITURA — única medida, usada por TUDO
   ============================================================ */
.art-col { width: 100%; max-width: 760px; margin-inline: auto; padding-inline: 32px; box-sizing: border-box; }
@media (max-width: 720px){ .art-col { padding-inline: 22px; } }

/* ============================================================
   CABEÇALHO
   ============================================================ */
.art-head { padding-top: clamp(140px, 16vw, 188px); padding-bottom: clamp(26px, 3.5vw, 44px); }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--fm-ink-500); margin-bottom: 26px; flex-wrap: wrap; }
.breadcrumb a { color: var(--fm-ink-500); text-decoration: none; border-bottom: none; transition: color var(--dur-base); }
.breadcrumb a:hover { color: var(--fm-blue-700); }
.breadcrumb .sep { width: 5px; height: 5px; background: var(--fm-ink-300); transform: rotate(45deg); }
.breadcrumb .cur { color: var(--fm-ink-800); }

.art-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--fm-blue-700); margin-bottom: 18px; }
.art-tag .d { width: 9px; height: 9px; transform: rotate(45deg); background: var(--fm-blue-700); }

.art-title { font-weight: 800; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.028em; margin: 0; }
.art-dek { font-size: clamp(17px, 1.6vw, 21px); font-weight: 300; line-height: 1.5; color: var(--fm-ink-600); margin: 20px 0 0; }

.art-byline { display: flex; align-items: center; gap: 15px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--fm-ink-100); }
.art-byline__av { width: 48px; height: 48px; flex: none; position: relative; }
.art-byline__av img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); filter: grayscale(1); }
.art-byline__txt { display: flex; flex-direction: column; gap: 3px; }
.art-byline__txt b { font-size: 15px; font-weight: 600; color: var(--fm-ink-900); }
.art-byline__txt span { font-size: 13px; color: var(--fm-ink-500); display: flex; gap: 10px; align-items: center; }
.art-byline__txt span .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--fm-ink-400); }

/* ============================================================
   CAPA — alinhada à mesma coluna
   ============================================================ */
.art-cover { margin: 4px auto clamp(36px, 5vw, 60px); }
.art-cover__media { aspect-ratio: 16/9; background: var(--fm-blue-900); overflow: hidden; position: relative; }
.art-cover__media image-slot, .art-cover__slot { display: block; width: 100%; height: 100%; object-fit: cover; }
.art-cover__cap { font-size: 13px; color: var(--fm-ink-500); margin: 14px 0 0; line-height: 1.5; }

/* ============================================================
   CORPO — tudo na mesma coluna, parágrafos justificados
   ============================================================ */
.art-body { padding-bottom: clamp(48px, 6vw, 84px); }
.art-body > * { width: 100%; max-width: 760px; margin-inline: auto; padding-inline: 32px; box-sizing: border-box; }
@media (max-width: 720px){ .art-body > * { padding-inline: 22px; } }

.art-body p { font-size: 18px; line-height: 1.82; color: var(--fm-ink-800); margin: 0 auto 26px;
  text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.art-body p.lead { font-size: 21px; line-height: 1.62; color: var(--fm-ink-900); font-weight: 300; text-align: left; hyphens: manual; margin: 0 auto 30px; }
.art-body a:not(.btn) { color: var(--fm-blue-700); text-decoration: underline; text-underline-offset: 2px; border-bottom: none; }
.art-body strong { font-weight: 600; color: var(--fm-ink-900); }

.art-body h2 { font-weight: 700; font-size: clamp(25px, 3vw, 34px); line-height: 1.16; letter-spacing: -.02em;
  margin: clamp(40px, 5vw, 58px) auto 16px; text-align: left; }
.art-body h3 { font-weight: 600; font-size: clamp(19px, 2vw, 23px); line-height: 1.25; letter-spacing: -.01em;
  margin: 34px auto 12px; text-align: left; }

.art-body ul, .art-body ol { font-size: 18px; line-height: 1.7; color: var(--fm-ink-800); list-style: none; margin: 0 auto 26px; }
.art-body ul li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; margin-bottom: 13px; }
.art-body ul li::before { content: ""; width: 9px; height: 9px; background: var(--fm-blue-700); transform: rotate(45deg); margin-top: 9px; flex: none; }
.art-body ol { counter-reset: li; }
.art-body ol li { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; margin-bottom: 16px; counter-increment: li; }
.art-body ol li::before { content: counter(li, decimal-leading-zero); font-size: 15px; font-weight: 700; color: var(--fm-blue-700); font-variant-numeric: tabular-nums; }

/* lista de PASSOS — número em losango + título + descrição */
.art-body ol.art-steps { counter-reset: none; margin: clamp(30px, 4vw, 44px) auto; }
.art-body .art-steps li { display: grid; grid-template-columns: 58px 1fr; gap: 24px; align-items: start;
  padding: 24px 0; margin: 0; border-top: 1px solid var(--fm-ink-100); }
.art-body .art-steps li:last-child { border-bottom: 1px solid var(--fm-ink-100); }
.art-body .art-steps li::before { content: none; display: none; }
.art-steps__n { width: 54px; height: 54px; display: grid; place-items: center; position: relative; flex: none;
  font-size: 15px; font-weight: 700; color: var(--fm-blue-700); font-variant-numeric: tabular-nums; }
.art-steps__n::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--fm-blue-700); transform: rotate(45deg); }
.art-steps__c { display: flex; flex-direction: column; gap: 6px; }
.art-steps__c strong { font-size: 18.5px; font-weight: 700; color: var(--fm-ink-900); letter-spacing: -.012em; line-height: 1.25; }
.art-steps__c span { font-size: 16.5px; line-height: 1.6; color: var(--fm-ink-700); text-align: left; }
@media (max-width: 560px){
  .art-body .art-steps li { grid-template-columns: 44px 1fr; gap: 16px; }
  .art-steps__n { width: 42px; height: 42px; }
}

/* destaque (callout) — bloco azul suave, cantos retos, sem borda lateral clichê */
.art-callout { background: var(--fm-blue-50); padding: clamp(24px, 3vw, 32px); margin: clamp(34px, 4vw, 46px) auto; }
.art-callout { max-width: 760px; }
.art-callout__inner { max-width: 696px; margin-inline: auto; }
.art-callout__label { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--fm-blue-700); margin-bottom: 12px; }
.art-callout__label .d { width: 9px; height: 9px; background: var(--fm-blue-700); transform: rotate(45deg); }
.art-callout p { font-size: 16.5px; line-height: 1.65; color: var(--fm-ink-800); margin: 0; text-align: left; }

/* citação */
.art-quote { margin: clamp(40px, 5vw, 58px) auto; }
.art-quote .d { width: 15px; height: 15px; background: var(--fm-blue-700); transform: rotate(45deg); margin-bottom: 20px; }
.art-quote p { font-size: clamp(23px, 2.7vw, 31px); font-weight: 300; line-height: 1.32; letter-spacing: -.015em; color: var(--fm-ink-900); margin: 0; text-align: left; }
.art-quote cite { display: block; font-size: 14px; font-style: normal; color: var(--fm-ink-500); margin-top: 18px; letter-spacing: .04em; }

/* resumo rápido */
.art-key { border-top: 2px solid var(--fm-ink-900); border-bottom: 1px solid var(--fm-ink-200); padding: 28px 0; margin: clamp(40px, 5vw, 54px) auto; }
.art-key__inner { max-width: 696px; margin-inline: auto; }
.art-key h4 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fm-ink-500); margin: 0 0 18px; }
.art-key ul { margin: 0; }

/* compartilhar + tags ao fim */
.art-foot { margin: clamp(24px, 3vw, 38px) auto 0; padding-top: 28px; border-top: 1px solid var(--fm-ink-100);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.art-share { display: flex; align-items: center; gap: 12px; }
.art-share .lbl { font-size: 13px; color: var(--fm-ink-500); }
.art-share a, .art-share button { width: 42px; height: 42px; border: 1px solid var(--fm-ink-200); background: #fff; border-radius: 50%;
  display: grid; place-items: center; color: var(--fm-ink-700); cursor: pointer; transition: all var(--dur-base) var(--ease-standard); }
.art-share a:hover, .art-share button:hover { border-color: var(--fm-blue-700); color: var(--fm-blue-700); }
.art-chips2 { display: flex; gap: 8px; flex-wrap: wrap; }
.art-chips2 a { font-size: 12.5px; color: var(--fm-ink-600); border: 1px solid var(--fm-ink-200); border-radius: var(--radius-pill);
  padding: 6px 14px; text-decoration: none; transition: all var(--dur-base); }
.art-chips2 a:hover { border-color: var(--fm-blue-700); color: var(--fm-blue-700); }
.copied-toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(20px); background: var(--fm-ink-900);
  color: #fff; font-size: 14px; padding: 12px 22px; border-radius: var(--radius-xs); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s; z-index: 80; }
.copied-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   CARD DE AUTOR — alinhado à mesma coluna
   ============================================================ */
.art-author { max-width: 760px; margin-inline: auto; padding-inline: 32px; box-sizing: border-box;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 40px); align-items: center; }
@media (max-width: 720px){ .art-author { padding-inline: 22px; } }
.art-author__frame { position: relative; width: clamp(116px, 15vw, 156px); aspect-ratio: 1; flex: none; }
.art-author__frame::before { content: ""; position: absolute; inset: 0; background: var(--fm-blue-100); clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); transform: translate(12px,12px); }
.art-author__dia { position: absolute; inset: 0; clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); overflow: hidden; }
.art-author__dia img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.art-author__body .eyebrow { margin-bottom: 10px; }
.art-author__body h3 { font-size: clamp(22px, 2.4vw, 29px); font-weight: 700; letter-spacing: -.015em; margin: 0; }
.art-author__body p { font-size: 15px; font-weight: 300; line-height: 1.6; color: var(--fm-ink-700); margin: 12px 0 16px; }
@media (max-width: 560px){ .art-author { grid-template-columns: 1fr; } }

/* ============================================================
   CONTINUE LENDO (reusa .sec-head, .posts/.post da home)
   ============================================================ */
.art-related .posts { max-width: 900px; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.art-news { text-align: center; max-width: 720px; margin-inline: auto; }
.art-news h2 { font-weight: 300; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.02em; margin: 16px 0 12px; }
.art-news h2 b { font-weight: 800; }
.art-news p { color: rgba(255,255,255,.82); font-size: 16px; margin: 0 0 26px; }
.art-news__form { display: flex; gap: 10px; max-width: 480px; margin-inline: auto; }
.art-news__form input { flex: 1; padding: 14px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-xs);
  font-size: 15px; font-family: var(--font-sans); color: #fff; background: rgba(255,255,255,.08); }
.art-news__form input::placeholder { color: rgba(255,255,255,.55); }
.art-news__form input:focus-visible { border-color: #fff; outline: none; }
@media (max-width: 560px){ .art-news__form { flex-direction: column; } }



/* ===== Conteúdo importado: listas, tabelas e citações ===== */
.art-body ol li, .art-body ul li { align-items: start; }
.art-body ol li::before { margin-top: 7px; }
.art-body ol li > p, .art-body ul li > p { margin: 0 0 8px; padding-inline: 0; font-size: 18px; line-height: 1.7; }
.art-body ol li > p:last-child, .art-body ul li > p:last-child { margin-bottom: 0; }
.art-body table { width: 100% !important; border-collapse: collapse; margin: 26px auto !important; font-size: 15px; padding-inline: 0; }
@media (max-width: 720px){ .art-body > table { display: block; overflow-x: auto; } }
.art-body table th, .art-body table td { border: 1px solid var(--fm-gray-light); padding: 11px 14px; text-align: left; vertical-align: top; }
.art-body table th { background: var(--fm-ink-950); color: #fff; font-weight: 600; }
.art-body table tr:nth-child(even) td { background: #F6F7F8; }
.art-body .art-quote p { margin: 0; }
.art-body .art-callout p:last-child { margin-bottom: 0; }


/* ===== Conteúdo importado: lista robusta ===== */
.art-body ul li, .art-body ol li { display: block; position: relative; padding-left: 32px; margin-bottom: 14px; }
.art-body ul li::before { position: absolute; left: 4px; top: 9px; margin: 0; }
.art-body ol li::before { position: absolute; left: 0; top: 3px; margin: 0; }
.art-body li > p { margin: 0 0 10px; padding-inline: 0; }
.art-body li > p:last-child { margin-bottom: 0; }
.art-body li > ul, .art-body li > ol { margin: 10px 0 0; padding-inline: 0; }
/* preserva o desenho de passos do modelo */
.art-body ol.art-steps li { display: grid; padding-left: 0; }
