/* ============================================================
   Locmaq Locadora — Layout (header, footer, home, money pages)
   Depende de tokens.css + base.css.
   ============================================================ */

/* ============ HEADER ============ */
.site-header {
    position: sticky; top: 0; z-index: var(--z-sticky);
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}
.site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--space-lg); min-height: 72px;
}
.site-header__logo img { height: 40px; width: auto; }
.site-header__nav .menu {
    display: flex; align-items: center; gap: var(--space-lg);
}
.site-header__nav a {
    font-family: var(--font-heading); font-weight: var(--fw-semibold);
    font-size: var(--fs-body-sm); color: var(--color-text);
    letter-spacing: .01em; padding: 6px 2px; position: relative;
}
/* Todo link de TOPO do menu com o mesmo modelo de caixa. Sem isto só o item do megamenu
   é inline-flex (por causa do chevron) e o texto dele sobe ~1,3px em relação aos irmãos,
   que são inline: medido no browser em 02/09/2026 — centro do texto 35,5 no "Aluguel"
   contra 36,8 em "Home", "Sobre" e "Nossas Lojas". Os <li> já ficavam centrados (36 nos
   quatro); o que divergia era a métrica da caixa DENTRO do <li>, que inline e inline-flex
   não calculam igual. Seletor com `>` de propósito: `.site-header__nav a` pegaria também
   os links do painel do megamenu. */
.site-header__nav .menu > li > a { display: inline-flex; align-items: center; }
.site-header__nav a:hover { color: var(--color-primary); }
.site-header__nav .current-menu-item > a,
.site-header__nav .current_page_item > a { color: var(--color-primary); }
.site-header__actions { display: flex; align-items: center; gap: var(--space-md); }
.site-header__burger { display: none; padding: 6px; color: var(--color-text); }
.site-header__burger svg { width: 28px; height: 28px; }

/* Drawer mobile */
.site-header__mobile-menu {
    display: none; flex-direction: column; gap: var(--space-sm);
    padding: var(--space-lg) var(--container-padding-x) var(--space-xl);
    border-top: 1px solid var(--color-border); background: #fff;
}
.site-header__mobile-menu .menu { display: flex; flex-direction: column; gap: 2px; }
.site-header__mobile-menu a {
    font-family: var(--font-heading); font-weight: var(--fw-semibold);
    color: var(--color-text); padding: 12px 4px;
    border-bottom: 1px solid var(--color-border);
}
.site-header__mobile-menu .btn { margin-top: var(--space-md); }
.site-header__mobile-menu.is-open { display: flex; }
body.menu-open { overflow: hidden; }

/* ============ MEGAMENU (design Claude, handoff 16/07) ============
   Desktop ≥992px: dropdown por hover. Rail de categorias + hero banner + grid de apoio.
   Valores espelham o handoff (painel 920px, radius 14, gradiente, Ken Burns). */
.site-header__nav .has-megamenu { position: static; } /* painel ancora no header */
.megamenu__trigger { display: inline-flex; align-items: center; gap: 6px; }
.megamenu__trigger .mega-chevron { width: 14px; height: 14px; transition: transform .18s ease; }
.has-megamenu:hover > .megamenu__trigger,
.has-megamenu.is-open > .megamenu__trigger { color: var(--color-primary); background: var(--color-surface-light); }
.has-megamenu:hover > .megamenu__trigger .mega-chevron,
.has-megamenu.is-open > .megamenu__trigger .mega-chevron { transform: rotate(180deg); }

.megamenu {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px);
    width: 920px; max-width: calc(100vw - 32px);
    background: #fff; border: 1px solid #EFEAE4; border-radius: 14px;
    box-shadow: 0 20px 50px rgba(6,16,17,.18); overflow: hidden;
    opacity: 0; visibility: hidden;
    transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
    z-index: calc(var(--z-sticky) + 1);
}
.site-header__nav .has-megamenu:hover > .megamenu,
.site-header__nav .has-megamenu:focus-within > .megamenu,
.site-header__nav .has-megamenu.is-open > .megamenu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
    transition: opacity .16s ease, transform .16s ease;
}
.megamenu__grid { display: grid; grid-template-columns: 250px 1fr; min-height: 400px; }

