/* =============================================================================
 * NOVA MASSA — pack visual `industrial-01`
 * Estilo corporativo clean (referência: Votorantim Cimentos).
 * Fundo branco, vermelho Nova Massa (#E20613) como destaque.
 *
 * Namespace: cada componente tem prefixo próprio (BEM) — header `nmhm-`,
 * skip link `nmh-skip`, sections `nm-*` — zero colisão com style.css.
 *
 * @author Meet Digital
 * @since  Sessão 4 — Bloco D (header)
 * ========================================================================== */

:root {
    --nm-red:        #E20613;
    --nm-red-deep:   #B40510;
    --nm-yellow:     #FFB800;
    --nm-ink:        #1A1815;
    --nm-grey:       #6B6864;
    --nm-line:       #E6E3DD;
    --nm-bg:         #FFFFFF;
    --nm-maxw:       1280px;
    --nm-pad:        clamp(16px, 3vw, 40px);
    --nm-ease:       cubic-bezier(.22, .61, .36, 1);
    --nm-font-body:  'Inter', system-ui, -apple-system, sans-serif;
    --nm-font-head:  'Montserrat', 'Inter', sans-serif;
    --nm-graphite:      #1b1d22; /* concreto escuro — faixas/footer */
    --nm-graphite-soft: #2b2f36; /* grafite mais claro p/ gradiente */
}

/* ---------------------------------------------------------------------------
 * Override do tema legado (style.css) — mata o azul do Sabiracema no site todo.
 * Este CSS carrega DEPOIS do style.css, então estas variáveis vencem o cascade.
 * Componentes legados ainda em uso (footer, números/nm1, diferenciais, heros
 * internos, etc.) passam a usar grafite + vermelho Nova Massa em vez de azul.
 * ------------------------------------------------------------------------- */
:root {
    --primary:       #1b1d22; /* era #1a3a6b (azul Sabiracema) → grafite/concreto */
    --primary-light: #2b2f36; /* era #2557a7 → grafite mais claro */
    --accent:        #E20613; /* unifica com o vermelho do pack */
    --accent-hover:  #B40510;
}

/* O style.css legado põe overflow-x: hidden no html E no body. Com os dois
 * cortados, o body vira um contêiner de rolagem que nunca rola, e o header
 * sticky não gruda no topo. `clip` corta o vazamento horizontal do mesmo jeito
 * sem criar contêiner de rolagem (navegador sem suporte fica com o hidden). */
html,
body {
    overflow-x: hidden;
    overflow-x: clip;
}

/* Logo do footer sobre chip branco — garante contraste do logo colorido no
 * fundo grafite (o logo.jpg legado já vinha com fundo branco embutido). */
.site-footer .footer__logo {
    background: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    max-width: 200px;
}

/* ---------------------------------------------------------------------------
 * Hero interno legado (.hi1 — usado em /sobre e /produtos via heroes/hero-interno):
 * o gradiente do style.css termina num azul-marinho HARDCODED (#0d2240), que o
 * override de variáveis acima não alcança. Reescreve o fundo pra grafite Nova
 * Massa (var(--nm-graphite) → tom mais escuro #101216). O texto do hero é
 * branco (título + breadcrumb), então a legibilidade se mantém alta no grafite.
 * ------------------------------------------------------------------------- */
.hi1 {
    background: linear-gradient(135deg, var(--nm-graphite, #1b1d22) 0%, #101216 100%);
}

/* Brilho decorativo do hero — o radial-gradient original também tinha azul
 * hardcoded (rgba(37, 87, 167, .3)). Troca por um brilho branco sutil + o toque
 * vermelho do pack (mesmo desenho, cores da identidade Nova Massa). */
.hi1__bg {
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(226, 6, 19, 0.12) 0%, transparent 50%);
}

/* Demais elementos do hi1 já ficam corretos pelo override de variáveis:
 * - breadcrumb item ativo usa var(--accent) → vermelho #E20613;
 * - links do breadcrumb usam rgba branco (neutro, sem azul);
 * - o componente não tem botões. Nada mais a cobrir aqui. */

/* ---------------------------------------------------------------------------
 * Imagem de fundo por página (cms_pages.hero_image, cadastrada no admin).
 * Quando a página tem imagem, o hero-interno renderiza <img class="hi1__img">
 * (object-fit cover) + um scrim escuro pra manter o título branco legível.
 * Regra do projeto: zero CSS inline — por isso a imagem entra como <img src>
 * (URL dinâmica por página), não como background-image no CSS.
 * ------------------------------------------------------------------------- */
.hi1--has-image {
    position: relative;
    overflow: hidden;
}
.hi1__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.hi1__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(20, 22, 27, 0.78) 0%, rgba(20, 22, 27, 0.45) 55%, rgba(20, 22, 27, 0.25) 100%);
}
.hi1--has-image .container,
.hi1--has-image .hi1__content {
    position: relative;
    z-index: 2;
}

/* Modo "banner" (hi1--banner, e o legado hi1--produtos): quando a imagem já é
 * um banner COMPLETO (com texto e produtos compostos, como o enviado pelo
 * cliente), o hero ocupa a proporção exata da imagem (aspect-ratio 8:3) e
 * mostra a imagem inteira sem corte em qualquer largura. O scrim é dispensado
 * e o texto do componente (breadcrumb + H1) fica acessível a leitores de tela
 * e ao SEO, mas visualmente oculto pra não colidir com o texto da imagem. */
.hi1--banner,
.hi1--produtos {
    aspect-ratio: 2048 / 768;
    min-height: 0;
    padding: 0;
    display: block;
}
.hi1--banner .hi1__bg,
.hi1--banner .hi1__scrim,
.hi1--produtos .hi1__bg,
.hi1--produtos .hi1__scrim {
    display: none;
}
.hi1--banner .hi1__content,
.hi1--produtos .hi1__content {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---- Skip link (acessibilidade) ---- */
.nmh-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--nm-red);
    color: #fff;
    padding: 10px 16px;
    font-family: var(--nm-font-body);
    font-weight: 700;
    font-size: 14px;
    border-radius: 0 0 6px 0;
}
.nmh-skip:focus { left: 0; }

/* =============================================================================
 * SECTION "QUEM SOMOS" (sobre-industrial) — clean corporativo
 * ========================================================================== */
.nm-about {
    background: var(--nm-bg);
    padding: clamp(48px, 7vw, 104px) 0;
}
.nm-about__inner {
    max-width: var(--nm-maxw);
    margin: 0 auto;
    padding: 0 var(--nm-pad);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

/* Imagem + selo */
.nm-about__media { position: relative; }
.nm-about__img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .12);
    display: block;
}
.nm-about__seal {
    position: absolute;
    left: -18px;
    bottom: -24px;
    background: var(--nm-red);
    color: #fff;
    border-radius: 16px;
    padding: 18px 26px;
    text-align: center;
    line-height: 1;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 32px rgba(226, 6, 19, .30);
}
.nm-about__seal-num {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: 40px;
}
.nm-about__seal-txt {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-top: 7px;
    opacity: .92;
}

/* Conteúdo */
.nm-about__eyebrow {
    display: inline-block;
    font-family: var(--nm-font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--nm-red);
    background: #fbeaeb;
    padding: 7px 15px;
    border-radius: 999px;
}
.nm-about__title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.05;
    color: var(--nm-ink);
    margin: 18px 0 20px;
}
.nm-about__text p {
    font-family: var(--nm-font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--nm-grey);
    margin: 0 0 16px;
}
.nm-about__text p:last-child { margin-bottom: 0; }
.nm-about__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}
.nm-about__btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 14px;
    padding: 14px 28px;
    border-radius: 999px;
    transition: background .25s var(--nm-ease), color .25s var(--nm-ease),
                transform .25s var(--nm-ease), box-shadow .25s var(--nm-ease), border-color .25s var(--nm-ease);
}
.nm-about__btn--primary { background: var(--nm-red); color: #fff; }
.nm-about__btn--primary:hover {
    background: var(--nm-ink);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(226, 6, 19, .26);
}
.nm-about__btn--ghost {
    color: var(--nm-ink);
    border: 1.5px solid var(--nm-line);
}
.nm-about__btn--ghost:hover { border-color: var(--nm-red); color: var(--nm-red); }

@media (max-width: 860px) {
    .nm-about__inner { grid-template-columns: 1fr; gap: 48px; }
    .nm-about__media { max-width: 560px; }
    .nm-about__seal { left: 16px; bottom: -20px; }
}

/* =============================================================================
 * SECTION "PRODUTOS NOVA MASSA" (produtos-industrial) — cards de categoria
 * Identidade: vermelho (#E20613) dominante + amarelo (#FFB800) de destaque.
 * Layout catálogo (ref. print). Reveal em stagger via [data-reveal].
 * ========================================================================== */
.nm-prod {
    background: var(--nm-bg);
    padding: clamp(48px, 7vw, 104px) 0;
}
.nm-prod__inner {
    max-width: var(--nm-maxw);
    margin: 0 auto;
    padding: 0 var(--nm-pad);
}
.nm-prod__head { margin-bottom: clamp(28px, 4vw, 52px); }
.nm-prod__eyebrow {
    display: inline-block;
    font-family: var(--nm-font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--nm-red);
    background: #fbeaeb;
    padding: 7px 15px;
    border-radius: 999px;
}
.nm-prod__title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.06;
    color: var(--nm-ink);
    margin: 16px 0 0;
}
.nm-prod__title::after {
    content: "";
    display: block;
    width: 64px;
    height: 5px;
    background: var(--nm-yellow);
    border-radius: 3px;
    margin-top: 18px;
}

/* Grid */
.nm-prod__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(18px, 2vw, 28px);
}
.nm-prod__card { display: flex; flex-direction: column; }

/* Topo VERMELHO + detalhe amarelo */
.nm-prod__media {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: var(--nm-red);
    aspect-ratio: 5 / 4;
    transition: transform .3s var(--nm-ease), box-shadow .3s var(--nm-ease);
}
.nm-prod__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(118deg, transparent 58%, rgba(0, 0, 0, .14) 58%);
    pointer-events: none;
}
.nm-prod__img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px 20px 52px;
    display: block;
}
.nm-prod__ph {
    position: absolute;
    inset: 0 0 40px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nm-prod__ph i {
    font-size: clamp(46px, 6vw, 64px);
    color: var(--nm-yellow);
}
.nm-prod__tag {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 16px;
    z-index: 2;
    padding-top: 12px;
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
}
.nm-prod__tag::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 38px;
    height: 4px;
    border-radius: 2px;
    background: var(--nm-yellow);
}
.nm-prod__card:hover .nm-prod__media {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(226, 6, 19, .22);
}

/* Corpo branco */
.nm-prod__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 2px 0;
}
.nm-prod__name {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: 21px;
    line-height: 1.2;
    color: var(--nm-ink);
    margin: 0 0 8px;
}
.nm-prod__desc {
    font-family: var(--nm-font-body);
    font-size: 14.5px;
    line-height: 1.62;
    color: var(--nm-grey);
    margin: 0 0 16px;
    flex: 1;
}
.nm-prod__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 14px;
    color: var(--nm-red);
    transition: color .2s var(--nm-ease);
}
.nm-prod__link i { transition: transform .25s var(--nm-ease); }
.nm-prod__card:hover .nm-prod__link { color: var(--nm-red-deep); }
.nm-prod__card:hover .nm-prod__link i { transform: translateX(4px); }

/* Reveal (stagger) — ativado por .nm-anim no <html> (no-JS safe) */
.nm-anim .nm-prod__head,
.nm-anim .nm-prod__card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s var(--nm-ease), transform .6s var(--nm-ease);
}
.nm-anim .nm-prod.is-visible .nm-prod__head,
.nm-anim .nm-prod.is-visible .nm-prod__card {
    opacity: 1;
    transform: none;
}
.nm-prod.is-visible .nm-prod__card:nth-child(1) { transition-delay: .10s; }
.nm-prod.is-visible .nm-prod__card:nth-child(2) { transition-delay: .20s; }
.nm-prod.is-visible .nm-prod__card:nth-child(3) { transition-delay: .30s; }
.nm-prod.is-visible .nm-prod__card:nth-child(4) { transition-delay: .40s; }

