/* ═══════════════════════════════════════════════════════════
   Zavvi — Central de Ajuda (/ajuda)
   Prefixo: hp- · mesma paleta neo-brutalist suave da LP
   ═══════════════════════════════════════════════════════════ */

:root {
    --hp-ink: #150d30;
    --hp-green: #00E785;
    --hp-green-soft: #e7fff3;
    --hp-green-pastel: #eafff2;
    --hp-yellow: #ffd84d;
    --hp-blue-pastel: #eef6ff;
    --hp-pink-pastel: #fff0f7;
    --hp-lilac-pastel: #f1eaff;
    --hp-gray: #5b5772;
    --hp-gray-light: #8a86a0;
    --hp-line: #e9e7f2;
    --hp-bg: #fafaf7;
    --hp-radius: 18px;
    --hp-font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
    --hp-font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body.hp-body {
    font-family: var(--hp-font-body);
    color: var(--hp-ink);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.hp-body a { color: inherit; }
.hp-body img { max-width: 100%; }
.hp-main { flex: 1; }

.hp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ── Botões ── */
.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: var(--hp-font-display);
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
    border-radius: 12px;
    padding: .6rem 1.25rem;
    cursor: pointer;
    border: 2px solid var(--hp-ink);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    white-space: nowrap;
    line-height: 1.2;
}
.hp-btn-neo {
    background: var(--hp-green);
    color: var(--hp-ink);
    box-shadow: 4px 4px 0 var(--hp-ink);
}
.hp-btn-neo:hover {
    transform: translate(1px, 1px);
    box-shadow: 3px 3px 0 var(--hp-ink);
    background: #2bf28f;
}
.hp-btn-outline {
    background: #fff;
    color: var(--hp-ink);
    box-shadow: 4px 4px 0 rgba(21,13,48,.12);
}
.hp-btn-outline:hover {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 rgba(21,13,48,.16);
}
.hp-btn svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ── Topbar preta ── */
.hp-utility {
    background: var(--hp-ink);
    color: rgba(255,255,255,.8);
    font-size: .78rem;
}
.hp-utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .45rem 0;
}
.hp-utility a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-weight: 500;
    padding: .15rem .5rem;
}
.hp-utility a:hover { color: #fff; text-decoration: underline; }
.hp-utility strong { color: #fff; font-weight: 600; }

/* ── Navbar branca sticky ── */
.hp-nav {
    position: sticky;
    top: 0;
    z-index: 300;
    background: #fff;
    border-bottom: 1px solid var(--hp-line);
}
.hp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .75rem 0;
}
.hp-nav-brand { display: flex; align-items: center; gap: .75rem; }
.hp-nav-brand .hp-nav-tag {
    font-family: var(--hp-font-display);
    font-weight: 700;
    font-size: .8rem;
    background: var(--hp-yellow);
    border: 1.5px solid var(--hp-ink);
    border-radius: 30px;
    padding: .05rem .65rem;
    box-shadow: 2px 2px 0 var(--hp-ink);
    text-decoration: none;
    white-space: nowrap;
}
.hp-nav-links { display: flex; align-items: center; gap: .65rem; }
.hp-nav-links > a:not(.hp-btn) {
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    color: var(--hp-gray);
    padding: .45rem .8rem;
    border-radius: 10px;
}
.hp-nav-links > a:not(.hp-btn):hover { background: var(--hp-green-soft); color: var(--hp-ink); }
.hp-nav-links .hp-btn { font-size: .86rem; padding: .5rem 1.05rem; }

/* ── Hero da home da ajuda ── */
.hp-hero {
    background: var(--hp-green-pastel);
    background-image:
        radial-gradient(circle at 12% 20%, rgba(255,216,77,.55) 0, transparent 26%),
        radial-gradient(circle at 88% 80%, rgba(0,231,133,.35) 0, transparent 30%);
    border-bottom: 2px solid var(--hp-ink);
    padding: 3.5rem 0 3rem;
    text-align: center;
}
.hp-hero h1 {
    font-family: var(--hp-font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: .75rem;
}
.hp-hero p {
    color: var(--hp-gray);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto 1.75rem;
}
.hp-mark {
    background: linear-gradient(transparent 55%, var(--hp-green) 55%);
    padding: 0 .1em;
}

/* ── Busca ── */
.hp-search {
    display: flex;
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid var(--hp-ink);
    border-radius: 14px;
    box-shadow: 5px 5px 0 var(--hp-ink);
    overflow: hidden;
}
.hp-search input {
    flex: 1;
    border: 0;
    outline: none;
    font: inherit;
    font-size: 1rem;
    padding: .9rem 1.1rem;
    color: var(--hp-ink);
    background: transparent;
    min-width: 0;
}
.hp-search input::placeholder { color: var(--hp-gray-light); }
.hp-search button {
    border: 0;
    border-left: 2px solid var(--hp-ink);
    background: var(--hp-green);
    font-family: var(--hp-font-display);
    font-weight: 700;
    font-size: .95rem;
    padding: 0 1.25rem;
    cursor: pointer;
    color: var(--hp-ink);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.hp-search button:hover { background: #2bf28f; }
.hp-search button svg { width: 18px; height: 18px; }
.hp-search--compact { max-width: 100%; box-shadow: 3px 3px 0 var(--hp-ink); border-radius: 12px; }
.hp-search--compact input { padding: .6rem .9rem; font-size: .92rem; }
.hp-search--compact button { padding: 0 .9rem; font-size: .88rem; }
.hp-hero-hints {
    margin-top: 1rem;
    font-size: .85rem;
    color: var(--hp-gray);
}
.hp-hero-hints a {
    color: var(--hp-ink);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px solid var(--hp-ink);
    margin: 0 .3rem;
}
.hp-hero-hints a:hover { background: var(--hp-yellow); }

/* ── Seções da home ── */
.hp-section { padding: 3rem 0; }
.hp-section-title {
    font-family: var(--hp-font-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -.01em;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.hp-section-title .hp-dot {
    width: 12px; height: 12px;
    background: var(--hp-green);
    border: 2px solid var(--hp-ink);
    border-radius: 4px;
    display: inline-block;
}

.hp-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.hp-cat-card {
    background: #fff;
    border: 2px solid var(--hp-ink);
    border-radius: var(--hp-radius);
    padding: 1.35rem 1.35rem 1.15rem;
    box-shadow: 5px 5px 0 var(--hp-ink);
    display: flex;
    flex-direction: column;
    transition: transform .15s ease, box-shadow .15s ease;
}
.hp-cat-card:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--hp-ink); }
.hp-cat-card:nth-child(7n+1) { background: var(--hp-green-pastel); }
.hp-cat-card:nth-child(7n+2) { background: var(--hp-lilac-pastel); }
.hp-cat-card:nth-child(7n+3) { background: var(--hp-blue-pastel); }
.hp-cat-card:nth-child(7n+4) { background: var(--hp-pink-pastel); }
.hp-cat-card:nth-child(7n+5) { background: #fffbe6; }
.hp-cat-card:nth-child(7n+6) { background: var(--hp-green-pastel); }
.hp-cat-card:nth-child(7n+7) { background: var(--hp-lilac-pastel); }
.hp-cat-head { display: flex; align-items: flex-start; gap: .8rem; margin-bottom: .75rem; }
.hp-cat-icon {
    width: 42px; height: 42px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff;
    border: 2px solid var(--hp-ink);
    border-radius: 12px;
    box-shadow: 2px 2px 0 var(--hp-ink);
}
.hp-cat-icon svg { width: 22px; height: 22px; }
.hp-cat-card h2 {
    font-family: var(--hp-font-display);
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.25;
    letter-spacing: -.01em;
}
.hp-cat-card h2 a { text-decoration: none; }
.hp-cat-card h2 a:hover { text-decoration: underline; }
.hp-cat-card p.hp-cat-blurb {
    color: var(--hp-gray);
    font-size: .88rem;
    margin-bottom: .85rem;
    line-height: 1.5;
}
.hp-cat-list { list-style: none; margin: 0 0 .9rem; padding: 0; }
.hp-cat-list li { padding: .3rem 0; border-top: 1px solid rgba(21,13,48,.1); }
.hp-cat-list li:first-child { border-top: 0; }
.hp-cat-list a {
    text-decoration: none;
    font-size: .92rem;
    font-weight: 500;
    display: flex;
    gap: .5rem;
    align-items: baseline;
}
.hp-cat-list a:hover { text-decoration: underline; }
.hp-cat-list a::before {
    content: "→";
    font-weight: 700;
    color: var(--hp-gray-light);
    flex-shrink: 0;
}
.hp-cat-list a:hover::before { color: var(--hp-ink); }
.hp-cat-more {
    margin-top: auto;
    align-self: flex-start;
    font-family: var(--hp-font-display);
    font-weight: 700;
    font-size: .85rem;
    text-decoration: none;
    border-bottom: 2px solid var(--hp-ink);
}
.hp-cat-more:hover { background: var(--hp-yellow); }

/* Mais lidos */
.hp-popular {
    background: var(--hp-bg);
    border-top: 2px solid var(--hp-ink);
    border-bottom: 2px solid var(--hp-ink);
}
.hp-popular-list {
    list-style: none;
    counter-reset: popular;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.hp-popular-list li { counter-increment: popular; }
.hp-popular-list a {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    height: 100%;
    background: #fff;
    border: 2px solid var(--hp-ink);
    border-radius: 14px;
    padding: 1rem 1rem .9rem;
    text-decoration: none;
    box-shadow: 3px 3px 0 var(--hp-ink);
    transition: transform .15s ease, box-shadow .15s ease;
}
.hp-popular-list a:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--hp-ink); }
.hp-popular-list a::before {
    content: "0" counter(popular);
    font-family: var(--hp-font-display);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--hp-green);
    -webkit-text-stroke: 1px var(--hp-ink);
    line-height: 1;
}
.hp-popular-list strong {
    font-family: var(--hp-font-display);
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.3;
}
.hp-popular-list span { font-size: .8rem; color: var(--hp-gray); line-height: 1.4; }

/* Faixa de contato */
.hp-contact-band {
    background: var(--hp-ink);
    color: #fff;
    padding: 2.75rem 0;
}
.hp-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.hp-contact-inner h3 {
    font-family: var(--hp-font-display);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -.01em;
}
.hp-contact-inner p { color: rgba(255,255,255,.75); margin-top: .25rem; font-size: .95rem; }
.hp-contact-inner .hp-btn-outline { color: var(--hp-ink); background: #fff; box-shadow: 4px 4px 0 var(--hp-green); }
.hp-contact-inner .hp-btn-neo { color: var(--hp-ink); }
.hp-contact-inner .hp-btn-neo { box-shadow: 4px 4px 0 #fff; }
.hp-contact-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ── Cabeçalho compacto (busca + breadcrumb) ── */
.hp-subhead {
    background: var(--hp-bg);
    border-bottom: 1px solid var(--hp-line);
    padding: 1rem 0;
}
.hp-subhead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.hp-subhead .hp-search { margin: 0; width: 100%; max-width: 420px; }
.hp-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
    font-size: .85rem;
    color: var(--hp-gray);
    list-style: none;
    min-width: 0;
}
.hp-crumbs a { text-decoration: none; color: var(--hp-gray); }
.hp-crumbs a:hover { color: var(--hp-ink); text-decoration: underline; }
.hp-crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--hp-gray-light); }
.hp-crumbs li:last-child { color: var(--hp-ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Layout artigo: sidebar + conteúdo ── */
.hp-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 3rem;
    padding: 2.25rem 0 4rem;
    align-items: start;
}
.hp-side {
    position: sticky;
    top: 82px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding-right: .5rem;
    scrollbar-width: thin;
}
.hp-side-toggle { display: none; }
.hp-side-title {
    font-family: var(--hp-font-display);
    font-weight: 800;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--hp-gray-light);
    margin-bottom: .75rem;
    padding-left: .5rem;
}
.hp-side details { border-top: 1px solid var(--hp-line); }
.hp-side details:last-child { border-bottom: 1px solid var(--hp-line); }
.hp-side summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem .5rem;
    font-family: var(--hp-font-display);
    font-weight: 700;
    font-size: .95rem;
    user-select: none;
}
.hp-side summary::-webkit-details-marker { display: none; }
.hp-side summary::after {
    content: "";
    margin-left: auto;
    width: 8px; height: 8px;
    border-right: 2px solid var(--hp-gray-light);
    border-bottom: 2px solid var(--hp-gray-light);
    transform: rotate(-45deg);
    transition: transform .15s;
    flex-shrink: 0;
}
.hp-side details[open] > summary::after { transform: rotate(45deg); }
.hp-side summary:hover { color: var(--hp-ink); background: var(--hp-green-soft); border-radius: 8px; }
.hp-side summary svg { width: 17px; height: 17px; flex-shrink: 0; }
.hp-side ul { list-style: none; padding: 0 0 .5rem; }
.hp-side li a {
    display: block;
    text-decoration: none;
    font-size: .88rem;
    color: var(--hp-gray);
    padding: .38rem .5rem .38rem 1.9rem;
    border-radius: 8px;
    border-left: 3px solid transparent;
    line-height: 1.35;
}
.hp-side li a:hover { color: var(--hp-ink); background: var(--hp-bg); }
.hp-side li a.is-active {
    color: var(--hp-ink);
    font-weight: 600;
    background: var(--hp-green-soft);
    border-left-color: var(--hp-green);
}
.hp-side-support {
    margin-top: 1.25rem;
    background: var(--hp-yellow);
    border: 2px solid var(--hp-ink);
    border-radius: 14px;
    padding: .9rem 1rem;
    font-size: .85rem;
    box-shadow: 3px 3px 0 var(--hp-ink);
}
.hp-side-support strong { font-family: var(--hp-font-display); display: block; margin-bottom: .2rem; }
.hp-side-support a { font-weight: 600; }

/* ── Artigo ── */
.hp-article { max-width: 760px; min-width: 0; }
.hp-article-cat {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--hp-font-display);
    font-weight: 700;
    font-size: .8rem;
    background: #fff;
    border: 1.5px solid var(--hp-ink);
    border-radius: 30px;
    padding: .15rem .75rem;
    text-decoration: none;
    box-shadow: 2px 2px 0 var(--hp-ink);
    margin-bottom: 1rem;
}
.hp-article-cat:hover { background: var(--hp-green-soft); }
.hp-article-cat svg { width: 14px; height: 14px; }
.hp-article h1 {
    font-family: var(--hp-font-display);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    line-height: 1.12;
    letter-spacing: -.02em;
    margin-bottom: .75rem;
}
.hp-article-summary {
    font-size: 1.1rem;
    color: var(--hp-gray);
    line-height: 1.55;
    margin-bottom: 1rem;
}
.hp-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.25rem;
    font-size: .82rem;
    color: var(--hp-gray-light);
    padding-bottom: 1.5rem;
    margin-bottom: 1.75rem;
    border-bottom: 2px solid var(--hp-ink);
}
.hp-article-meta svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: .25rem; }

