/* Posts do blog: mesmo mundo visual da home e da listagem do blog.
   Carregado depois do site.css, só nas páginas de artigo (body.pg-artigo). */

body.pg-artigo { background: #fff; }
.pg-artigo ::selection { background: var(--dourado, #ffc33e); color: var(--verde-escuro, #141f1c); }
.pg-artigo a:focus-visible, .pg-artigo summary:focus-visible { outline: 2px solid var(--dourado, #ffc33e); outline-offset: 4px; border-radius: 4px; }

/* Menu transparente sobre a foto */
.pg-artigo .topo { position: absolute; left: 0; right: 0; background: transparent; backdrop-filter: none; }
.pg-artigo .topo nav a { color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.pg-artigo .topo nav a[aria-current="page"], .pg-artigo .topo nav a:hover { color: var(--dourado, #ffc33e); }

/* Topo: título sobre a foto de capa do próprio post */
.pg-artigo .artigo-topo {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(82vh, 760px); display: flex; align-items: flex-end;
  padding-block: 150px clamp(48px, 6vw, 76px);
  background: var(--verde-escuro, #141f1c); color: #fff;
}
.pg-artigo .artigo-topo-foto {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; box-shadow: none;
}
.pg-artigo .artigo-topo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 31, 28, .5) 0%, rgba(20, 31, 28, .35) 38%, rgba(20, 31, 28, .9) 100%);
}
.pg-artigo .artigo-topo .wrap-texto { max-width: 920px; }
.pg-artigo .artigo-topo h1 { color: #fff; font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.06; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.pg-artigo .breadcrumb { color: #d9e5df; margin-bottom: 22px; }
.pg-artigo .breadcrumb a { color: #fff; text-decoration: none; }
.pg-artigo .breadcrumb a:hover { color: var(--dourado, #ffc33e); }
.pg-artigo .breadcrumb li + li::before { color: rgba(255, 255, 255, .5); }
.pg-artigo .artigo-meta { color: #e3ebe7; margin-top: 26px; }
.pg-artigo .artigo-meta strong { color: #fff; }
.pg-artigo .artigo-meta img { width: 44px; height: 44px; border: 2px solid var(--dourado, #ffc33e); margin: 0; box-shadow: none; }

/* Corpo */
.pg-artigo .artigo { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(64px, 8vw, 96px); }
.pg-artigo .artigo > p:first-child { font-size: 1.2rem; line-height: 1.65; color: var(--verde-escuro, #141f1c); }
.pg-artigo .artigo h2 { color: var(--verde-escuro, #141f1c); }
.pg-artigo .artigo h3 { color: var(--verde, #265645); }
.pg-artigo .artigo img { border-radius: 15px; box-shadow: none; }

/* Em resumo */
.pg-artigo .resumo { border-radius: 15px; box-shadow: none; }

/* Neste artigo: lista limpa, sem caixa */
.pg-artigo .sumario {
  background: transparent; border: 0; box-shadow: none; border-radius: 0;
  border-top: 1px solid var(--borda, #e6e0d5); border-bottom: 1px solid var(--borda, #e6e0d5);
  padding: 28px 0; margin-block: 2.4em;
}
.pg-artigo .sumario p { color: var(--verde-escuro, #141f1c); font-family: var(--fonte-display); font-size: 1.45rem; letter-spacing: 0; text-transform: none; font-weight: 400; margin-bottom: .6em; }
.pg-artigo .sumario ol { padding-left: 1.3em; }
.pg-artigo .sumario li::marker { color: var(--verde, #265645); font-weight: 700; }
.pg-artigo .sumario a { color: var(--texto, #22302b); font-weight: 500; text-decoration: none; }
.pg-artigo .sumario a:hover { color: var(--verde, #265645); text-decoration: underline; text-underline-offset: 3px; }

/* Chamada para o atendimento */
.pg-artigo .cta-artigo { background: var(--verde-escuro, #141f1c); border-radius: 15px; box-shadow: none; }
.pg-artigo .cta-artigo .eyebrow { display: none; }
.pg-artigo .cta-artigo h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.15; margin-top: 0; color: #fff; }
.pg-artigo .cta-artigo .btn { border-radius: 999px; }
.pg-artigo .cta-artigo .btn-primario { box-shadow: none; }

/* Perguntas frequentes */
.pg-artigo .faq details { background: #fff; border: 1px solid var(--borda, #e6e0d5); border-radius: 15px; box-shadow: none; }
.pg-artigo .faq details[open] { border-color: var(--verde, #265645); }

/* Autor */
.pg-artigo .autor-box { background: var(--creme-2, #f4f0e8); border: 0; border-radius: 15px; box-shadow: none; }
.pg-artigo .autor-box img { border: 3px solid var(--dourado, #ffc33e); margin: 0; }

/* Dados com fonte (post dos 10 sinais) */
.pg-artigo .dado { border-radius: 15px; box-shadow: none; }

@media (max-width: 640px) {
  .pg-artigo .topo-logo img { height: 28px; }
  .pg-artigo .topo nav ul { gap: 14px; }
  .pg-artigo .topo nav a { font-size: .88rem; }
  .pg-artigo .topo nav li:first-child { display: none; }
  .pg-artigo .artigo-topo { min-height: 78vh; padding-top: 120px; }
}
