/* Páginas do WordPress que não têm view própria: posts, blog, categorias, páginas antigas e 404.
   O resto do visual vem de style.css (o mesmo do site). */
.wp-page .page-hero .hero-in.wp-hero { grid-template-columns: 1fr; }
.wp-page .page-hero .wp-hero .hero-copy { max-width: 860px; }
.wp-page .page-hero h1 { max-width: 24ch; }
.wp-byline { display: flex; align-items: center; gap: 12px; margin-top: 6px; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.5; }
.wp-byline img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.wp-byline strong { color: #fff; }
.wp-sec { padding: 80px 0; }
.wp-entry { max-width: 820px; color: var(--text); font-size: 17px; line-height: 1.75; }
.wp-entry > * + * { margin-top: 1.1em; }
.wp-entry h2 { margin: 1.8em 0 .5em; font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }
.wp-entry h3 { margin: 1.5em 0 .4em; font-size: 21px; line-height: 1.3; }
.wp-entry h2:first-child, .wp-entry h3:first-child { margin-top: 0; }
.wp-entry a { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.wp-entry ul, .wp-entry ol { padding-left: 1.3em; }
.wp-entry li + li { margin-top: .4em; }
.wp-entry img { height: auto; border-radius: 14px; }
.wp-entry figure { margin: 1.6em 0; }
.wp-entry figcaption { margin-top: 8px; color: var(--text); font-size: 14px; text-align: center; }
.wp-entry blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: var(--light); }
.wp-entry table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wp-entry th, .wp-entry td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.wp-entry th { color: var(--navy); }
.wp-author { display: flex; gap: 18px; align-items: flex-start; margin-top: 48px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--light); }
.wp-author img { flex: none; width: 56px; height: 56px; border-radius: 50%; }
.wp-author h2 { margin: 0 0 6px; font-size: 20px; }
.wp-author p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.6; }
.wp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.wp-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .25s, box-shadow .25s; }
.wp-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(28, 46, 82, .3); }
.wp-card-img img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.wp-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
.wp-card-meta { margin-bottom: 8px; color: var(--accent); font-size: 13px; font-weight: 700; }
.wp-card h3 { margin-bottom: 10px; font-size: 19px; line-height: 1.35; }
.wp-card h3 a { text-decoration: none; }
.wp-card p { margin-bottom: 16px; color: var(--text); font-size: 15px; line-height: 1.6; }
.wp-card .more { margin-top: auto; }
.wp-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 48px; }
.wp-pagination .page-numbers { padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; color: var(--navy); font-weight: 500; text-decoration: none; }
.wp-pagination .current { border-color: var(--accent); background: var(--accent); color: #fff; }
.wp-empty { color: var(--text); font-size: 17px; }
@media (max-width: 960px) { .wp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .wp-cards { grid-template-columns: minmax(0, 1fr); }
  .wp-sec { padding: 56px 0; }
  .wp-entry { font-size: 16px; }
  .wp-author { flex-direction: column; }
}

/* ---------- Página do blog ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wp-blog-hero .hero-copy { max-width: 760px; }
.wp-search { display: flex; align-items: center; gap: 10px; max-width: 560px; margin-top: 26px; padding: 6px 6px 6px 18px; border-radius: 999px; background: #fff; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .55); }
.wp-search .ico { flex: none; width: 20px; height: 20px; color: var(--accent); }
.wp-search input[type="search"] { flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; background: none; color: var(--navy); font: inherit; font-size: 16px; }
.wp-search button { flex: none; height: 46px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--gold); color: var(--navy); font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.wp-search button:hover { background: var(--navy); color: #fff; }
.wp-blog-by { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: rgba(255, 255, 255, .78); font-size: 14px; }
.wp-blog-by img { width: 36px; height: 36px; border: 2px solid var(--gold); border-radius: 50%; object-fit: cover; }
.wp-blog-by strong { color: #fff; }
.wp-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.wp-topics a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-size: 14.5px; font-weight: 500; text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.wp-topics a span { min-width: 24px; padding: 2px 7px; border-radius: 99px; background: var(--light); color: var(--accent); font-size: 12px; font-weight: 600; text-align: center; }
.wp-topics a:hover { border-color: var(--accent); color: var(--accent); }
.wp-topics a[aria-current] { border-color: var(--navy); background: var(--navy); color: #fff; }
.wp-topics a[aria-current] span { background: var(--gold); color: var(--navy); }
.wp-card-img { position: relative; display: block; overflow: hidden; }
.wp-card-img img { transition: transform .5s ease; }
.wp-card:hover .wp-card-img img { transform: scale(1.05); }
.wp-card-tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .94); color: var(--navy); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.wp-card h3 a, .wp-card h2 a { color: var(--navy); transition: color .2s; }
.wp-card:hover h3 a, .wp-card:hover h2 a { color: var(--accent); }
.wp-card-feat { display: grid; grid-template-columns: 1.15fr 1fr; margin-bottom: 28px; }
.wp-card-feat .wp-card-img img { height: 100%; aspect-ratio: auto; min-height: 340px; }
.wp-card-feat .wp-card-body { justify-content: center; padding: 40px 44px; }
.wp-card-feat h2 { margin-bottom: 14px; font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }
.wp-card-feat p { font-size: 16.5px; }
.wp-card-new { margin-right: 10px; padding: 4px 10px; border-radius: 99px; background: var(--gold); color: var(--navy); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }
.wp-card-cta { justify-content: center; gap: 12px; padding: 34px 30px; border: 0; background: linear-gradient(150deg, var(--navy) 0%, var(--accent) 140%); color: rgba(255, 255, 255, .85); }
.wp-card-cta:hover { transform: none; box-shadow: none; }
.wp-card-cta-tag { margin: 0; color: var(--sky); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.wp-card-cta h3 { margin: 0; color: #fff; font-family: var(--font-display); font-size: 26px; line-height: 1.2; }
.wp-card-cta h3 em { color: var(--gold); font-style: normal; }
.wp-card-cta p { margin: 0 0 6px; color: rgba(255, 255, 255, .8); }
.wp-card-cta .btn { align-self: flex-start; background: var(--gold); color: var(--navy); }
.wp-card-cta .btn .ico { color: var(--navy); stroke: var(--navy); }
.wp-card-cta-call { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none; }
.wp-card-cta-call .ico { width: 16px; height: 16px; color: var(--gold); }
.wp-empty { display: grid; justify-items: start; gap: 16px; }
@media (max-width: 1024px) {
  .wp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wp-card-feat { grid-template-columns: 1fr; }
  .wp-card-feat .wp-card-img img { min-height: 0; aspect-ratio: 16 / 9; }
  .wp-card-feat .wp-card-body { padding: 28px 26px; }
}
@media (max-width: 680px) {
  .wp-cards { grid-template-columns: 1fr; }
  .wp-topics { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 28px; padding: 0 20px 6px; scrollbar-width: none; }
  .wp-topics::-webkit-scrollbar { display: none; }
  .wp-topics a { flex: none; }
  .wp-search { padding-left: 14px; }
  .wp-search button { padding: 0 16px; }
  .wp-blog-by { font-size: 13px; }
}
.wp-card h2 a, .wp-card h3 a { text-decoration: none; }
.wp-card-feat .more { margin-top: 10px; }
.wp-topics { gap: 8px; }
.wp-topics a { padding: 9px 14px; }

/* ---------- Página do post ---------- */
.wp-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 1100; height: 3px; pointer-events: none; }
.wp-progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.wp-post-hero h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; }
.wp-post-hero .wp-byline { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.wp-post-hero .wp-byline img { width: 48px; height: 48px; }
.wp-post-hero .wp-byline > span { display: grid; gap: 2px; }
.wp-byline-name { color: #fff; font-size: 15px; }
.wp-byline-name a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(199, 173, 124, .6); }
.wp-byline-meta { color: rgba(255, 255, 255, .72); font-size: 13.5px; }
.wp-byline-meta i { margin: 0 8px; font-style: normal; }
.wp-post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.wp-post .wp-entry { max-width: 760px; }
.wp-entry h2, .wp-entry h3 { scroll-margin-top: 100px; }
.wp-entry > p:first-of-type { color: var(--navy); font-size: 19px; line-height: 1.7; }
.wp-entry ul:not(.wp-block-gallery) { list-style: none; padding-left: 0; }
.wp-entry ul:not(.wp-block-gallery) > li { position: relative; padding-left: 26px; }
.wp-entry ul:not(.wp-block-gallery) > li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.wp-entry ol { padding-left: 1.4em; }
.wp-entry ol > li::marker { color: var(--accent); font-weight: 700; }
.wp-entry img { box-shadow: 0 20px 40px -26px rgba(28, 46, 82, .45); }
.wp-entry table { overflow: hidden; border-radius: 14px; box-shadow: 0 0 0 1px var(--line); }
.wp-entry thead th, .wp-entry tr:first-child th { background: var(--navy); color: #fff; }
.wp-entry tbody tr:nth-child(even) td { background: var(--light); }
.wp-entry .wp-answer { padding: 22px 24px 22px 26px; border-left: 4px solid var(--gold); border-radius: 0 14px 14px 0; background: var(--light); color: var(--navy); }
.wp-entry .wp-answer strong:first-child { display: block; margin-bottom: 4px; color: var(--accent); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.wp-toc-m { display: none; }
.wp-side { position: sticky; top: 100px; display: grid; gap: 22px; }
.wp-side-tag { margin: 0 0 12px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.wp-toc { max-height: calc(100vh - 420px); min-height: 160px; overflow-y: auto; padding: 22px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; scrollbar-width: thin; }
.wp-toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: t; }
.wp-toc li { counter-increment: t; }
.wp-toc a { display: grid; grid-template-columns: 22px 1fr; gap: 6px; padding: 7px 8px; border-radius: 8px; color: var(--text); font-size: 14px; line-height: 1.4; text-decoration: none; transition: background .2s, color .2s; }
.wp-toc a::before { content: counter(t, decimal-leading-zero); color: var(--teal); font-size: 11.5px; font-weight: 600; line-height: 1.75; }
.wp-toc a:hover { background: var(--light); color: var(--navy); }
.wp-toc a.is-on { background: var(--light); color: var(--navy); font-weight: 600; box-shadow: inset 3px 0 0 var(--gold); }
.wp-side-cta { display: grid; gap: 12px; padding: 26px 24px; border-radius: 18px; background: linear-gradient(160deg, var(--navy) 0%, var(--accent) 150%); color: rgba(255, 255, 255, .82); }
.wp-side-cta .wp-side-tag { margin: 0; color: var(--sky); }
.wp-side-cta h3 { margin: 0; color: #fff; font-family: var(--font-display); font-size: 23px; line-height: 1.2; }
.wp-side-cta h3 em { color: var(--gold); font-style: normal; }
.wp-side-cta p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.wp-side-cta .btn { justify-content: center; background: var(--gold); color: var(--navy); }
.wp-side-cta .btn .ico { color: var(--navy); stroke: var(--navy); }
.wp-side-call { display: inline-flex; justify-content: center; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none; }
.wp-side-call .ico { width: 16px; height: 16px; color: var(--gold); }
.wp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.wp-share > span { margin-right: 6px; color: var(--navy); font-size: 14px; font-weight: 600; }
.wp-share a, .wp-share button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: border-color .2s, color .2s; }
.wp-share a:hover, .wp-share button:hover { border-color: var(--accent); color: var(--accent); }
.wp-share .ico { width: 16px; height: 16px; }
.wp-post .wp-author { align-items: center; gap: 24px; margin-top: 30px; padding: 28px; border: 0; border-radius: 18px; }
.wp-post .wp-author img { width: 88px; height: 88px; border: 3px solid var(--gold); object-fit: cover; }
.wp-author-tag { margin: 0 0 2px !important; color: var(--accent); font-size: 12px !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.wp-post .wp-author h2 { margin: 0 0 6px; font-family: var(--font-display); font-size: 22px; }
.wp-author-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; text-decoration: none !important; }
.wp-author-more .ico { width: 14px; height: 14px; }
.wp-adjacent { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.wp-adjacent a { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; color: var(--navy); font-size: 15px; font-weight: 600; line-height: 1.4; text-decoration: none !important; transition: border-color .2s, transform .2s; }
.wp-adjacent a:hover { border-color: var(--accent); transform: translateY(-2px); }
.wp-adjacent small { color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.wp-adjacent .next { text-align: right; }
.wp-related .sec-head .btn { align-self: end; }
@media (max-width: 1024px) {
  .wp-post-grid { grid-template-columns: 1fr; gap: 40px; }
  .wp-side { position: static; }
  .wp-toc { display: none; }
  .wp-toc-m { display: block; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .wp-toc-m summary { display: flex; align-items: center; gap: 10px; padding: 16px 18px; color: var(--navy); font-weight: 600; list-style: none; cursor: pointer; }
  .wp-toc-m summary::-webkit-details-marker { display: none; }
  .wp-toc-m summary small { color: var(--text); font-weight: 400; }
  .wp-toc-m summary .ico { width: 18px; height: 18px; margin-left: auto; color: var(--accent); transition: transform .3s; }
  .wp-toc-m[open] summary .ico { transform: rotate(180deg); }
  .wp-toc-m ol { margin: 0; padding: 0 18px 16px 38px; }
  .wp-toc-m li + li { margin-top: 8px; }
  .wp-toc-m a { color: var(--text); font-size: 15px; text-decoration: none; }
  .wp-side-cta { max-width: 560px; }
}
@media (max-width: 680px) {
  .wp-entry > p:first-of-type { font-size: 17.5px; }
  .wp-post .wp-author { flex-direction: column; align-items: flex-start; }
  .wp-adjacent { grid-template-columns: 1fr; }
  .wp-adjacent .next { text-align: left; }
}
/* Índice sem rolagem própria: mostra tudo; a coluna não fica presa, só o cartão de orçamento acompanha a leitura */
@media (min-width: 1025px) {
  .wp-side { position: static; align-self: stretch; align-content: start; }
  .wp-toc { max-height: none; min-height: 0; overflow: visible; }
  .wp-toc a { padding: 6px 8px; font-size: 13.5px; }
  .wp-side-cta { position: sticky; top: 100px; }
}
/* Botão do cartão lateral do post: texto e ícone brancos */
.wp-side-cta .btn, .wp-side-cta .btn .ico { color: #fff; stroke: #fff; }
.wp-side-cta .btn:hover { background: #fff; color: var(--navy); }
.wp-side-cta .btn:hover .ico { color: var(--navy); stroke: var(--navy); }
/* Compartilhar: cores das redes ao passar o mouse */
.wp-share a.s-fb:hover { border-color: #1877f2; background: #1877f2; color: #fff; }
.wp-share a.s-x:hover { border-color: #000; background: #000; color: #fff; }
.wp-share a.s-in:hover { border-color: #0a66c2; background: #0a66c2; color: #fff; }
.wp-share a.s-pin:hover { border-color: #e60023; background: #e60023; color: #fff; }
.wp-share a.s-wa:hover { border-color: #25d366; background: #25d366; color: #fff; }
.wp-share a.s-rd:hover { border-color: #ff4500; background: #ff4500; color: #fff; }
.wp-share a.s-mail:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
@media (max-width: 680px) { .wp-share > span { width: 100%; margin-bottom: 2px; } }
/* Caixa da autora */
.wp-post .wp-author { align-items: flex-start; gap: 26px; padding: 32px; background: linear-gradient(160deg, #fff 0%, var(--light) 100%); box-shadow: inset 0 0 0 1px var(--line); }
.wp-post .wp-author img { width: 96px; height: 96px; }
.wp-post .wp-author h2 { margin: 2px 0 2px; }
.wp-author-role { margin: 0 0 12px !important; color: var(--navy); font-size: 14.5px !important; font-weight: 500; }
.wp-author-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin: 16px 0 18px !important; padding: 0 !important; list-style: none; }
.wp-entry .wp-author-facts > li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; color: var(--navy); font-size: 14.5px; font-weight: 500; }
.wp-entry .wp-author-facts > li::before { content: none; }
.wp-author-facts .ico { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--accent); }
.wp-author-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
@media (max-width: 680px) { .wp-author-facts { grid-template-columns: 1fr; } .wp-post .wp-author { padding: 24px; } }
.wp-entry ul.wp-author-facts:not(.wp-block-gallery) > li { padding-left: 0; }
.wp-entry ul.wp-author-facts:not(.wp-block-gallery) > li::before { display: none; }
.wp-post .wp-author p:not(.wp-author-tag):not(.wp-author-role) { margin-bottom: 14px; }