/* Responsivo */
@media (max-width: 1024px) {
    .nm-prod__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .nm-prod__grid { grid-template-columns: 1fr; }
}

/* Movimento reduzido — section Produtos */
@media (prefers-reduced-motion: reduce) {
    .nm-anim .nm-prod__head,
    .nm-anim .nm-prod__card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .nm-prod__media,
    .nm-prod__link,
    .nm-prod__link i { transition: none; }
}

/* =============================================================================
 * SECTION "CATÁLOGO" (catalogo-industrial) — vitrine /produtos
 * Produtos agrupados por categoria. Identidade Nova Massa.
 * ========================================================================== */
.nm-catalog {
    background: var(--nm-bg);
    padding: clamp(40px, 6vw, 88px) 0;
}
.nm-catalog__inner {
    max-width: var(--nm-maxw);
    margin: 0 auto;
    padding: 0 var(--nm-pad);
}
.nm-catalog__head { margin-bottom: clamp(24px, 4vw, 44px); }
.nm-catalog__title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 46px);
    color: var(--nm-ink);
    margin: 0;
}
.nm-catalog__title::after {
    content: "";
    display: block;
    width: 64px;
    height: 5px;
    background: var(--nm-yellow);
    border-radius: 3px;
    margin-top: 16px;
}
.nm-catalog__empty {
    font-family: var(--nm-font-body);
    font-size: 16px;
    color: var(--nm-grey);
}

/* Grupo de categoria */
.nm-catalog__group {
    margin-top: clamp(32px, 4vw, 56px);
    scroll-margin-top: 110px;
}
.nm-catalog__cat {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(20px, 2.4vw, 28px);
    color: var(--nm-ink);
    padding-left: 16px;
    border-left: 5px solid var(--nm-red);
    margin: 0 0 6px;
}
.nm-catalog__cat-desc {
    font-family: var(--nm-font-body);
    font-size: 15px;
    line-height: 1.6;
    color: var(--nm-grey);
    margin: 0 0 22px;
    padding-left: 21px;
}

/* Grid de produtos */
.nm-catalog__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2vw, 24px);
}
.nm-catalog__card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--nm-line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--nm-bg);
    transition: transform .25s var(--nm-ease), box-shadow .25s var(--nm-ease);
}
.nm-catalog__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .10);
}
.nm-catalog__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #faf8f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.nm-catalog__img { width: 100%; height: 100%; object-fit: contain; padding: 14px; display: block; }
.nm-catalog__ph i { font-size: clamp(36px, 4vw, 48px); color: var(--nm-red); opacity: .85; }
.nm-catalog__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nm-catalog__name {
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    color: var(--nm-ink);
    margin: 0;
}
.nm-catalog__desc {
    font-family: var(--nm-font-body);
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--nm-grey);
    margin: 0;
}
.nm-catalog__specs { margin-top: 4px; font-family: var(--nm-font-body); }
.nm-catalog__specs summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: var(--nm-red);
    list-style: none;
}
.nm-catalog__specs summary::-webkit-details-marker { display: none; }
.nm-catalog__specs summary::before { content: "+ "; font-weight: 900; }
.nm-catalog__specs[open] summary::before { content: "\2212 "; }
.nm-catalog__specs ul {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--nm-grey);
    font-size: 13px;
    line-height: 1.7;
}

/* Reveal — usa o mesmo mecanismo nm-anim/[data-reveal] */
.nm-anim .nm-catalog__head,
.nm-anim .nm-catalog__group {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s var(--nm-ease), transform .6s var(--nm-ease);
}
.nm-anim .nm-catalog.is-visible .nm-catalog__head,
.nm-anim .nm-catalog.is-visible .nm-catalog__group {
    opacity: 1;
    transform: none;
}
.nm-catalog.is-visible .nm-catalog__group:nth-child(2) { transition-delay: .08s; }
.nm-catalog.is-visible .nm-catalog__group:nth-child(3) { transition-delay: .16s; }
.nm-catalog.is-visible .nm-catalog__group:nth-child(4) { transition-delay: .24s; }
.nm-catalog.is-visible .nm-catalog__group:nth-child(5) { transition-delay: .32s; }

/* Responsivo */
@media (max-width: 1024px) { .nm-catalog__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .nm-catalog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .nm-catalog__grid { grid-template-columns: 1fr; } }

/* Movimento reduzido — vitrine */
@media (prefers-reduced-motion: reduce) {
    .nm-anim .nm-catalog__head,
    .nm-anim .nm-catalog__group {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .nm-catalog__card { transition: none; }
}

/* =============================================================================
 * Vitrine — card clicável (leva pra página interna do produto)
 * ========================================================================== */
.nm-catalog__card--link { text-decoration: none; color: inherit; cursor: pointer; }
.nm-catalog__card--link:focus-visible { outline: 3px solid var(--nm-red); outline-offset: 2px; }
.nm-catalog__more {
    margin-top: auto;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 13px;
    color: var(--nm-red);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nm-catalog__card--link:hover .nm-catalog__more i { transform: translateX(4px); }
.nm-catalog__more i { transition: transform .25s var(--nm-ease); }

/* =============================================================================
 * Página interna de produto (nm-pd) — landing de alta conversão
 * ========================================================================== */
.nm-pd { background: var(--nm-bg); padding: clamp(20px, 4vw, 48px) var(--nm-pad) clamp(40px, 6vw, 80px); }
.nm-pd__inner { max-width: var(--nm-maxw); margin: 0 auto; }

/* Breadcrumb */
.nm-pd__crumb {
    font-family: var(--nm-font-body);
    font-size: 13px;
    color: var(--nm-grey);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: clamp(20px, 3vw, 36px);
}
.nm-pd__crumb a { color: var(--nm-grey); text-decoration: none; }
.nm-pd__crumb a:hover { color: var(--nm-red); }
.nm-pd__crumb-current { color: var(--nm-ink); font-weight: 700; }

/* Hero split */
.nm-pd__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}
.nm-pd__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #faf8f5;
    border: 1px solid var(--nm-line);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nm-pd__img { width: 100%; height: 100%; object-fit: contain; padding: clamp(16px, 3vw, 40px); display: block; }
.nm-pd__ph i { font-size: clamp(64px, 10vw, 120px); color: var(--nm-red); opacity: .85; }

.nm-pd__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(226, 6, 19, .08);
    color: var(--nm-red);
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.nm-pd__title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(28px, 4.5vw, 46px);
    line-height: 1.08;
    color: var(--nm-ink);
    margin: 0 0 14px;
}
.nm-pd__lead {
    font-family: var(--nm-font-body);
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.6;
    color: var(--nm-grey);
    margin: 0 0 22px;
}
.nm-pd__benefits { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.nm-pd__benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--nm-font-body);
    font-size: 15px;
    color: var(--nm-ink);
}
.nm-pd__benefits li i {
    color: #fff;
    background: var(--nm-red);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 1px;
}

/* Botões */
.nm-pd__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.nm-pd__btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 24px;
    border-radius: 10px;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s var(--nm-ease), box-shadow .2s var(--nm-ease), background .2s var(--nm-ease), color .2s var(--nm-ease);
}
.nm-pd__btn:hover { transform: translateY(-2px); }
.nm-pd__btn--wa { background: #25D366; color: #fff; }
.nm-pd__btn--wa:hover { box-shadow: 0 10px 22px rgba(37, 211, 102, .35); }
.nm-pd__btn--red { background: var(--nm-red); color: #fff; }
.nm-pd__btn--red:hover { background: var(--nm-red-deep); box-shadow: 0 10px 22px rgba(226, 6, 19, .30); }
.nm-pd__btn--ghost { background: transparent; color: var(--nm-ink); border-color: var(--nm-line); }
.nm-pd__btn--ghost:hover { border-color: var(--nm-red); color: var(--nm-red); }
.nm-pd__btn:focus-visible { outline: 3px solid var(--nm-yellow); outline-offset: 2px; }

/* Títulos de bloco */
.nm-pd__h2 {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(20px, 2.6vw, 30px);
    color: var(--nm-ink);
    margin: 0 0 18px;
    padding-left: 16px;
    border-left: 5px solid var(--nm-red);
}

/* Sobre o produto */
.nm-pd__about { margin-top: clamp(40px, 6vw, 72px); }
.nm-pd__about p {
    font-family: var(--nm-font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--nm-grey);
    margin: 0 0 14px;
}

/* Aplicações / ficha técnica */
.nm-pd__specs { margin-top: clamp(40px, 6vw, 72px); }
.nm-pd__specs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 28px;
}
.nm-pd__specs-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--nm-font-body);
    font-size: 15px;
    line-height: 1.5;
    color: var(--nm-ink);
    background: #faf8f5;
    border: 1px solid var(--nm-line);
    border-radius: 10px;
    padding: 13px 16px;
}
.nm-pd__specs-list li i { color: var(--nm-red); margin-top: 3px; }

/* Galeria de fotos */
.nm-pd__gallery { margin-top: clamp(40px, 6vw, 72px); }
.nm-pd__gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(10px, 1.5vw, 16px);
}
@media (max-width: 560px) {
    .nm-pd__gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.nm-pd__gallery-thumb {
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
    border: 1px solid var(--nm-line);
    border-radius: 12px;
    overflow: hidden;
    background: #faf8f5;
    cursor: zoom-in;
    aspect-ratio: 1 / 1;
    transition: transform .25s var(--nm-ease), box-shadow .25s var(--nm-ease);
}
.nm-pd__gallery-thumb:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .12); }
.nm-pd__gallery-thumb:focus-visible { outline: 3px solid var(--nm-red); outline-offset: 2px; }
.nm-pd__gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nm-pd__gallery-zoom {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(226, 6, 19, .92);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transform: scale(.85);
    transition: opacity .2s var(--nm-ease), transform .2s var(--nm-ease);
}
.nm-pd__gallery-thumb:hover .nm-pd__gallery-zoom,
.nm-pd__gallery-thumb:focus-visible .nm-pd__gallery-zoom { opacity: 1; transform: scale(1); }

/* Lightbox */
html.nm-lb-open { overflow: hidden; }
.nm-pd__lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 2vw, 24px);
    padding: clamp(16px, 4vw, 48px);
    background: rgba(15, 14, 12, .92);
    opacity: 0;
    transition: opacity .25s var(--nm-ease);
}
.nm-pd__lightbox.is-open { opacity: 1; }
.nm-pd__lightbox[hidden] { display: none; }
.nm-pd__lb-figure { margin: 0; max-width: min(1000px, 90vw); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.nm-pd__lb-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.nm-pd__lb-caption { color: rgba(255, 255, 255, .85); font-family: var(--nm-font-body); font-size: 14px; }
.nm-pd__lb-close,
.nm-pd__lb-nav {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s var(--nm-ease);
}
.nm-pd__lb-close { position: absolute; top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px); }
.nm-pd__lb-close:hover,
.nm-pd__lb-nav:hover { background: var(--nm-red); }
.nm-pd__lb-close:focus-visible,
.nm-pd__lb-nav:focus-visible { outline: 3px solid var(--nm-yellow); outline-offset: 2px; }
.nm-pd__lb-nav[hidden] { display: none; }
@media (max-width: 560px) {
    .nm-pd__lb-nav { position: absolute; bottom: 16px; width: 44px; height: 44px; }
    .nm-pd__lb-prev { left: 24px; }
    .nm-pd__lb-next { right: 24px; }
}

