/* ==========================================================================
   BLOG STAMINA · front
   Base: stamina-tokens.css (identidade oficial). Manrope local, 4 pesos.
   ========================================================================== */

@font-face { font-family: Manrope; font-weight: 200; font-style: normal; font-display: swap; src: url("../fonts/manrope-200.woff2") format("woff2"); }
@font-face { font-family: Manrope; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/manrope-300.woff2") format("woff2"); }
@font-face { font-family: Manrope; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/manrope-400.woff2") format("woff2"); }
@font-face { font-family: Manrope; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/manrope-500.woff2") format("woff2"); }

:root {
  --gut: clamp(16px, 4vw, 64px);
  --wrap: 1600px;
  --hdr-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --raio: 12px;
  --prose: 44rem;
  /* tema escuro */
  --veu: rgba(238, 240, 247, 0.06);
  --moldura: #26262c;
  --veu-2: rgba(238, 240, 247, 0.12);
  --overlay: rgba(11, 11, 16, 0.86);
  --prose-cor: rgba(238, 240, 247, 0.76);
  --peso-texto: 300;
  --ruido: 0.035;
}
/* tema claro (padrão do blog): textos um pouco mais encorpados para leitura */
[data-tema="claro"] {
  --veu: rgba(11, 11, 16, 0.05);
  --moldura: #e9e9ee;
  --veu-2: rgba(11, 11, 16, 0.09);
  --overlay: rgba(255, 255, 255, 0.9);
  --prose-cor: #33353D;
  --stm-texto-2: #4E505A;
  --peso-texto: 400;
  --ruido: 0.02;
}
.logo-e { display: none !important; }
[data-tema="claro"] .logo-b { display: none !important; }
[data-tema="claro"] .logo-e { display: block !important; }

/* 1. BASE ================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.stm {
  margin: 0;
  min-height: 100vh;
  background: var(--stm-fundo);
  color: var(--stm-texto);
  font-family: var(--stm-fonte);
  font-weight: var(--peso-texto);
  font-size: var(--stm-t-corpo);
  line-height: var(--stm-lh-corpo);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color 0.4s ease, color 0.4s ease;
  text-rendering: optimizeLegibility;
}
/* grão sutil para dar textura ao preto */
body.stm::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: var(--ruido);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.stm :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd) { margin: 0; }
.stm :where(ul, ol) { padding: 0; list-style: none; }
.stm img, .stm svg, .stm video, .stm iframe { display: block; max-width: 100%; }
.stm img { height: auto; }
:where(.stm) a { color: inherit; text-decoration: none; }
:where(.stm) b, :where(.stm) strong { font-weight: 500; color: var(--stm-texto); }
:where(.stm) button { font: inherit; color: inherit; }
.stm :focus-visible { outline: 2px solid var(--stm-roxo-claro); outline-offset: 3px; border-radius: 4px; }
.stm ::selection { background: var(--stm-roxo); color: #fff; }
main:focus { outline: none; }
[hidden] { display: none !important; }

.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 0.75rem 1.25rem; border-radius: var(--stm-raio-pilula); background: var(--stm-roxo); color: #fff; transform: translateY(-200%); transition: transform 0.3s var(--ease); }
.skip:focus { transform: none; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico * { vector-effect: non-scaling-stroke; }
.stm-tom { color: var(--stm-tom); }
.stm-btn .ico { width: 18px; height: 18px; fill: none; }
.stm-link .ico { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.stm-link:hover .ico { transform: translateX(4px); }
kbd { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 0.35rem; border-radius: 6px; background: var(--veu-2); font: 400 0.7rem/1 var(--stm-fonte); color: var(--stm-texto-3); }

/* 2. TOPO ================================================================= */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--hdr-h);
  background: color-mix(in srgb, var(--stm-fundo) 78%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--stm-linha);
  transition: transform 0.5s var(--ease);
}
.hdr.is-hidden { transform: translateY(-100%); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.5rem); }
.hdr-logo { display: flex; align-items: center; gap: 0.9rem; flex: none; }
.hdr-logo img { height: 22px; width: auto; }
.hdr-blog { padding-left: 0.9rem; border-left: 1px solid var(--stm-linha-forte); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stm-texto-2); line-height: 1.6; }
.hdr-cats { flex: 1 1 auto; min-width: 0; position: relative; }
.hdr-cats-list {
  display: flex;
  gap: clamp(1rem, 1.8vw, 1.9rem);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 40px), transparent);
  padding: 0 40px 0 16px;
}
.hdr-cats-list::-webkit-scrollbar { display: none; }
.hdr-cats-list a {
  position: relative;
  display: block;
  padding: 0.4rem 0;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--stm-texto-2);
  transition: color 0.25s ease;
}
.hdr-cats-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--stm-roxo-claro);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.hdr-cats-list a:hover { color: var(--stm-texto); }
.hdr-cats-list a:hover::after, .hdr-cats-list a[aria-current]::after { transform: scaleX(1); }
.hdr-cats-list a[aria-current] { color: var(--stm-texto); }

.hdr-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 1 260px;
  height: 42px;
  padding: 0 0.6rem 0 1rem;
  border-radius: var(--stm-raio-pilula);
  background: var(--veu);
  color: var(--stm-texto-3);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.hdr-search:hover { background: var(--veu-2); }
.hdr-search:focus-within { box-shadow: inset 0 0 0 1px var(--stm-roxo-claro); }
.hdr-search .ico { width: 18px; height: 18px; }
.hdr-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--stm-texto); font: 300 0.9rem var(--stm-fonte); outline: none; }
.hdr-search input::placeholder { color: var(--stm-texto-3); }
.hdr-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hdr-cta { flex: none; }
.hdr-tema { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: var(--veu); color: var(--stm-texto-2); cursor: pointer; transition: background-color 0.25s ease, color 0.25s ease, transform 0.5s var(--ease); }
.hdr-tema:hover { background: var(--veu-2); color: var(--stm-texto); transform: rotate(-18deg); }
.hdr-tema .ico { width: 19px; height: 19px; }
.hdr-tema .ico-sol { display: none; }
[data-tema="escuro"] .hdr-tema .ico-sol { display: block; }
[data-tema="escuro"] .hdr-tema .ico-lua { display: none; }