/* Rail de categorias (esquerda) */
.mega__rail { background: var(--color-surface-light); padding: 20px 12px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid #EFEAE4; }
.mega__rail-label {
    font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 11px;
    letter-spacing: .08em; text-transform: uppercase; color: #B0A99E; padding: 6px 12px 10px; margin: 0;
}
.mega__cat {
    display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
    padding: 11px 12px; border: none; border-radius: 10px; background: transparent;
    cursor: pointer; transition: background .12s ease;
}
.mega__cat-icon {
    flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    background: #fff; color: var(--color-text-muted); transition: var(--transition-fast);
}
.mega__cat-icon svg { width: 17px; height: 17px; }
.mega__cat-name { flex: 1 1 auto; font-family: var(--font-heading); font-weight: var(--fw-semibold); font-size: 13.5px; color: var(--color-text); line-height: 1.25; }
.mega__cat-count { font-size: 11px; font-weight: var(--fw-bold); color: var(--color-text-muted); background: #EFEAE4; border-radius: var(--radius-full); padding: 2px 8px; flex: 0 0 auto; }
.mega__cat.is-active { background: rgba(233,94,11,.09); }
.mega__cat.is-active .mega__cat-icon { background: var(--color-primary); color: #fff; }
.mega__cat.is-active .mega__cat-name { color: var(--color-primary); }
.mega__cat.is-active .mega__cat-count { background: var(--color-primary); color: #fff; }

/* Palco (direita) — 1 painel por categoria, só o ativo visível */
.mega__stage { padding: 22px 26px 20px; }
.mega__panel { display: none; }
.mega__panel.is-active { display: block; }

/* Hero banner do produto-destaque */
.mega__hero { display: flex; align-items: flex-end; height: 190px; border-radius: 12px; overflow: hidden; position: relative; }
.mega__hero-bg {
    position: absolute; inset: 0; background: #061011 center/cover no-repeat;
    animation: megaHeroZoom 9s ease-in-out infinite alternate;
}
.mega__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,16,17,.86) 0%, rgba(6,16,17,.45) 55%, rgba(6,16,17,.05) 100%); }
.mega__hero-body { padding: 20px 24px; max-width: 420px; position: relative; z-index: 1; }
.mega__hero-eyebrow { display: block; font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 8px; }
.mega__hero-name { display: block; font-family: var(--font-heading); font-weight: var(--fw-bold); font-size: 20px; color: #fff; line-height: 1.2; margin-bottom: 8px; }
.mega__hero-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.mega__hero-resumo { font-size: 13px; color: #e7e7e7; line-height: 1.35; max-width: 46ch; }
.mega__hero-cta { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-heading); font-weight: var(--fw-semibold); font-size: 12.5px; color: #061011; background: #fff; padding: 8px 14px; border-radius: 8px; }
.mega__hero-cta svg { width: 13px; height: 13px; }
@keyframes megaHeroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .mega__hero-bg { animation: none; } }

/* Grid de apoio */
.mega__support { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 14px; max-height: 184px; overflow-y: auto; padding-right: 2px; }
.mega__supp { display: flex; align-items: center; gap: 10px; padding: 9px; border: 1px solid #EFEAE4; border-radius: 10px; background: #fff; transition: var(--transition-fast); }
.mega__supp:hover { border-color: var(--color-primary); box-shadow: 0 6px 16px rgba(6,16,17,.08); }
.mega__supp-thumb { flex: 0 0 46px; width: 46px; height: 38px; border-radius: 7px; overflow: hidden; background: var(--color-surface-light) center/cover no-repeat; }
.mega__supp-body { min-width: 0; }
.mega__supp-name { display: block; font-family: var(--font-heading); font-weight: var(--fw-semibold); font-size: 12px; color: var(--color-text); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* "Ver todos" */
.mega__all { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-heading); font-weight: var(--fw-semibold); font-size: 13px; color: var(--color-primary); }
.mega__all svg { width: 14px; height: 14px; }
.mega__all:hover { color: var(--color-primary-dark); }

@media (max-width: 991px) {
    .site-header__nav { display: none; }
    .site-header__burger { display: inline-flex; }
    .site-header__actions .btn--whatsapp { display: none; } /* zap fica no drawer + float */

    /* Megamenu no drawer mobile: acordeão vertical (hero + grid empilhados). */
    .site-header__mobile-menu .has-megamenu { display: block; }
    .site-header__mobile-menu .megamenu {
        position: static; width: auto; max-width: none; transform: none;
        opacity: 1; visibility: visible; box-shadow: none; border: 0; border-radius: 0;
        overflow: hidden; max-height: 0; transition: max-height .28s ease;
    }
    .site-header__mobile-menu .has-megamenu.is-open > .megamenu { max-height: 3000px; }
    .site-header__mobile-menu .megamenu__grid { grid-template-columns: 1fr; }
    .site-header__mobile-menu .mega__rail { display: none; } /* no mobile mostramos os painéis empilhados */
    .site-header__mobile-menu .mega__stage { padding: var(--space-sm) 0 var(--space-md); }
    .site-header__mobile-menu .mega__panel { display: block; margin-bottom: var(--space-lg); }
    .site-header__mobile-menu .mega__support { max-height: none; overflow: visible; grid-template-columns: 1fr; }
    .site-header__mobile-menu .mega__hero { height: 150px; }
}

/* ============ WHATSAPP FLUTUANTE ============ */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: var(--z-overlay);
    width: 56px; height: 56px; border-radius: var(--radius-full);
    background: var(--color-whatsapp); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
    transition: var(--transition-base);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--color-dark-bg); color: #cbd0d0; margin-top: var(--space-4xl); }
.site-footer__top { padding: var(--space-3xl) 0; }
.site-footer__grid {
    display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.3fr; gap: var(--space-2xl);
}
.site-footer__logo img { height: 44px; width: auto; margin-bottom: var(--space-md); }
.site-footer__desc { font-size: var(--fs-body-sm); line-height: var(--lh-loose); max-width: 40ch; }
.site-footer__social { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }
.site-footer__social a {
    width: 38px; height: 38px; border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08); color: #fff;
}
.site-footer__social a:hover { background: var(--color-primary); color: #fff; }
.site-footer__social svg { width: 18px; height: 18px; }
.site-footer__heading {
    font-family: var(--font-heading); font-weight: var(--fw-bold); color: #fff;
    text-transform: uppercase; letter-spacing: .04em; font-size: var(--fs-body-sm);
    margin-bottom: var(--space-md);
}
.site-footer__links .menu { display: flex; flex-direction: column; gap: 8px; }
.site-footer__links a { color: #cbd0d0; font-size: var(--fs-body-sm); }
.site-footer__links a:hover { color: var(--color-primary); }
.site-footer__contact-item {
    display: flex; align-items: flex-start; gap: 10px; color: #cbd0d0;
    font-size: var(--fs-body-sm); margin-bottom: var(--space-sm); line-height: var(--lh-relaxed);
}
.site-footer__contact-item svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; color: var(--color-primary); }
.site-footer__contact-item:hover { color: #fff; }
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08); padding: var(--space-lg) 0;
    font-size: var(--fs-body-sm); color: #8b9291; text-align: center;
}
@media (max-width: 991px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .site-footer__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

/* ============ HERO (home + money pages) ============ */
.hero {
    background: linear-gradient(135deg, var(--color-dark-bg) 0%, #10201f 100%);
    color: #fff; padding: var(--space-4xl) 0; position: relative; overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; right: -80px; top: -80px;
    width: 340px; height: 340px; border-radius: 50%;
    background: radial-gradient(circle, rgba(233,94,11,.22), transparent 70%);
}
.hero__inner { position: relative; z-index: 1; max-width: 640px; }
.hero__eyebrow {
    font-family: var(--font-heading); font-weight: var(--fw-bold);
    text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-body-sm);
    color: var(--color-accent);
}
.hero__title { color: #fff; margin: var(--space-md) 0; }
.hero__title .accent { color: var(--color-primary); }
.hero__lead { color: #c9cfce; font-size: var(--fs-body-lg); margin-bottom: var(--space-xl); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-md); }

/* ============ GRADE DE CATEGORIAS ============ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-card {
    display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--color-border); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition-base);
}
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(233,94,11,.35); }
.cat-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--color-surface-light); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; }
.cat-card__body { padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); flex: 1; }
.cat-card__title { font-size: var(--fs-h4); }
.cat-card__title a { color: var(--color-text); }
.cat-card__title a:hover { color: var(--color-primary); }
.cat-card__desc { color: var(--color-text-secondary); font-size: var(--fs-body-sm); flex: 1; }
.cat-card__more { font-weight: var(--fw-bold); color: var(--color-primary); font-size: var(--fs-body-sm); display: inline-flex; align-items: center; gap: 6px; }
.cat-card__more svg { width: 16px; height: 16px; }

/* ============ "POR QUE ALUGAR" (diferenciais) ============ */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
@media (max-width: 900px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feats { grid-template-columns: 1fr; } }
.feat { text-align: left; }
.feat__icon {
    width: 52px; height: 52px; border-radius: var(--radius-lg);
    background: rgba(233,94,11,.10); color: var(--color-primary);
    display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-md);
}
.feat__icon svg { width: 26px; height: 26px; }
.feat__title { font-size: var(--fs-h5); margin-bottom: var(--space-xs); }
.feat__desc { color: var(--color-text-secondary); font-size: var(--fs-body-sm); }

/* ============ PROVAS / CONTADORES ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); text-align: center; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat__num { font-family: var(--font-heading); font-weight: var(--fw-extrabold); font-size: var(--fs-counter); color: var(--color-primary); line-height: 1; }
.stat__label { color: var(--color-text-secondary); font-size: var(--fs-body-sm); margin-top: var(--space-xs); }

/* ============ FAQ (accordion) ============ */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--color-border); }
.faq__q {
    width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center;
    gap: var(--space-md); padding: var(--space-lg) 0;
    font-family: var(--font-heading); font-weight: var(--fw-semibold); font-size: var(--fs-h5); color: var(--color-text);
}
.faq__q::after { content: "+"; color: var(--color-primary); font-size: 1.5em; line-height: 1; flex: 0 0 auto; }
.faq__item[open] .faq__q::after { content: "\2212"; }
.faq__a { padding: 0 0 var(--space-lg); color: var(--color-text-secondary); }

/* ============ CTA em faixa ============ */
.cta-band { background: var(--color-primary); color: #fff; border-radius: var(--radius-xl); padding: var(--space-2xl); text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: var(--space-sm); }
.cta-band p { color: rgba(255,255,255,.92); margin-bottom: var(--space-lg); }
.cta-band .btn--whatsapp { background: #fff; color: var(--color-whatsapp-bg); }
.cta-band .btn--whatsapp:hover { background: #f2fff7; color: var(--color-whatsapp-bg); }

/* ============ PÁGINA SIMPLES ============ */
.page-simple { padding-top: var(--space-3xl); }
.page-simple__title { margin-bottom: var(--space-lg); }

/* ============ BREADCRUMB (money pages) ============ */
.crumb { font-size: var(--fs-body-sm); color: var(--color-text-secondary); padding: var(--space-lg) 0 0; }
.crumb a { color: var(--color-primary); }
.crumb span[aria-current] { color: var(--color-text); }

/* Hero mais enxuto nas páginas internas */
.hero--inner { padding: var(--space-2xl) 0 var(--space-3xl); }
.hero--inner .crumb { color: #c9cfce; padding-top: 0; margin-bottom: var(--space-md); }
.hero--inner .crumb a { color: var(--color-accent); }
.hero--inner .crumb span[aria-current] { color: #fff; }

/* ============ GRADE / CARD DE EQUIPAMENTO (categoria) ============ */
.eq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
@media (max-width: 900px) { .eq-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .eq-grid { grid-template-columns: 1fr; } }
.eq-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition-base); }
.eq-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(233,94,11,.35); }
.eq-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--color-surface-light); display: block; }
.eq-card__media img { width: 100%; height: 100%; object-fit: cover; }
.eq-card__body { padding: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); flex: 1; }
.eq-card__title { font-size: var(--fs-h5); line-height: var(--lh-base); }
.eq-card__resumo { font-size: var(--fs-body-sm); color: var(--color-text-secondary); line-height: 1.5; }
.eq-card__note { font-size: var(--fs-body-sm); color: var(--color-text-secondary); }
.eq-card__actions { margin-top: auto; display: flex; flex-direction: column; gap: var(--space-sm); padding-top: var(--space-xs); }

