/* Blog Treinadores de IA v2 (27/11/2026, Dieter): formato de site de notícias, estilo Jornal aprovado pelo Dollar. Arquivo único: /blog/blog.css */
:root {
  --ink: #0F0F0F; --ink-2: #3A3A3A; --muted: #6B6B6B; --line: #E4DDD0;
  --accent: #16A34A; --accent-strong: #15803D; --accent-glow: #22C55E; --accent-soft: #ECFDF3;
  --bg: #F4EFE7; --paper: #FBF8F3; --head: 'Fraunces', Georgia, serif; --head-w: 700; --head-ls: -.015em;
}
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.in { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* topo: o mesmo da home */
nav.top { position: sticky; top: 0; z-index: 40; height: 60px; background: rgba(15,14,12,.96); border-bottom: 1px solid rgba(255,255,255,.08); }
nav.top .barra { height: 100%; display: flex; align-items: center; gap: 22px; position: relative; }
nav.top .brand img { height: 26px; width: auto; }
nav.top .nav-links { display: flex; gap: 4px; flex: 1; justify-content: center; font-size: 13.5px; font-weight: 500; }
nav.top .nav-links a { color: #d9d9d9; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
nav.top .nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
nav.top .nav-links a.on { background: var(--accent-strong); color: #fff; font-weight: 700; }
.btn-zap { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; height: 42px; padding: 0 18px; border-radius: 999px; border: 2px solid rgba(255,255,255,.6); color: #fff; white-space: nowrap; }
.btn-zap svg { color: #25D366; }
details.menu { display: none; }
details.menu > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: #fff; border: 2px solid var(--ink); border-radius: 999px; }
details.menu > summary::-webkit-details-marker { display: none; }
.menu-cx { position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); z-index: 60; background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); padding: 8px; display: flex; flex-direction: column; }
.menu-cx a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px; font-size: 15.5px; font-weight: 600; }
.menu-cx a.on { background: var(--accent-strong); color: #fff; }

/* cabeçalho do blog: nome da seção + abas de categoria (texto com sublinhado, sem pílula) */
.mast { background: var(--paper); border-bottom: 1px solid var(--line); }
.mast .in { padding-top: 36px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mast h1 { font-family: var(--head); font-weight: var(--head-w); letter-spacing: var(--head-ls); font-size: 44px; line-height: 1; }
.mast .sub { font-size: 14.5px; color: var(--muted); padding-bottom: 4px; }
.abas-bar { position: sticky; top: 60px; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.mast + .abas-bar { margin-top: -1px; }
.abas { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; height: 52px; align-items: stretch; }
.abas::-webkit-scrollbar { display: none; }
.abas button { all: unset; box-sizing: border-box; cursor: pointer; flex: none; display: flex; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.abas button:hover { color: var(--ink); }
.abas button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.abas button:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }

/* rótulo da notícia: categoria em texto verde + data, como em site de notícias */
.kicker { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kicker .c { color: var(--accent-strong); }
.kicker .c { position: relative; z-index: 2; }
.kicker .c:hover { text-decoration: underline; text-underline-offset: 3px; }
.kicker .sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.kicker time { font-weight: 600; letter-spacing: .04em; }

/* imagens: canto suave, sem borda grossa */
.img { position: relative; overflow: hidden; border-radius: 10px; background: #E9E3D8; aspect-ratio: 16 / 9; }
.img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .img img, .item:hover .img img, .topo-materia:hover .img img { transform: scale(1.03); }

/* manchete + 2 secundárias */
.capa-blog { padding-top: 32px; padding-bottom: 8px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; }
.topo-materia, .card, .item { position: relative; }
.topo-materia a.t::after, .card a.t::after, .item a.t::after { content: ""; position: absolute; inset: 0; }
.topo-materia { display: flex; flex-direction: column; gap: 14px; }
.topo-materia h2 { font-family: var(--head); font-weight: var(--head-w); letter-spacing: var(--head-ls); font-size: 38px; line-height: 1.08; text-wrap: balance; }
.topo-materia p { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 680px; }
.lado { display: flex; flex-direction: column; gap: 24px; }
.lado .card + .card { border-top: 1px solid var(--line); padding-top: 24px; }
.card { display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-family: var(--head); font-weight: var(--head-w); letter-spacing: var(--head-ls); font-size: 21px; line-height: 1.2; text-wrap: balance; }
.card:hover h3, .item:hover h3, .topo-materia:hover h2 { color: var(--accent-strong); }

/* últimas: lista com texto à esquerda e foto à direita */
.secao { padding-top: 40px; padding-bottom: 64px; }
.secao-t { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.secao-t::after { content: ""; flex: 1; height: 1px; background: var(--ink); }
.ultimas { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 24px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.item .txt { display: flex; flex-direction: column; gap: 8px; }
.item h3 { font-family: var(--head); font-weight: var(--head-w); letter-spacing: var(--head-ls); font-size: 23px; line-height: 1.18; text-wrap: balance; }
.item p { font-size: 15px; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item .img { aspect-ratio: 3 / 2; }
.vazio { padding: 32px 0; color: var(--muted); }
[data-cat][hidden] { display: none !important; }
.capa-blog[hidden] { display: none; }
.capa-blog:has(+ .secao[hidden]) { padding-bottom: 56px; } /* sem a lista, respiro antes do rodapé */

/* coluna lateral: comunidade (sem "mais lidas": não temos esse dado) */
.coluna { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
.box-zap { background: var(--ink); color: #fff; border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 132px; }
.box-zap b { font-family: var(--head); font-weight: var(--head-w); font-size: 21px; line-height: 1.2; letter-spacing: var(--head-ls); }
.box-zap p { font-size: 14px; line-height: 1.5; color: #D6D3CD; }
.box-zap a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 999px; font-weight: 700; font-size: 14px; margin-top: 4px; }
.box-zap a.zap { background: #25D366; color: #fff; }
.box-zap a.vagas { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.box-zap small { font-size: 11.5px; color: rgba(255,255,255,.55); }

/* página da notícia */
.materia { padding-top: 40px; }
.materia .cab { max-width: 728px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; gap: 16px; }
.materia h1 { font-family: var(--head); font-weight: var(--head-w); letter-spacing: var(--head-ls); font-size: 48px; line-height: 1.06; text-wrap: balance; }
.materia .dek { font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.assina { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin-top: 4px; }
.assina .quem { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.assina .quem b { color: var(--ink); font-weight: 700; }
.assina .selo { width: 34px; height: 34px; border-radius: 50%; background: #0E0E0E; overflow: hidden; display: flex; align-items: center; justify-content: center; flex: none; }
.assina .selo img { width: 100%; height: 100%; object-fit: cover; }
.partilha { display: flex; gap: 8px; }
.partilha a, .partilha button { all: unset; box-sizing: border-box; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); background: var(--paper); }
.partilha a:hover, .partilha button:hover { border-color: var(--ink); }
.partilha .wa svg { color: #25D366; }
.foto { max-width: 728px; margin: 28px auto 0; padding: 0 24px; }
.foto .img { border-radius: 12px; aspect-ratio: 1200 / 630; }
.foto figcaption { font-size: 12.5px; color: var(--muted); padding-top: 8px; text-align: center; }
.texto { max-width: 728px; margin: 32px auto 0; padding: 0 24px; display: flex; flex-direction: column; gap: 22px; font-size: 18.5px; line-height: 1.75; color: #1f1f1f; }
.texto > p:first-child::first-letter { font-family: 'Fraunces', Georgia, serif; font-weight: 700; float: left; font-size: 3.6em; line-height: .85; padding: 6px 10px 0 0; color: var(--ink); }
.texto a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.texto blockquote { margin: 6px 0; padding: 0 0 0 20px; border-left: 3px solid var(--accent); font-family: var(--head); font-weight: 600; font-size: 22px; line-height: 1.45; color: var(--ink); }
.muda { background: var(--accent-soft); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.muda h2 { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); }
.muda p { font-size: 17px; line-height: 1.7; color: #1c1c1c; }
.fonte { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; background: var(--paper); font-size: 15px; line-height: 1.5; }
.fonte .ic { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.fonte b { display: block; }
.fonte a { color: var(--accent-strong); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fonte small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.chamada { background: var(--ink); color: #fff; border-radius: 16px; padding: 26px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 24px; align-items: center; margin-top: 8px; }
.chamada b { font-family: var(--head); font-weight: var(--head-w); letter-spacing: var(--head-ls); font-size: 24px; line-height: 1.2; display: block; }
.chamada p { font-size: 15px; line-height: 1.5; color: #D6D3CD; margin-top: 6px; }
.chamada .bts { display: flex; flex-direction: column; gap: 10px; }
.chamada .bts a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.chamada .bts .vagas { background: #fff; color: var(--ink); }
.chamada .bts .zap { background: #25D366; color: #fff; }
.chamada small { grid-column: 1 / -1; font-size: 12px; color: rgba(255,255,255,.55); }
.leia { border-top: 1px solid var(--line); margin-top: 56px; background: var(--paper); }
.leia .in { padding-top: 36px; padding-bottom: 56px; }
.leia .grade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 18px; }

/* rodapé: o mesmo da home */
.site-footer { border-top: 2px solid var(--ink); background: var(--bg); }
.site-footer .in { padding-top: 30px; padding-bottom: 30px; display: flex; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; }
.site-footer img { height: 24px; width: auto; align-self: flex-start; }
.site-footer .marca { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.site-footer p { font-size: 13px; line-height: 1.5; color: var(--muted); }
.site-footer nav { display: flex; gap: 4px 20px; font-size: 13.5px; font-weight: 600; flex-wrap: wrap; max-width: 520px; }
.site-footer nav a { min-height: 44px; display: flex; align-items: center; }

@media (prefers-reduced-motion: reduce) { .img img { transition: none; } .card:hover .img img, .item:hover .img img, .topo-materia:hover .img img { transform: none; } }
@media (max-width: 1060px) { .btn-zap .longo { display: none; } .btn-zap { width: 42px; padding: 0; justify-content: center; } .ultimas { grid-template-columns: 1fr; } .coluna { display: none; } }
@media (max-width: 900px) {
  nav.top .nav-links, nav.top .btn-zap { display: none; }
  nav.top .barra { justify-content: space-between; }
  details.menu { display: block; }
  .in { padding: 0 16px; }
  .mast .in { padding-top: 22px; }
  .mast h1 { font-size: 32px; }
  .mast .sub { display: none; }
  .abas { gap: 22px; height: 48px; }
  .abas button { font-size: 14px; }
  .capa-blog { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .capa-blog > .topo-materia { margin: 0 -16px; gap: 10px; }
  .topo-materia .img { border-radius: 0; }
  .topo-materia .kicker, .topo-materia h2, .topo-materia p { padding: 0 16px; }
  .topo-materia h2 { font-size: 27px; line-height: 1.12; }
  .topo-materia p { font-size: 15.5px; }
  .lado { gap: 0; margin-top: 8px; }
  .lado .card, .lado .card + .card { display: grid; grid-template-columns: minmax(0, 1fr) 104px; grid-template-areas: "k img" "t img"; gap: 6px 14px; padding: 18px 0; border-top: 1px solid var(--line); align-content: start; }
  .lado .card .img { grid-area: img; aspect-ratio: 1 / 1; border-radius: 8px; }
  .lado .card .kicker { grid-area: k; }
  .lado .card h3 { grid-area: t; font-size: 17.5px; }
  .secao { padding-top: 12px; padding-bottom: 40px; }
  .item { grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; padding: 18px 0; }
  .item .img { aspect-ratio: 1 / 1; border-radius: 8px; }
  .item h3 { font-size: 17.5px; line-height: 1.22; }
  .item p { display: none; }
  .materia { padding-top: 24px; }
  .materia .cab { padding: 0 16px; gap: 12px; }
  .materia h1 { font-size: 30px; line-height: 1.1; }
  .materia .dek { font-size: 17px; }
  .foto { padding: 0 16px; margin-top: 20px; }
  .texto { padding: 0 16px; margin-top: 24px; font-size: 17.5px; gap: 18px; }
  .texto blockquote { font-size: 19px; }
  .muda { padding: 16px 18px; }
  .muda p { font-size: 16px; }
  .chamada { grid-template-columns: 1fr; padding: 22px 18px; }
  .chamada .bts a { width: 100%; }
  .leia { margin-top: 40px; }
  .leia .in { padding-top: 24px; padding-bottom: 40px; }
  .leia .grade { grid-template-columns: 1fr; gap: 0; margin-top: 4px; }
  .leia .card { display: grid; grid-template-columns: minmax(0, 1fr) 104px; grid-template-areas: "k img" "t img"; gap: 6px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .leia .card .img { grid-area: img; aspect-ratio: 1 / 1; border-radius: 8px; }
  .leia .card .kicker { grid-area: k; }
  .leia .card h3 { grid-area: t; font-size: 17px; }
  .site-footer .in { flex-direction: column; }
}

/* "Copiar link": aviso curto depois do clique */
.partilha button[data-ok]::after { content: "Link copiado"; position: absolute; left: 50%; top: 100%; transform: translate(-50%, 6px); font-size: 12px; font-weight: 600; background: var(--ink); color: #fff; padding: 4px 8px; border-radius: 6px; white-space: nowrap; }
.partilha button { position: relative; }