/* Faixa de lead + form */
.nm-pd__leadband {
    margin-top: clamp(48px, 7vw, 88px);
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 4vw, 48px);
    background: var(--nm-ink);
    border-radius: 20px;
    padding: clamp(24px, 4vw, 48px);
    align-items: start;
    scroll-margin-top: 110px;
}
.nm-pd__leadband-text { position: sticky; top: 100px; }
.nm-pd__leadband-text .nm-pd__h2 { color: #fff; border-left-color: var(--nm-yellow); }
.nm-pd__leadband-text p {
    font-family: var(--nm-font-body);
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .80);
    margin: 0 0 22px;
}
.nm-pd__lead-points {
    list-style: none;
    margin: 28px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: grid;
    gap: 14px;
}
.nm-pd__lead-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--nm-font-body);
    font-size: 15px;
    color: rgba(255, 255, 255, .92);
}
.nm-pd__lead-points li i {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(226, 6, 19, .18);
    color: var(--nm-yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.nm-pd__lead-contacts {
    list-style: none;
    margin: 24px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: grid;
    gap: 12px;
}
.nm-pd__lead-contacts li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--nm-font-body);
    font-size: 15px;
    color: rgba(255, 255, 255, .85);
}
.nm-pd__lead-contacts li i { color: var(--nm-yellow); width: 18px; text-align: center; }
.nm-pd__lead-contacts a { color: inherit; text-decoration: none; }
.nm-pd__lead-contacts a:hover { color: #fff; text-decoration: underline; }
.nm-pd__form { display: grid; gap: 14px; }
.nm-pd__form-note {
    font-family: var(--nm-font-body);
    font-size: 13px;
    color: rgba(255, 255, 255, .72);
    margin: 0 0 2px;
}
.nm-pd__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nm-pd__row--cep { grid-template-columns: minmax(0, 200px) 1fr; align-items: start; }
.nm-pd__row--numcomp { grid-template-columns: 120px 1fr; }
.nm-pd__row--ciduf { grid-template-columns: 1fr 90px; }
.nm-pd__row--ciduf input[name="uf"] { text-transform: uppercase; }
.nm-pd__cep-status {
    font-family: var(--nm-font-body);
    font-size: 12.5px;
    margin-top: 4px;
    min-height: 1.1em;
    color: rgba(255, 255, 255, .70);
}
.nm-pd__cep-status.is-ok { color: #34d399; }
.nm-pd__cep-status.is-err { color: #fca5a5; }
.nm-pd__field { display: flex; flex-direction: column; gap: 6px; }
.nm-pd__field label {
    font-family: var(--nm-font-body);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
}
.nm-pd__field input,
.nm-pd__field textarea {
    font-family: var(--nm-font-body);
    font-size: 15px;
    color: var(--nm-ink);
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 9px;
    padding: 12px 14px;
    width: 100%;
}
.nm-pd__field textarea { resize: vertical; }
.nm-pd__field input:focus,
.nm-pd__field textarea:focus { outline: 2px solid var(--nm-yellow); outline-offset: 1px; border-color: var(--nm-yellow); }
.nm-pd__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nm-pd__submit { justify-content: center; margin-top: 4px; }
.nm-pd__form-status {
    font-family: var(--nm-font-body);
    font-size: 14px;
    margin: 4px 0 0;
    min-height: 1.2em;
}
.nm-pd__form-status.is-ok { color: #34d399; font-weight: 700; }
.nm-pd__form-status.is-err { color: #fca5a5; font-weight: 700; }

/* Relacionados */
.nm-pd__related { margin-top: clamp(48px, 7vw, 88px); }
.nm-pd__related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 24px);
}
.nm-pd__related-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--nm-line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--nm-bg);
    text-decoration: none;
    color: inherit;
    transition: transform .25s var(--nm-ease), box-shadow .25s var(--nm-ease);
}
.nm-pd__related-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0, 0, 0, .10); }
.nm-pd__related-card:focus-visible { outline: 3px solid var(--nm-red); outline-offset: 2px; }
.nm-pd__related-media {
    aspect-ratio: 4 / 3;
    background: #faf8f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.nm-pd__related-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.nm-pd__related-media i { font-size: 40px; color: var(--nm-red); opacity: .85; }
.nm-pd__related-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.nm-pd__related-body strong { font-family: var(--nm-font-head); font-size: 15px; color: var(--nm-ink); }
.nm-pd__related-body span { font-family: var(--nm-font-body); font-size: 13px; color: var(--nm-grey); line-height: 1.5; }
.nm-pd__related-body em {
    margin-top: auto;
    font-family: var(--nm-font-head);
    font-style: normal;
    font-weight: 700;
    font-size: 13px;
    color: var(--nm-red);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Reveal (reusa nm-anim/[data-reveal]) */
.nm-anim .nm-pd__hero,
.nm-anim .nm-pd__about,
.nm-anim .nm-pd__specs,
.nm-anim .nm-pd__gallery,
.nm-anim .nm-pd__leadband,
.nm-anim .nm-pd__related {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s var(--nm-ease), transform .6s var(--nm-ease);
}
.nm-anim .nm-pd.is-visible .nm-pd__hero,
.nm-anim [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Responsivo — produto */
@media (max-width: 880px) {
    .nm-pd__hero { grid-template-columns: 1fr; }
    .nm-pd__media { max-width: 460px; margin: 0 auto; }
    .nm-pd__leadband { grid-template-columns: 1fr; }
    .nm-pd__leadband-text { position: static; }
    .nm-pd__related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .nm-pd__specs-list { grid-template-columns: 1fr; }
    .nm-pd__row { grid-template-columns: 1fr; }
    .nm-pd__related-grid { grid-template-columns: 1fr; }
    .nm-pd__btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .nm-anim .nm-pd__hero,
    .nm-anim .nm-pd__about,
    .nm-anim .nm-pd__specs,
    .nm-anim .nm-pd__gallery,
    .nm-anim .nm-pd__leadband,
    .nm-anim .nm-pd__related {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .nm-pd__btn, .nm-pd__related-card, .nm-catalog__more i { transition: none; }
}

/* =============================================================================
 * Seja Revendedor (nm-rev) — página de cadastro de revendedor
 * ========================================================================== */
.nm-rev { background: var(--nm-bg); padding: clamp(28px, 5vw, 64px) var(--nm-pad) clamp(48px, 7vw, 88px); }
.nm-rev__inner { max-width: 980px; margin: 0 auto; }

/* Intro */
.nm-rev__intro { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.nm-rev__badge {
    display: inline-block;
    background: rgba(226, 6, 19, .08);
    color: var(--nm-red);
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.nm-rev__title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.1;
    color: var(--nm-ink);
    margin: 0 0 14px;
}
.nm-rev__lead {
    font-family: var(--nm-font-body);
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.65;
    color: var(--nm-grey);
    max-width: 720px;
    margin: 0 auto 24px;
}
.nm-rev__perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}
.nm-rev__perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--nm-font-body);
    font-size: 14.5px;
    color: var(--nm-ink);
}
.nm-rev__perks li i {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(226, 6, 19, .10);
    color: var(--nm-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Form (card) */
.nm-rev__form {
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 18px;
    padding: clamp(20px, 3vw, 36px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .06);
    display: grid;
    gap: clamp(18px, 2.5vw, 28px);
}
.nm-rev__fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
.nm-rev__legend {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: 16px;
    color: var(--nm-ink);
    padding: 0 0 12px;
    margin-bottom: 4px;
    border-bottom: 2px solid var(--nm-line);
    width: 100%;
}
.nm-rev__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nm-rev__row--cepaddr { grid-template-columns: minmax(0, 200px) 1fr; align-items: start; }
.nm-rev__row--numcomp { grid-template-columns: 120px 1fr; align-items: start; }
.nm-rev__row--ciduf { grid-template-columns: 1fr 90px; align-items: start; }
.nm-rev__row--ciduf select[name="uf"] { text-transform: uppercase; }
.nm-rev__field { display: flex; flex-direction: column; gap: 6px; }
.nm-rev__field label,
.nm-rev__label {
    font-family: var(--nm-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--nm-ink);
}
.nm-rev__field input,
.nm-rev__field select,
.nm-rev__field textarea {
    font-family: var(--nm-font-body);
    font-size: 15px;
    color: var(--nm-ink);
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 9px;
    padding: 12px 14px;
    width: 100%;
}
.nm-rev__field select { cursor: pointer; }
.nm-rev__field textarea { resize: vertical; }
.nm-rev__field input:focus,
.nm-rev__field select:focus,
.nm-rev__field textarea:focus { outline: 2px solid var(--nm-red); outline-offset: 1px; border-color: var(--nm-red); }
.nm-rev__radios { display: flex; gap: 20px; padding-top: 6px; }
.nm-rev__radios label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 500;
    color: var(--nm-ink);
    cursor: pointer;
}
.nm-rev__radios input { width: auto; accent-color: var(--nm-red); }
.nm-rev__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nm-rev__cep-status { font-family: var(--nm-font-body); font-size: 12.5px; margin-top: 4px; min-height: 1.1em; color: var(--nm-grey); }
.nm-rev__cep-status.is-ok { color: #15803d; }
.nm-rev__cep-status.is-err { color: var(--nm-red); }
.nm-rev__submit {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    background: var(--nm-red);
    border: none;
    border-radius: 10px;
    padding: 15px 32px;
    cursor: pointer;
    transition: background .2s var(--nm-ease), transform .2s var(--nm-ease), box-shadow .2s var(--nm-ease);
}
.nm-rev__submit:hover { background: var(--nm-red-deep); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(226, 6, 19, .30); }
.nm-rev__submit:focus-visible { outline: 3px solid var(--nm-yellow); outline-offset: 2px; }
.nm-rev__status { font-family: var(--nm-font-body); font-size: 14px; margin: 0; min-height: 1.2em; }
.nm-rev__status.is-ok { color: #15803d; font-weight: 700; }
.nm-rev__status.is-err { color: var(--nm-red); font-weight: 700; }

@media (max-width: 680px) {
    .nm-rev__perks { grid-template-columns: 1fr; }
    .nm-rev__row,
    .nm-rev__row--cepaddr,
    .nm-rev__row--numcomp,
    .nm-rev__row--ciduf { grid-template-columns: 1fr; }
    .nm-rev__submit { width: 100%; justify-content: center; }
}

/* =============================================================================
 * Section "Trabalhe Conosco" (nm-job) — formulário de candidatura com upload
 * de currículo. Mesma linguagem visual do nm-rev (card branco, vermelho de
 * destaque), com campos de RH, input de arquivo e checkboxes de consentimento.
 * ========================================================================== */
.nm-job { background: var(--nm-bg); padding: clamp(28px, 5vw, 64px) var(--nm-pad) clamp(48px, 7vw, 88px); }
.nm-job__inner { max-width: 980px; margin: 0 auto; }

.nm-job__intro { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.nm-job__badge {
    display: inline-block;
    background: rgba(226, 6, 19, .08);
    color: var(--nm-red);
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.nm-job__title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.1;
    color: var(--nm-ink);
    margin: 0 0 14px;
}
.nm-job__lead {
    font-family: var(--nm-font-body);
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.65;
    color: var(--nm-grey);
    max-width: 720px;
    margin: 0 auto;
}

/* Form (card) */
.nm-job__form {
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 18px;
    padding: clamp(20px, 3vw, 36px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .06);
    display: grid;
    gap: clamp(18px, 2.5vw, 28px);
}
.nm-job__fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
.nm-job__legend {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: 16px;
    color: var(--nm-ink);
    padding: 0 0 12px;
    margin-bottom: 4px;
    border-bottom: 2px solid var(--nm-line);
    width: 100%;
}
.nm-job__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nm-job__row--three { grid-template-columns: repeat(3, 1fr); }
.nm-job__row--cepaddr { grid-template-columns: minmax(0, 200px) 1fr; align-items: start; }
.nm-job__row--numcomp { grid-template-columns: 120px 1fr; align-items: start; }
.nm-job__row--ciduf { grid-template-columns: 1fr 90px; align-items: start; }
.nm-job__row--ciduf select[name="uf"] { text-transform: uppercase; }
.nm-job__field { display: flex; flex-direction: column; gap: 6px; }
.nm-job__field label {
    font-family: var(--nm-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--nm-ink);
}
.nm-job__field input,
.nm-job__field select,
.nm-job__field textarea {
    font-family: var(--nm-font-body);
    font-size: 15px;
    color: var(--nm-ink);
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 9px;
    padding: 12px 14px;
    width: 100%;
}
.nm-job__field select { cursor: pointer; }
.nm-job__field textarea { resize: vertical; }
.nm-job__field input:focus,
.nm-job__field select:focus,
.nm-job__field textarea:focus { outline: 2px solid var(--nm-red); outline-offset: 1px; border-color: var(--nm-red); }

/* Input de arquivo (currículo) */
.nm-job__file input[type="file"] {
    padding: 10px 14px;
    background: var(--nm-bg);
    cursor: pointer;
}
.nm-job__file input[type="file"]::file-selector-button {
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    background: var(--nm-red);
    border: none;
    border-radius: 7px;
    padding: 9px 16px;
    margin-right: 14px;
    cursor: pointer;
}
.nm-job__file-status { font-family: var(--nm-font-body); font-size: 12.5px; margin-top: 4px; min-height: 1.1em; color: var(--nm-grey); }
.nm-job__file-status.is-ok { color: #15803d; }
.nm-job__file-status.is-err { color: var(--nm-red); }

/* Checkboxes de consentimento */
.nm-job__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--nm-font-body);
    font-size: 14px;
    line-height: 1.5;
    color: var(--nm-ink);
    cursor: pointer;
}
.nm-job__check input { width: auto; margin-top: 3px; accent-color: var(--nm-red); flex: 0 0 auto; }

.nm-job__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nm-job__cep-status { font-family: var(--nm-font-body); font-size: 12.5px; margin-top: 4px; min-height: 1.1em; color: var(--nm-grey); }
.nm-job__cep-status.is-ok { color: #15803d; }
.nm-job__cep-status.is-err { color: var(--nm-red); }
.nm-job__submit {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    background: var(--nm-red);
    border: none;
    border-radius: 10px;
    padding: 15px 32px;
    cursor: pointer;
    transition: background .2s var(--nm-ease), transform .2s var(--nm-ease), box-shadow .2s var(--nm-ease);
}
.nm-job__submit:hover { background: var(--nm-red-deep); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(226, 6, 19, .30); }
.nm-job__submit:focus-visible { outline: 3px solid var(--nm-yellow); outline-offset: 2px; }
.nm-job__status { font-family: var(--nm-font-body); font-size: 14px; margin: 0; min-height: 1.2em; }
.nm-job__status.is-ok { color: #15803d; font-weight: 700; }
.nm-job__status.is-err { color: var(--nm-red); font-weight: 700; }

@media (max-width: 680px) {
    .nm-job__row,
    .nm-job__row--three,
    .nm-job__row--cepaddr,
    .nm-job__row--numcomp,
    .nm-job__row--ciduf { grid-template-columns: 1fr; }
    .nm-job__submit { width: 100%; justify-content: center; }
}

/* =============================================================================
 * Notícias / Blog — listagem (nm-news) + página interna (nm-article).
 * Layout editorial moderno: card de destaque + grid responsivo de cards com
 * capa, chip de editoria e data. Reveal via [data-reveal].
 * ========================================================================== */
.nm-news { background: var(--nm-bg); padding: clamp(28px, 5vw, 64px) var(--nm-pad) clamp(48px, 7vw, 88px); }
.nm-news__inner { max-width: 1180px; margin: 0 auto; }

.nm-news__head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.nm-news__badge {
    display: inline-block;
    background: rgba(226, 6, 19, .08);
    color: var(--nm-red);
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.nm-news__title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(28px, 4.5vw, 46px);
    line-height: 1.08;
    color: var(--nm-ink);
    margin: 0 0 12px;
}
.nm-news__lead {
    font-family: var(--nm-font-body);
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--nm-grey);
    margin: 0 auto;
    max-width: 640px;
}
.nm-news__empty {
    text-align: center;
    font-family: var(--nm-font-body);
    color: var(--nm-grey);
    background: #fff;
    border: 1px dashed var(--nm-line);
    border-radius: 16px;
    padding: 48px 24px;
}

/* Chip de editoria + data */
.nm-news__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.nm-news__chip {
    display: inline-block;
    background: var(--nm-red);
    color: #fff;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 5px 12px;
    border-radius: 999px;
}
.nm-news__chip--over { position: absolute; top: 14px; left: 14px; z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.nm-news__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--nm-font-body);
    font-size: 13px;
    color: var(--nm-grey);
}
.nm-news__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--nm-red);
    margin-top: auto;
}
.nm-news__more i { transition: transform .2s var(--nm-ease); }
.nm-news__more--sm { font-size: 13.5px; }
.nm-news__noimg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6, #e7e9ee);
    color: #c4c8d0;
    font-size: 40px;
}

/* Card de destaque */
.nm-news__feature {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .07);
    margin-bottom: clamp(24px, 4vw, 40px);
    transition: transform .25s var(--nm-ease), box-shadow .25s var(--nm-ease);
}
.nm-news__feature:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(0, 0, 0, .12); }
.nm-news__feature:hover .nm-news__more i { transform: translateX(4px); }
.nm-news__feature-media { position: relative; min-height: 280px; background: #eee; }
.nm-news__feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nm-news__feature-body { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; }
.nm-news__feature-title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(21px, 2.4vw, 30px);
    line-height: 1.15;
    color: var(--nm-ink);
    margin: 0 0 12px;
}
.nm-news__feature-excerpt {
    font-family: var(--nm-font-body);
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--nm-grey);
    margin: 0 0 20px;
}