.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 2px; background: linear-gradient(90deg, var(--stm-roxo), var(--stm-roxo-claro)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.pg-post .progress { display: block; }
body:not(.pg-post) .progress { display: none; }

/* 3. BUSCA (painel) ======================================================= */
.srch[hidden] { display: none; }
.srch { position: fixed; inset: 0; z-index: 90; }
.srch-bg { position: absolute; inset: 0; background: var(--overlay); -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2); opacity: 0; transition: opacity 0.4s ease; }
.srch.is-open .srch-bg { opacity: 1; }
.srch-panel { position: relative; height: 100%; overflow-y: auto; opacity: 0; transform: translateY(-16px); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
.srch.is-open .srch-panel { opacity: 1; transform: none; }
.srch-in { padding-block: clamp(2rem, 9vh, 7rem) 4rem; max-width: 1100px; }
.srch-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.srch-top .stm-eyebrow { margin: 0; }
.srch-x { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--veu); cursor: pointer; transition: background-color 0.2s ease, transform 0.4s var(--ease); }
.srch-x:hover { background: var(--veu-2); transform: rotate(90deg); }
.srch-x .ico { width: 22px; height: 22px; }
.srch-form { display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid var(--stm-linha-forte); transition: border-color 0.3s ease; }
.srch-form:focus-within { border-color: var(--stm-roxo-claro); }
.srch-form input {
  flex: 1; min-width: 0;
  padding: 0.6rem 0 1.1rem;
  border: 0; background: transparent; outline: none;
  color: var(--stm-texto);
  caret-color: var(--stm-roxo-claro);
  font: 200 clamp(2rem, 5.4vw, 4.6rem)/1.05 var(--stm-fonte);
  letter-spacing: -0.045em;
}
.srch-form input::placeholder { color: var(--stm-tom); }
.srch-form input:focus-visible, .hdr-search input:focus-visible, .big-search input:focus-visible { outline: none; }
.srch-form input::-webkit-search-cancel-button { -webkit-appearance: none; }
.srch-go { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border: 0; border-radius: 50%; background: var(--stm-verde); color: #000; cursor: pointer; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.srch-go:hover { transform: translateX(3px); box-shadow: 0 0 28px rgba(11, 253, 129, 0.55); }
.srch-go .ico { width: 24px; height: 24px; }
.srch-body { padding-top: 2rem; min-height: 40vh; }
.srch-empty .stm-micro { margin-bottom: 1rem; }
.srch-res { display: grid; gap: 2px; }
.srch-res li a {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem;
  border-radius: var(--raio);
  transition: background-color 0.2s ease;
}
.srch-res li a:hover, .srch-res li[aria-selected="true"] a { background: var(--stm-superficie); }
.srch-res img { width: 96px; height: 64px; object-fit: cover; border-radius: 8px; }
.srch-res .t { font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.25; letter-spacing: -0.015em; color: var(--stm-texto); }
.srch-res .m { display: block; margin-top: 0.35rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stm-texto-3); }
.srch-res .ico { width: 20px; height: 20px; color: var(--stm-texto-3); transition: transform 0.4s var(--ease), color 0.2s; }
.srch-res li a:hover .ico, .srch-res li[aria-selected="true"] .ico { transform: translateX(4px); color: var(--stm-texto); }
.srch-res mark { background: none; color: var(--stm-roxo-claro); }
.srch-status { margin-top: 1.25rem; font-size: 0.9rem; color: var(--stm-texto-2); }
.srch-status a { color: var(--stm-texto); border-bottom: 1px solid var(--stm-linha-forte); }
.srch-hint { display: flex; gap: 1.5rem; margin-top: 2rem; font-size: 0.75rem; color: var(--stm-texto-3); }
.srch-hint span { display: inline-flex; align-items: center; gap: 0.35rem; }
@media (hover: none) { .srch-hint { display: none; } }

/* 4. CHIPS E PÍLULAS ====================================================== */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  min-height: 2.5rem; padding: 0 1.1rem;
  border-radius: var(--stm-raio-pilula);
  background: var(--stm-superficie);
  font-size: 0.875rem; font-weight: 400; color: var(--stm-texto-2);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.chip:hover { background: var(--stm-superficie-alta); color: var(--stm-texto); }
