/* Blog da FORGE (protótipo de layout, 18/10/2026).
   Por cima do styles.css do site (cópia, não o arquivo do site): mesmas cores, fonte, topo, rodapé e botões.
   A ordem dos blocos da matéria segue a do lawrencehitches.com: migalha, assunto e data, título, autor, resposta
   curta, corpo com passos, versão curta no Instagram, perguntas, fontes, autor, continue lendo; índice fixo ao lado. */

.leitura { position: fixed; top: 0; left: 0; z-index: 60; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(to right, var(--blue), var(--cyan)); box-shadow: 0 0 10px rgba(105,220,255,.5); }

.materia { padding: 28px 0 var(--space); }
.materia__grade { display: grid; grid-template-columns: minmax(0, 720px) 260px; gap: 64px; justify-content: center; align-items: start; }

.migalha { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.migalha a { color: var(--muted); text-decoration: none; }
.migalha a:hover { color: var(--ink); }
.migalha span[aria-hidden] { color: #4a5a73; }

.cabeca__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.assunto { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: 13px;
  color: var(--blue-bright); background: rgba(63,131,248,.1); border: 1px solid rgba(121,170,255,.25); text-decoration: none; }
.cabeca h1 { text-align: left; font-size: clamp(34px, 5.2vw, 54px); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }

.autor { display: flex; align-items: center; gap: 12px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.autor__marca { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--edge); }
.autor__marca img { width: 20px; height: 20px; }
.autor b { color: var(--ink); font-weight: 700; }

/* a senha da fila: o mesmo objeto do vídeo do Agente F e da capa do guia */
.senha-palco { position: relative; margin: 40px 0 0; padding: 56px 24px; border-radius: 20px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 50% 0%, rgba(63,131,248,.22), transparent 60%), var(--card); border: 1px solid var(--edge); }
.senha { position: relative; width: min(300px, 78vw); padding: 26px 26px 22px; border-radius: 10px; color: #0d1420; text-align: center;
  background: linear-gradient(#f6f8fc, #e6ebf3); box-shadow: 0 28px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.4) inset;
  transform: rotate(-3deg); }
.senha::before, .senha::after { content: ""; position: absolute; top: 62%; width: 22px; height: 22px; border-radius: 50%; background: var(--card); }
.senha::before { left: -11px; } .senha::after { right: -11px; }
.senha__topo { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #4b5a72; }
.senha__num { font-size: 76px; line-height: 1; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 2px; color: #0d1420; }
.senha__un { font-size: 22px; font-weight: 800; color: var(--blue-deep); }
.senha__picote { margin: 18px -26px 14px; border-top: 2px dashed #b9c3d3; }
.senha__pe { font-size: 13px; color: #4b5a72; }
.senha-palco figcaption { margin-top: 26px; font-size: 14px; color: var(--muted); text-align: center; max-width: 46ch; }

.curta { margin-top: 40px; padding: 22px 24px; border-radius: 14px; background: rgba(63,131,248,.07); border: 1px solid rgba(121,170,255,.22); }
.curta h2 { font-size: 15px; font-weight: 800; color: var(--blue-bright); margin-bottom: 8px; }
.curta p { color: var(--ink); font-size: 18px; line-height: 1.6; }

/* corpo de leitura */
.corpo { margin-top: 48px; }
.corpo > * + * { margin-top: 20px; }
.corpo h2 { font-size: clamp(26px, 3.2vw, 32px); line-height: 1.2; letter-spacing: -.01em; font-weight: 800; margin-top: 64px; scroll-margin-top: 24px; }
.corpo h3 { font-size: 21px; line-height: 1.3; font-weight: 800; margin-top: 40px; scroll-margin-top: 24px; }
.corpo p, .corpo li { font-size: 18px; line-height: 1.75; color: var(--soft); }
.corpo strong { color: var(--ink); }
.corpo ul, .corpo ol { padding-left: 22px; }
.corpo li + li { margin-top: 8px; }

.passo { display: grid; grid-template-columns: 44px 1fr; gap: 0 18px; margin-top: 36px; }
.passo__n { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-weight: 800; font-size: 18px; color: #fff;
  background: linear-gradient(to top, var(--blue-deep), var(--blue)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.passo h3 { margin: 8px 0 8px; }
.passo > div > * + * { margin-top: 14px; }

.tabela { width: 100%; border-collapse: collapse; font-size: 16px; border-radius: 14px; overflow: hidden; border: 1px solid var(--edge); }
.tabela th, .tabela td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--edge); }
.tabela th { background: var(--bg-2); color: var(--ink); font-weight: 700; }
.tabela td { color: var(--soft); }
.tabela td:first-child { color: var(--ink); font-weight: 600; }
.tabela tr:last-child td { border-bottom: 0; }
.tabela-fonte { font-size: 14px !important; color: var(--muted) !important; }

.caixa { padding: 20px 22px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--edge); border-left: 3px solid var(--blue); }
.caixa h4 { margin: 0 0 6px; color: var(--ink); font-size: 17px; font-weight: 800; }
.caixa p, .caixa li { font-size: 16px; }

.print { margin: 24px 0 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--edge); background: #fff; }
.print img { width: 100%; height: auto; }
.print figcaption { padding: 12px 16px; background: var(--bg-2); color: var(--muted); font-size: 14px; }

.prompt { border-radius: 14px; border: 1px solid rgba(121,170,255,.3); background: #060a12; overflow: hidden; }
.prompt__barra { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; background: var(--bg-2); border-bottom: 1px solid var(--edge); }
.prompt__barra span { font-size: 14px; font-weight: 700; color: var(--ink); }
.prompt pre { margin: 0; padding: 20px 18px; max-height: 420px; overflow: auto; white-space: pre-wrap; font: 500 14.5px/1.65 "Manrope", system-ui, sans-serif; color: var(--soft); }
.prompt mark { background: rgba(63,131,248,.18); color: var(--blue-bright); border-radius: 4px; padding: 0 3px; font-weight: 700; }

/* versão curta no Instagram: o caminho de volta para o Reels */
.insta { display: grid; grid-template-columns: 112px 1fr; gap: 22px; align-items: center; padding: 22px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(63,131,248,.14), rgba(105,220,255,.05)); border: 1px solid rgba(121,170,255,.28); }
.insta__capa { position: relative; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #0d1626 center / cover; border: 1px solid var(--edge); }
.insta__capa img { width: 100%; height: 100%; object-fit: cover; }
.insta__palavra { display: inline-block; margin: 0 2px; padding: 0 8px; border-radius: 6px; background: var(--blue); color: #fff; font-weight: 800; }
.insta h2 { margin: 0 0 8px; font-size: 22px; }
.insta p { font-size: 16px; }
.insta .btn { margin-top: 14px; }

.perguntas details { border-bottom: 1px solid var(--edge); }
.perguntas summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; color: var(--ink); font-weight: 700; font-size: 18px; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: "+"; flex: none; color: var(--blue-bright); font-size: 24px; line-height: 1; transition: transform .2s; }
.perguntas details[open] summary::after { transform: rotate(45deg); }
.perguntas details p { padding: 0 0 20px; }

.fontes { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--edge); }
.fontes h2 { font-size: 18px !important; margin: 0 0 12px !important; }
.fontes li { font-size: 15px !important; color: var(--muted) !important; }

.forge-faz { margin-top: 56px; padding: 30px; border-radius: 18px; text-align: left; background: radial-gradient(120% 120% at 0% 0%, rgba(63,131,248,.2), transparent 55%), var(--card); border: 1px solid rgba(121,170,255,.25); }
.forge-faz h2 { font-size: 26px; margin: 0 0 10px; }
.forge-faz p { font-size: 17px; }
.forge-faz .btn { margin-top: 20px; }

.bio { display: grid; grid-template-columns: 56px 1fr; gap: 18px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--edge); }
.bio .autor__marca { width: 56px; height: 56px; }
.bio .autor__marca img { width: 28px; height: 28px; }
.bio b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.bio p { font-size: 15px; color: var(--muted); }

.continue { margin-top: 64px; }
.continue h2 { font-size: 24px; margin-bottom: 20px; }
.continue__grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cartao { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 14px; background: var(--card); border: 1px solid var(--edge); text-decoration: none; transition: border-color .2s; }
.cartao:hover, .cartao:focus-visible { border-color: rgba(121,170,255,.45); }
.cartao span { font-size: 13px; font-weight: 700; color: var(--blue-bright); }
.cartao b { color: var(--ink); font-size: 17px; line-height: 1.35; }
.cartao small { color: var(--muted); font-size: 13px; margin-top: auto; }

/* índice fixo ao lado */
.indice { position: sticky; top: 24px; }
.indice h2 { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.indice ol { list-style: none; border-left: 1px solid var(--edge); }
.indice ol a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); font-size: 14px; line-height: 1.4; text-decoration: none; }
.indice ol a:hover { color: var(--ink); }
.indice ol a.ativo { color: var(--blue-bright); border-left-color: var(--blue-bright); }
.indice__cta { margin-top: 28px; padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--edge); }
.indice__cta p { font-size: 14px; color: var(--soft); margin-bottom: 12px; }
.indice__cta .btn { width: 100%; }

@media (max-width: 1100px) {
  .materia__grade { grid-template-columns: minmax(0, 720px); }
  .indice { display: none; }
}
@media (max-width: 700px) {
  .continue__grade { grid-template-columns: 1fr; }
  .insta { grid-template-columns: 84px 1fr; gap: 16px; padding: 18px; }
  .corpo p, .corpo li { font-size: 17px; }
  .passo { grid-template-columns: 36px 1fr; gap: 0 14px; }
  .passo__n { width: 36px; height: 36px; font-size: 16px; border-radius: 10px; }
  .tabela { font-size: 14px; }
  .tabela th, .tabela td { padding: 11px 10px; }
  .forge-faz { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .leitura { display: none; } }

/* o styles.css do site tem dois @keyframes "brilho" (o do título e o do botão do Agente F, linha ~391); o segundo
   vence e faz o título encolher e piscar. Aqui o título usa um nome próprio. */
@keyframes corre { to { background-position: 200% center; } }
.cabeca h1.title-shine { animation-name: corre; }

/* a busca digitada: visual padrão das matérias, o mesmo objeto do topo do site */
.busca-palco { margin: 40px 0 0; padding: 48px 24px; border-radius: 20px; display: grid; place-items: center; gap: 22px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(63,131,248,.2), transparent 60%), var(--card); border: 1px solid var(--edge); }
.busca { display: flex; align-items: center; gap: 14px; width: min(560px, 100%); min-height: 60px; padding: 14px 22px; border-radius: 22px;
  background: #0d1420; border: 1px solid rgba(121,170,255,.35); box-shadow: 0 18px 50px rgba(0,0,0,.5), 0 0 30px rgba(63,131,248,.15); color: var(--ink); }
.busca svg { flex: none; width: 20px; height: 20px; color: var(--blue-bright); }
.busca__txt { font-size: 18px; font-weight: 600; line-height: 1.35; }
.busca-palco figcaption { font-size: 14px; color: var(--muted); text-align: center; max-width: 46ch; }

/* páginas de tema, /blog e /guias */
.hub { padding: 28px 0 var(--space); }
.hub__titulo { animation-name: corre; font-size: clamp(36px, 5vw, 56px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.hub__lead { margin-top: 14px; max-width: 62ch; font-size: 18px; }
.hub__temas { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.assunto--on { background: var(--blue); color: #fff; border-color: var(--blue); }
.hub__grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cartao--guia span { color: var(--cyan); }
@media (max-width: 900px) { .hub__grade { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hub__grade { grid-template-columns: 1fr; } }

/* página de entrega do direct (/g/<palavra>) */
.entrega { padding: 40px 0 var(--space); }
.entrega__caixa { max-width: 680px; }
.entrega__palavra { font-size: 16px; color: var(--muted); margin-bottom: 14px; }
.entrega h1 { animation-name: corre; font-size: clamp(32px, 5vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.entrega__lead { margin-top: 16px; font-size: 18px; }
.entrega__lista { margin-top: 22px; padding-left: 22px; }
.entrega__lista li { font-size: 17px; margin-top: 8px; }
.entrega__botoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.entrega__mais { margin-top: 26px; font-size: 15px; color: var(--muted); }

.foot__temas { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 18px 0 0; }
.foot__temas a { color: var(--muted); font-size: 14px; text-decoration: none; }
.foot__temas a:hover { color: var(--ink); }
.hub__lead + .hub__grade { margin-top: 36px; }

.hub .cartao small { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* referências: o número ao lado do dado leva à fonte no fim da matéria */
sup.ref { font-size: 12px; line-height: 1; vertical-align: 6px; margin-left: 3px; }
sup.ref a { display: inline-block; min-width: 20px; height: 18px; line-height: 16px; padding: 0 5px; font-size: 12px; border-radius: 6px; text-align: center; text-decoration: none; font-weight: 800;
  color: var(--blue-bright); background: rgba(63,131,248,.14); border: 1px solid rgba(121,170,255,.3); }
sup.ref a:hover, sup.ref a:focus-visible { background: var(--blue); color: #fff; }
.fontes ol { padding-left: 22px; }
.fontes li { scroll-margin-top: 24px; }
.fontes li:target { color: var(--ink) !important; background: rgba(63,131,248,.1); border-radius: 6px; }
.fontes li a { word-break: break-word; }
.fontes__nota { font-size: 14px !important; color: var(--muted) !important; margin-bottom: 12px; }

/* a resposta curta mora dentro de .corpo: sem isto o h2 dela herdava o tamanho das seções */
.corpo .curta h2 { font-size: 15px; margin: 0 0 8px; color: var(--blue-bright); }
.corpo .curta { margin-top: 0; }

/* capas (18/10/2026): topo da matéria e cartões */
.capa { margin: 36px 0 0; }
.capa img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--edge); box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.cartao { overflow: hidden; }
.cartao__img { display: block; width: calc(100% + 40px); max-width: none; margin: -20px -20px 6px; aspect-ratio: 1200 / 630; height: auto; object-fit: cover; border-bottom: 1px solid var(--edge); }