/* Grid de cards */
.nm-news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: clamp(18px, 2.5vw, 28px);
}
.nm-news__card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
    transition: transform .22s var(--nm-ease), box-shadow .22s var(--nm-ease);
}
.nm-news__card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0, 0, 0, .12); }
.nm-news__card:hover .nm-news__more i { transform: translateX(4px); }
.nm-news__card-media { position: relative; aspect-ratio: 16 / 9; background: #eee; }
.nm-news__card-media img { width: 100%; height: 100%; object-fit: cover; }
.nm-news__card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nm-news__card-title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: 18px;
    line-height: 1.25;
    color: var(--nm-ink);
    margin: 0;
}
.nm-news__card-excerpt {
    font-family: var(--nm-font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--nm-grey);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 760px) {
    .nm-news__feature { grid-template-columns: 1fr; }
    .nm-news__feature-media { min-height: 200px; aspect-ratio: 16 / 9; }
}

/* ---- Página interna da notícia (nm-article) ---- */
.nm-article { background: var(--nm-bg); padding: clamp(20px, 4vw, 48px) var(--nm-pad) clamp(48px, 7vw, 88px); }
.nm-article__inner { max-width: 820px; margin: 0 auto; }
.nm-article__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-family: var(--nm-font-body);
    font-size: 13px;
    color: var(--nm-grey);
    margin-bottom: 22px;
}
.nm-article__breadcrumb a { color: var(--nm-grey); text-decoration: none; }
.nm-article__breadcrumb a:hover { color: var(--nm-red); }
.nm-article__crumb-current { color: var(--nm-ink); font-weight: 600; }
.nm-article__head { margin-bottom: 22px; }
.nm-article__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.nm-article__title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.12;
    color: var(--nm-ink);
    margin: 0;
}
.nm-article__cover { margin: 0 0 28px; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 48px rgba(0, 0, 0, .10); }
.nm-article__cover img { display: block; width: 100%; height: auto; }

/* Tipografia do corpo (HTML do CKEditor) */
.nm-article__body { font-family: var(--nm-font-body); font-size: 17px; line-height: 1.75; color: #2b2f36; }
.nm-article__body p { margin: 0 0 18px; }
.nm-article__body h2 { font-family: var(--nm-font-head); font-weight: 800; font-size: 25px; color: var(--nm-ink); margin: 32px 0 14px; }
.nm-article__body h3 { font-family: var(--nm-font-head); font-weight: 700; font-size: 20px; color: var(--nm-ink); margin: 26px 0 12px; }
.nm-article__body ul,
.nm-article__body ol { margin: 0 0 18px; padding-left: 24px; }
.nm-article__body li { margin-bottom: 8px; }
.nm-article__body a { color: var(--nm-red); text-decoration: underline; }
.nm-article__body img { max-width: 100%; height: auto; border-radius: 12px; margin: 12px 0; }
.nm-article__body blockquote {
    margin: 22px 0;
    padding: 12px 20px;
    border-left: 4px solid var(--nm-red);
    background: rgba(226, 6, 19, .04);
    color: var(--nm-ink);
    font-style: italic;
}
/* Tabelas do CKEditor (<figure class="table"><table>) — rolam na horizontal no mobile */
.nm-article__body figure.table { margin: 22px 0; overflow-x: auto; }
.nm-article__body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.nm-article__body th,
.nm-article__body td { padding: 10px 12px; border-bottom: 1px solid #e4e6ea; text-align: left; vertical-align: top; }
.nm-article__body thead th { background: var(--nm-ink); color: #fff; font-family: var(--nm-font-head); font-weight: 700; }
.nm-article__body tbody tr:nth-child(even) { background: #f6f7f9; }

.nm-article__foot { margin: 36px 0; }
.nm-article__back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 15px;
    color: var(--nm-red);
    text-decoration: none;
    border: 2px solid var(--nm-red);
    border-radius: 10px;
    padding: 11px 22px;
    transition: background .2s var(--nm-ease), color .2s var(--nm-ease);
}
.nm-article__back:hover { background: var(--nm-red); color: #fff; }

.nm-article__related { margin-top: 48px; border-top: 1px solid var(--nm-line); padding-top: 36px; }
.nm-article__related-title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: 22px;
    color: var(--nm-ink);
    margin: 0 0 22px;
}

/* ---- Vitrine de notícias na home (nm-bloghome) ---- */
.nm-bloghome { background: var(--nm-bg); padding: clamp(40px, 6vw, 80px) var(--nm-pad); }
.nm-bloghome__inner { max-width: 1180px; margin: 0 auto; }
.nm-bloghome__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: clamp(24px, 4vw, 40px);
}
.nm-bloghome__title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(26px, 4vw, 40px);
    line-height: 1.1;
    color: var(--nm-ink);
    margin: 10px 0 8px;
}
.nm-bloghome__lead {
    font-family: var(--nm-font-body);
    font-size: clamp(15px, 1.6vw, 17px);
    color: var(--nm-grey);
    margin: 0;
}
.nm-bloghome__all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 15px;
    color: var(--nm-red);
    text-decoration: none;
    border: 2px solid var(--nm-red);
    border-radius: 10px;
    padding: 11px 22px;
    white-space: nowrap;
    transition: background .2s var(--nm-ease), color .2s var(--nm-ease);
}
.nm-bloghome__all i { transition: transform .2s var(--nm-ease); }
.nm-bloghome__all:hover { background: var(--nm-red); color: #fff; }
.nm-bloghome__all:hover i { transform: translateX(4px); }

@media (max-width: 600px) {
    .nm-bloghome__all { width: 100%; justify-content: center; }
}

/* =============================================================================
 * Contato moderno (nm-ct) — formulário em cartão + canais de atendimento com
 * chips vermelhos + mapa arredondado. Substitui os legados cf1/cn1.
 * ========================================================================== */
.nm-ct { background: var(--nm-bg); padding: clamp(28px, 5vw, 64px) var(--nm-pad) clamp(48px, 7vw, 88px); }
.nm-ct__inner { max-width: 1180px; margin: 0 auto; }

.nm-ct__head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.nm-ct__badge {
    display: inline-block;
    background: rgba(226, 6, 19, .08);
    color: var(--nm-red);
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.nm-ct__title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(28px, 4.5vw, 44px);
    line-height: 1.08;
    color: var(--nm-ink);
    margin: 0 0 12px;
}
.nm-ct__lead {
    font-family: var(--nm-font-body);
    font-size: clamp(15px, 1.6vw, 17px);
    color: var(--nm-grey);
    max-width: 620px;
    margin: 0 auto;
}

.nm-ct__grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: clamp(20px, 3vw, 32px);
    align-items: start;
}

