/* Blog da Montseguro: design system do site (v2). Sobrio e arquitetonico: muito branco, navy #0A1D33, cantos RETOS, filetes de 1 px,
   montanhas como assinatura, Montserrat nos titulos e Inter no texto. Carregado SO para o site "montseguro" (ver Seo::THEMES).
   Fonte: Montseguro-remake/design-system (tokens.css, DESIGN-SYSTEM.md). Cores e fontes seguem o site no ar. */
@font-face { font-family: "Montserrat Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); }

:root {
  --navy-950: #071628; --navy-900: #0a1d33; --navy-800: #102b4a; --navy-700: #1b3d66;
  --ink: #0a1d33; --mute: #566274; --line: #e3e6eb; --paper: #f5f6f8; --fog: #eceff3; --accent: #2b86c5; --wa: #25d366; --wa-hover: #1da851;
  --post-ink: #27354a;
  --display: "Montserrat Variable", "Inter Variable", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter Variable", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: 20px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy-900); color: #fff; padding: 10px 14px; z-index: 60; font: 600 12px var(--display); }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- botoes e tag (retos) ---- */
.mt-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 1px solid var(--navy-900); background: var(--navy-900); color: #fff; font: 600 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.mt-btn:active { transform: translateY(1px); }
.mt-btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.mt-btn--wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); }
.mt-tag, .label { display: inline-block; width: auto; padding: 6px 12px; background: var(--navy-900); color: #fff; font: 600 10px/1.4 var(--display); letter-spacing: .28em; text-transform: uppercase; border-radius: 0; }
.mt-tag--light { background: #fff; color: var(--navy-900); }
.mt-wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---- cabecalho ---- */
.mt-top { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); }
.mt-top__in { max-width: 1200px; height: 72px; margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mt-top__logo { flex: none; display: block; line-height: 0; }
.mt-top__logo img { height: 28px; width: auto; }
@media (min-width: 768px) { .mt-top__logo img { height: 32px; } }
.mt-nav { display: none; align-items: center; gap: 24px; }
.mt-nav a { position: relative; white-space: nowrap; padding: 8px 0; font: 600 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: rgba(10, 29, 51, .65); transition: color .2s; }
.mt-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 1px; background: var(--navy-900); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.mt-nav a:hover, .mt-nav a.is-active { color: var(--navy-900); }
.mt-nav a:hover::after, .mt-nav a.is-active::after { transform: scaleX(1); }
.mt-top__end { display: flex; align-items: center; gap: 12px; }
.mt-top__wa { display: none; min-height: 44px; padding: 0 20px; letter-spacing: .18em; white-space: nowrap; }
@media (min-width: 640px) { .mt-top__wa { display: inline-flex; } }
@media (min-width: 1280px) { .mt-nav { display: flex; } .mt-menu { display: none; } }
.mt-menu { position: static; }
.mt-menu summary { list-style: none; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.mt-menu summary::-webkit-details-marker { display: none; }
.mt-menu__bars, .mt-menu__bars::before, .mt-menu__bars::after { display: block; width: 22px; height: 2px; background: var(--navy-900); content: ""; }
.mt-menu__bars { position: relative; }
.mt-menu__bars::before { position: absolute; top: -7px; } .mt-menu__bars::after { position: absolute; top: 7px; }
.mt-menu[open] .mt-menu__bars { background: transparent; }
.mt-menu[open] .mt-menu__bars::before { top: 0; transform: rotate(45deg); } .mt-menu[open] .mt-menu__bars::after { top: 0; transform: rotate(-45deg); }
.mt-menu__panel { position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: flex; flex-direction: column; }
.mt-menu__panel a:not(.mt-btn) { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); font: 600 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--navy-900); }
.mt-menu__panel .mt-btn { margin-top: 16px; }

/* ---- hero (indice, autor): neblina + montanhas ---- */
main.reading { min-height: 60svh; }
.blog__head { position: relative; text-align: center; padding: 88px 0 72px; background: url("../montseguro/fundo-hero-neblina.svg") center bottom / cover no-repeat, linear-gradient(to bottom, #dfe3e8, #eef0f3 55%, #fff); }
@media (min-width: 768px) { .blog__head { padding: 120px 0 96px; } }
.blog__head .wrap { max-width: 896px; margin: 0 auto; padding-inline: var(--gutter); }
.blog__head .h2 { margin: 28px 0 0; font: 700 clamp(1.65rem, 4vw, 2.75rem)/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--navy-900); }
.blog__lead { max-width: 640px; margin: 28px auto 0; font-size: 1.0625rem; line-height: 1.7; color: rgba(10, 29, 51, .75); }

/* ---- cabecalho do artigo ---- */
.blog__head--post { background: linear-gradient(to bottom, var(--fog), #fff); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
@media (min-width: 768px) { .blog__head--post { padding: 96px 0 72px; } }
.blog__head--post .wrap { max-width: 768px; }
.blog__head--post .h2 { margin: 24px 0 0; font: 700 clamp(1.6rem, 3.6vw, 2.5rem)/1.2 var(--display); letter-spacing: -.01em; text-transform: none; }
.crumbs { font: 600 11px/1.4 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--navy-900); }
.blog__meta { margin: 24px 0 0; font: 600 11px/1.4 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.byline { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 20px 0 0; font-size: .85rem; color: var(--mute); }
.byline a { color: var(--navy-900); font-weight: 600; text-decoration: none; } .byline a:hover { text-decoration: underline; text-underline-offset: 3px; }
.preview-bar { margin: 0 0 24px; padding: 12px 16px; background: #fff7e6; border: 1px solid #f3c969; color: #6b4a00; font: 600 13px var(--sans); }

/* ---- lista de artigos ---- */
.blog { padding-block: 64px 24px; }
@media (min-width: 768px) { .blog { padding-block: 80px 32px; } }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.blog__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.blog__empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--mute); }
.post-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); background: #fff; text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .post-card:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -28px rgba(10, 29, 51, .35); } }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--fog) url("../montseguro/fundo-hero-neblina.svg") center bottom / cover no-repeat; }
.post-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform .5s var(--ease), filter .5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.03); filter: none; }
.post-card__tag { position: absolute; left: 16px; top: 16px; background: var(--navy-900); color: #fff; padding: 5px 10px; font: 600 10px/1.3 var(--display); letter-spacing: .22em; text-transform: uppercase; }
.post-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
@media (min-width: 768px) { .post-card__body { padding: 28px; } }
.post-card__meta { font: 600 11px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.post-card__t { margin-top: 12px; font: 600 1.125rem/1.35 var(--display); color: var(--navy-900); }
.post-card__p { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__more { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--navy-900); }
.post-card__more span { transition: transform .2s; } .post-card:hover .post-card__more span { transform: translateX(4px); }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { font: 600 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--navy-900); text-decoration: none; }
.pager a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---- artigo ---- */
.blog--post { max-width: 896px; padding-top: 48px; }
.blog__cover { display: block; width: 100%; max-width: 896px; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 auto 48px; }
.blog--post > :not(.blog__cover) { max-width: 720px; margin-inline: auto; }
.prose { font-size: 1.0625rem; line-height: 1.85; color: var(--post-ink); overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 1.25em 0; }
.prose h2, .prose h3, .prose h4 { font-family: var(--display); color: var(--navy-900); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.prose h2 { font-size: 1.6rem; margin: 2.4em 0 .7em; } .prose h3 { font-size: 1.25rem; margin: 2em 0 .6em; } .prose h4 { font-size: 1.05rem; margin: 1.6em 0 .5em; }
.prose a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(43, 134, 197, .5); }
.prose a:hover { text-decoration-color: var(--navy-900); }
.prose ul, .prose ol { margin: 1.25em 0; padding-left: 1.4em; } .prose ul { list-style: square; } .prose ol { list-style: decimal; }
.prose li { margin: .45em 0; padding-left: .2em; } .prose li::marker { color: var(--accent); }
.prose blockquote { margin: 1.8em 0; padding: .4em 0 .4em 1.4em; border-left: 2px solid var(--navy-900); font-family: var(--display); font-size: 1.15rem; line-height: 1.6; color: var(--navy-900); }
.prose img { display: block; max-width: 100%; height: auto; margin: 2em auto; }
.prose figure { margin: 2em 0; } .prose figcaption { margin-top: .6em; font-size: .85rem; color: var(--mute); text-align: center; }
.prose table { display: block; overflow-x: auto; width: 100%; margin: 2em 0; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .7em .9em; text-align: left; vertical-align: top; }
.prose th { background: var(--paper); font-weight: 600; color: var(--navy-900); }
.prose hr { margin: 3em 0; border: 0; border-top: 1px solid var(--line); }
.prose code { font-size: .9em; background: var(--paper); padding: .1em .35em; } .prose pre { overflow: auto; background: var(--navy-900); color: #e5e7eb; padding: 16px; }
.eeat-note { margin: 0 0 32px; padding: 18px 22px; background: var(--paper); border-left: 4px solid var(--accent); }
.eeat-note b { font: 600 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--navy-900); }
.eeat-note p { margin: 8px 0 0; color: var(--post-ink); line-height: 1.7; }
.sources { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.sources h2 { margin: 0 0 12px; font: 600 11px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.sources ol { padding-left: 22px; color: var(--post-ink); font-size: .95rem; line-height: 1.7; } .sources a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.authors { display: grid; gap: 16px; margin-top: 40px; }
.author-box { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); background: #fff; }
.author-box img { width: 72px; height: 72px; object-fit: cover; flex: none; filter: grayscale(1); }
.author-box p { margin: 0 0 6px; }
.author-box__l { font: 600 10px/1.3 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }
.author-box__n { font: 600 1.1rem/1.3 var(--display); } .author-box__n a { text-decoration: none; color: var(--navy-900); } .author-box__n span { display: block; font: 400 .9rem var(--sans); color: var(--mute); }
.author-box__c { font-size: .85rem; font-weight: 500; color: var(--navy-900); } .author-box__b { font-size: .95rem; line-height: 1.7; color: var(--post-ink); }
.author-box__k { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .85rem; } .author-box__k a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .author-box { flex-direction: column; } }
.blog__sub { margin: 48px 0 20px; font: 600 11px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.link { font: 600 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--navy-900); text-decoration: none; } .link:hover { text-decoration: underline; text-underline-offset: 4px; }
.blog__cta { margin-top: 48px; padding: 28px 30px; display: grid; gap: 10px; background: var(--navy-900); color: #fff; }
.blog__cta b { font: 600 1.15rem/1.35 var(--display); } .blog__cta .link { color: #fff; }

/* ---- newsletter ---- */
.news { margin: 56px auto 0; padding: 28px; border: 1px solid var(--line); background: var(--paper); }
.news__t { margin: 0 0 8px; font: 600 1.25rem/1.3 var(--display); color: var(--navy-900); }
.news__p { margin: 0 0 18px; color: var(--mute); font-size: .95rem; line-height: 1.7; }
.news__f { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.news__l { flex-basis: 100%; font: 600 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.news__i { flex: 1 1 240px; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid rgba(10, 29, 51, .3); border-radius: 0; background: #fff; color: var(--navy-900); font: 400 1rem var(--sans); }
.news__i:focus { border-color: var(--navy-900); outline: 2px solid var(--accent); outline-offset: 2px; }
.news__b { height: 48px; padding: 0 26px; border: 1px solid var(--navy-900); background: var(--navy-900); color: #fff; font: 600 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background-color .2s; }
.news__b:hover { background: var(--navy-700); border-color: var(--navy-700); }

/* ---- chamada final e rodape ---- */
.mt-cta { margin-top: 80px; padding: 72px 0; text-align: center; color: #fff; background: var(--navy-900) url("../montseguro/faixa-escura-montes.svg") center bottom / cover no-repeat; }
.mt-cta h2 { max-width: 672px; margin: 24px auto 0; font: 600 clamp(1.5rem, 3vw, 1.75rem)/1.3 var(--display); }
.mt-cta p { max-width: 576px; margin: 16px auto 0; color: rgba(255, 255, 255, .75); }
.mt-cta .mt-btn { margin-top: 32px; }
.mt-foot { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); color: rgba(255, 255, 255, .75); }
.mt-foot__mt { position: absolute; inset: 0 0 0 0; width: 100%; height: 100%; opacity: .09; z-index: -1; pointer-events: none; }
.mt-foot__in { padding-block: 64px 32px; }
.mt-foot__grid { display: grid; gap: 48px; }
@media (min-width: 768px) { .mt-foot__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .mt-foot__grid { grid-template-columns: repeat(4, 1fr); } }
.mt-foot__logo { height: 36px; width: auto; }
.mt-foot__about { max-width: 320px; margin: 24px 0 0; font-size: .875rem; line-height: 1.7; }
.mt-foot__social { display: flex; gap: 8px; margin: 24px 0 0; }
.mt-foot__social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .25); color: #fff; transition: border-color .2s, background-color .2s; }
.mt-foot__social a:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.mt-foot__h { display: inline-block; padding: 4px 10px; background: #fff; color: var(--navy-900); font: 600 10px/1.4 var(--display); letter-spacing: .26em; text-transform: uppercase; }
.mt-foot__list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: .875rem; }
.mt-foot__list a { color: inherit; text-decoration: none; } .mt-foot__list a:hover { color: #fff; }
.mt-foot__bar { display: flex; flex-direction: column; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .75rem; color: rgba(255, 255, 255, .5); }
.mt-foot__bar p { margin: 0; } .mt-foot__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; } .mt-foot__legal a { color: inherit; text-decoration: none; } .mt-foot__legal a:hover { color: #fff; }
@media (min-width: 768px) { .mt-foot__bar { flex-direction: row; align-items: center; justify-content: space-between; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* =====================================================================================================================
   Visual "guias" (indice e artigo): capas em cartoes solidos, topo "mapa de trilha", secoes numeradas por categoria,
   sumario "Neste guia" e marcacoes do modelo de artigo (docs/blog/modelo-artigo.html: resumo, fala, passos, botao, aviso).
   Inspirado na estrutura de guias de conteudo, traduzido para o design system da marca. Sem JavaScript e sem estilo inline
   (CSP): posicoes dos picos e das guias vem das classes abaixo.
   ===================================================================================================================== */
.gd { position: relative; overflow: hidden; overflow: clip; }   /* clip (nao hidden): o sumario sticky precisa que .gd nao seja um contêiner de rolagem */
.gd-guides { pointer-events: none; position: absolute; inset: 0; z-index: 0; }
.gd-guides i { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed rgba(10, 29, 51, .07); }
.gd > *:not(.gd-guides) { position: relative; z-index: 1; }

/* ---- hero ---- */
.gd-hero { position: relative; background: linear-gradient(#dfe3e8, #eef0f3 45%, #fff); padding: 72px 0 0; }
.gd-hero__txt { padding-top: 8px; }
.gd-hero__crumb { font: 600 11px/1.4 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.gd-hero h1 { margin: 22px 0 0; font: 700 clamp(1.75rem, 4.4vw, 2.9rem)/1.15 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--navy-900); }
.gd-hero p { max-width: 460px; margin: 22px 0 0; font-size: 1.0625rem; line-height: 1.7; color: var(--mute); }

/* ---- capa (cartao retrato) ---- */
.gc { --bg: var(--navy-900); --fg: #fff; --sub: rgba(255, 255, 255, .62); --ln: rgba(255, 255, 255, .22);
  position: relative; display: flex; flex-direction: column; aspect-ratio: 3 / 4; padding: 22px 22px 0; overflow: hidden;
  background: var(--bg); color: var(--fg); text-decoration: none; border-radius: 0;
  box-shadow: 0 44px 80px -44px rgba(10, 29, 51, .55); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.gc:hover { transform: translateY(-4px); box-shadow: 0 50px 90px -40px rgba(10, 29, 51, .6); }
.gc__cat { font: 600 10px/1.4 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--sub); }
.gc__t { position: relative; z-index: 1; margin-top: 12px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; font: 600 clamp(1.02rem, 1.6vw, 1.32rem)/1.28 var(--display); color: var(--fg); }
.gc { --pf-line: rgba(255, 255, 255, .8); --pf-echo: rgba(255, 255, 255, .16); --pf-dot: #7dd3fc; }
.gc--light, .gc--paper { --pf-line: rgba(10, 29, 51, .55); --pf-echo: rgba(10, 29, 51, .12); --pf-dot: var(--navy-900); }
.gc--accent { --pf-dot: #fff; }
.gc__go { position: absolute; left: 22px; bottom: 20px; font: 600 10px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--fg); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.gc:hover .gc__go, .gc:focus-visible .gc__go { opacity: 1; transform: none; }
.gc--deep { --bg: var(--navy-800); }
.gc--mid { --bg: var(--navy-700); }
.gc--accent { --bg: var(--accent); --sub: rgba(255, 255, 255, .78); --ln: rgba(255, 255, 255, .32); }
.gc--light { --bg: #fff; --fg: var(--navy-900); --sub: var(--mute); --ln: rgba(10, 29, 51, .16); box-shadow: inset 0 0 0 1px var(--line), 0 44px 80px -52px rgba(10, 29, 51, .35); }
.gc--paper { --bg: var(--paper); --fg: var(--navy-900); --sub: var(--mute); --ln: rgba(10, 29, 51, .14); box-shadow: inset 0 0 0 1px var(--line); }
.gc--paper:hover, .gc--light:hover { box-shadow: inset 0 0 0 1px var(--navy-900), 0 44px 80px -52px rgba(10, 29, 51, .35); }

/* ---- secoes por categoria ---- */
.gd-sec { padding-block: 72px 8px; }
@media (min-width: 1024px) { .gd-sec { padding-top: 104px; } }
.gd-sec__head { display: grid; gap: 16px; align-items: end; margin-bottom: 36px; }
@media (min-width: 768px) { .gd-sec__head { grid-template-columns: 1fr auto; } }
.gd-num { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.gd-num img { width: 9px; height: 36px; }
.gd-num b { font: 300 48px/1 var(--display); color: rgba(10, 29, 51, .1); }
.gd-sec h2 { margin: 0; font: 600 clamp(1.5rem, 2.6vw, 2rem)/1.2 var(--display); color: var(--navy-900); }
.gd-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 78%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 28px; margin: -4px -4px 0; list-style: none; }
.gd-row > li { scroll-snap-align: start; }
@media (min-width: 640px) { .gd-row { grid-auto-columns: minmax(230px, 42%); } }
@media (min-width: 1024px) { .gd-row { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; gap: 24px; } }
.gd-meta { display: block; margin-top: 14px; font: 600 10px/1.4 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }

/* ---- newsletter: painel claro (papel), colado na faixa navy de WhatsApp do rodape ---- */
.gd-news { position: relative; margin-top: 112px; padding: 64px 0; background: var(--paper); border-top: 1px solid var(--line); overflow: hidden; }
.gd-news__in { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .gd-news__in { grid-template-columns: 5fr 6fr; gap: 72px; } }
.gd-news__l { font: 600 11px/1.4 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.gd-news h2 { margin: 14px 0 0; font: 600 clamp(1.4rem, 2.4vw, 1.75rem)/1.25 var(--display); color: var(--navy-900); }
.gd-news h2 .nw { white-space: nowrap; }
.gd-news p { margin: 12px 0 0; max-width: 440px; color: var(--mute); line-height: 1.7; }
.gd-news__lab { display: block; margin-bottom: 8px; font: 600 10px/1.4 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--navy-900); }
.gd-news__row { display: flex; background: #fff; border: 1px solid rgba(10, 29, 51, .22); }
.gd-news__row:focus-within { border-color: var(--navy-900); outline: 2px solid var(--accent); outline-offset: 2px; }
.gd-news input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 0; background: transparent; color: var(--navy-900); font: 400 15px var(--sans); }
.gd-news input:focus { outline: none; }
.gd-news input::placeholder { color: rgba(10, 29, 51, .45); }
.gd-news button { flex: none; padding: 0 24px; border: 0; background: var(--navy-900); color: #fff; font: 600 11px var(--display); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.gd-news button:hover { background: var(--navy-700); }
.gd-news small { display: block; margin-top: 10px; color: var(--mute); font-size: 12px; }
.gd-news__mt { position: absolute; right: -20px; bottom: -8px; width: 360px; color: var(--navy-900); opacity: .07; line-height: 0; pointer-events: none; }
@media (max-width: 639px) { .gd-news { padding: 48px 0; } .gd-news__row { flex-direction: column; background: transparent; border: 0; gap: 10px; } .gd-news__row:focus-within { outline: 0; } .gd-news input { flex: none; height: 52px; background: #fff; border: 1px solid rgba(10, 29, 51, .22); } .gd-news button { height: 52px; } .gd-news__mt { width: 220px; } }
/* sem vao branco entre a newsletter e a faixa de WhatsApp do rodape */
#root:has(.gd-news) + .mt-cta { margin-top: 0; }

/* ---- artigo ---- */
.ga-head { position: relative; background: linear-gradient(#dfe3e8, #eef0f3 45%, #fff); padding: 56px 0 0; }
.ga-head__in { position: relative; z-index: 1; display: grid; gap: 32px; padding-bottom: 104px; }
@media (min-width: 1024px) { .ga-head__in { grid-template-columns: 1fr 300px; gap: 72px; align-items: start; padding-bottom: 136px; } }
.ga-crumbs { font: 600 11px/1.4 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.ga-crumbs a { color: var(--navy-900); text-decoration: none; } .ga-crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ga-head h1 { margin: 22px 0 0; font: 600 clamp(1.85rem, 4.2vw, 3rem)/1.16 var(--display); color: var(--navy-900); max-width: 760px; }
.ga-lead { max-width: 640px; margin: 20px 0 0; font-size: 1.125rem; line-height: 1.7; color: var(--mute); }
.ga-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 26px; font: 600 10px/1.4 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.ga-meta b { color: var(--navy-900); }
.ga-head .mt-btn { margin-top: 30px; }
.ga-card { border-top: 4px solid var(--navy-900); background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 24px; }
.ga-card__l { font: 600 10px/1.4 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.ga-card__l--sep { display: block; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.ga-person { display: flex; align-items: center; gap: 14px; margin-top: 14px; color: inherit; text-decoration: none; }
.ga-person b { display: block; font: 600 15px/1.3 var(--display); color: var(--navy-900); }
.ga-person small { display: block; margin-top: 3px; font: 600 10px/1.4 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
a.ga-person:hover b { text-decoration: underline; text-underline-offset: 4px; }
.ga-av { flex: none; display: grid; place-items: center; width: 48px; height: 48px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font: 600 14px var(--display); letter-spacing: .06em; color: var(--navy-900); }
.ga-av--dark { background: var(--navy-900); color: #fff; box-shadow: none; }
.ga-av img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); }
.ga-bio { margin: 14px 0 0; font-size: 14px; line-height: 1.65; color: var(--post-ink); }
.ga-card__go { display: inline-flex; gap: 8px; margin-top: 14px; font: 600 11px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--navy-900); text-decoration: none; }
.ga-card__go span { transition: transform .2s var(--ease); } .ga-card__go:hover span { transform: translateX(4px); }
.ga-band { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; z-index: 0; pointer-events: none; display: block; }
.ga-body { display: grid; gap: 40px; padding: 24px 0 40px; }
@media (min-width: 1024px) { .ga-body { grid-template-columns: 240px minmax(0, 720px); gap: 72px; } }
.ga-toc { align-self: start; }
@media (min-width: 1024px) { .ga-toc { position: sticky; top: 104px; } }
.ga-toc__t { font: 600 10px/1.4 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
.ga-toc ol { list-style: none; margin: 14px 0 0; padding: 0; border-left: 1px solid var(--line); counter-reset: toc; }
.ga-toc li { counter-increment: toc; }
.ga-toc a { display: flex; gap: 10px; margin-left: -1px; padding: 8px 0 8px 16px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.45; color: var(--mute); text-decoration: none; }
.ga-toc a::before { content: counter(toc, decimal-leading-zero); font: 300 13px/1.45 var(--display); color: rgba(10, 29, 51, .35); }
.ga-toc a:hover { color: var(--navy-900); }
.ga-toc a.is-on { border-left-color: var(--navy-900); color: var(--navy-900); font-weight: 600; }
@media (max-width: 1023px) { .ga-toc { padding: 18px 20px; background: var(--paper); } }
.ga-prose { font-size: 1.0625rem; line-height: 1.85; color: var(--post-ink); }
.ga-prose h2 { margin: 56px 0 14px; scroll-margin-top: 96px; font: 600 1.6rem/1.3 var(--display); color: var(--navy-900); }
.ga-prose h2:first-child { margin-top: 0; }
.ga-prose p { margin: 0 0 18px; }
.ga-prose ul { padding-left: 20px; } .ga-prose li { margin-bottom: 8px; }
.ga-more { padding-block: 40px 24px; border-top: 1px solid var(--line); margin-top: 32px; }
.ga-more h2 { margin: 0 0 28px; font: 600 1.5rem/1.2 var(--display); color: var(--navy-900); }
.ga-more .gd-row { grid-auto-columns: minmax(230px, 78%); }
@media (min-width: 1024px) { .ga-more .gd-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) { .gc, .gc__go { transition: none; } .gc:hover { transform: none; } }

/* ---- topo singular: "mapa de trilha" (cordilheira em curvas de nivel; guias fincados nos picos) ---- */
.gd-hero--range { padding: 72px 0 0; }
.gd-hero--range .gd-hero__txt { position: relative; z-index: 2; padding-bottom: 8px; }
.gd-range { position: relative; height: 460px; margin-top: -40px; }
.gd-range__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gd-range__pins { position: absolute; inset: 0; }
.gd-pin { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; text-decoration: none; color: inherit; }
.gd-pin__dot { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; background: #fff; border: 2px solid var(--navy-900); border-radius: 50%; }
.gd-pin__line { position: absolute; left: 0; bottom: 0; height: var(--l); border-left: 1px dashed var(--navy-900); }
.gd-pin__line::before { content: ""; position: absolute; left: -3.5px; top: -3px; width: 6px; height: 6px; background: var(--navy-900); border-radius: 50%; }
.gd-pin__card { position: absolute; left: 0; bottom: var(--l); transform: translate(-50%, -6px); width: min(220px, 15.5vw); padding: 18px 18px 16px; background: #fff; border-top: 3px solid var(--navy-900); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -36px rgba(10, 29, 51, .5); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.gd-pin:hover .gd-pin__card, .gd-pin:focus-visible .gd-pin__card { transform: translate(-50%, -12px); box-shadow: inset 0 0 0 1px var(--navy-900), 0 36px 70px -36px rgba(10, 29, 51, .55); }
.gd-pin__n { position: absolute; right: 16px; top: 10px; font: 300 30px/1 var(--display); color: rgba(10, 29, 51, .12); }
.gd-pin__cat { display: block; font: 600 10px/1.4 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--accent); padding-right: 40px; }
.gd-pin__t { display: block; margin-top: 8px; font: 600 1.02rem/1.32 var(--display); color: var(--navy-900); }
.gd-pin__m { display: block; margin-top: 12px; font: 600 10px/1.4 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.gd-pin__m span { display: inline-block; transition: transform .2s var(--ease); } .gd-pin:hover .gd-pin__m span { transform: translateX(4px); }
.gd-pin.is-main .gd-pin__card { background: var(--navy-900); border-top-color: var(--accent); box-shadow: 0 40px 70px -34px rgba(10, 29, 51, .65); }
.gd-pin.is-main .gd-pin__t { color: #fff; font-size: 1.14rem; }
.gd-pin.is-main .gd-pin__cat { color: #7dd3fc; }
.gd-pin.is-main .gd-pin__m { color: rgba(255, 255, 255, .7); }
.gd-pin.is-main .gd-pin__n { color: rgba(255, 255, 255, .14); }
.gd-pin.is-main .gd-pin__dot { background: var(--accent); border-color: var(--accent); }
.gd-range__alt { position: absolute; left: max(var(--gutter), calc((100% - 1200px) / 2 + var(--gutter))); bottom: 40px; display: flex; flex-direction: column; gap: 18px; padding-left: 12px; border-left: 1px solid rgba(10, 29, 51, .25); }
.gd-range__alt i { font: 600 9px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; font-style: normal; color: var(--mute); writing-mode: vertical-rl; transform: rotate(180deg); position: absolute; left: -26px; bottom: 0; }
.gd-range__alt b { display: block; width: 14px; height: 1px; background: rgba(10, 29, 51, .35); margin-left: -12px; }
@media (min-width: 1200px) {
  .gd-hero--range { padding-top: 88px; }
  .gd-hero--range .gd-hero__txt > * { max-width: 470px; }
  .gd-range { margin-top: -150px; }
}
/* tela menor: os picos viram uma trilha vertical numerada */
@media (max-width: 1199px) {
  .gd-range { height: auto; margin-top: 32px; padding-bottom: 48px; }
  .gd-range__svg { top: auto; bottom: 0; height: 220px; opacity: .8; }
  .gd-range__alt { display: none; }
  .gd-range__pins { position: relative; inset: auto; display: grid; gap: 14px; max-width: 640px; padding: 0 var(--gutter) 120px; border-left: 0; }
  @media (min-width: 640px) { .gd-range__pins { margin-left: max(0px, calc((100% - 1200px) / 2)); padding-left: var(--gutter); } }
  .gd-pin { display: block; position: relative; left: auto; top: auto; width: auto; height: auto; padding-left: 28px; }
  .gd-pin::before { content: ""; position: absolute; left: 6px; top: 0; bottom: -14px; border-left: 1px dashed rgba(10, 29, 51, .35); }
  .gd-pin:last-child::before { bottom: 50%; }
  .gd-pin__dot { left: 1px; top: 22px; }
  .gd-pin__line { display: none; }
  .gd-pin__card { display: block; position: relative; left: auto; bottom: auto; transform: none; width: auto; }
  .gd-pin:hover .gd-pin__card { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .gd-pin__card, .gd-pin__m span { transition: none; } }

/* ---- secao em trilha: destaque + lista numerada ---- */
.tr-grid { display: grid; gap: 24px; }
@media (min-width: 1024px) { .tr-grid { grid-template-columns: 7fr 5fr; gap: 40px; align-items: stretch; } }
.tr-main { --pf-line: rgba(255, 255, 255, .8); --pf-echo: rgba(255, 255, 255, .16); --pf-dot: #7dd3fc;
  position: relative; display: flex; flex-direction: column; min-height: 360px; padding: 32px 32px 0; overflow: hidden; background: var(--navy-900); color: #fff; text-decoration: none;
  border-top: 3px solid var(--accent); box-shadow: 0 44px 80px -44px rgba(10, 29, 51, .55); transition: transform .35s var(--ease); }
.tr-main:hover { transform: translateY(-4px); }
.tr-main__l { font: 600 10px/1.4 var(--display); letter-spacing: .26em; text-transform: uppercase; color: #7dd3fc; }
.tr-main__t { margin-top: 14px; max-width: 520px; font: 600 clamp(1.45rem, 2.4vw, 2rem)/1.2 var(--display); }
.tr-main__p { margin-top: 14px; max-width: 520px; font-size: 1rem; line-height: 1.65; color: rgba(255, 255, 255, .72); }
.tr-meta { display: block; margin-top: 12px; font: 600 10px/1.4 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.tr-meta--light { margin-top: 18px; color: rgba(255, 255, 255, .6); }
.tr-main__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-top: 18px; }
.tr-main__foot .tr-meta--light { margin-top: 0; }
.tr-main__go { font: 600 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.tr-main__go span { display: inline-block; transition: transform .2s var(--ease); } .tr-main:hover .tr-main__go span { transform: translateX(4px); }
.tr-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); display: grid; }
.tr-item { --pf-line: rgba(10, 29, 51, .45); --pf-echo: rgba(10, 29, 51, .12);
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 96px; gap: 16px; align-items: center; height: 100%; padding: 22px 12px 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .2s; }
.tr-item::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 2px; background: var(--navy-900); transition: width .35s var(--ease); }
.tr-item:hover { background: var(--paper); --pf-line: var(--navy-900); --pf-echo: rgba(10, 29, 51, .22); }
.tr-item:hover::before { width: 100%; }
.tr-item__n { align-self: start; padding-left: 8px; font: 300 28px/1 var(--display); color: rgba(10, 29, 51, .2); }
.tr-item__b b { display: block; font: 600 1.04rem/1.35 var(--display); color: var(--navy-900); }
.tr-item__p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--mute); }
.tr-item .tr-meta { margin-top: 10px; }
@media (max-width: 639px) { .tr-main { min-height: 340px; padding: 24px 24px 0; } .tr-main__pf { margin-inline: -24px; } .tr-item { grid-template-columns: 36px minmax(0, 1fr) 64px; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .tr-main, .tr-item, .tr-item::before { transition: none; } .tr-main:hover { transform: none; } }

/* ---- versao minimalista: cartoes solidos; so o motivo fixo da marca (montes em traco) no canto ---- */
.gc__mt { position: absolute; right: -6px; bottom: -4px; width: 72%; color: #fff; opacity: .14; transition: transform .6s var(--ease); line-height: 0; }
.gc--light .gc__mt, .gc--paper .gc__mt { color: var(--navy-900); opacity: .12; }
.gc:hover .gc__mt { transform: translateX(8px); }
.mt-motif, .gd-motif { display: block; width: 100%; height: auto; }
.gc { aspect-ratio: 4 / 5; }
.gc__go { opacity: 1; transform: none; color: var(--fg); opacity: .8; }
.tr-main { min-height: 320px; padding-bottom: 32px; }
.tr-main__mt { position: absolute; right: -10px; bottom: -6px; width: 46%; max-width: 360px; color: #fff; opacity: .1; line-height: 0; transition: transform .6s var(--ease); }
.tr-main:hover .tr-main__mt { transform: translateX(8px); }
.tr-main__foot { margin-top: auto; padding-top: 28px; }
.tr-item { grid-template-columns: 44px minmax(0, 1fr); }
@media (max-width: 639px) { .tr-item { grid-template-columns: 36px minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .gc__mt, .tr-main__mt { transition: none; } }

/* ---- chamada final (tema): faixa que esmaece ate a cor do rodape; montanhas so em traco ---- */
.mt-cta--v2 { position: relative; overflow: hidden; padding: 88px 0 72px; text-align: left; background: linear-gradient(var(--navy-900) 0%, var(--navy-900) 35%, var(--navy-950) 100%); }
.mt-cta__mt { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 72%; -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); pointer-events: none; }
.mt-cta__in { position: relative; display: grid; gap: 36px; align-items: center; }
.mt-cta--v2 h2 { max-width: 620px; margin: 22px 0 0; font: 600 clamp(1.5rem, 2.8vw, 2rem)/1.25 var(--display); }
.mt-cta--v2 p { max-width: 560px; margin: 14px 0 0; color: rgba(255, 255, 255, .72); line-height: 1.7; }
.mt-cta__act { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.mt-cta--v2 .mt-btn { margin-top: 0; min-width: 260px; }
.mt-cta__tel { display: flex; flex-direction: column; gap: 4px; color: #fff; text-decoration: none; }
.mt-cta__tel span { font: 600 10px/1.4 var(--display); letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.mt-cta__tel b { font: 300 1.75rem/1.1 var(--display); letter-spacing: .02em; }
.mt-cta__tel:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
@media (min-width: 1024px) {
  .mt-cta__in { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; }
  .mt-cta__act { padding-left: 48px; border-left: 1px solid rgba(255, 255, 255, .14); }
}
@media (max-width: 639px) { .mt-cta--v2 { padding: 64px 0 88px; } .mt-cta--v2 .mt-btn { width: 100%; min-width: 0; } }
/* separacao com o rodape: faixa em navy de marca (#0a1d33) sobre o rodape mais escuro (#071628) + divisa dos dois montes na emenda */
.mt-cta--v2 { background: var(--navy-900); padding-bottom: 96px; }
.mt-cta__mt { -webkit-mask-image: linear-gradient(#000 20%, transparent 85%); mask-image: linear-gradient(#000 20%, transparent 85%); }
.mt-cta__seam { position: absolute; left: 0; right: 0; bottom: 0; height: 0; }
.mt-cta__divisa { position: absolute; left: var(--gutter); bottom: -1px; width: 84px; height: auto; display: block; fill: var(--navy-950); }

/* ---- cabecalho igual ao institucional (montseguro.com.br): 73 px, menu centralizado, itens a 65%; WhatsApp flutuante ---- */
@media (min-width: 1024px) {
  .mt-top__in { display: grid; grid-template-columns: 1fr auto 1fr; }
  .mt-nav { justify-self: center; gap: 24px; }
  .mt-top__end { justify-self: end; }
}
.mt-top__in { height: 72px; }
.mt-nav a { color: rgba(10, 29, 51, .65); }
.mt-nav a:hover, .mt-nav a.is-active { color: var(--navy-900); }
.mt-float-wa { position: fixed; right: 28px; bottom: 28px; z-index: 70; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, .35); transition: background .2s, transform .2s var(--ease); }
.mt-float-wa:hover { background: var(--wa-hover); transform: translateY(-2px); }
.mt-float-wa:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 639px) { .mt-float-wa { right: 16px; bottom: 16px; } }

/* ---- marcacoes do modelo de artigo (docs/blog/modelo-artigo.html) ---- */
.ga-prose .resumo { margin: 0 0 40px; padding: 24px 28px; background: var(--paper); border-top: 4px solid var(--navy-900); box-shadow: inset 0 0 0 1px var(--line); }
.ga-prose .resumo__t { margin: 0 0 12px; font: 600 10px/1.4 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.ga-prose .resumo ul { margin: 0; padding-left: 20px; } .ga-prose .resumo li { margin-bottom: 8px; line-height: 1.65; }
.ga-prose .fala { margin: 32px 0; padding: 22px 28px; background: #fff; border-left: 4px solid var(--accent); box-shadow: inset 0 0 0 1px var(--line); }
.ga-prose .fala p { margin: 0; font: 600 1.14rem/1.6 var(--display); color: var(--navy-900); }
.ga-prose .passos { list-style: none; counter-reset: passo; margin: 28px 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ga-prose .passos li { counter-increment: passo; position: relative; margin: 0; padding: 20px 22px 20px 82px; background: #fff; line-height: 1.65; }
.ga-prose .passos li::before { content: counter(passo, decimal-leading-zero); position: absolute; left: 22px; top: 17px; font: 300 32px/1 var(--display); color: rgba(10, 29, 51, .22); }
.ga-prose .passos li strong { color: var(--navy-900); }
@media (max-width: 639px) { .ga-prose .passos li { padding-left: 66px; } .ga-prose .passos li::before { left: 16px; } }
.ga-prose h3 { margin: 32px 0 10px; font: 600 1.2rem/1.35 var(--display); color: var(--navy-900); }
.ga-prose table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: .95rem; }
.ga-prose th, .ga-prose td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.ga-prose th { background: var(--paper); font: 600 11px/1.4 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--navy-900); }
.ga-prose figure { margin: 32px 0; } .ga-prose figure img { display: block; width: 100%; height: auto; }
.ga-prose figcaption { margin-top: 10px; font-size: 13px; color: var(--mute); }
.ga-prose a { color: var(--navy-900); text-underline-offset: 3px; }
.ga-prose a.botao { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; background: var(--wa); color: #fff; font: 600 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.ga-prose a.botao:hover { background: var(--wa-hover); }
.ga-prose .aviso { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--mute); }

/* ---- ajustes do tema real ---- */
.gd-guides__in { position: relative; height: 100%; }
.gd-guides i:nth-child(1) { left: 0; } .gd-guides i:nth-child(2) { left: 25%; } .gd-guides i:nth-child(3) { left: 50%; } .gd-guides i:nth-child(4) { left: 75%; } .gd-guides i:nth-child(5) { left: 100%; }
.gd-pin--a { --x: 58.333%; --y: 220px; --l: 84px; }
.gd-pin--b { --x: 74.653%; --y: 100px; --l: 64px; }
.gd-pin--c { --x: 90.972%; --y: 160px; --l: 84px; }
.gd-empty { padding-block: 72px 24px; text-align: center; color: var(--mute); }
.gd .pager { margin-top: 40px; }
.ga-crumbs i { margin: 0 10px; opacity: .5; font-style: normal; }
.ga-meta a { color: var(--navy-900); font-weight: 700; text-decoration: none; }
.ga-meta a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ga-head .preview-bar { margin-bottom: 24px; }
@media (min-width: 1024px) { .ga-head__in--solo { grid-template-columns: 1fr; } .ga-body--solo { grid-template-columns: minmax(0, 720px); } }
.ga-prose { overflow-wrap: anywhere; }
@media (min-width: 1024px) { .ga-toc { max-height: calc(100vh - 136px); overflow-y: auto; padding-right: 8px; } }   /* guias longos: o sumario rola sozinho */
.ga-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 32px; }
.ga-prose ul { list-style: square; } .ga-prose ol { list-style: decimal; padding-left: 1.4em; } .ga-prose li::marker { color: var(--accent); }
.ga-prose blockquote:not(.fala) { margin: 1.8em 0; padding: .4em 0 .4em 1.4em; border-left: 2px solid var(--navy-900); font: 600 1.1rem/1.6 var(--display); color: var(--navy-900); }
.ga-prose hr { margin: 3em 0; border: 0; border-top: 1px solid var(--line); }
.ga-prose code { font-size: .9em; background: var(--paper); padding: .1em .35em; } .ga-prose pre { overflow: auto; background: var(--navy-900); color: #e5e7eb; padding: 16px; } .ga-prose pre code { background: none; padding: 0; }
.ga-prose table { display: block; overflow-x: auto; }
.ga-prose .passos { list-style: none; }
.ga-prose .eeat-note { margin-bottom: 32px; }
.ga-prose .sources h2 { margin: 0 0 12px; scroll-margin-top: 0; font: 600 11px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.ga-prose .blog__cta { margin-top: 48px; }
/* cabecalho do artigo com a assinatura do indice: neblina + cordilheira em curvas de nivel (no lugar das faixas diagonais) */
.ga-range { position: absolute; left: 0; right: 0; bottom: 0; height: 190px; z-index: 0; pointer-events: none; }
.ga-head__in { padding-bottom: 150px; }
@media (min-width: 1024px) { .ga-head__in { padding-bottom: 180px; } }
@media (max-width: 639px) { .ga-range { height: 130px; } .ga-head__in { padding-bottom: 110px; } }
/* sumario longo: barra de rolagem discreta */
.ga-toc { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }

/* ---- foto do autor: sempre redonda, mesmo tamanho, recortada no centro sem deformar (qualquer proporcao de foto) ---- */
.ga-av { position: relative; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; }
.ga-av img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; object-position: 50% 20%; border-radius: 50%; filter: none; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; filter: none; }

/* ---- sumario "Neste guia" em fio de leitura: pontos que acendem, linha que enche, sem barra de rolagem ---- */
.ga-toc { max-height: none; overflow: visible; padding-right: 0; scrollbar-width: auto; }
.ga-toc__h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ga-toc__n { font: 600 11px/1 var(--sans); letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--accent); }
.ga-toc ol { position: relative; margin: 14px 0 0; padding: 0; border-left: 0; counter-reset: none; max-height: calc(100vh - 220px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(transparent, #000 22px, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(transparent, #000 22px, #000 calc(100% - 34px), transparent); }
.ga-toc ol::-webkit-scrollbar { display: none; }
.ga-toc li { position: relative; counter-increment: none; }
.ga-toc li::before { content: ""; position: absolute; left: 4px; top: 0; bottom: 0; width: 2px; background: var(--line); }        /* trilho */
.ga-toc li:first-child::before { top: 14px; }
.ga-toc li:last-child::before { bottom: auto; height: 14px; }
.ga-toc li::after { content: ""; position: absolute; left: 4px; top: 0; width: 2px; height: 0; background: var(--toc-fill, var(--navy-900)); }   /* trecho ja lido */
.ga-toc li:first-child::after { top: 14px; }
.ga-toc li.is-past::after { height: 100%; }
.ga-toc li.is-past:last-child::after { height: 14px; }
.ga-toc li.is-on::after { height: calc(var(--f, 0) * 100%); }
.ga-toc a { position: relative; display: block; margin: 0; padding: 7px 0 7px 26px; border-left: 0; font-size: 14px; line-height: 1.4; color: var(--mute);
  text-decoration: none; transition: color .25s var(--ease), transform .25s var(--ease);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ga-toc a::before { content: none; }
.ga-toc a::after { content: ""; position: absolute; left: 0; top: 14px; width: 10px; height: 10px; margin-top: -5px; box-sizing: border-box; border-radius: 50%; background: #fff; border: 2px solid var(--line); z-index: 1;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.ga-toc li.is-past a { color: color-mix(in srgb, var(--ink) 68%, #fff); }
.ga-toc li.is-past a::after { background: var(--toc-fill, var(--navy-900)); border-color: var(--toc-fill, var(--navy-900)); }
.ga-toc a:hover { color: var(--ink); transform: translateX(2px); }
.ga-toc a:hover::after { border-color: var(--accent); transform: translateX(-2px); }   /* o link desliza; o ponto fica preso ao trilho */
.ga-toc a.is-on { color: var(--ink); font-weight: 600; border-left: 0; transform: translateX(3px); }
.ga-toc a.is-on::after { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); transform: translateX(-3px); }
.ga-toc a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 1023px) { .ga-toc ol { max-height: 260px; } }
@media (prefers-reduced-motion: reduce) { .ga-toc a, .ga-toc a::after { transition: none; } .ga-toc a:hover, .ga-toc a.is-on, .ga-toc a:hover::after, .ga-toc a.is-on::after { transform: none; } }

/* ---- artigo em 3 colunas (a partir de 1200px): sumario | texto | cartao do autor. O cartao nasce no topo, ao lado do titulo, e
   acompanha a rolagem (sticky) ate o fim do texto. Abaixo de 1200px o cartao vira um bloco logo depois do cabecalho. ---- */
.gd--post > .ga-card { position: relative; z-index: 3; max-width: 560px; margin: -90px var(--gutter) 0; margin-left: max(var(--gutter), calc((100% - 1136px) / 2)); }
@media (min-width: 1200px) {
  .gd--post { display: grid; grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [c-start] 190px 40px minmax(0, 610px) 40px 256px [c-end] minmax(var(--gutter), 1fr) [full-end]; align-items: start; }
  .gd--post > .gd-guides { grid-column: full-start / full-end; grid-row: 1 / -1; }
  .gd--post > .ga-head { grid-column: full-start / full-end; grid-row: 1; align-self: stretch; }
  .gd--post .ga-head__in { grid-template-columns: 1fr; }
  .gd--post .ga-head__in > div { max-width: calc(100% - 296px); }
  .gd--post > .ga-card { grid-column: 6; grid-row: 1 / 3; align-self: start; position: sticky; top: 96px; z-index: 3; max-width: none; margin: 56px 0 0; max-height: calc(100vh - 120px); overflow-y: auto; scrollbar-width: none; }
  .gd--post > .ga-card::-webkit-scrollbar { display: none; }
  .gd--post .ga-body { display: contents; }
  .gd--post .ga-toc { grid-column: 2; grid-row: 2; margin-top: 24px; }
  .gd--post .ga-prose { grid-column: 4; grid-row: 2; margin: 24px 0 40px; }
  .gd--post .ga-body--solo .ga-prose { grid-column: 2 / 5; max-width: 720px; }
  .gd--post > .ga-more, .gd--post > .gd-news { grid-column: full-start / full-end; grid-row: auto; }
  .gd--post > .ga-more { padding-inline: max(var(--gutter), calc((100% - 1136px) / 2)); max-width: none; margin: 0; }
}

/* ---- cartao do autor compacto: resumo em ate 5 linhas, texto menor e link numa linha so, como rodape do cartao ---- */
.ga-card { padding: 20px 20px 16px; }
.ga-person { gap: 12px; margin-top: 12px; }
.ga-person b { font-size: 15px; }
.ga-bio { margin: 12px 0 0; font-size: 13.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.ga-card__go { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .14em; white-space: nowrap; }
.ga-card__go:hover { color: var(--accent); }

/* ==== leitura no celular e no tablet (abaixo de 1200px o artigo e uma coluna so) ==== */
/* margem lateral do texto: ".ga-body { padding: 24px 0 }" zerava a do .mt-wrap e o texto encostava na borda da tela */
.ga-body { padding-inline: var(--gutter); }
@media (max-width: 1023px) { .ga-body { grid-template-columns: minmax(0, 1fr); } }   /* minmax: tabela larga nao estica a coluna */
.ga-prose { overflow-wrap: break-word; }                 /* "anywhere" partia palavras no meio dentro das tabelas */
@media (max-width: 1023px) {
  /* tablet e celular: coluna de leitura centralizada (~65 caracteres), cabecalho e cartao do autor alinhados com ela */
  .ga-body, .gd--post .ga-head__in { max-width: calc(680px + 2 * var(--gutter)); }
  .gd--post > .ga-card { width: auto; max-width: 680px; margin-left: max(var(--gutter), calc((100% - 680px) / 2)); margin-right: max(var(--gutter), calc((100% - 680px) / 2)); }
}
@media (max-width: 639px) {
  .ga-crumbs { font-size: 12px; letter-spacing: .14em; }
  .ga-lead { font-size: 1.0625rem; line-height: 1.6; }
  .ga-meta { flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 22px; font: 500 13px/1.5 var(--sans); letter-spacing: 0; text-transform: none; }
  .ga-head .mt-btn { width: 100%; }
  .ga-prose { font-size: 1.0625rem; line-height: 1.7; }
  .ga-prose p { margin-bottom: 1.15em; }
  .ga-prose h2 { margin-top: 44px; font-size: 1.4rem; line-height: 1.28; }
  .ga-prose h3 { margin-top: 28px; font-size: 1.125rem; }
  .ga-prose ul, .ga-prose ol { padding-left: 1.25em; }
  .ga-prose .resumo { margin-bottom: 32px; padding: 20px 18px; }
  .ga-prose .fala { padding: 18px 18px; }
  .ga-prose .fala p { font-size: 1.06rem; }
  .ga-prose blockquote:not(.fala) { padding-left: 1em; font-size: 1.02rem; }
  .ga-prose a.botao { display: flex; justify-content: center; width: 100%; padding: 0 16px; text-align: center; line-height: 1.3; }
  .ga-toc { padding: 16px 18px; }
}

/* ---- tabelas (classes postas pelo servidor, Guias::tables) ---- */
.ga-prose th, .ga-prose td { overflow-wrap: normal; hyphens: auto; }
/* larga (5+ colunas ou celulas mescladas): rola so dentro da tabela; sombra na borda avisa que tem mais; 1a coluna fixa */
.ga-prose .tb-scroll { margin: 24px 0; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  background: linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, 0)) left / 32px 100% no-repeat local, linear-gradient(270deg, #fff 30%, rgba(255, 255, 255, 0)) right / 32px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(10, 29, 51, .16), transparent) left / 12px 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, rgba(10, 29, 51, .16), transparent) right / 12px 100% no-repeat scroll; }
.ga-prose .tb-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ga-prose .tb-scroll table { display: table; width: max-content; min-width: 100%; margin: 0; overflow: visible; background: transparent; }
.ga-prose .tb-scroll th, .ga-prose .tb-scroll td { min-width: 9em; max-width: 18em; }
.ga-prose .tb-scroll tr > :first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 var(--line); }
.ga-prose .tb-scroll thead tr > :first-child, .ga-prose .tb-scroll th:first-child { background: var(--paper); }
/* ate 4 colunas: cada linha vira um cartao; a 1a celula e o titulo, as outras levam o nome da coluna como rotulo */
@media (max-width: 639px) {
  .ga-prose table.tb-stack { display: block; overflow: visible; border: 0; font-size: .97rem; }
  .ga-prose .tb-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ga-prose .tb-stack tbody, .ga-prose .tb-stack tfoot { display: grid; gap: 10px; }
  .ga-prose .tb-stack tr { display: block; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-top: var(--tb-top, 3px solid var(--navy-900)); border-radius: var(--tb-radius, 0); }
  .ga-prose .tb-stack td, .ga-prose .tb-stack tbody th { display: block; padding: 0; border: 0; background: none; font: inherit; letter-spacing: normal; text-transform: none; color: inherit; line-height: 1.55; hyphens: manual; }
  .ga-prose .tb-stack td + td, .ga-prose .tb-stack tbody th + td { margin-top: 8px; }
  .ga-prose .tb-stack tr > :first-child { padding-bottom: 8px; border-bottom: 1px solid var(--line); font: 600 1.02rem/1.4 var(--display); color: var(--navy-900); }
  .ga-prose .tb-stack td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 600 10px/1.4 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
  .ga-prose .tb-stack td:empty { display: none; }
}

/* ---- WhatsApp flutuante no celular: menor e some enquanto a pessoa rola para baixo lendo (guias.js poe .wa-off no <html>);
   volta ao rolar para cima e no fim da pagina ---- */
@media (max-width: 639px) {
  .mt-float-wa { width: 48px; height: 48px; right: 14px; bottom: 14px; transition: background .2s, transform .3s var(--ease), opacity .3s; }
  .mt-float-wa svg { width: 24px; height: 24px; }
  .wa-off .mt-float-wa { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .mt-float-wa { transition: none; } }

/* ---- sumario: ponto ativo cortado e rolagem lateral ----
   A lista rola na vertical (overflow-y), o que faz o navegador cortar/rolar tambem na horizontal: o ponto ativo (deslocado 3px + aura de 4px)
   era cortado na esquerda e o link ativo (deslocado 3px) vazava na direita. Folga interna dos dois lados, sem rolagem lateral. */
.ga-toc ol { overflow-x: hidden; padding: 4px 8px 4px 8px; margin-left: -8px; margin-right: -8px; }

/* ---- sumario: bolinha cortada (causa real) ----
   O link tem overflow:hidden (corta o titulo em 3 linhas) e o ponto ativo ficava ate 3px FORA da caixa do link (link +3px, ponto -3px;
   aura de 4px): essa parte era cortada. Agora o link nao se desloca e o ponto fica DENTRO da caixa: o link comeca 6px antes do trilho
   (margin-left:-6px; padding-left:32px mantem o texto no mesmo lugar) e o ponto fica em left:6px, com folga para a aura. */
.ga-toc a { margin-left: -6px; padding-left: 32px; }
.ga-toc a::after { left: 6px; }
.ga-toc a:hover, .ga-toc a.is-on, .ga-toc a:hover::after, .ga-toc a.is-on::after { transform: none; }