.chip sup { font-size: 0.65rem; color: var(--stm-texto-3); top: -0.5em; }
.chip--sel, .chip--sel:hover { background: var(--stm-roxo); color: #fff; }
.chip--sel sup { color: rgba(255, 255, 255, 0.7); }
.pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pill {
  display: inline-flex; align-items: center;
  min-height: 1.9rem; padding: 0 0.85rem;
  border-radius: var(--stm-raio-pilula);
  background: var(--veu);
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--stm-texto-2);
  transition: background-color 0.25s ease, color 0.25s ease;
}
.pill:hover { background: var(--veu-2); color: var(--stm-texto); }
.pill--sel, .pill--sel:hover { background: var(--stm-roxo); color: #fff; }

/* 5. HOME · HERO ========================================================== */
.hero { position: relative; padding-block: clamp(3.5rem, 9vh, 6rem) clamp(2rem, 5vh, 3.5rem); overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; z-index: -2; top: -60%; right: -10%; width: min(48vw, 820px); aspect-ratio: 3 / 2; opacity: 0.7; -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%); mask-image: radial-gradient(closest-side, #000 35%, transparent 100%); will-change: transform; }
[data-tema="claro"] .hero-art { filter: invert(1) hue-rotate(180deg) saturate(1.3); opacity: 0.6; }
[data-tema="claro"] .cta-art { mix-blend-mode: soft-light; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; animation: float 18s var(--ease-io) infinite alternate; }
@keyframes float { from { transform: rotate(0deg) scale(1); } to { transform: rotate(-6deg) scale(1.08); } }
.hero-title { max-width: 16em; font-size: clamp(2.5rem, 5.4vw, 5.4rem); font-weight: 200; line-height: 1; letter-spacing: -0.05em; text-wrap: balance; color: var(--stm-texto); }
.hero-lede { margin-top: 1.5rem; }

/* 6. HOME · DESTAQUE ====================================================== */
.feat-sec { padding-top: clamp(2.5rem, 6vh, 4rem); }
.feat-sec .stm-eyebrow { margin-bottom: 1.25rem; }
.feat { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(clamp(80px, 9vw, 150px), 1fr) auto clamp(1.75rem, 3.5vw, 3rem); column-gap: var(--stm-gutter); }
.feat-media { grid-column: 1 / 10; grid-row: 1 / 3; position: relative; display: block; box-sizing: border-box; border: 4px solid var(--moldura); min-height: clamp(300px, 33vw, 460px); overflow: hidden; border-radius: var(--raio); background: var(--stm-superficie-alta); }
.feat-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.28) 100%); pointer-events: none; }
.feat-tag { position: absolute; top: 1.1rem; left: 1.1rem; z-index: 1; display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.85rem; border-radius: 99px; background: rgba(10, 10, 14, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; }
.feat-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--stm-roxo-claro, #8b7bff); box-shadow: 0 0 0 4px rgba(139, 123, 255, 0.25); }
.feat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feat:hover .feat-media img { transform: scale(1.04); }
.feat-body { grid-column: 7 / -1; grid-row: 2 / 4; position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: clamp(1.5rem, 2.8vw, 2.75rem); border-radius: var(--raio); background: var(--stm-superficie); border: 1px solid var(--stm-linha); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.45), 0 8px 24px -12px rgba(0, 0, 0, 0.2); transition: transform 0.7s var(--ease); }
.feat:hover .feat-body { transform: translateY(-4px); }
.feat-title { font-size: clamp(1.55rem, 2.2vw, 2.35rem); font-weight: 200; line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
.feat-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.7s var(--ease); }
.feat-title a:hover { background-size: 100% 1px; }
.feat-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.feat .pills { position: relative; z-index: 2; }
.feat-excerpt { max-width: 38em; color: var(--stm-texto-2); font-size: var(--stm-t-lede); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feat-foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.5rem; padding-top: 1.1rem; border-top: 1px solid var(--stm-linha); }

/* 7. FAIXA DE TEMAS ======================================================= */
.marquee { overflow: hidden; padding-block: clamp(0.9rem, 1.8vw, 1.4rem); border-block: 1px solid var(--stm-linha); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; flex: none; }
.marquee-list li { display: flex; align-items: center; }
.marquee-list li::after { content: ""; width: 10px; height: 10px; margin-inline: clamp(1.1rem, 2vw, 2rem); border-radius: 50%; background: var(--stm-roxo); flex: none; }
.marquee-list a { font-size: clamp(1.4rem, 2.6vw, 2.4rem); font-weight: 200; line-height: 1.1; letter-spacing: -0.04em; color: var(--stm-tom); white-space: nowrap; transition: color 0.3s ease; }
.marquee-list a:hover { color: var(--stm-texto); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 8. SEÇÕES, GRADE E CARDS ================================================ */
.sec { padding-block: clamp(4.5rem, 11vh, 9rem); }
.latest { padding-top: clamp(3rem, 7vh, 4.5rem); }
.latest-head { display: flex; align-items: center; gap: 1.5rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.latest-title { flex: none; font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; }
.latest-line { flex: 1; height: 1px; background: var(--stm-linha); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--stm-gutter); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head > :first-child { grid-column: 1 / span 7; }
.sec-head > :last-child:not(:first-child) { grid-column: 9 / -1; justify-self: start; }
.sec-head .stm-h1 { text-wrap: balance; }
.sec-head .stm-eyebrow, .list-hero .stm-eyebrow, .hero .stm-eyebrow, .cta .stm-eyebrow { margin-bottom: 2rem; }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--stm-gutter); row-gap: clamp(2.5rem, 4.5vw, 4rem); }
.grid--3 > .card { grid-column: span 4; }
/* Home: lote de 5 = 7 + 5 / 4 + 4 + 4, com desníveis */
.grid--home > .card--l { grid-column: span 6; }
.grid--home > .card--m { grid-column: span 6; }
.grid--home > .card--s { grid-column: span 4; }