/* Form (cartão) */
.nm-ct__form {
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 18px;
    padding: clamp(20px, 3vw, 36px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .06);
    display: grid;
    gap: 16px;
}
.nm-ct__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nm-ct__field { display: flex; flex-direction: column; gap: 6px; }
.nm-ct__field label {
    font-family: var(--nm-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--nm-ink);
}
.nm-ct__field input,
.nm-ct__field select,
.nm-ct__field textarea {
    font-family: var(--nm-font-body);
    font-size: 16px;
    color: var(--nm-ink);
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 10px;
    padding: 13px 15px;
    width: 100%;
}
.nm-ct__field select { cursor: pointer; }
.nm-ct__field textarea { resize: vertical; }
.nm-ct__field input:focus,
.nm-ct__field select:focus,
.nm-ct__field textarea:focus { outline: 2px solid var(--nm-red); outline-offset: 1px; border-color: var(--nm-red); }
.nm-ct__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nm-ct__submit {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    background: var(--nm-red);
    border: none;
    border-radius: 10px;
    padding: 15px 32px;
    cursor: pointer;
    transition: background .2s var(--nm-ease), transform .2s var(--nm-ease), box-shadow .2s var(--nm-ease);
}
.nm-ct__submit:hover { background: var(--nm-red-deep); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(226, 6, 19, .30); }
.nm-ct__submit:focus-visible { outline: 3px solid var(--nm-yellow); outline-offset: 2px; }
.nm-ct__status { font-family: var(--nm-font-body); font-size: 14px; margin: 0; min-height: 1.2em; }
.nm-ct__status.is-ok { color: #15803d; font-weight: 700; }
.nm-ct__status.is-err { color: var(--nm-red); font-weight: 700; }

/* Coluna de canais + mapa */
.nm-ct__aside { display: grid; gap: clamp(16px, 2.5vw, 24px); }
.nm-ct__card {
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 18px;
    padding: clamp(20px, 3vw, 30px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .05);
}
.nm-ct__card-title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: 18px;
    color: var(--nm-ink);
    margin: 0 0 18px;
}
.nm-ct__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 16px; }
.nm-ct__item { display: flex; align-items: flex-start; gap: 14px; }
.nm-ct__ico {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(226, 6, 19, .10);
    color: var(--nm-red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.nm-ct__item-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nm-ct__item-body strong { font-family: var(--nm-font-head); font-size: 14px; color: var(--nm-ink); }
.nm-ct__item-body a,
.nm-ct__item-body span { font-family: var(--nm-font-body); font-size: 14.5px; color: var(--nm-grey); text-decoration: none; word-break: break-word; }
.nm-ct__item-body a:hover { color: var(--nm-red); }
.nm-ct__directions {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--nm-red);
    text-decoration: none;
    border: 2px solid var(--nm-red);
    border-radius: 10px;
    padding: 11px 20px;
    transition: background .2s var(--nm-ease), color .2s var(--nm-ease);
}
.nm-ct__directions:hover { background: var(--nm-red); color: #fff; }
.nm-ct__map {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
    border: 1px solid var(--nm-line);
    height: 300px;
}
.nm-ct__map iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 860px) {
    .nm-ct__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .nm-ct__row { grid-template-columns: 1fr; }
    .nm-ct__submit { width: 100%; justify-content: center; }
}

/* ==========================================================================
   PLANEJE SUA OBRA — calculadora de consumo (sections/planeje-obra)
   Prefixo: nm-calc. Segue a linguagem do pack: cartão branco, topo vermelho
   nos cards de resultado, chips/CTAs no padrão nm-rev/nm-ct.
   ========================================================================== */
.nm-calc {
    padding: 72px 20px 88px;
    background: var(--nm-cinza-bg, #f4f5f7);
}
.nm-calc__container { max-width: 1140px; margin: 0 auto; }

.nm-calc__intro { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.nm-calc__badge {
    display: inline-block;
    font: 700 12px/1 var(--nm-font-title, 'Montserrat', sans-serif);
    letter-spacing: .14em;
    color: var(--nm-vermelho, #E20613);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.nm-calc__title {
    font: 800 clamp(28px, 4.5vw, 42px)/1.15 var(--nm-font-title, 'Montserrat', sans-serif);
    color: var(--nm-graphite, #1b1d22);
    margin: 0 0 14px;
}
.nm-calc__subtitle { font-size: 17px; line-height: 1.6; color: #555a63; margin: 0; }

/* ---------- Formulário ---------- */
.nm-calc__form {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 34px rgba(20, 22, 27, .08);
    padding: 30px 30px 26px;
}
.nm-calc__fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.nm-calc__legend {
    font: 700 15px/1.2 var(--nm-font-title, 'Montserrat', sans-serif);
    color: var(--nm-graphite, #1b1d22);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nm-calc__legend i { color: var(--nm-vermelho, #E20613); }

.nm-calc__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px 16px;
}
.nm-calc__field { display: flex; flex-direction: column; gap: 6px; }
.nm-calc__label { font-size: 13px; font-weight: 600; color: #40454e; }
.nm-calc__input {
    height: 46px;
    border: 1px solid #d7dae0;
    border-radius: 10px;
    background: #fff;
    padding: 0 14px;
    font-size: 15px;
    color: var(--nm-graphite, #1b1d22);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.nm-calc__input:focus-visible {
    outline: none;
    border-color: var(--nm-vermelho, #E20613);
    box-shadow: 0 0 0 3px rgba(226, 6, 19, .14);
}

.nm-calc__options { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 16px; }
.nm-calc__check { display: flex; align-items: center; gap: 9px; font-size: 14px; color: #40454e; cursor: pointer; }
.nm-calc__check input { width: 17px; height: 17px; accent-color: var(--nm-vermelho, #E20613); }
.nm-calc__check small { color: #868c96; }

.nm-calc__error {
    background: #fdecec;
    border: 1px solid #f5b8bc;
    color: #9d1c24;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    margin: 0 0 16px;
}

.nm-calc__submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--nm-vermelho, #E20613);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 15px 34px;
    font: 700 15px/1 var(--nm-font-title, 'Montserrat', sans-serif);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.nm-calc__submit:hover { background: #c00511; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(226, 6, 19, .3); }
.nm-calc__submit:focus-visible { outline: 3px solid rgba(226, 6, 19, .35); outline-offset: 2px; }

/* ---------- Resultado ---------- */
.nm-calc__results { margin-top: 34px; }
.nm-calc__results-title {
    font: 700 20px/1.3 var(--nm-font-title, 'Montserrat', sans-serif);
    color: var(--nm-graphite, #1b1d22);
    margin: 0 0 18px;
    text-align: center;
}
.nm-calc__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.nm-calc__card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(20, 22, 27, .09);
}
.nm-calc__card-top {
    background: var(--nm-vermelho, #E20613);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
}
.nm-calc__card-top i { font-size: 20px; color: var(--nm-amarelo, #FFB800); }
.nm-calc__card-top h3 { margin: 0; font: 700 16px/1.2 var(--nm-font-title, 'Montserrat', sans-serif); }
.nm-calc__card-body { padding: 18px 20px 20px; }
.nm-calc__product { margin: 0 0 12px; font-size: 15px; }
.nm-calc__product a { color: var(--nm-vermelho, #E20613); font-weight: 700; text-decoration: none; }
.nm-calc__product a:hover, .nm-calc__product a:focus-visible { text-decoration: underline; }
.nm-calc__stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 14px; color: #4a4f58; }
.nm-calc__stats strong { color: var(--nm-graphite, #1b1d22); font-size: 16px; }
.nm-calc__stat-destaque {
    margin-top: 6px;
    background: #f7f7f9;
    border-radius: 10px;
    padding: 10px 12px;
}
.nm-calc__stat-destaque strong { font-size: 22px; color: var(--nm-vermelho, #E20613); }
.nm-calc__note { margin: 12px 0 0; font-size: 13px; color: #75620a; background: #fff8e0; border-radius: 8px; padding: 9px 12px; }

.nm-calc__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
.nm-calc__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    padding: 13px 26px;
    font: 700 14px/1 var(--nm-font-title, 'Montserrat', sans-serif);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}
.nm-calc__cta--whats { background: #25d366; color: #fff; }
.nm-calc__cta--whats:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37, 211, 102, .35); }
.nm-calc__cta--ghost { border: 2px solid var(--nm-graphite, #1b1d22); color: var(--nm-graphite, #1b1d22); }
.nm-calc__cta--ghost:hover { background: var(--nm-graphite, #1b1d22); color: #fff; }
.nm-calc__cta:focus-visible { outline: 3px solid rgba(226, 6, 19, .35); outline-offset: 2px; }

.nm-calc__disclaimer {
    margin: 24px auto 0;
    max-width: 760px;
    font-size: 12.5px;
    line-height: 1.6;
    color: #868c96;
    text-align: center;
}
.nm-calc__disclaimer i { color: #b6bac2; margin-right: 4px; }

@media (max-width: 680px) {
    .nm-calc { padding: 48px 16px 64px; }
    .nm-calc__form { padding: 22px 18px 20px; }
    .nm-calc__submit { width: 100%; justify-content: center; }
    .nm-calc__actions .nm-calc__cta { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .nm-calc__submit, .nm-calc__cta { transition: none; }
    .nm-calc__submit:hover, .nm-calc__cta--whats:hover { transform: none; }
}

/* =============================================================================
 * Section "SAC" (nm-sac) — Serviço de Atendimento ao Cliente. Mesma linguagem
 * visual do nm-ct (grid form + aside, cartão branco, vermelho de destaque),
 * com o campo "tipo de solicitação", consentimento LGPD e um bloco de FAQ.
 * ========================================================================== */
.nm-sac { background: var(--nm-bg); padding: clamp(28px, 5vw, 64px) var(--nm-pad) clamp(48px, 7vw, 88px); }
.nm-sac__inner { max-width: 1180px; margin: 0 auto; }

.nm-sac__head { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.nm-sac__badge {
    display: inline-block;
    background: rgba(226, 6, 19, .08);
    color: var(--nm-red);
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.nm-sac__title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.1;
    color: var(--nm-ink);
    margin: 0 0 14px;
}
.nm-sac__lead {
    font-family: var(--nm-font-body);
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.6;
    color: var(--nm-grey);
    max-width: 720px;
    margin: 0 auto;
}

.nm-sac__grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: clamp(20px, 3vw, 32px);
    align-items: start;
}

/* Form (cartão) */
.nm-sac__form {
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 18px;
    padding: clamp(20px, 3vw, 36px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .06);
    display: grid;
    gap: 16px;
}
.nm-sac__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nm-sac__field { display: flex; flex-direction: column; gap: 6px; }
.nm-sac__field label {
    font-family: var(--nm-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--nm-ink);
}
.nm-sac__field input,
.nm-sac__field select,
.nm-sac__field textarea {
    font-family: var(--nm-font-body);
    font-size: 16px;
    color: var(--nm-ink);
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 10px;
    padding: 13px 15px;
    width: 100%;
}
.nm-sac__field select { cursor: pointer; }
.nm-sac__field textarea { resize: vertical; }
.nm-sac__field input:focus,
.nm-sac__field select:focus,
.nm-sac__field textarea:focus { outline: 2px solid var(--nm-red); outline-offset: 1px; border-color: var(--nm-red); }
.nm-sac__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.nm-sac__consent { display: flex; }
.nm-sac__check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.nm-sac__check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--nm-red); flex: 0 0 auto; }
.nm-sac__check span { font-family: var(--nm-font-body); font-size: 13.5px; line-height: 1.5; color: var(--nm-grey); }
.nm-sac__check a { color: var(--nm-red); text-decoration: underline; }

.nm-sac__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--nm-red);
    color: #fff;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 15px;
    border: 0;
    border-radius: 12px;
    padding: 15px 26px;
    cursor: pointer;
    transition: background .2s var(--nm-ease), transform .2s var(--nm-ease), box-shadow .2s var(--nm-ease);
}
.nm-sac__submit:hover { background: var(--nm-red-deep); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(226, 6, 19, .30); }
.nm-sac__submit:focus-visible { outline: 3px solid var(--nm-yellow); outline-offset: 2px; }
.nm-sac__status { font-family: var(--nm-font-body); font-size: 14px; margin: 0; min-height: 1.2em; }
.nm-sac__status.is-ok { color: #15803d; font-weight: 700; }
.nm-sac__status.is-err { color: var(--nm-red); font-weight: 700; }

/* Aside (canais) */
.nm-sac__aside { display: grid; gap: clamp(16px, 2.5vw, 24px); }
.nm-sac__card {
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 18px;
    padding: clamp(20px, 3vw, 28px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .06);
}
.nm-sac__card-title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: 18px;
    color: var(--nm-ink);
    margin: 0 0 18px;
}
.nm-sac__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 16px; }
.nm-sac__item { display: flex; align-items: flex-start; gap: 14px; }
.nm-sac__ico {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(226, 6, 19, .08);
    color: var(--nm-red);
    font-size: 16px;
}
.nm-sac__item-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nm-sac__item-body strong { font-family: var(--nm-font-head); font-size: 14px; color: var(--nm-ink); }
.nm-sac__item-body a,
.nm-sac__item-body span { font-family: var(--nm-font-body); font-size: 14.5px; color: var(--nm-grey); text-decoration: none; word-break: break-word; }
.nm-sac__item-body a:hover { color: var(--nm-red); }
.nm-sac__note {
    font-family: var(--nm-font-body);
    font-size: 13px;
    line-height: 1.5;
    color: var(--nm-grey);
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid var(--nm-line);
}
.nm-sac__note i { color: var(--nm-red); margin-right: 6px; }

/* FAQ */
.nm-sac__faq { margin-top: clamp(40px, 6vw, 72px); }
.nm-sac__faq-head { text-align: center; margin-bottom: clamp(20px, 3vw, 32px); }
.nm-sac__faq-title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(22px, 3vw, 32px);
    color: var(--nm-ink);
    margin: 0 0 10px;
}
.nm-sac__faq-sub { font-family: var(--nm-font-body); font-size: 15px; color: var(--nm-grey); margin: 0; }
.nm-sac__faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 24px); }
.nm-sac__faq-item {
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 16px;
    border-top: 3px solid var(--nm-red);
    padding: clamp(20px, 2.5vw, 26px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .05);
}
.nm-sac__faq-q { font-family: var(--nm-font-head); font-weight: 700; font-size: 16px; line-height: 1.35; color: var(--nm-ink); margin: 0 0 10px; }
.nm-sac__faq-a { font-family: var(--nm-font-body); font-size: 14.5px; line-height: 1.6; color: var(--nm-grey); margin: 0; }

@media (max-width: 900px) {
    .nm-sac__grid { grid-template-columns: 1fr; }
    .nm-sac__faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .nm-sac__row { grid-template-columns: 1fr; }
    .nm-sac__submit { width: 100%; }
}

/* =====================================================================
   Answer-blocks (§2 geo-axo) — primeiro conteúdo textual da página:
   responde a dor principal em ~100 palavras, com marca + CTA embutidos.
   ===================================================================== */
.nm-answers { padding: 40px 20px 8px; }
.nm-answers__wrap { max-width: 900px; margin: 0 auto; }
.answer-block {
    background: #fff;
    border: 1px solid #ececee;
    border-left: 4px solid #E20613;
    border-radius: 12px;
    padding: 24px 26px;
    margin: 0 auto 18px;
    box-shadow: 0 6px 22px rgba(27, 29, 34, .06);
}
.answer-block h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    line-height: 1.3;
    color: #1b1d22;
    margin: 0 0 10px;
}
.answer-block p { color: #45474d; line-height: 1.65; margin: 0 0 10px; }
.answer-block__cta { margin: 14px 0 0; }
.answer-block__cta a {
    display: inline-block;
    background: #E20613;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    padding: 11px 22px;
    border-radius: 999px;
    transition: filter .15s ease;
}
.answer-block__cta a:hover,
.answer-block__cta a:focus-visible { filter: brightness(.92); }
@media (max-width: 680px) {
    .nm-answers { padding: 28px 16px 4px; }
    .answer-block { padding: 20px; }
    .answer-block h2 { font-size: 1.15rem; }
}

/* =====================================================================
   Página de autor /equipe/{slug} (§4.2) — E-E-A-T verificável.
   ===================================================================== */
.nm-author { padding: 48px 20px; }
.nm-author__wrap { max-width: 860px; margin: 0 auto; }
.nm-author__crumb { font-size: .9rem; color: #6b6d73; margin-bottom: 22px; }
.nm-author__crumb a { color: #E20613; text-decoration: none; }
.nm-author__card { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.nm-author__photo {
    width: 160px; height: 160px; border-radius: 50%; object-fit: cover;
    border: 4px solid #fff; box-shadow: 0 6px 22px rgba(27, 29, 34, .12);
}
.nm-author__name { font-family: 'Montserrat', sans-serif; font-size: 2rem; color: #1b1d22; margin: 0 0 6px; }
.nm-author__role { font-weight: 700; color: #45474d; margin: 0 0 4px; }
.nm-author__cred { color: #E20613; font-weight: 700; margin: 0 0 8px; }
.nm-author__social { list-style: none; padding: 0; margin: 8px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.nm-author__social a { color: #45474d; }
.nm-author__bio { margin: 28px 0; color: #45474d; line-height: 1.7; }
.nm-author__bio p { margin: 0 0 14px; }
.nm-author__posts { border-top: 1px solid #ececee; padding-top: 22px; }
.nm-author__posts h2 { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; color: #1b1d22; margin: 0 0 12px; }
.nm-author__posts ul { padding-left: 18px; margin: 0; }
.nm-author__posts a { color: #E20613; }
@media (max-width: 680px) {
    .nm-author__card { justify-content: center; text-align: center; }
    .nm-author__name { font-size: 1.6rem; }
}

/* =============================================================================
 * Section "Pontos de vendas" (nm-pdv) — representantes por região: contadores,
 * filtros, mapa Leaflet + lista de cards e modal <dialog> do pedido de
 * atendimento. Mesma linguagem visual do nm-sac (cartões brancos, vermelho de
 * destaque). O mapa cria o próprio contexto de empilhamento (isolation) para os
 * z-index altos do Leaflet nunca passarem por cima do header fixo.
 * ========================================================================== */
.nm-pdv { background: var(--nm-bg); padding: clamp(28px, 5vw, 64px) var(--nm-pad) clamp(48px, 7vw, 88px); }
.nm-pdv__inner { max-width: 1180px; margin: 0 auto; }

.nm-pdv__head { text-align: center; margin-bottom: clamp(24px, 4vw, 40px); }
.nm-pdv__badge {
    display: inline-block;
    background: rgba(226, 6, 19, .08);
    color: var(--nm-red);
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.nm-pdv__title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.1;
    color: var(--nm-ink);
    margin: 0 0 14px;
}
.nm-pdv__lead {
    font-family: var(--nm-font-body);
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.6;
    color: var(--nm-grey);
    max-width: 720px;
    margin: 0 auto;
}
.nm-pdv__stats {
    list-style: none;
    margin: clamp(20px, 3vw, 28px) 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(20px, 5vw, 56px);
}
.nm-pdv__stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.nm-pdv__stat strong { font-family: var(--nm-font-head); font-weight: 800; font-size: clamp(26px, 3.4vw, 36px); line-height: 1; color: var(--nm-red); }
.nm-pdv__stat span { font-family: var(--nm-font-body); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--nm-grey); }

/* Filtros */
.nm-pdv__filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 18px;
    padding: clamp(16px, 2.5vw, 24px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .06);
    margin-bottom: 20px;
}
.nm-pdv__field,
.nm-pdv__fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nm-pdv__field label,
.nm-pdv__fld label { font-family: var(--nm-font-body); font-size: 13px; font-weight: 600; color: var(--nm-ink); }
.nm-pdv__field input,
.nm-pdv__field select,
.nm-pdv__fld input,
.nm-pdv__fld select,
.nm-pdv__fld textarea {
    font-family: var(--nm-font-body);
    font-size: 16px;
    color: var(--nm-ink);
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 10px;
    padding: 12px 14px;
    width: 100%;
}
.nm-pdv__field select,
.nm-pdv__fld select { cursor: pointer; }
.nm-pdv__fld textarea { resize: vertical; }
.nm-pdv__field input:focus,
.nm-pdv__field select:focus,
.nm-pdv__fld input:focus,
.nm-pdv__fld select:focus,
.nm-pdv__fld textarea:focus { outline: 2px solid var(--nm-red); outline-offset: 1px; border-color: var(--nm-red); }

.nm-pdv__chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.nm-pdv__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 999px;
    padding: 7px 14px;
    font-family: var(--nm-font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--nm-ink);
    cursor: pointer;
    transition: background .2s var(--nm-ease), color .2s var(--nm-ease), border-color .2s var(--nm-ease);
}
.nm-pdv__chip:hover { border-color: var(--nm-red); }
.nm-pdv__chip:focus-visible { outline: 3px solid var(--nm-yellow); outline-offset: 2px; }
.nm-pdv__chip-count { background: rgba(226, 6, 19, .1); color: var(--nm-red); border-radius: 999px; padding: 1px 8px; font-size: 12px; }
.nm-pdv__chip[aria-pressed="true"] { background: var(--nm-red); border-color: var(--nm-red); color: #fff; }
.nm-pdv__chip[aria-pressed="true"] .nm-pdv__chip-count { background: rgba(255, 255, 255, .22); color: #fff; }

.nm-pdv__meta { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nm-pdv__count { margin: 0; font-family: var(--nm-font-head); font-weight: 700; font-size: 14px; color: var(--nm-ink); }
.nm-pdv__clear { background: none; border: 0; padding: 4px 0; font-family: var(--nm-font-body); font-weight: 700; font-size: 13.5px; color: var(--nm-red); cursor: pointer; }
.nm-pdv__clear:hover { text-decoration: underline; }

/* Mapa + lista */
.nm-pdv__layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; align-items: start; }
.nm-pdv__layout--nomap { grid-template-columns: 1fr; }
.nm-pdv__layout--nomap .nm-pdv__map { display: none; }
.nm-pdv__map {
    position: relative;
    z-index: 0;
    isolation: isolate;
    height: 560px;
    border: 1px solid var(--nm-line);
    border-radius: 18px;
    overflow: hidden;
    background: #e9edf1;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .06);
}
.nm-pdv__results { min-width: 0; }
.nm-pdv__list {
    list-style: none;
    margin: 0;
    padding: 0 4px 0 0;
    display: grid;
    gap: 12px;
    max-height: 560px;
    overflow-y: auto;
}
.nm-pdv__layout--nomap .nm-pdv__list { max-height: none; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.nm-pdv__card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--nm-line);
    border-radius: 14px;
    padding: 16px 18px;
}
.nm-pdv__card[hidden],
.nm-pdv__empty[hidden] { display: none; }
.nm-pdv__tag {
    align-self: flex-start;
    background: rgba(226, 6, 19, .08);
    color: var(--nm-red);
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 4px 10px;
    border-radius: 999px;
}
.nm-pdv__card-name { font-family: var(--nm-font-head); font-weight: 800; font-size: 17px; line-height: 1.25; color: var(--nm-ink); margin: 0; }
.nm-pdv__card-city { font-family: var(--nm-font-body); font-size: 14px; color: var(--nm-grey); margin: 0; }
.nm-pdv__card-city i { color: var(--nm-red); margin-right: 4px; }
.nm-pdv__card-cover { font-family: var(--nm-font-body); font-size: 13.5px; line-height: 1.5; color: var(--nm-grey); margin: 0; }
.nm-pdv__card-states { font-family: var(--nm-font-body); font-size: 12.5px; color: var(--nm-grey); margin: 0; }
.nm-pdv__card-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    background: none;
    border: 0;
    padding: 4px 0;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 14px;
    color: var(--nm-red);
    cursor: pointer;
}
.nm-pdv__card-btn:hover { text-decoration: underline; }
.nm-pdv__card-btn:focus-visible { outline: 3px solid var(--nm-yellow); outline-offset: 2px; }

/* Pinos (L.divIcon) — gota vermelha com a UF */
.nm-pdv__pin-wrap { background: none; border: 0; }
.nm-pdv__pin {
    position: relative;
    z-index: 0;
    display: flex;
    justify-content: center;
    width: 38px;
    height: 46px;
    padding-top: 11px;
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: 12px;
    color: #fff;
}
.nm-pdv__pin::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 2px;
    left: 2px;
    width: 34px;
    height: 34px;
    background: var(--nm-red);
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
}

/* Popup do pino */
.nm-pdv__popup { display: flex; flex-direction: column; gap: 4px; min-width: 200px; font-family: var(--nm-font-body); }
.nm-pdv__popup-name { font-family: var(--nm-font-head); font-size: 15px; color: var(--nm-ink); }
.nm-pdv__popup-city { font-size: 13px; color: var(--nm-grey); }
.nm-pdv__popup-cover { font-size: 12.5px; line-height: 1.45; color: var(--nm-grey); }
.nm-pdv__popup-btn {
    margin-top: 8px;
    background: var(--nm-red);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 9px 12px;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}
.nm-pdv__popup-btn:hover { background: var(--nm-red-deep); }

/* Estado vazio / sem resultados */
.nm-pdv__empty {
    display: grid;
    justify-items: center;
    gap: 14px;
    text-align: center;
    background: #fff;
    border: 1px dashed var(--nm-line);
    border-radius: 16px;
    padding: clamp(22px, 4vw, 36px);
    font-family: var(--nm-font-body);
    color: var(--nm-grey);
}
.nm-pdv__empty p { margin: 0; font-size: 15px; line-height: 1.6; max-width: 560px; }
.nm-pdv__empty--page > i { font-size: 34px; color: var(--nm-red); }
.nm-pdv__empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.nm-pdv__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 12px;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid transparent;
}
.nm-pdv__btn--wa { background: #25D366; color: #fff; }
.nm-pdv__btn--wa:hover { background: #1ebe5b; }
.nm-pdv__btn--ghost { border-color: var(--nm-red); color: var(--nm-red); }
.nm-pdv__btn--ghost:hover { background: var(--nm-red); color: #fff; }
.nm-pdv__btn:focus-visible { outline: 3px solid var(--nm-yellow); outline-offset: 2px; }

/* Modal do pedido de atendimento */
.nm-pdv__modal {
    padding: 0;
    border: 0;
    border-radius: 18px;
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.nm-pdv__modal::backdrop { background: rgba(15, 17, 20, .6); }
.nm-pdv__modal-head { position: relative; background: var(--nm-ink); color: #fff; padding: 22px 60px 20px 24px; }
.nm-pdv__tag--light { background: rgba(255, 255, 255, .14); color: var(--nm-yellow); }
.nm-pdv__modal-name { font-family: var(--nm-font-head); font-weight: 800; font-size: 22px; line-height: 1.2; color: #fff; margin: 10px 0 4px; }
.nm-pdv__modal-cover { font-family: var(--nm-font-body); font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .75); margin: 0; }
.nm-pdv__modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}
.nm-pdv__modal-close:hover { background: rgba(255, 255, 255, .24); }
.nm-pdv__modal-close:focus-visible { outline: 3px solid var(--nm-yellow); outline-offset: 2px; }

.nm-pdv__form { display: grid; gap: 14px; padding: 22px 24px 24px; background: #fff; }
.nm-pdv__form-note { font-family: var(--nm-font-body); font-size: 13px; color: var(--nm-grey); margin: 0; }
.nm-pdv__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nm-pdv__row--city { grid-template-columns: 1fr 110px; }
.nm-pdv__hint { font-family: var(--nm-font-body); font-size: 12.5px; color: var(--nm-grey); min-height: 1em; }
.nm-pdv__hint.is-ok { color: #15803d; }
.nm-pdv__hint.is-err { color: var(--nm-red); }
.nm-pdv__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nm-pdv__check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.nm-pdv__check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--nm-red); flex: 0 0 auto; }
.nm-pdv__check span { font-family: var(--nm-font-body); font-size: 13.5px; line-height: 1.5; color: var(--nm-grey); }
.nm-pdv__check a { color: var(--nm-red); text-decoration: underline; }
.nm-pdv__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--nm-red);
    color: #fff;
    font-family: var(--nm-font-head);
    font-weight: 700;
    font-size: 15px;
    border: 0;
    border-radius: 12px;
    padding: 15px 26px;
    cursor: pointer;
    transition: background .2s var(--nm-ease);
}
.nm-pdv__submit:hover { background: var(--nm-red-deep); }
.nm-pdv__submit:disabled { opacity: .7; cursor: wait; }
.nm-pdv__submit:focus-visible { outline: 3px solid var(--nm-yellow); outline-offset: 2px; }

/* Resultado do envio (substitui o form dentro do modal) */
.nm-pdv__form[hidden],
.nm-pdv__result[hidden] { display: none; }
.nm-pdv__result {
    --nm-pdv-tone: #16a34a;
    --nm-pdv-tone-soft: rgba(22, 163, 74, .12);
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: clamp(26px, 5vw, 40px) 24px 28px;
    background: #fff;
    text-align: center;
    animation: nmPdvResultIn .35s var(--nm-ease) both;
}
.nm-pdv__result--err { --nm-pdv-tone: var(--nm-red); --nm-pdv-tone-soft: rgba(226, 6, 19, .10); }
.nm-pdv__result-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--nm-pdv-tone);
    color: #fff;
    font-size: 32px;
    box-shadow: 0 0 0 10px var(--nm-pdv-tone-soft), 0 14px 30px rgba(0, 0, 0, .14);
    animation: nmPdvPop .45s cubic-bezier(.2, 1.4, .4, 1) .05s both;
}
.nm-pdv__result-title {
    font-family: var(--nm-font-head);
    font-weight: 800;
    font-size: clamp(22px, 3vw, 26px);
    line-height: 1.2;
    color: var(--nm-ink);
    margin: 8px 0 0;
}
.nm-pdv__result-title:focus { outline: none; }
.nm-pdv__result-text { font-family: var(--nm-font-body); font-size: 15.5px; line-height: 1.6; color: var(--nm-grey); margin: 0; max-width: 420px; }
.nm-pdv__result-text strong { color: var(--nm-ink); }
.nm-pdv__result-text--err {
    background: var(--nm-pdv-tone-soft);
    color: var(--nm-red-deep);
    font-weight: 600;
    border-radius: 12px;
    padding: 12px 16px;
}
.nm-pdv__steps {
    list-style: none;
    margin: 4px 0 0;
    padding: 16px;
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: 440px;
    background: #f6f7f9;
    border: 1px solid var(--nm-line);
    border-radius: 14px;
    text-align: left;
}
.nm-pdv__step { display: flex; align-items: flex-start; gap: 12px; font-family: var(--nm-font-body); font-size: 14px; line-height: 1.5; color: var(--nm-grey); }
.nm-pdv__step strong { color: var(--nm-ink); word-break: break-word; }
.nm-pdv__step-ico {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(226, 6, 19, .08);
    color: var(--nm-red);
    font-size: 14px;
}
.nm-pdv__result-meta { font-family: var(--nm-font-body); font-size: 13px; color: var(--nm-grey); margin: 0; }
.nm-pdv__result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 440px; margin-top: 6px; }
.nm-pdv__result-actions .nm-pdv__submit,
.nm-pdv__result-actions .nm-pdv__btn { flex: 1 1 180px; justify-content: center; }

@keyframes nmPdvResultIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}
@keyframes nmPdvPop {
    0%   { opacity: 0; transform: scale(.4); }
    100% { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
    .nm-pdv__filters { grid-template-columns: 1fr 1fr; }
    .nm-pdv__field--search { grid-column: 1 / -1; }
    .nm-pdv__layout { grid-template-columns: 1fr; }
    .nm-pdv__map { height: 380px; }
    .nm-pdv__list { max-height: none; overflow: visible; padding-right: 0; }
}
@media (max-width: 560px) {
    .nm-pdv__filters { grid-template-columns: 1fr; }
    .nm-pdv__row { grid-template-columns: 1fr; }
    .nm-pdv__row--city { grid-template-columns: 1fr 96px; }
    .nm-pdv__form { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .nm-pdv__chip,
    .nm-pdv__submit { transition: none; }
    .nm-pdv__result,
    .nm-pdv__result-icon { animation: none; }
}

/* =============================================================================
 * Header moderno — opção 2 (nmhm-) — headers/partials/header-moderno.inc.php
 * Faixa grafite de contatos + barra branca (logo, menu, busca, CTA) + painel de
 * Produtos + menu mobile em tela cheia. Estados por classe (IIFE nmhm no JS).
 * Ao rolar (.nmhm--scrolled) a faixa some e a barra fica compacta e translúcida.
 * ========================================================================== */
.nmhm {
    --nmhm-bar-h: 84px;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: var(--nm-font-body);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 1px 0 rgba(26, 24, 21, .07);
    transition: box-shadow .3s var(--nm-ease), background-color .3s var(--nm-ease);
}
.nmhm--scrolled {
    --nmhm-bar-h: 68px;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 10px 30px -12px rgba(20, 22, 27, .25);
}

/* ---- Faixa de contatos ---- */
.nmhm-top {
    position: relative;
    max-height: 44px;
    overflow: hidden;
    background: linear-gradient(90deg, var(--nm-graphite) 0%, var(--nm-graphite-soft) 100%);
    color: rgba(255, 255, 255, .78);
    transition: max-height .3s var(--nm-ease);
}
/* Filete da marca: vermelho que termina em amarelo */
.nmhm-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--nm-red) 0%, var(--nm-red) 72%, var(--nm-yellow) 72%, var(--nm-yellow) 100%);
}
.nmhm--scrolled .nmhm-top { max-height: 0; }
.nmhm-top__inner {
    max-width: var(--nm-maxw);
    min-height: 41px;
    margin: 0 auto;
    padding: 3px var(--nm-pad) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.nmhm-top__list {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nmhm-top__list li { margin: 0; }
.nmhm-top__link,
.nmhm-top__place {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .01em;
    color: rgba(255, 255, 255, .78);
    transition: color .2s var(--nm-ease);
}
.nmhm-top__link i,
.nmhm-top__place i {
    font-size: 13px;
    color: var(--nm-yellow);
}
.nmhm-top__link:hover { color: #fff; }
.nmhm-top__aside {
    display: flex;
    align-items: center;
    gap: 18px;
}
.nmhm-top__social {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 12px;
    transition: background .2s var(--nm-ease);
}
.nmhm-top__social:hover {
    background: var(--nm-red);
    color: #fff;
}

/* ---- Barra principal ---- */
.nmhm-bar { position: relative; }
.nmhm-bar__inner {
    max-width: var(--nm-maxw);
    min-height: var(--nmhm-bar-h);
    margin: 0 auto;
    padding: 0 var(--nm-pad);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: min-height .3s var(--nm-ease);
}
.nmhm-logo {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}
.nmhm-logo img {
    display: block;
    width: auto;
    height: 52px;
    transition: height .3s var(--nm-ease);
}
.nmhm--scrolled .nmhm-logo img { height: 42px; }

/* Menu */
.nmhm-nav {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
}
.nmhm-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nmhm-nav__item {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
}
.nmhm-nav__link {
    position: relative;
    display: inline-block;
    padding: 10px 8px;
    font-family: var(--nm-font-head);
    font-size: 14px;
    font-weight: 600;
    color: var(--nm-ink);
    white-space: nowrap;
    transition: color .2s var(--nm-ease);
}
/* Sublinhado que entra pela esquerda e sai pela direita: ao passar de um item
 * pro vizinho, a linha parece deslizar entre eles (só CSS, sem JS). */
.nmhm-nav__link::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 3px;
    height: 2px;
    border-radius: 2px;
    background: var(--nm-red);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .32s var(--nm-ease);
}
.nmhm-nav__link:hover,
.nmhm-nav__link--active,
.nmhm-nav__item--mega.is-open .nmhm-nav__link { color: var(--nm-red); }
.nmhm-nav__link:hover::after,
.nmhm-nav__link--active::after,
.nmhm-nav__item--mega.is-open .nmhm-nav__link::after {
    transform: scaleX(1);
    transform-origin: left center;
}
.nmhm-nav__item--mega .nmhm-nav__link { padding-right: 3px; }
.nmhm-nav__item--mega .nmhm-nav__link::after { right: 3px; }
.nmhm-nav__toggle {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 6px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--nm-grey);
    font-size: 11px;
    cursor: pointer;
    transition: color .2s var(--nm-ease), background .2s var(--nm-ease);
}
.nmhm-nav__toggle i { transition: transform .3s var(--nm-ease); }
.nmhm-nav__toggle:hover {
    color: var(--nm-red);
    background: rgba(226, 6, 19, .07);
}
.nmhm-nav__item--mega.is-open .nmhm-nav__toggle { color: var(--nm-red); }
.nmhm-nav__item--mega.is-open .nmhm-nav__toggle i { transform: rotate(180deg); }

/* Ações: busca + CTA + hambúrguer */
.nmhm-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.nmhm-icon-btn {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--nm-line);
    border-radius: 50%;
    background: #fff;
    color: var(--nm-ink);
    font-size: 16px;
    cursor: pointer;
    transition: border-color .2s var(--nm-ease), color .2s var(--nm-ease), box-shadow .2s var(--nm-ease);
}
.nmhm-icon-btn:hover,
.nmhm-icon-btn[aria-expanded="true"] {
    border-color: var(--nm-red);
    color: var(--nm-red);
    box-shadow: 0 0 0 4px rgba(226, 6, 19, .08);
}
.nmhm-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--nm-red) 0%, var(--nm-red-deep) 100%);
    color: #fff;
    font-family: var(--nm-font-head);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    white-space: nowrap;
    box-shadow: 0 10px 22px -8px rgba(226, 6, 19, .55);
    transition: transform .25s var(--nm-ease), box-shadow .25s var(--nm-ease);
}
.nmhm-cta i { font-size: 17px; }
.nmhm-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px -10px rgba(226, 6, 19, .6);
}
.nmhm-cta__short { display: none; }
.nmhm-cta--block {
    width: 100%;
    padding: 16px 22px;
    font-size: 15px;
}

/* Hambúrguer */
.nmhm-burger {
    display: none;
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: var(--nm-graphite);
    cursor: pointer;
}
.nmhm-burger__line {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: right .3s var(--nm-ease);
}
.nmhm-burger__line:nth-child(1) { top: 15px; }
.nmhm-burger__line:nth-child(2) { top: 21px; right: 19px; }
.nmhm-burger__line:nth-child(3) { top: 27px; }
.nmhm-burger:hover .nmhm-burger__line:nth-child(2) { right: 12px; }

/* ---- Painel de Produtos + busca (mesma mecânica de abrir/fechar) ---- */
.nmhm-mega,
.nmhm-search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 10px var(--nm-pad) 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s var(--nm-ease), transform .25s var(--nm-ease), visibility .25s var(--nm-ease);
}
.nmhm-mega--open,
.nmhm-search--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.nmhm-mega__inner {
    max-width: calc(var(--nm-maxw) - 2 * var(--nm-pad));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--nm-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 34px 70px -28px rgba(20, 22, 27, .45);
}
.nmhm-mega__main { padding: 12px 10px 8px; }
.nmhm-mega__eyebrow {
    margin: 0 0 12px 14px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--nm-red);
}
.nmhm-mega__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nmhm-mega__grid li { margin: 0; }
.nmhm-mega__card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    color: var(--nm-ink);
    transition: background .2s var(--nm-ease);
}
.nmhm-mega__card:hover {
    background: #faf7f3;
    color: var(--nm-ink);
}
.nmhm-mega__icon {
    flex-shrink: 0;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(226, 6, 19, .08);
    color: var(--nm-red);
    font-size: 19px;
    transition: background .2s var(--nm-ease), color .2s var(--nm-ease), transform .25s var(--nm-ease);
}
.nmhm-mega__card:hover .nmhm-mega__icon {
    background: var(--nm-red);
    color: #fff;
    transform: rotate(-6deg);
}
.nmhm-mega__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.nmhm-mega__name {
    font-family: var(--nm-font-head);
    font-size: 15px;
    font-weight: 700;
}
.nmhm-mega__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.45;
    color: var(--nm-grey);
}
.nmhm-mega__arrow {
    align-self: center;
    font-size: 13px;
    color: var(--nm-red);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .2s var(--nm-ease), transform .2s var(--nm-ease);
}
.nmhm-mega__card:hover .nmhm-mega__arrow {
    opacity: 1;
    transform: translateX(0);
}
.nmhm-mega__all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0 14px;
    font-family: var(--nm-font-head);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--nm-red);
}
.nmhm-mega__all i { transition: transform .2s var(--nm-ease); }
.nmhm-mega__all:hover { color: var(--nm-red-deep); }
.nmhm-mega__all:hover i { transform: translateX(4px); }
.nmhm-mega__promo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 26px 24px;
    border-radius: 16px;
    background: radial-gradient(circle at 100% 0%, rgba(226, 6, 19, .38) 0%, transparent 55%),
                linear-gradient(160deg, var(--nm-graphite-soft) 0%, var(--nm-graphite) 100%);
    color: #fff;
}
.nmhm-mega__promo-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .1);
    color: var(--nm-yellow);
    font-size: 19px;
}
.nmhm-mega__promo-title {
    margin: 6px 0 0;
    font-family: var(--nm-font-head);
    font-size: 19px;
    font-weight: 800;
    color: #fff;
}
.nmhm-mega__promo-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .75);
}
.nmhm-mega__promo-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--nm-yellow);
    color: var(--nm-ink);
    font-family: var(--nm-font-head);
    font-size: 13.5px;
    font-weight: 700;
    transition: transform .2s var(--nm-ease), box-shadow .2s var(--nm-ease);
}
.nmhm-mega__promo-btn:hover {
    color: var(--nm-ink);
    transform: translateY(-2px);
    box-shadow: 0 12px 22px -10px rgba(255, 184, 0, .85);
}

/* ---- Busca ---- */
.nmhm-search__inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 18px;
    border: 1px solid var(--nm-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 34px 70px -28px rgba(20, 22, 27, .45);
}
.nmhm-search__form {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 6px 4px 18px;
    border: 1.5px solid var(--nm-line);
    border-radius: 999px;
    background: #faf8f5;
    transition: border-color .2s var(--nm-ease), box-shadow .2s var(--nm-ease), background .2s var(--nm-ease);
}
.nmhm-search__form:focus-within {
    border-color: var(--nm-red);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(226, 6, 19, .08);
}
.nmhm-search__icon {
    font-size: 16px;
    color: var(--nm-red);
}
.nmhm-search__input {
    flex: 1;
    min-width: 0;
    padding: 12px 0;
    border: 0;
    outline: 0;
    background: none;
    font-family: var(--nm-font-body);
    font-size: 16px;
    color: var(--nm-ink);
}
.nmhm-search__input::placeholder { color: var(--nm-grey); }
.nmhm-search__close {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--nm-grey);
    font-size: 17px;
    cursor: pointer;
    transition: background .2s var(--nm-ease), color .2s var(--nm-ease);
}
.nmhm-search__close:hover {
    background: rgba(226, 6, 19, .08);
    color: var(--nm-red);
}
.nmhm-search__quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 0 4px;
}
.nmhm-search__quick-label {
    margin-right: 4px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--nm-grey);
}
.nmhm-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border: 1px solid var(--nm-line);
    border-radius: 999px;
    background: #fff;
    color: var(--nm-ink);
    font-size: 13px;
    font-weight: 600;
    transition: border-color .2s var(--nm-ease), color .2s var(--nm-ease), background .2s var(--nm-ease);
}
.nmhm-chip:hover {
    border-color: var(--nm-red);
    background: rgba(226, 6, 19, .04);
    color: var(--nm-red);
}

/* ---- Menu mobile em tela cheia ---- */
.nmhm-drawer {
    position: fixed;
    inset: 0;
    z-index: 10000; /* acima do chat e do aviso de cookies (style.css, 9999) */
    visibility: hidden;
}
.nmhm-drawer--open { visibility: visible; }
.nmhm-drawer__panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff radial-gradient(circle at 100% 0%, rgba(226, 6, 19, .08) 0%, transparent 45%);
    transform: translateX(100%);
    transition: transform .4s var(--nm-ease);
}
.nmhm-drawer--open .nmhm-drawer__panel { transform: translateX(0); }
/* Trava a rolagem da página com o menu aberto (classe posta no <html> pelo JS) */
html.nmhm-no-scroll { overflow: hidden; }
.nmhm-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px var(--nm-pad);
    border-bottom: 1px solid var(--nm-line);
}
.nmhm-drawer__logo {
    width: auto;
    height: 44px;
}
.nmhm-drawer__close {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--nm-graphite);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: background .2s var(--nm-ease);
}
.nmhm-drawer__close:hover { background: var(--nm-red); }
.nmhm-drawer__nav { padding: 6px var(--nm-pad); }
.nmhm-drawer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nmhm-drawer__item {
    margin: 0;
    border-bottom: 1px solid var(--nm-line);
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .35s var(--nm-ease), transform .35s var(--nm-ease);
}
.nmhm-drawer--open .nmhm-drawer__item {
    opacity: 1;
    transform: translateX(0);
}
.nmhm-drawer--open .nmhm-drawer__item:nth-child(1) { transition-delay: .10s; }
.nmhm-drawer--open .nmhm-drawer__item:nth-child(2) { transition-delay: .14s; }
.nmhm-drawer--open .nmhm-drawer__item:nth-child(3) { transition-delay: .18s; }
.nmhm-drawer--open .nmhm-drawer__item:nth-child(4) { transition-delay: .22s; }
.nmhm-drawer--open .nmhm-drawer__item:nth-child(5) { transition-delay: .26s; }
.nmhm-drawer--open .nmhm-drawer__item:nth-child(6) { transition-delay: .30s; }
.nmhm-drawer--open .nmhm-drawer__item:nth-child(7) { transition-delay: .34s; }
.nmhm-drawer--open .nmhm-drawer__item:nth-child(8) { transition-delay: .38s; }
.nmhm-drawer__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 2px;
    color: var(--nm-ink);
}
.nmhm-drawer__num {
    min-width: 22px;
    font-family: var(--nm-font-head);
    font-size: 12px;
    font-weight: 700;
    color: var(--nm-red);
}
.nmhm-drawer__label {
    flex: 1;
    font-family: var(--nm-font-head);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.01em;
}
.nmhm-drawer__arrow {
    font-size: 14px;
    color: var(--nm-grey);
    transition: transform .2s var(--nm-ease), color .2s var(--nm-ease);
}
.nmhm-drawer__link:hover,
.nmhm-drawer__link--active { color: var(--nm-red); }
.nmhm-drawer__link:hover .nmhm-drawer__arrow,
.nmhm-drawer__link--active .nmhm-drawer__arrow {
    color: var(--nm-red);
    transform: translateX(4px);
}
.nmhm-drawer__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: -4px 0 16px 36px;
    padding: 0;
}
.nmhm-drawer__chips li { margin: 0; }
.nmhm-drawer__foot {
    margin-top: auto;
    padding: 20px var(--nm-pad) 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--nm-line);
    background: #faf8f5;
}
.nmhm-drawer__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nmhm-drawer__contacts li { margin: 0; }
.nmhm-drawer__contacts a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--nm-grey);
    transition: color .2s var(--nm-ease);
}
.nmhm-drawer__contacts i {
    width: 16px;
    color: var(--nm-red);
}
.nmhm-drawer__contacts a:hover { color: var(--nm-red); }