.hp-prose { font-size: 1.02rem; line-height: 1.75; }
.hp-prose > * + * { margin-top: 1.05em; }
.hp-prose h2 {
    font-family: var(--hp-font-display);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -.01em;
    line-height: 1.25;
    margin-top: 2.2em;
    padding-top: .2em;
}
.hp-prose h2::before {
    content: "";
    display: block;
    width: 34px; height: 5px;
    background: var(--hp-green);
    border: 1.5px solid var(--hp-ink);
    border-radius: 3px;
    margin-bottom: .55rem;
}
.hp-prose h3 {
    font-family: var(--hp-font-display);
    font-weight: 700;
    font-size: 1.15rem;
    margin-top: 1.8em;
}
.hp-prose h4 { font-weight: 700; font-size: 1rem; margin-top: 1.5em; }
.hp-prose p { color: #2b2447; }
.hp-prose a { color: var(--hp-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--hp-green); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.hp-prose a:hover { background: var(--hp-green-soft); }
.hp-prose ul, .hp-prose ol { padding-left: 1.4rem; }
.hp-prose li { margin: .35em 0; color: #2b2447; }
.hp-prose li::marker { color: var(--hp-ink); font-weight: 700; }
.hp-prose ul li::marker { color: var(--hp-green); content: "■  "; font-size: .7em; }
.hp-prose strong { font-weight: 700; color: var(--hp-ink); }
.hp-prose code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .88em;
    background: var(--hp-lilac-pastel);
    border: 1px solid #ded4f7;
    border-radius: 6px;
    padding: .1em .4em;
    word-break: break-word;
}
.hp-prose pre {
    background: var(--hp-ink);
    color: #e9e7f2;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    overflow-x: auto;
    font-size: .88rem;
    line-height: 1.6;
}
.hp-prose pre code { background: transparent; border: 0; padding: 0; color: inherit; }
.hp-prose blockquote {
    background: var(--hp-green-pastel);
    border: 2px solid var(--hp-ink);
    border-radius: 14px;
    padding: 1rem 1.15rem;
    box-shadow: 4px 4px 0 var(--hp-ink);
    font-size: .95rem;
}
.hp-prose blockquote > * + * { margin-top: .5em; }
.hp-prose blockquote p { color: var(--hp-ink); }
.hp-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
    display: block;
    overflow-x: auto;
}
.hp-prose th, .hp-prose td {
    border: 1.5px solid var(--hp-ink);
    padding: .55rem .75rem;
    text-align: left;
    vertical-align: top;
}
.hp-prose th { background: var(--hp-yellow); font-family: var(--hp-font-display); font-weight: 700; }
.hp-prose hr { border: 0; border-top: 2px dashed var(--hp-line); margin: 2em 0; }
.hp-prose img { border: 2px solid var(--hp-ink); border-radius: 12px; }

/* Anterior / próximo */
.hp-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
}
.hp-pager a {
    display: block;
    border: 2px solid var(--hp-ink);
    border-radius: 14px;
    padding: .85rem 1rem;
    text-decoration: none;
    background: #fff;
    box-shadow: 3px 3px 0 var(--hp-ink);
    transition: transform .15s ease, box-shadow .15s ease;
}
.hp-pager a:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--hp-ink); background: var(--hp-green-soft); }
.hp-pager a.hp-pager-next { text-align: right; }
.hp-pager small { display: block; font-size: .75rem; color: var(--hp-gray-light); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.hp-pager strong { font-family: var(--hp-font-display); font-weight: 700; font-size: .95rem; }

/* Bloco "não encontrou?" */
.hp-notfound {
    margin-top: 2.5rem;
    background: var(--hp-lilac-pastel);
    border: 2px solid var(--hp-ink);
    border-radius: var(--hp-radius);
    padding: 1.5rem 1.6rem;
    box-shadow: 5px 5px 0 var(--hp-ink);
}
.hp-notfound h3 {
    font-family: var(--hp-font-display);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -.01em;
    margin-bottom: .35rem;
}
.hp-notfound p { color: var(--hp-gray); font-size: .95rem; margin-bottom: 1rem; }
.hp-notfound-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.hp-notfound-actions .hp-mail { font-size: .9rem; font-weight: 600; }

/* ── Página de busca ── */
.hp-results { max-width: 760px; }
.hp-results-head {
    font-family: var(--hp-font-display);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -.01em;
    margin-bottom: .35rem;
}
.hp-results-count { color: var(--hp-gray); margin-bottom: 1.5rem; }
.hp-result {
    border: 2px solid var(--hp-ink);
    border-radius: 14px;
    padding: 1rem 1.15rem;
    background: #fff;
    box-shadow: 3px 3px 0 var(--hp-ink);
    margin-bottom: 1rem;
    display: block;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.hp-result:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--hp-ink); }