.card { position: relative; display: flex; flex-direction: column; gap: 1.4rem; min-width: 0; }
.card-media { position: relative; display: block; overflow: hidden; box-sizing: border-box; border: 4px solid var(--moldura); border-radius: var(--raio); background: var(--stm-superficie); aspect-ratio: 4 / 3; transition: border-color 0.5s ease; }
.card:hover .card-media { border-color: color-mix(in srgb, var(--moldura) 70%, var(--stm-roxo-claro, #7C5DFF)); }
.card--l .card-media, .card--m .card-media { aspect-ratio: 16 / 9; }
.grid--3 .card--m .card-media { aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-media::after { content: ""; position: absolute; inset: 0; background: rgba(109, 75, 255, 0); mix-blend-mode: color; transition: background-color 0.6s ease; }
.card:hover .card-media::after { background: rgba(109, 75, 255, 0.12); }
.card-body { display: flex; flex-direction: column; gap: 0.85rem; }
.card-top { display: flex; align-items: center; gap: 0.9rem; }
.card-n { font-size: 0.75rem; font-weight: 400; letter-spacing: 0.12em; color: var(--stm-texto-3); font-variant-numeric: tabular-nums; }
.card-n::after { content: ""; display: inline-block; width: 24px; height: 1px; margin-left: 0.9rem; vertical-align: middle; background: var(--stm-linha-forte); }
.card-cat { position: relative; z-index: 2; font-size: 0.72rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stm-texto-2); transition: color 0.2s ease; }
.card-cat:hover { color: var(--stm-roxo-claro); }
.card-title { font-weight: 300; letter-spacing: -0.025em; line-height: 1.16; text-wrap: balance; font-size: clamp(1.25rem, 1.6vw, 1.6rem); }
.card--l .card-title { font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 200; letter-spacing: -0.04em; line-height: 1.06; }
.card--m .card-title { font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 200; letter-spacing: -0.035em; line-height: 1.1; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-title span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.7s var(--ease); }
.card:hover .card-title span { background-size: 100% 1px; }
.card-excerpt { color: var(--stm-texto-2); font-size: 0.975rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 40em; }
.card--m .card-excerpt { -webkit-line-clamp: 2; }
.card-info { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: var(--stm-texto-3); }

/* 9. CARREGAR MAIS ======================================================== */
.more { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin-top: clamp(3.5rem, 8vw, 6rem); }
.js .more-btn.is-auto { display: none; }
.loader { display: none; gap: 8px; }
.loader.is-on { display: flex; }
.loader span { width: 8px; height: 8px; border-radius: 50%; background: var(--stm-roxo-claro); animation: dot 1s var(--ease-io) infinite; }
.loader span:nth-child(2) { animation-delay: 0.15s; }
.loader span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-6px); } }
.more-end { font-size: clamp(1.4rem, 2.4vw, 2.2rem); font-weight: 200; letter-spacing: -0.035em; color: var(--stm-texto); }
.more-end[hidden] { display: none; }

/* 10. POST ================================================================ */
.post-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(92vh, 940px);
  padding-block: clamp(7rem, 16vh, 10rem) clamp(2.5rem, 6vh, 4.5rem);
  overflow: hidden;
  background: #0B0B10;
  color: #fff;
  /* texto sempre claro sobre a imagem, nos dois temas */
  --stm-texto: #fff;
  --stm-texto-2: rgba(255, 255, 255, 0.84);
  --stm-texto-3: rgba(255, 255, 255, 0.68);
  --stm-tom: rgba(255, 255, 255, 0.6);
  --stm-linha: rgba(255, 255, 255, 0.22);
  --stm-linha-forte: rgba(255, 255, 255, 0.4);
  --veu: rgba(255, 255, 255, 0.14);
  --veu-2: rgba(255, 255, 255, 0.24);
}
.post-hero > .wrap { width: min(var(--wrap), 100% - var(--gut) * 2); }
.post-hero-media { position: absolute; inset: 0; z-index: -2; }
.post-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.post-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 11, 16, 0.5) 0%, rgba(11, 11, 16, 0.12) 22%, rgba(11, 11, 16, 0.5) 45%, rgba(11, 11, 16, 0.84) 68%, rgba(11, 11, 16, 0.95) 100%),
    linear-gradient(90deg, rgba(11, 11, 16, 0.55) 0%, rgba(11, 11, 16, 0) 70%);
}
.js .post-hero-media img { transform: scale(1.08); transition: transform 2s var(--ease); }
.js .post-hero.is-in .post-hero-media img { transform: none; }
.post-hero .post-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-hero .post-title { color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.78rem; color: var(--stm-texto-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.crumbs li + li::before { content: ""; width: 14px; height: 1px; background: var(--stm-linha-forte); }
.crumbs a:hover { color: var(--stm-texto); }
.crumbs [aria-current] span { color: var(--stm-texto-2); }
.post-hero .pills { margin-top: clamp(1.25rem, 3vh, 2rem); }
.post-title {
  margin-top: 1.5rem;
  max-width: 17em;
  font-size: clamp(2.5rem, 6vw, 6.4rem);
  font-weight: 200;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.post-title--l { max-width: 20em; font-size: clamp(2.3rem, 4.6vw, 4.9rem); line-height: 1.02; }
.post-title--xl { max-width: 24em; font-size: clamp(2.1rem, 3.7vw, 3.9rem); line-height: 1.05; letter-spacing: -0.04em; }
.post-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--stm-gutter); row-gap: 2rem; align-items: end; margin-top: clamp(2rem, 5vh, 3.5rem); }
.post-lede { grid-column: 1 / span 6; font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.5; color: var(--stm-texto-2); max-width: 36em; }
.post-meta { grid-column: 8 / -1; display: flex; flex-direction: column; gap: 1.5rem; }
.post-intro--nolede .post-meta { grid-column: 1 / span 7; flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 1.5rem 3rem; }
.post-intro--nolede .post-facts { flex: 1; min-width: 16rem; }
.byline { display: inline-flex; align-items: center; gap: 0.9rem; align-self: flex-start; }
.byline-n { display: block; font-weight: 400; color: var(--stm-texto); }
.byline-r { display: block; font-size: 0.82rem; color: var(--stm-texto-3); }
.byline:hover .byline-n { color: var(--stm-roxo-claro); }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar--txt { display: inline-grid; place-items: center; background: var(--stm-roxo); color: #fff; font-size: 0.85rem; font-weight: 400; letter-spacing: 0.04em; }
.avatar--lg { width: 72px; height: 72px; font-size: 1.2rem; }
.avatar--xl { width: clamp(88px, 10vw, 128px); height: clamp(88px, 10vw, 128px); font-size: 2rem; }
.post-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: var(--stm-gutter); }
.post-facts > div { display: flex; flex-direction: column; gap: 0.35rem; padding-top: 0.85rem; border-top: 1px solid var(--stm-linha-forte); }
.post-facts dt { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stm-texto-3); }
.post-facts dd { font-size: 0.95rem; color: var(--stm-texto); }