/* ============ MONEY PAGE de equipamento (ficha em abas) ============ */
.eq-page__eyebrow { color: var(--color-primary); font-weight: var(--fw-bold); font-size: var(--fs-body-sm); text-transform: uppercase; letter-spacing: .09em; margin-bottom: var(--space-xs); }
.eq-page__title { margin: 0 0 var(--space-xs); }
.eq-page__sub { color: var(--color-text-secondary); font-size: var(--fs-body-lg); margin-bottom: var(--space-xl); max-width: 760px; }
/* Categoria-oferta (fichas_inline): a 2ª ficha em diante começa colada na anterior sem isto. */
.eq-page__grid + .eq-page__title { margin-top: var(--space-3xl); padding-top: var(--space-3xl); border-top: 1px solid var(--color-border); }
.eq-page__grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 1.15fr); gap: var(--space-2xl); align-items: start; }
@media (max-width: 900px) { .eq-page__grid { grid-template-columns: 1fr; gap: var(--space-xl); } }
.eq-page__media-col { position: sticky; top: 88px; }
@media (max-width: 900px) { .eq-page__media-col { position: static; } }
.eq-page__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.eq-page__media-empty { aspect-ratio: 4/3; border-radius: var(--radius-lg); background: var(--color-surface-light); display: flex; align-items: center; justify-content: center; color: var(--color-primary); }
.eq-page__media-empty svg { width: 64px; height: 64px; opacity: .4; }
.eq-page__mininfo { margin-top: var(--space-sm); font-size: var(--fs-body-sm); color: var(--color-text-muted); }