/* ---- Acessibilidade ---- */
.nmhm :focus-visible,
.nmhm-drawer :focus-visible {
    outline: 2px solid var(--nm-red);
    outline-offset: 3px;
}

/* ---- Responsivo ---- */
@media (max-width: 1279px) {
    .nmhm-bar__inner { gap: 14px; }
    .nmhm-nav__link { padding: 10px 7px; }
    .nmhm-nav__link::after { left: 7px; right: 7px; }
    .nmhm-cta { padding: 12px 18px; }
    .nmhm-cta__long { display: none; }
    .nmhm-cta__short { display: inline; }
}
@media (max-width: 1199px) {
    .nmhm-nav,
    .nmhm-mega { display: none; }
    .nmhm-actions { margin-left: auto; }
    .nmhm-burger { display: block; }
    .nmhm-cta__long { display: inline; }
    .nmhm-cta__short { display: none; }
}
@media (max-width: 760px) {
    .nmhm-top { display: none; }
    .nmhm { --nmhm-bar-h: 70px; }
    .nmhm--scrolled { --nmhm-bar-h: 62px; }
    .nmhm-logo img { height: 44px; }
    .nmhm--scrolled .nmhm-logo img { height: 38px; }
}
@media (max-width: 520px) {
    /* No celular o CTA da barra vira só o ícone do WhatsApp (texto no menu) */
    .nmhm-actions .nmhm-cta {
        width: 44px;
        height: 44px;
        padding: 0;
    }
    .nmhm-actions .nmhm-cta span { display: none; }
    .nmhm-actions { gap: 8px; }
    .nmhm-search__inner { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .nmhm,
    .nmhm *,
    .nmhm *::after,
    .nmhm-drawer * { transition: none !important; }
}

/* Widget de chat na paleta da marca. As cores do widget são variáveis no :root
   do widget.css, que carrega depois deste arquivo; html:root vence por
   especificidade. O hover usa o grafite claro: mais escuro nem se notaria. */
html:root {
    --ac1-primary: var(--primary);
    --ac1-primary-light: var(--primary-light);
    --ac1-primary-dark: var(--primary-light);
}