.post-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--stm-gutter); padding-block: clamp(3.5rem, 9vh, 6.5rem) clamp(2rem, 6vh, 4rem); }
.post-aside { grid-column: 10 / -1; grid-row: 1; }
.post-aside-in { position: sticky; top: calc(var(--hdr-h) + 2rem); display: flex; flex-direction: column; gap: 2.5rem; max-height: calc(100vh - var(--hdr-h) - 4rem); overflow-y: auto; scrollbar-width: thin; padding-right: 0.5rem; }
.post-main { grid-column: 1 / span 8; grid-row: 1; min-width: 0; max-width: var(--prose); }

.toc .stm-micro { margin-bottom: 1rem; }
.toc ol, .toc-m ol { display: flex; flex-direction: column; border-left: 1px solid var(--stm-linha); counter-reset: toc; }
.toc a, .toc-m a { position: relative; display: block; padding: 0.5rem 0 0.5rem 1.1rem; font-size: 0.875rem; line-height: 1.4; color: var(--stm-texto-3); transition: color 0.25s ease; }
.toc .toc-l3 a, .toc-m .toc-l3 a { padding-left: 2rem; font-size: 0.82rem; }
.toc a::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 1.5px; background: var(--stm-roxo-claro); transform: scaleY(0); transition: transform 0.4s var(--ease); }
.toc a:hover { color: var(--stm-texto); }
.toc a.is-active { color: var(--stm-texto); }
.toc a.is-active::before { transform: scaleY(1); }
.share .stm-micro { margin-bottom: 0.9rem; }
.share-row { display: flex; gap: 0.25rem; }
.share-row a, .share-row button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: var(--stm-texto-2); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.share-row a:hover, .share-row button:hover { background: var(--stm-superficie); color: var(--stm-texto); }
.share-row .ico { width: 20px; height: 20px; }
.share-row button.is-done { color: var(--stm-positivo); }
.toc-m { display: none; margin-bottom: 2.5rem; border-radius: var(--raio); background: var(--stm-superficie); }
.toc-m summary { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.25rem; cursor: pointer; list-style: none; }
.toc-m summary::-webkit-details-marker { display: none; }
.toc-m-n { font-size: 0.8rem; color: var(--stm-texto-3); }
.toc-m ol { margin: 0 1.25rem 1.25rem; }

.post-summary { margin-bottom: 2.25rem; padding: 0.25rem 0 0.25rem 1.25rem; border-left: 2px solid var(--stm-roxo); }
.post-summary .stm-eyebrow { margin-bottom: 0.7rem; font-size: 0.68rem; }
.post-summary .stm-eyebrow::before { display: none; }
.post-summary ul { display: grid; gap: 0.35rem; }
.post-summary li { position: relative; padding-left: 1rem; color: var(--stm-texto); font-size: 0.95rem; line-height: 1.5; }
.post-summary li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--stm-roxo); }

/* Conteúdo do artigo */
.prose { font-size: clamp(1.04rem, 1.15vw, 1.125rem); line-height: 1.72; font-weight: var(--peso-texto); color: var(--prose-cor); }
.prose > * + * { margin-top: 1.15em; }
.prose > p:first-child { font-size: 1.12em; line-height: 1.6; color: var(--stm-texto); }

.prose h2, .prose h3, .prose h4 { color: var(--stm-texto); text-wrap: balance; scroll-margin-top: calc(var(--hdr-h) + 24px); }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.6rem, 2.2vw, 2.15rem); font-weight: 300; line-height: 1.15; letter-spacing: -0.03em; }
.prose h3 { margin-top: 1.6em; font-size: clamp(1.2rem, 1.5vw, 1.4rem); font-weight: 400; line-height: 1.25; letter-spacing: -0.015em; }
.prose h4 { margin-top: 1.4em; font-size: 1.1rem; font-weight: 400; letter-spacing: -0.01em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: 0.6em; }
.prose a { color: var(--stm-texto); text-decoration: underline; text-decoration-color: var(--stm-roxo-claro); text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; transition: color 0.2s ease, text-decoration-color 0.2s ease; }
.prose a:hover { color: var(--stm-roxo-claro); }
.prose strong { font-weight: 500; color: var(--stm-texto); }
.prose em { font-style: italic; }
.prose s { color: var(--stm-texto-3); }
.prose code { padding: 0.12em 0.4em; border-radius: 6px; background: var(--stm-superficie); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.86em; color: var(--stm-texto); }
.prose pre { padding: 1.25rem 1.5rem; border-radius: var(--raio); background: var(--stm-superficie); overflow-x: auto; font-size: 0.88rem; line-height: 1.6; }
.prose pre code { padding: 0; background: none; }
.prose ul, .prose ol { display: flex; flex-direction: column; gap: 0.45em; }
.prose ul ul, .prose ol ol, .prose ul ol, .prose ol ul { margin-top: 0.6em; }
.prose li { position: relative; padding-left: 1.75rem; }
.prose ul > li::before { content: ""; position: absolute; left: 0.25rem; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--stm-roxo-claro); }
.prose ul ul > li::before { background: transparent; box-shadow: inset 0 0 0 1.4px var(--stm-roxo-claro); }
.prose ol { counter-reset: li; }
.prose ol > li { counter-increment: li; }
.prose ol > li::before { content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: 0.18em; font-size: 0.75em; font-weight: 400; letter-spacing: 0.06em; color: var(--stm-roxo-claro); font-variant-numeric: tabular-nums; }
.prose blockquote { position: relative; margin-block: 1.8em; padding: 0.25rem 0 0.25rem clamp(1.5rem, 3vw, 2.5rem); border-left: 2px solid var(--stm-roxo); }
.prose blockquote p { font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 200; line-height: 1.32; letter-spacing: -0.025em; color: var(--stm-texto); }
.prose blockquote p + p { margin-top: 0.8em; }
.prose blockquote footer { margin-top: 1rem; font-size: 0.9rem; color: var(--stm-texto-3); }
.prose figure { margin-block: 2em; }
.prose .post-img img { width: 100%; border-radius: var(--raio); }
.prose figcaption { margin-top: 0.85rem; font-size: 0.85rem; line-height: 1.5; color: var(--stm-texto-3); }
.prose hr { border: 0; height: 1px; background: var(--stm-linha); margin-block: 3em; }
.prose sup, .prose sub { font-size: 0.7em; }