/* ============ NOSSAS LOJAS ============ */
.lojas-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-2xl); align-items: start; }
@media (max-width: 800px) { .lojas-grid { grid-template-columns: 1fr; } }
.loja-info h2 { margin-bottom: var(--space-lg); }
.loja-line { display: flex; align-items: flex-start; gap: 10px; margin-bottom: var(--space-md); color: var(--color-text); }
.loja-line svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; color: var(--color-primary); }
.loja-line a { color: var(--color-primary); }
.loja-map iframe { display: block; width: 100%; }

/* ============ CONTENÇÃO DO CORPO LEGADO ============
   As 10 páginas antigas (hub, 6 categorias e 3 fichas) ainda servem o `post_content` da era
   Elementor, que o `the_content()` do template imprime. Ele traz SVG inline SEM `width`/`height`
   — dimensionados pelo CSS do Elementor, que saiu do ar no go-live de 02/09/2026. Sem ninguém
   os dimensionar, um `<svg>` inline ocupa 100% do container: medido a **772×1235 px**, com 52
   deles numa página só, que passou de 56.257 px de altura.
   ⚠️ Isto NÃO é o conserto — é contenção. A duplicação de H1, breadcrumb, imagem e listagem
   continua, porque é de CONTEÚDO. O conserto é decidir o que fazer com o corpo legado.
   📌 As regras de `.post-content` do tema moram em `blog.css`, que NÃO carrega nestas páginas —
   por isso a contenção tem de viver aqui, no `home.css`, que chega a todas.
   Medido: marteletes 56.257 → 14.348 px (−74%), SVG acima de 60px de 52 → 0. */
