/* Duumio — estilos da página: blog/index.html (mobile-first, leitura em fundo claro) */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.6; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.accent { color: var(--pink); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mut-d); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--pink); }

/* Barra de progresso de leitura: CSS puro onde houver suporte, JS como reserva */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--pink); transform-origin: 0 50%; transform: scaleX(0); z-index: 200; }
@supports (animation-timeline: scroll()) {
  body.reading .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* Topo */
.top { position: sticky; top: 0; z-index: 100; background: rgba(11,11,16,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-d); color: #fff; }
.top-in { height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.logo { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; min-height: 44px; }
.logo .io { color: var(--pink); }
.logo svg { width: .74em; height: .74em; margin-left: 3px; }
.top-nav { display: none; gap: 4px; }
.top-nav a { padding: 8px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--txt-d); }
.top-nav a:hover { color: #fff; background: var(--dark-3); }
.top-nav a.on { color: #fff; box-shadow: inset 0 -2px 0 var(--pink); border-radius: 0; }
.btn-sm-cta { height: 44px; padding: 0 48px 0 14px; font-size: 13px; border-radius: 10px; }
.btn-sm-cta .chip { width: 32px; border-radius: 7px; font-size: 15px; }
.btn-sm-cta .long { display: none; }
@media (min-width: 480px) { .btn-sm-cta .long { display: inline; } .btn-sm-cta .short { display: none; } }

/* Lista (redesenho de 30/11, decisão 75): topo com busca e "seu negócio", para você, ecossistemas, temas fixos e cards */
.blog-hero { background: var(--dark); color: #fff; padding: 40px 0 34px; }
.blog-hero h1 { font-family: var(--display); font-size: clamp(34px, 7vw, 60px); font-weight: 800; letter-spacing: -.045em; line-height: 1.03; margin-top: 14px; max-width: 780px; }
.blog-hero p { color: var(--txt-d); font-size: 16px; max-width: 560px; margin-top: 14px; }
.search { position: relative; max-width: 520px; margin-top: 24px; }
.search > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--mut-d); font-size: 18px; }
.search input { width: 100%; height: 52px; border-radius: 14px; border: 1px solid var(--line-d2); background: var(--dark-2); color: #fff; padding: 0 48px 0 46px; font-size: 15px; outline: none; transition: border-color .2s; }
.search input:focus { border-color: #fff; }
.search input::-webkit-search-cancel-button { filter: invert(1); }
.search-kbd { display: none; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 700 12px var(--code); color: var(--mut-d); border: 1px solid var(--line-d2); border-radius: 6px; padding: 1px 7px; }
@media (hover: hover) and (pointer: fine) { .search-kbd { display: block; } .search input:focus + .search-kbd { display: none; } }
.perfil { margin-top: 26px; }
.perfil-t { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mut-d); margin-bottom: 10px; }
.perfil-op { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; }
.perfil-op::-webkit-scrollbar { display: none; }
.perfil-b { flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 6px; border-radius: 14px; border: 1px solid var(--line-d2); background: var(--dark-2); color: var(--txt-d); font-size: 14px; font-weight: 600; transition: border-color .2s, color .2s, background .2s; }
.perfil-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--dark-3); color: #fff; display: grid; place-items: center; font-size: 21px; transition: background .2s, color .2s, transform .25s var(--ease); }
.perfil-b:hover { border-color: #fff; color: #fff; }
.perfil-b:hover .perfil-ic { transform: rotate(-6deg); }
.perfil-b.on { background: #fff; border-color: #fff; color: var(--ink); }
.perfil-b.on .perfil-ic { background: var(--purple); color: #fff; }

/* Para você */
.para-voce { margin-top: 28px; display: grid; gap: 16px; scroll-margin-top: 78px; }
.continuar { position: relative; display: grid; gap: 8px; padding: 18px 64px 18px 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--eco); border-radius: var(--r-lg); transition: border-color .2s, box-shadow .25s; }
.continuar:hover { box-shadow: 0 10px 30px -14px rgba(15, 23, 42, .22); }
.continuar-t { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--eco); }
.continuar b { font-family: var(--display); font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
.continuar small { font-size: 13px; color: var(--muted); }
.continuar-seta { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 16px; transition: transform .25s var(--ease); }
.continuar:hover .continuar-seta { transform: translate(3px, -50%); }
.barra { display: block; height: 6px; border-radius: 99px; background: #E2E8F0; overflow: hidden; max-width: 360px; }
.barra > span { display: block; height: 100%; background: var(--pink); border-radius: inherit; }
.pv-head { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; }
.pv-head h2 { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.pv-nicho { color: var(--purple); }
.pv-limpar, .limpar { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; font-weight: 700; color: var(--muted); }
.pv-limpar:hover, .limpar:hover { color: var(--ink); }
.pv-trilho { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: -4px -16px 0; padding: 4px 16px 14px; scrollbar-width: thin; }
.pv-trilho .card { flex: 0 0 min(80%, 290px); scroll-snap-align: start; grid-template-columns: 1fr; }
.pv-trilho .card .cover { min-height: 150px; }
.pv-trilho .card p { display: none !important; }
.pv-vazio { color: var(--muted); font-size: 14.5px; }

/* Cabeçalho de seção */
.sec-head { display: grid; gap: 4px; }

/* Temas fixos ao rolar */
.list { margin-top: 36px; padding-bottom: 72px; }
.filtros { position: sticky; top: 62px; z-index: 50; background: rgba(248, 250, 252, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.filtros-in { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.filtros-t { display: none; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip-f { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; font-weight: 700; color: var(--ink-3); transition: border-color .2s, background .2s, color .2s; }
.chip-f:hover { border-color: var(--ink); }
.chip-f.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-n { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; background: #F1F5F9; color: var(--muted); font-size: 11.5px; font-weight: 800; display: grid; place-items: center; }
.chip-f.on .chip-n { background: rgba(255, 255, 255, .16); color: #fff; }
.contagem { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 4px 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.limpar { min-height: 32px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Cards: no celular em linha (capa à esquerda); a partir de 680px em coluna */
.grid { display: grid; gap: 12px; }
.card { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.card:hover { border-color: #CBD5E1; transform: translateY(-2px); box-shadow: 0 12px 32px -14px rgba(15, 23, 42, .22); }
.cover { --c: #0F172A; position: relative; overflow: hidden; background: var(--c); color: #fff; display: grid; place-items: center; font-size: 40px; min-height: 104px; }
.cover.has-img { background: color-mix(in srgb, var(--c) 10%, #F8FAFC); }
.cover.has-img img { position: absolute; left: 12px; top: 12px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: cover; object-position: left top; border-radius: 8px 0 0 0; border: 1px solid rgba(15, 23, 42, .08); border-right: 0; border-bottom: 0; box-shadow: 0 8px 22px -10px rgba(15, 23, 42, .3); transition: transform .45s var(--ease); background: #fff; }
.card:hover .cover.has-img img { transform: translate(-3px, -3px); }
.cover:not(.has-img) i { transition: transform .45s var(--ease); }
.card:hover .cover:not(.has-img) i { transform: rotate(-6deg) scale(1.04); }
.card-body { padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card-cat { font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.card-body h3 { font-family: var(--display); font-size: 15.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-body p { display: none; font-size: 14px; color: var(--muted); }
.meta { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; font-size: 12px; color: var(--muted); }
.meta > span:nth-child(2)::before { content: "·"; margin-right: 10px; }
.tag-lido { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 700; }
.card.lido h3 { color: var(--ink-3); }
.card.feat { grid-template-columns: 1fr; }
.card.feat .cover { min-height: 190px; }
.card.feat .card-body { padding: 18px; gap: 8px; }
.card.feat h3 { font-size: 21px; -webkit-line-clamp: 4; }
.card.feat p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.empty { padding: 48px 16px; text-align: center; color: var(--muted); grid-column: 1 / -1; display: grid; gap: 8px; justify-items: center; }
.empty i { font-size: 34px; }

/* Ecossistemas: card com a trilha à direita */
.eco-rico { padding: 0; gap: 0; }
.eco-info { display: grid; gap: 8px; padding: 20px; align-content: start; justify-items: start; }
.eco-info .barra { width: 100%; margin-top: 4px; }
.eco-mini { display: none; }
.eco-prox { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.eco-prox-t { font-weight: 700; margin-right: 2px; }
.eco-prox-i { padding: 4px 11px; border: 1px dashed #CBD5E1; border-radius: 999px; background: #fff; color: var(--ink-3); font-weight: 600; }

@media (min-width: 680px) {
  .perfil-op { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .chips { margin: 0; padding: 0; }
  .pv-trilho { margin: -4px 0 0; padding: 4px 0 14px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .cover { min-height: 0; height: 180px; }
  .cover:not(.has-img) i { position: absolute; right: -6px; bottom: -22px; font-size: 128px; }
  .card-body { padding: 18px 18px 16px; gap: 8px; }
  .card-body h3 { font-size: 18px; }
  .card-body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .card.feat { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: auto; }
  .card.feat .cover { height: auto; min-height: 320px; }
  .card.feat .cover.has-img img { left: 28px; top: 28px; width: calc(100% - 28px); height: calc(100% - 28px); border-radius: 12px 0 0 0; }
  .card.feat .card-body { padding: 32px; justify-content: center; gap: 12px; }
  .card.feat h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.025em; line-height: 1.15; }
  .card.feat p { font-size: 16px; }
  .eco-rico { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .eco-info { padding: 26px; }
  .eco-mini { list-style: none; display: grid; align-content: center; gap: 2px; padding: 22px 26px; background: color-mix(in srgb, var(--eco) 6%, #fff); border-left: 1px solid var(--line); }
  .eco-mini li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; font-weight: 600; color: var(--ink-3); }
  .eco-mini-n { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--ink); }
  .eco-mini li.lido .eco-mini-n { background: var(--ink); border-color: var(--ink); color: #fff; }
  .eco-mini-mais { color: var(--muted); padding-left: 36px !important; }
}
@media (min-width: 1000px) {
  .blog-hero { padding: 56px 0 44px; }
  .filtros-t { display: block; flex-shrink: 0; font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -.02em; margin-right: 6px; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ecos-grid:has(.eco-rico) { grid-template-columns: 1fr; }
  .eco-rico { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}

/* Artigo */
.post { padding-top: 26px; padding-bottom: 72px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.crumbs a:hover { color: var(--purple); }
.post-head { max-width: 760px; margin: 18px 0 26px; }
.post-head .catb { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-head h1 { font-family: var(--display); font-size: clamp(28px, 5vw, 44px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin-top: 10px; }
.post-head .lead { font-size: 17px; color: var(--ink-3); margin-top: 14px; }
.byline { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.byline .av { width: 36px; height: 36px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 13px; }
.byline b { color: var(--ink); display: block; font-size: 13.5px; }
.post-grid { display: grid; gap: 28px; }
.toc { display: none; }
.content { max-width: 720px; font-size: 17px; color: #1E293B; }
.content p { margin-bottom: 18px; }
.content h2 { font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 36px 0 12px; scroll-margin-top: 80px; color: var(--ink); }
.content h3 { font-size: 19px; margin: 26px 0 10px; }
.content ul { margin: 0 0 18px 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.content li { position: relative; padding-left: 22px; }
.content li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: #94A3B8; }
.content blockquote { border-left: 3px solid var(--purple); background: var(--purple-soft); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 0 0 18px; color: var(--ink); font-weight: 600; }
.content strong { color: var(--ink); }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; padding-top: 20px; border-top: 1px solid var(--line); align-items: center; }
.share span { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.share a, .share button { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 19px; background: #fff; transition: border-color .2s, color .2s; }
.share a:hover, .share button:hover { border-color: var(--ink); color: var(--purple); }
.cta-box { background: var(--dark); color: #fff; border-radius: var(--r-lg); padding: 24px; display: grid; gap: 14px; margin-top: 10px; }
.cta-box b { font-family: var(--display); font-size: 21px; letter-spacing: -.02em; }
.cta-box p { color: var(--txt-d); font-size: 14.5px; }
.cta-box .btn-cta { justify-self: start; }
.related { margin-top: 48px; }
.related h3 { font-family: var(--display); font-size: 20px; margin-bottom: 14px; }

.foot { background: var(--dark); color: var(--mut-d); font-size: 12.5px; padding: 22px 0; }
.foot-in { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
.foot a:hover { color: #fff; }

@media (min-width: 680px) {
  .wrap { padding: 0 24px; }
  .foot-in { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1000px) {
  .top-nav { display: flex; }
  .post-grid { grid-template-columns: 220px 1fr; gap: 48px; }
  .toc { display: block; position: sticky; top: 90px; align-self: start; font-size: 13px; }
  .toc b { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
  .toc a { display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--line); color: var(--muted); }
  .toc a:hover, .toc a.on { color: var(--ink); border-color: var(--pink); }
}

/* Idioma: seletor compartilhado em core/components.css e aviso de artigo só em português */
.top-in .lang { margin-left: auto; }
.lang-note { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted, #64748B); background: #F8FAFC; border: 1px solid var(--line, #E2E8F0); border-radius: 10px; padding: 10px 12px; margin: 0 0 18px; }
html[lang="pt-BR"] .lang-note { display: none; }

/* ---------- Ecossistemas (decisão 64): guia por família de sistemas ---------- */
.ecos { margin-top: 28px; }
.ecos-t { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.ecos-s { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.ecos-grid { display: grid; gap: 12px; margin-top: 14px; }
.eco-card { display: grid; gap: 8px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--eco); border-radius: var(--r-lg); padding: 20px; transition: border-color .2s, transform .2s; }
.eco-card:hover { transform: translateY(-3px); border-color: var(--ink); border-top-color: var(--eco); }
.eco-card img { height: 40px; width: auto; justify-self: start; margin: -4px 0; }
.eco-card b { font-family: var(--display); font-size: 19px; letter-spacing: -.01em; line-height: 1.25; }
.eco-card small { color: var(--muted); font-size: 13.5px; }
.eco-n { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 4px; }

.eco-head { max-width: 760px; margin: 18px 0 30px; display: grid; gap: 10px; justify-items: start; }
.eco-head img { height: 48px; width: auto; margin-bottom: 4px; }
.eco-head .catb { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--eco); }
.eco-head h1 { font-family: var(--display); font-size: clamp(28px, 5vw, 44px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.eco-head .lead { font-size: 17px; color: var(--ink-3); }
.eco-prod { font-size: 14px; font-weight: 700; color: var(--muted); }
.eco-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 6px; }
.eco-lp { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.trilha { margin-bottom: 36px; }
.trilha h2 { font-family: var(--display); font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.trilha ol { list-style: none; display: grid; gap: 12px; }
.trilha-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; transition: border-color .2s; }
.trilha-item:hover { border-color: var(--ink); }
.trilha-n { width: 34px; height: 34px; border-radius: 10px; background: var(--dark); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.trilha-capa { display: none; }
.trilha-txt { display: grid; gap: 4px; }
.trilha-txt b { font-family: var(--display); font-size: 16.5px; line-height: 1.3; letter-spacing: -.01em; }
.trilha-txt small { font-size: 14px; color: var(--muted); }
.trilha-txt em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--muted); }

.eco-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; margin-bottom: 10px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 700; color: var(--ink); }
.eco-tag i { color: var(--eco); }
.post-head .eco-tag + .catb { display: none; }
.eco-nav { display: grid; gap: 10px; margin: 30px 0 22px; max-width: 720px; }
.eco-nav a { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s; }
.eco-nav a:hover { border-color: var(--ink); }
.eco-nav small { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.eco-nav b { font-size: 15px; line-height: 1.35; color: var(--ink); }
.eco-nav .prox { text-align: right; }

.content a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--purple); text-underline-offset: 3px; }
.content figure { margin: 6px 0 24px; }
.content figure img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; background: #F1F5F9; border: 1px solid var(--line); border-radius: 14px; }
.content figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }

@media (min-width: 680px) {
  .ecos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trilha-item { grid-template-columns: 34px 160px 1fr; gap: 16px; }
  .trilha-capa { --c: #0F172A; display: grid; place-items: center; height: 100px; border-radius: 10px; font-size: 34px; color: #fff; overflow: hidden; background: var(--c); }
  .trilha-capa.has-img { background: color-mix(in srgb, var(--c) 10%, #F8FAFC); }
  .trilha-capa.has-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
  .trilha-capa .cat { display: none; }
  .eco-nav { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) { .ecos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Respiro entre o fim do artigo (caixa escura do diagnóstico) e o rodapé, que também é escuro */
#postView { padding-bottom: 64px; }
.foot { border-top: 1px solid var(--line-d); }
.content figure.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; background: #0F172A; border: 1px solid var(--line); border-radius: 14px; }
/* Perguntas frequentes do artigo (AEO, decisão 72): visíveis e marcadas como FAQPage */
.faq-art { max-width: 720px; margin-top: 30px; }
.faq-art h2 { font-family: var(--display); font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.faq-art details { border-bottom: 1px solid var(--line); }
.faq-art summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; cursor: pointer; font-weight: 700; color: var(--ink); }
.faq-art summary::-webkit-details-marker { display: none; }
.faq-art summary i { transition: transform .2s; flex-shrink: 0; }
.faq-art details[open] summary i { transform: rotate(45deg); }
.faq-art p { color: var(--ink-3); padding-bottom: 16px; }
/* Tabelas do artigo (comparativos): rolam de lado no celular, sem quebrar a página */
.content .tabela { overflow-x: auto; margin: 6px 0 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.content table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.content th, .content td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.content thead th { background: #F8FAFC; font-weight: 800; color: var(--ink); }
.content tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.content tbody tr:last-child th, .content tbody tr:last-child td { border-bottom: 0; }

/* Páginas geradas (decisão 75): lista em espanhol e lidos na trilha */
.blog-hero-es { padding: 32px 22px; border-radius: 20px; margin-top: 18px; }
.list-es { margin-top: 36px; }
.lista-t { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px; }
.trilha-item.lido .trilha-n { background: var(--ok); }
.trilha-item.lido .trilha-txt b { color: var(--ink-3); }
/* Paginação da lista (9 por página) */
.paginas { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.pag-b { min-width: 44px; height: 44px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; font-weight: 700; color: var(--ink-3); display: grid; place-items: center; transition: border-color .2s, background .2s, color .2s; }
.pag-b:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.pag-b.on, .pag-b.on:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.pag-b:disabled { opacity: .4; cursor: default; }
.pag-seta { font-size: 16px; }

/* Seletor de idioma nas páginas geradas (links no lugar de botões; mesmo visual do components.css) */
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: rgba(255, 255, 255, .1); }
.lang-menu a i { opacity: 0; color: #fff; }
.lang-menu a[aria-current="true"] { font-weight: 800; }
.lang-menu a[aria-current="true"] i { opacity: 1; }
/* Em página clara, o vidro mais fechado para o texto de trás não competir com as opções */
.estatico .lang-menu { background: rgba(28, 28, 38, .95); }

/* Artigo arquivado (decisão 85): aviso no topo, levando à versão atual */
.aviso-arquivado { display: flex; gap: 10px; align-items: flex-start; max-width: 760px; margin: 16px auto 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink-3); font-size: 14.5px; }
.aviso-arquivado i { font-size: 20px; color: var(--muted); margin-top: 1px; }
.aviso-arquivado a { font-weight: 700; }