.tbl { margin-block: 2.5em; overflow-x: auto; }
.tbl:focus-visible { outline-offset: 4px; }
.prose table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.92rem; line-height: 1.5; }
.prose th { padding: 0 1rem 0.85rem 0; border-bottom: 1px solid var(--stm-linha-forte); text-align: left; font-size: 0.72rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stm-texto-3); vertical-align: bottom; }
.prose td { padding: 0.95rem 1rem 0.95rem 0; border-bottom: 1px solid var(--stm-linha); color: var(--stm-texto-2); vertical-align: top; }
.prose tr:hover td { background: var(--veu); }

/* Embeds */
.embed { margin-block: 2em; }
.embed iframe { width: 100%; border: 0; border-radius: var(--raio); background: var(--stm-superficie); }
.ratio-16x9 iframe, .embed--generic iframe { aspect-ratio: 16 / 9; height: auto; }
.embed--generic iframe[style] { height: auto; }
.embed--gif iframe { display: block; max-width: min(100%, 420px); margin-inline: auto; background: transparent; }
.embed--spotify iframe { height: 352px; }
.embed--spotify-sm iframe { height: 152px; }
.embed--soundcloud iframe { height: 166px; }
.embed--linkedin iframe { height: 620px; max-width: 552px; margin-inline: auto; background: #fff; }
.embed--facebook iframe { height: 640px; max-width: 500px; margin-inline: auto; background: #fff; }
.embed--tiktok iframe { width: 340px; max-width: 100%; height: 760px; margin-inline: auto; }
.embed--threads iframe { height: 620px; max-width: 540px; margin-inline: auto; }
.embed--tall iframe { height: 720px; }
.embed--social { display: flex; justify-content: center; }
.embed--social blockquote { margin: 0 !important; max-width: 540px; width: 100%; min-height: 200px; padding: 1.5rem; border: 0; border-radius: var(--raio); background: var(--stm-superficie); }
.embed--social blockquote a { display: flex; align-items: center; gap: 0.75rem; color: var(--stm-texto); text-decoration: none !important; font-size: 0.95rem; }
.embed--social blockquote a::before { content: ""; width: 36px; height: 36px; flex: none; border-radius: 10px; background: linear-gradient(135deg, var(--stm-roxo), var(--stm-roxo-claro)); }
.embed--social iframe { border-radius: var(--raio) !important; }
.embed video, .embed audio { width: 100%; border-radius: var(--raio); }
.embed--youtube .yt, .embed--youtube iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--raio); background: #000; text-decoration: none !important; }
.embed--vertical .yt, .embed--vertical iframe { aspect-ratio: 9 / 16; max-width: 360px; margin-inline: auto; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 1s var(--ease), opacity 0.4s ease; }
.yt:hover img { transform: scale(1.03); opacity: 1; }
.yt-play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: clamp(64px, 8vw, 88px); height: clamp(64px, 8vw, 88px); border-radius: 50%; background: rgba(11, 11, 16, 0.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transform: translate(-50%, -50%); transition: background-color 0.3s ease, transform 0.5s var(--ease); }
.yt-play svg { width: 34%; height: 34%; margin-left: 6%; fill: #fff; }
.yt:hover .yt-play { background: var(--stm-roxo); transform: translate(-50%, -50%) scale(1.06); }
.yt-label { position: absolute; left: 1rem; bottom: 1rem; padding: 0.4rem 0.8rem; border-radius: var(--stm-raio-pilula); background: rgba(11, 11, 16, 0.6); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }

.post-end { display: flex; flex-direction: column; gap: 2.5rem; margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--stm-linha); }
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.author-card { display: flex; gap: 1.5rem; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--raio); background: var(--stm-superficie); }
.author-card .stm-micro { margin-bottom: 0.4rem; }
.author-card-n { font-size: 1.35rem; font-weight: 300; letter-spacing: -0.02em; }
.author-card-n a:hover { color: var(--stm-roxo-claro); }
.author-card-r { font-size: 0.85rem; color: var(--stm-texto-3); margin-top: 0.15rem; }
.author-card-b { margin-top: 0.85rem; color: var(--stm-texto-2); font-size: 0.95rem; line-height: 1.6; }
.author-card-l { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; font-size: 0.85rem; color: var(--stm-texto-2); }
.author-card-l:hover { color: var(--stm-texto); }
.author-card-l .ico { width: 18px; height: 18px; }
.related { border-top: 1px solid var(--stm-linha); }

