/* A pesquisa: a caixa no topo, os temas, os separadores por área, os peritos e a lista de resultados. */

.pq-hero .container { grid-template-columns: minmax(0, 1fr); padding-bottom: 56px; }
.pq-eyebrow { color: #8cc6f5; margin-top: 26px; }
.pq-hero h1 { margin-top: 12px; font-size: 44px; overflow-wrap: anywhere; }
.pq-form { display: flex; align-items: center; gap: 12px; max-width: 820px; margin-top: 8px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 22px; box-shadow: var(--shadow-lg); }
.pq-form svg { width: 20px; height: 20px; stroke: var(--muted); flex: none; }
.pq-form input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; color: var(--ink); background: transparent; padding: 10px 0; }
.pq-form input::placeholder { color: #8a98aa; font-style: italic; }
.pq-form:focus-within { box-shadow: 0 0 0 3px #8cc6f5, var(--shadow-lg); }
.pq-tema { margin-top: 18px; color: #c9d6e6; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.pq-tema .chip { background: rgba(255, 255, 255, .14); color: #fff; }
.pq-tema .chip:hover { background: rgba(255, 255, 255, .24); }

.pq-pagina { padding-top: 36px; }
.pq-inicio h2 { font-size: 24px; color: var(--navy); }
.pq-inicio > p { color: var(--muted); margin: 8px 0 20px; }
.pq-temas { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.vazio .pq-temas { justify-content: center; }
.pq-temas a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-family: 'Rubik'; font-weight: 600; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; }
.pq-temas a:hover { background: #d6e8fa; }
.pq-temas em { font-style: normal; font-size: 11px; opacity: .7; }
.pq-inicio { padding-bottom: 90px; }

.pq-total { color: var(--muted); font-size: 15px; }
.pq-total b { color: var(--navy); }
.pq-areas { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.pq-areas a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--bg); color: var(--muted); font-family: 'Rubik'; font-weight: 600; font-size: 13px; }
.pq-areas a:hover { color: var(--navy); }
.pq-areas a i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.pq-areas a em { font-style: normal; font-size: 11px; opacity: .7; }
.pq-areas a.on { background: var(--navy); color: #fff; }

.pq-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.pq-cab h2 { font-size: 20px; color: var(--navy); }
.pq-cab a { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 14px; }
.pq-cab a svg { width: 15px; height: 15px; stroke: currentColor; }
.pq-peritos { margin-top: 26px; }
.pq-peritos ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pq-peritos a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); height: 100%; }
.pq-peritos a:hover { border-color: var(--blue); }
.pq-peritos img, .pq-peritos .ini { flex: none; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.pq-peritos .ini { display: grid; place-items: center; background: var(--estudos); color: #fff; font-family: 'Rubik'; font-weight: 700; font-size: 14px; }
.pq-peritos b { display: block; font-size: 14.5px; color: var(--navy); }
.pq-peritos small { display: block; color: var(--muted); font-size: 12.5px; }

.pq-lista { list-style: none; margin-top: 28px; display: grid; gap: 4px; }
.pq-item { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; padding: 16px; border-radius: 18px; align-items: start; }
.pq-item:hover { background: var(--bg); }
.pq-item:hover b { color: var(--blue); }
.pq-item__img { display: block; aspect-ratio: 16 / 10; border-radius: 12px; background: #e9eef5 center / cover no-repeat; }
/* As capas das publicações (livros, fundo branco) mostram-se inteiras, num fundo lilás. */
.pq-item__img--publicacoes { background-color: #efeaf8; background-size: contain; background-blend-mode: multiply; }
.pq-item__texto { display: grid; gap: 6px; min-width: 0; }
.pq-item__area { display: inline-flex; align-items: center; gap: 8px; font-family: 'Rubik'; font-weight: 600; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.pq-item__area::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.pq-item b { font-family: 'Rubik'; font-size: 18px; line-height: 1.35; color: var(--navy); }
.pq-item__resumo { color: var(--muted); font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pq-item__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.pq-item__meta span { display: inline-flex; align-items: center; gap: 6px; }
.pq-item__meta svg { width: 14px; height: 14px; stroke: currentColor; }

@media (max-width: 760px) {
    .pq-hero h1 { font-size: 32px; }
    .pq-form { padding-left: 16px; }
    .pq-form .btn { padding: 10px 16px; }
    .pq-peritos ul { grid-template-columns: 1fr; }
    .pq-item { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px 6px; }
    .pq-item b { font-size: 16px; }
}