.hp-result-cat {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--hp-gray-light);
    display: block;
    margin-bottom: .2rem;
}
.hp-result h2 { font-family: var(--hp-font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: .3rem; }
.hp-result p { color: var(--hp-gray); font-size: .9rem; line-height: 1.5; }
.hp-result mark { background: var(--hp-yellow); padding: 0 .15em; border-radius: 3px; }
.hp-empty {
    background: var(--hp-bg);
    border: 2px dashed var(--hp-gray-light);
    border-radius: 14px;
    padding: 1.5rem;
    color: var(--hp-gray);
}
.hp-empty strong { color: var(--hp-ink); }
.hp-empty ul { margin: .75rem 0 0 1.25rem; }

/* ── Footer ── */
.hp-footer {
    border-top: 2px solid var(--hp-ink);
    background: #fff;
    padding: 1.5rem 0;
    font-size: .85rem;
    color: var(--hp-gray);
}
.hp-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.hp-footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.hp-footer a { text-decoration: none; }
.hp-footer a:hover { text-decoration: underline; }

/* ── Responsivo ── */
@media (max-width: 1024px) {
    .hp-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-popular-list { grid-template-columns: repeat(3, 1fr); }
    .hp-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 2rem; }
}
@media (max-width: 860px) {
    .hp-nav-links > a:not(.hp-btn) { display: none; }
    .hp-layout { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 1.25rem; }
    .hp-side {
        position: static;
        max-height: none;
        overflow: visible;
        padding-right: 0;
        border: 2px solid var(--hp-ink);
        border-radius: 14px;
        background: #fff;
        box-shadow: 3px 3px 0 var(--hp-ink);
    }
    .hp-side-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        background: transparent;
        border: 0;
        font: inherit;
        font-family: var(--hp-font-display);
        font-weight: 700;
        font-size: .95rem;
        padding: .8rem 1rem;
        cursor: pointer;
        color: var(--hp-ink);
    }
    .hp-side-toggle svg { width: 18px; height: 18px; transition: transform .15s; }
    .hp-side.is-open .hp-side-toggle svg { transform: rotate(180deg); }
    .hp-side-nav { display: none; padding: 0 .75rem .75rem; }
    .hp-side.is-open .hp-side-nav { display: block; }
    .hp-side-title { display: none; }
    .hp-side-support { margin: 0 .75rem .75rem; display: none; }
    .hp-side.is-open .hp-side-support { display: block; }
    .hp-subhead-inner { flex-direction: column; align-items: stretch; gap: .75rem; }
    .hp-subhead .hp-search { max-width: none; }
    .hp-article-meta { margin-bottom: 1.25rem; }
    .hp-pager { grid-template-columns: 1fr; }
    .hp-pager a.hp-pager-next { text-align: left; }
}
@media (max-width: 600px) {
    .hp-hero { padding: 2.5rem 0 2.25rem; }
    .hp-cat-grid { grid-template-columns: 1fr; }
    .hp-popular-list { grid-template-columns: 1fr; }
    .hp-search { flex-direction: column; }
    .hp-search button { border-left: 0; border-top: 2px solid var(--hp-ink); padding: .7rem; justify-content: center; }
    .hp-search--compact { flex-direction: row; }
    .hp-search--compact button { border-top: 0; border-left: 2px solid var(--hp-ink); padding: 0 .9rem; }
    .hp-utility-inner span.hp-utility-tag { display: none; }
    .hp-nav-brand .hp-nav-tag { display: none; }
    .hp-contact-inner { flex-direction: column; align-items: flex-start; }
    .hp-prose { font-size: .98rem; }
}