/* 11. LISTAGENS (categoria, busca, autor) ================================= */
.list-hero { padding-block: clamp(4rem, 11vh, 8rem) clamp(2rem, 5vh, 3rem); }
.list-title { max-width: 14em; overflow-wrap: anywhere; }
.list-foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--stm-gutter); align-items: end; margin-top: clamp(2rem, 5vh, 3.5rem); }
.list-foot .list-lede { grid-column: 1 / span 6; }
.list-foot .list-count { grid-column: 10 / -1; justify-self: end; }
.list-lede { margin-top: 2rem; }
.list-foot .list-lede { margin-top: 0; }
.list-count { margin-top: 1.5rem; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stm-texto-3); }
.chips-nav { margin-top: clamp(2.5rem, 6vh, 4rem); padding-top: 2rem; border-top: 1px solid var(--stm-linha); }
.list-sec { padding-top: clamp(2rem, 5vh, 3.5rem); }
.author-hero { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); }
.author-hero .stm-eyebrow { margin-bottom: 1rem; }
.big-search { display: flex; align-items: center; gap: 0.75rem; max-width: 52rem; margin-top: clamp(2rem, 5vh, 3rem); padding: 0.4rem 0.4rem 0.4rem 1.4rem; border-radius: var(--stm-raio-pilula); background: var(--stm-superficie); transition: box-shadow 0.25s ease; }
.big-search:focus-within { box-shadow: inset 0 0 0 1px var(--stm-roxo-claro); }
.big-search .ico { width: 22px; height: 22px; color: var(--stm-texto-3); }
.big-search input { flex: 1; min-width: 0; height: 3rem; border: 0; background: transparent; outline: none; color: var(--stm-texto); font: 300 1.05rem var(--stm-fonte); }
.big-search input::placeholder { color: var(--stm-texto-3); }
.big-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.empty { position: relative; padding-block: 3rem 2rem; max-width: 46rem; }
.empty .stm-lede { margin-top: 1.5rem; }
.empty-wm { position: absolute; top: -2rem; right: 0; font-size: clamp(8rem, 18vw, 16rem); font-weight: 200; line-height: 0.8; letter-spacing: -0.06em; color: var(--stm-marca-dagua); pointer-events: none; }

/* 12. CHAMADA FINAL ======================================================= */
.cta { position: relative; padding-block: clamp(5rem, 14vh, 10rem); overflow: hidden; isolation: isolate; color: #fff; }
.cta-art { position: absolute; z-index: -1; right: -10%; top: -20%; width: min(70vw, 1100px); opacity: 0.35; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); }
.cta-art img { width: 100%; height: auto; }
.cta-title { max-width: 13em; text-wrap: balance; }
.cta-foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--stm-gutter); row-gap: 2rem; align-items: end; margin-top: clamp(3rem, 7vh, 5rem); padding-top: 2rem; border-top: 1px solid var(--stm-linha-forte); }
.cta-text { grid-column: 1 / span 5; font-size: clamp(1.25rem, 1.9vw, 1.75rem); font-weight: 200; line-height: 1.3; letter-spacing: -0.02em; color: #fff; }
.cta-foot > div { grid-column: 8 / -1; }
.cta-note { margin-top: 1rem; font-size: 0.8rem; color: var(--stm-texto-2); }

/* 13. RODAPÉ ============================================================== */
.ftr { position: relative; padding-top: clamp(4rem, 10vh, 7rem); overflow: hidden; border-top: 1px solid var(--stm-linha); }
.ftr-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--stm-gutter); row-gap: 3rem; }
.ftr-brand { grid-column: 1 / span 5; }
.ftr-logo img { height: 28px; width: auto; }
.ftr-desc { margin-top: 1.5rem; max-width: 30em; color: var(--stm-texto-2); font-size: 0.95rem; }
.ftr-col { grid-column: span 2; }
.ftr-col:first-of-type { grid-column: 7 / span 2; }
.ftr-col .stm-micro { margin-bottom: 1.25rem; }
.ftr-col ul { display: flex; flex-direction: column; gap: 0.7rem; font-size: 0.92rem; }
.ftr-col a { color: var(--stm-texto-2); transition: color 0.2s ease; }
.ftr-col a:hover { color: var(--stm-texto); }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 8vh, 5rem); padding-block: 1.75rem; border-top: 1px solid var(--stm-linha); font-size: 0.8rem; color: var(--stm-texto-3); }
.ftr-top { display: inline-flex; align-items: center; gap: 0.4rem; }
.ftr-top:hover { color: var(--stm-texto); }
.ftr-top .ico { width: 16px; height: 16px; transform: rotate(-45deg); }
.ftr-mark { padding-inline: var(--gut); margin-bottom: -2.2vw; opacity: 0.06; pointer-events: none; }
.ftr-mark img { width: 100%; height: auto; }

/* 14. 404 ================================================================= */
.nf { position: relative; padding-block: clamp(5rem, 14vh, 10rem) 2rem; overflow: hidden; }
.nf-wm { position: absolute; right: var(--gut); top: 2rem; font-size: clamp(9rem, 26vw, 24rem); font-weight: 200; line-height: 0.8; letter-spacing: -0.07em; color: var(--stm-marca-dagua); pointer-events: none; }
.nf .stm-lede { margin-top: 2rem; }

/* 15. PRÉ-VISUALIZAÇÃO (admin) ============================================ */
.pv { position: fixed; left: 50%; bottom: 20px; z-index: 80; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 24px); }
.pv-dock { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.5rem; border-radius: 22px; background: rgba(37, 37, 37, 0.88); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); }
.pv-dock form { margin: 0; }
.pv-status { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0 0.9rem; font-size: 0.8rem; color: var(--stm-texto-2); white-space: nowrap; }
.pv-status i { width: 9px; height: 9px; border-radius: 50%; background: var(--stm-atencao); }
.pv-status i.is-on { background: var(--stm-positivo); }
.pv-btn { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.75rem; padding: 0 1.1rem; border: 0; border-radius: var(--stm-raio-pilula); background: rgba(238, 240, 247, 0.08); color: var(--stm-texto); font-size: 0.82rem; cursor: pointer; white-space: nowrap; }
.pv-btn:hover { background: rgba(238, 240, 247, 0.14); }
.pv-btn strong { font-weight: 500; }
.pv-panel { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); width: min(560px, calc(100vw - 24px)); max-height: 70vh; overflow-y: auto; padding: 1.5rem; border-radius: 18px; background: #1b1b20; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.pv-panel[hidden] { display: none; }
.pv-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.pv-panel-head .stm-eyebrow { margin: 0; }
.pv-x { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(238, 240, 247, 0.08); cursor: pointer; }
.pv-x .ico { width: 18px; height: 18px; }
.pv-checks { display: grid; gap: 0.25rem; }
.pv-checks li { display: grid; grid-template-columns: 24px 1fr; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--stm-linha); }
.pv-checks strong { display: block; font-weight: 400; font-size: 0.9rem; }
.pv-checks span { display: block; font-size: 0.8rem; color: var(--stm-texto-3); line-height: 1.45; }
.pv-ic .ico { width: 20px; height: 20px; }
.pv-checks .is-ok .pv-ic { color: var(--stm-positivo); }
.pv-checks .is-aviso .pv-ic { color: var(--stm-atencao); }
.pv-checks .is-erro .pv-ic { color: var(--stm-critico); }
.pv-sub { margin: 1.5rem 0 0.75rem; }
.pv-warn li, .pv-auto li { position: relative; padding: 0.35rem 0 0.35rem 1.1rem; font-size: 0.82rem; color: var(--stm-texto-2); line-height: 1.45; }
.pv-warn li::before, .pv-auto li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 6px; height: 6px; border-radius: 50%; background: var(--stm-atencao); }
.pv-auto li::before { background: var(--stm-roxo-claro); }
body:has(.pv) .ftr { padding-bottom: 6rem; }