.post-content svg { max-width: 1.25em; max-height: 1.25em; }
.post-content img { max-width: 100%; height: auto; }

/* Tipografia MÍNIMA do `.post-content` fora do blog. As regras completas moram em `blog.css`,
   que NÃO carrega em categoria/ficha/hub — e sem elas o `base.css` manda: `* { margin: 0 }` cola
   o heading no texto e `ul, ol { list-style: none }` deixa a lista sem marcador. Valores iguais
   aos do `blog.css` de propósito: as duas superfícies têm de ler igual. */
.post-content { line-height: var(--lh-loose); max-width: 72ch; }
.post-content h2 { font-size: var(--fs-h2); margin-top: var(--space-3xl); margin-bottom: var(--space-md); }
.post-content h3 { font-size: var(--fs-h3); margin-top: var(--space-2xl); margin-bottom: var(--space-sm); }
.post-content > h2:first-child, .post-content > h3:first-child { margin-top: 0; }
.post-content ul, .post-content ol { padding-left: var(--space-xl); margin-bottom: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-sm); }
.post-content ul li { list-style: disc; }
.post-content ol li { list-style: decimal; }
.post-content li::marker { color: var(--color-primary); }
.post-content a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }

/* Ressalva de especificação — decisão do Leonardo 03/09/2026: a ficha qualifica, o humano confirma.
   Emitida pelo template-equipamento.php ABAIXO da ficha, fora das abas (dentro da aba de
   especificações ninguém veria, porque a aba nasce fechada). */
.eq-page__ressalva { margin-top: var(--space-md); color: var(--color-text-secondary); font-size: var(--fs-body-sm); }

/* Tabela no `.post-content` — as regras completas moram em blog.css, que NÃO carrega em
   categoria/ficha/hub. Sem isto a tabela sai sem borda e estoura a largura no mobile.
   O wrapper rola sozinho; a tabela nunca empurra a página (03/09/2026). */
.post-content table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-lg); font-size: var(--fs-body-sm); }
.post-content th, .post-content td { text-align: left; padding: var(--space-sm) var(--space-md); border-bottom: 1px solid var(--color-border); vertical-align: top; }
.post-content thead th { font-weight: var(--fw-bold); }
.post-content figure.wp-block-table, .post-content .tabela-rolavel { margin: 0 0 var(--space-lg); overflow-x: auto; }