.admin-fab { position: fixed; left: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 1.1rem; border-radius: var(--stm-raio-pilula); background: rgba(37, 37, 37, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 0.82rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); transition: background-color 0.2s; }
.admin-fab:hover { background: var(--stm-roxo); }
.admin-fab .ico { width: 18px; height: 18px; }

/* 16. MOVIMENTO =========================================================== */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .card[data-reveal] .card-media img { transform: scale(1.14); transition: transform 1.6s var(--ease); }
.js .card[data-reveal].is-in .card-media img { transform: scale(1.001); }
.js .card[data-reveal].is-in:hover .card-media img { transform: scale(1.05); transition-duration: 1.2s; }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.14em 0.02em 0.1em; margin: -0.14em -0.02em -0.1em; }
.split-w > span { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 0.045s + 0.1s); }
.is-split.is-in .split-w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-list[aria-hidden] { display: none; }
  .js [data-reveal], .split-w > span { opacity: 1 !important; transform: none !important; }
  .js .post-hero-media img { transform: none !important; }
}

/* 17. RESPONSIVO ========================================================== */
@media (max-width: 1280px) {
  .hdr-cta { display: none; }
}
@media (max-width: 1100px) {
  .post-aside { display: none; }
  .post-main { grid-column: 1 / -1; max-width: var(--prose); margin-inline: auto; width: 100%; }
  .toc-m { display: block; }
  .post-lede, .post-meta { grid-column: 1 / -1; }
  .grid--home > .card--l, .grid--home > .card--m { grid-column: span 6; }
  .grid--home > .card--s, .grid--3 > .card { grid-column: span 6; }
  .grid--home > .card--s:nth-child(5n+5) { grid-column: 1 / -1; }
  .grid--home > .card--s:nth-child(5n+5) .card-media { aspect-ratio: 16 / 9; }
  .grid--3 > .card:nth-child(3n) { grid-column: 1 / -1; }
  .grid--3 > .card:nth-child(3n) .card-media { aspect-ratio: 16 / 9; }
  .sec-head > :first-child, .sec-head > :last-child:not(:first-child) { grid-column: 1 / -1; }
  .sec-head > :last-child:not(:first-child) { margin-top: 1.25rem; }
  .cta-text, .cta-foot > div { grid-column: 1 / -1; }
  .ftr-brand { grid-column: 1 / -1; }
  .ftr-col, .ftr-col:first-of-type { grid-column: span 4; }
  .list-foot .list-lede, .list-foot .list-count { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 900px) {
  :root { --hdr-h: 64px; }
  .hdr { height: auto; }
  .hdr-in { flex-wrap: wrap; height: auto; row-gap: 0; padding-top: 0.75rem; }
  .hdr-logo { flex: 1; }
  .hdr-search { flex: 0 0 auto; width: 42px; padding: 0; justify-content: center; }
  .hdr-search input, .hdr-search kbd { position: absolute; opacity: 0; pointer-events: none; width: 1px; }
  .hdr-cats { order: 3; flex: 1 0 100%; margin-inline: calc(var(--gut) * -1); }
  .hdr-cats-list { padding: 0.65rem var(--gut) 0.75rem; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
  .hdr-cats-list a { font-size: 0.85rem; }
  html { scroll-padding-top: 130px; }
  .prose h2, .prose h3, .prose h4 { scroll-margin-top: 130px; }
}
@media (max-width: 760px) {
  .grid--home > .card, .grid--3 > .card { grid-column: 1 / -1 !important; }
  .card--l .card-media, .card--m .card-media, .grid--3 .card-media { aspect-ratio: 4 / 3 !important; }
  .feat { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto clamp(2.5rem, 10vw, 3.5rem) auto; }
  .feat-media { grid-column: 1; grid-row: 1 / 3; min-height: 0; aspect-ratio: 16 / 10; }
  .feat-body { grid-column: 1; grid-row: 2 / 4; margin-inline: 0.75rem; }
  .hero-art { width: 110vw; right: -45%; top: -40%; opacity: 0.5; }
  .post-facts, .post-hero .post-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-hero { min-height: 86vh; padding-top: 6rem; }
  .post-title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .post-title--l { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .post-title--xl { font-size: clamp(1.7rem, 7vw, 2.1rem); }
  .author-card { flex-direction: column; }
  .ftr-col, .ftr-col:first-of-type { grid-column: span 6; }
  .srch-res li a { grid-template-columns: 72px 1fr; }
  .srch-res img { width: 72px; height: 54px; }
  .srch-res .ico { display: none; }
  .big-search { padding-left: 1rem; }
  .big-search .stm-btn { padding: 0 1rem; }
  .author-hero { flex-direction: column; align-items: flex-start; }
  .pv { bottom: 12px; }
  .pv-status { width: 100%; justify-content: center; padding-top: 0.25rem; }
  .admin-fab span { display: none; }
}
