/**
 * Número Magia — Páginas de conteúdo
 *
 * Páginas de venda de cada linha, página inicial, perguntas frequentes,
 * páginas legais e o conteúdo de venda dentro dos produtos. Tudo é montado
 * no editor de blocos (blocos nativos) com as classes desta folha, que podem
 * ser reaproveitadas em páginas novas (campo "Classe(s) CSS adicional(is)"):
 *
 *   nm-sec ............ seção em largura total (no grupo, com "Largura total")
 *   nm-sec-soft ....... fundo lilás claríssimo   nm-sec-lilac ... fundo lilás
 *   nm-sec-navy ....... fundo azul-marinho       nm-narrow ...... texto mais estreito
 *   nm-hero ........... abertura da página       nm-center ...... centraliza
 *   nm-lead ........... parágrafo de destaque    nm-eyebrow ..... chamada pequena
 *   nm-cards .......... colunas em cartões       nm-icon ........ ícone redondo
 *   nm-steps .......... passos numerados         nm-chapters .... capítulos numerados
 *   nm-check / nm-x ... lista com ✓ / com ✗      nm-fit ......... "é para você / não é"
 *   nm-faq ............ perguntas (bloco Detalhes) nm-cta ....... chamada final
 *   nm-photo .......... foto com cantos e sombra nm-legal ....... páginas legais
 *   nm-i-lock, nm-i-shield, nm-i-mail, nm-i-chat, nm-i-file ... ícones desenhados
 *
 * Cores e fontes vêm do painel do Kadence (variáveis em variables.css).
 * ":is(.entry-content, .nm-product-sales)" = vale nas páginas e no conteúdo de
 * venda que aparece dentro da página do produto.
 *
 * @package NumeroMagia
 * @since   2.0.3 (etapa 2 do design, 22/10/2026)
 */

/* ═══════════════════════════════════════════════════════════════════════════
   NÚMEROS NOS TÍTULOS E PREÇOS
   A Cormorant Garamond usa por padrão algarismos "antigos" (o 1 parece um I e
   o 0 um o). Nos títulos, preços e contadores, usamos os algarismos alinhados.
═══════════════════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6,
.nm-sticky-cta__price,
.price,
.woocommerce-Price-amount {
    font-variant-numeric: lining-nums;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SEÇÕES
═══════════════════════════════════════════════════════════════════════════ */

.entry-content > .nm-sec,
.nm-sec {
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
    padding: 88px 24px;
}

/* O Kadence envolve o conteúdo do bloco Grupo numa "caixa interna"
   (.wp-block-group__inner-container): é ela que recebe a largura máxima. */
.nm-sec > * {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.nm-sec.nm-narrow > * {
    max-width: 760px;
}

.nm-sec-soft  { background: var(--nm-bg-soft); }
.nm-sec-lilac { background: var(--nm-lilac); }

.nm-sec-navy {
    background:
        radial-gradient(ellipse at 15% 0%, rgba(196, 181, 253, .18), transparent 55%),
        radial-gradient(ellipse at 90% 100%, rgba(180, 83, 9, .14), transparent 50%),
        var(--nm-navy);
    color: rgba(255, 255, 255, .82);
}

.nm-sec-navy h1,
.nm-sec-navy h2,
.nm-sec-navy h3,
.nm-sec-navy h4 {
    color: #FFFFFF;
}

.nm-sec-navy a:not(.wp-block-button__link) {
    color: #C4B5FD;
}

.nm-sec-navy .nm-eyebrow {
    color: #C4B5FD;
}

.nm-center {
    text-align: center;
}

.nm-center .wp-block-buttons {
    justify-content: center;
}

.nm-center .nm-faq,
.nm-center .nm-fit,
.nm-center .nm-check,
.nm-center .nm-x {
    text-align: left;
}

/* Títulos e textos das seções */
.nm-sec h2 {
    font-size: clamp(30px, 3.4vw, 42px);
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 14px;
}

.nm-lead {
    font-size: 19px;
    line-height: 1.65;
    color: var(--nm-text-muted);
    max-width: 680px;
}

.nm-center .nm-lead,
.nm-center > .nm-lead {
    margin-left: auto;
    margin-right: auto;
}

.nm-sec-navy .nm-lead {
    color: rgba(255, 255, 255, .78);
}

.nm-eyebrow {
    margin-bottom: 12px;
}

.nm-sec > .wp-block-columns,
.nm-sec > .wp-block-list,
.nm-sec > .nm-faq,
.nm-sec > .wp-block-group__inner-container > .wp-block-columns,
.nm-sec > .wp-block-group__inner-container > .wp-block-list,
.nm-sec > .wp-block-group__inner-container > .nm-faq {
    margin-top: 40px;
}

.nm-note {
    font-size: 14px;
    color: var(--nm-text-soft);
}

/* Seções dentro de páginas em caixa (FAQ, conteúdo do produto): cartão arredondado */
.entry-content > .nm-sec:not(.alignfull) {
    border-radius: var(--nm-radius-xl);
    padding: 56px 40px;
    margin-top: 32px;
    margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ABERTURA (hero)
═══════════════════════════════════════════════════════════════════════════ */

.entry-content > .nm-hero,
.nm-hero {
    padding-top: 96px;
    padding-bottom: 88px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 12% 0%, rgba(109, 40, 217, .16), transparent 55%),
        radial-gradient(ellipse at 95% 15%, rgba(180, 83, 9, .10), transparent 45%),
        linear-gradient(180deg, var(--nm-bg-soft) 0%, #FFFFFF 100%);
}

.nm-hero h1 {
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.07;
    margin: 0 0 18px;
}

.nm-hero .nm-lead {
    font-size: 20px;
}

.nm-hero .wp-block-buttons {
    margin-top: 30px;
    gap: 12px;
}

.nm-hero .wp-block-columns {
    gap: 56px;
    margin-top: 0;
}

/* Abertura escura (fundo azul-marinho com brilho) */
.nm-hero.nm-sec-navy {
    background:
        radial-gradient(ellipse at 10% 0%, rgba(196, 181, 253, .22), transparent 55%),
        radial-gradient(ellipse at 100% 100%, rgba(180, 83, 9, .18), transparent 45%),
        var(--nm-navy);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BOTÕES DAS PÁGINAS (bloco Botão)
   O botão padrão segue o painel do Kadence (dourado). O estilo "Contorno"
   do bloco vira o botão secundário roxo.
═══════════════════════════════════════════════════════════════════════════ */

:is(.entry-content, .nm-product-sales) .wp-block-button .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    text-decoration: none;
}

/* "a." e ":visited" vencem a regra do Kadence que pinta de dourado
   o botão de contorno quando o link já foi visitado */
:is(.entry-content, .nm-product-sales) .wp-block-button.is-style-outline > a.wp-block-button__link,
:is(.entry-content, .nm-product-sales) .wp-block-button.is-style-outline > a.wp-block-button__link:visited {
    background: transparent;
    color: var(--nm-purple);
    border: 2px solid var(--nm-purple);
}

:is(.entry-content, .nm-product-sales) .wp-block-button.is-style-outline > a.wp-block-button__link:hover,
:is(.entry-content, .nm-product-sales) .wp-block-button.is-style-outline > a.wp-block-button__link:focus-visible {
    background: var(--nm-purple);
    color: #FFFFFF;
}

:is(.entry-content, .nm-product-sales) .nm-sec-navy .wp-block-button.is-style-outline > a.wp-block-button__link,
:is(.entry-content, .nm-product-sales) .nm-sec-navy .wp-block-button.is-style-outline > a.wp-block-button__link:visited {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, .7);
}

:is(.entry-content, .nm-product-sales) .nm-sec-navy .wp-block-button.is-style-outline > a.wp-block-button__link:hover,
:is(.entry-content, .nm-product-sales) .nm-sec-navy .wp-block-button.is-style-outline > a.wp-block-button__link:focus-visible {
    background: #FFFFFF;
    color: var(--nm-navy);
}

/* ═══════════════════════════════════════════════════════════════════════════
   CARTÕES, ÍCONES E PASSOS
═══════════════════════════════════════════════════════════════════════════ */

.nm-cards,
.nm-steps,
.nm-fit {
    gap: 20px;
}

.nm-cards > .wp-block-column,
.nm-steps > .wp-block-column,
.nm-fit > .wp-block-column {
    background: var(--nm-white);
    border: 1px solid var(--nm-border);
    border-radius: var(--nm-radius-lg);
    padding: 28px 26px;
    box-shadow: var(--nm-shadow-xs);
}

.nm-cards h3,
.nm-steps h3,
.nm-fit h3 {
    font-size: 23px;
    line-height: 1.25;
    margin: 0 0 8px;
}

.nm-cards p,
.nm-steps p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--nm-text-muted);
}

.nm-sec-navy .nm-cards > .wp-block-column,
.nm-sec-navy .nm-steps > .wp-block-column {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .12);
    box-shadow: none;
}

.nm-sec-navy .nm-cards p,
.nm-sec-navy .nm-steps p {
    color: rgba(255, 255, 255, .76);
}

/* O prefixo vence ".nm-cards p" (tamanho e cor do texto dos cartões) */
:is(.entry-content, .nm-product-sales) .nm-icon,
.nm-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 0 14px !important;
    border-radius: 14px;
    background: var(--nm-lilac);
    color: var(--nm-purple);
    font-family: var(--nm-font-serif);
    font-size: 24px;
    line-height: 1;
}

:is(.entry-content, .nm-product-sales) .nm-sec-navy .nm-icon,
.nm-sec-navy .nm-icon {
    background: rgba(196, 181, 253, .16);
    color: #DDD6FE;
}

/* Ícones desenhados: acrescente ao parágrafo do ícone uma destas classes —
   nm-i-lock (cadeado) · nm-i-shield (escudo) · nm-i-mail (envelope)
   nm-i-chat (conversa) · nm-i-file (documento). O símbolo digitado no
   parágrafo fica escondido e aparece o desenho, igual em qualquer aparelho. */
:is(.entry-content, .nm-product-sales) .nm-icon[class*="nm-i-"],
.nm-icon[class*="nm-i-"] {
    font-size: 0;
}

.nm-icon[class*="nm-i-"]::before {
    content: '';
    width: 22px;
    height: 22px;
    background-color: currentColor;
    -webkit-mask: var(--nm-i) center / contain no-repeat;
            mask: var(--nm-i) center / contain no-repeat;
}

.nm-i-lock {
    --nm-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E");
}

.nm-i-shield {
    --nm-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E");
}

.nm-i-mail {
    --nm-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
}

.nm-i-chat {
    --nm-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E");
}

.nm-i-file {
    --nm-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E");
}

/* Passos numerados automaticamente */
.nm-steps {
    counter-reset: nm-step;
}

.nm-steps > .wp-block-column {
    counter-increment: nm-step;
}

.nm-steps > .wp-block-column::before {
    content: counter(nm-step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--nm-purple);
    color: #FFFFFF;
    font-family: var(--nm-font-sans);
    font-size: 18px;
    font-weight: 700;
}

/* Em seções centralizadas, número do passo e ícone também ficam no centro */
.nm-center .nm-steps > .wp-block-column::before {
    margin-left: auto;
    margin-right: auto;
}

.nm-center .nm-icon {
    margin: 0 auto 14px !important;
}

/* "É para você / não é para você" */
.nm-fit > .wp-block-column {
    padding: 30px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LISTAS
═══════════════════════════════════════════════════════════════════════════ */

:is(.entry-content, .nm-product-sales) .nm-check,
:is(.entry-content, .nm-product-sales) .nm-x {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.nm-check li,
.nm-x li {
    position: relative;
    padding-left: 34px;
    line-height: 1.55;
}

.nm-check li::before,
.nm-x li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.nm-check li::before {
    background: var(--nm-success-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.nm-x li::before {
    background: var(--nm-error-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B91C1C' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Capítulos numerados ("o que a análise aborda") */
:is(.entry-content, .nm-product-sales) .nm-chapters {
    counter-reset: nm-chapter;
    list-style: none;
    padding: 0;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
}

.nm-chapters li {
    counter-increment: nm-chapter;
    position: relative;
    margin: 0;
    padding: 18px 20px 18px 72px;
    background: var(--nm-white);
    border: 1px solid var(--nm-border);
    border-radius: var(--nm-radius-md);
    text-align: left;
    line-height: 1.55;
    color: var(--nm-text-muted);
}

.nm-chapters li::before {
    content: counter(nm-chapter, decimal-leading-zero);
    font-variant-numeric: lining-nums;
    position: absolute;
    left: 20px;
    top: 17px;
    font-family: var(--nm-font-serif);
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
    color: var(--nm-purple);
}

.nm-chapters li strong {
    display: block;
    margin-bottom: 2px;
    color: var(--nm-navy);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOTOS
═══════════════════════════════════════════════════════════════════════════ */

:is(.entry-content, .nm-product-sales) .nm-photo {
    margin: 0;
}

.nm-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--nm-radius-xl);
    box-shadow: var(--nm-shadow-lg);
    object-fit: cover;
}

.nm-hero .nm-photo img {
    aspect-ratio: 1 / 1;
}

/* Ajuste de enquadramento das fotos (classe extra no bloco Imagem) */
.nm-photo-left img   { object-position: 25% center; }
.nm-photo-right img  { object-position: 75% center; }
.nm-photo-bottom img { object-position: center 80%; }

.nm-photo-wide img {
    aspect-ratio: 16 / 9;
}

.nm-photo figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--nm-text-soft);
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PERGUNTAS FREQUENTES (bloco Detalhes)
═══════════════════════════════════════════════════════════════════════════ */

.nm-faq {
    display: grid;
    gap: 12px;
}

:is(.entry-content, .nm-product-sales) .wp-block-details {
    margin: 0;
    background: var(--nm-white);
    border: 1px solid var(--nm-border);
    border-radius: var(--nm-radius-md);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

:is(.entry-content, .nm-product-sales) .wp-block-details[open] {
    border-color: rgba(109, 40, 217, .25);
    box-shadow: var(--nm-shadow-sm);
}

:is(.entry-content, .nm-product-sales) .wp-block-details summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 18px 60px 18px 22px;
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--nm-navy);
}

:is(.entry-content, .nm-product-sales) .wp-block-details summary::-webkit-details-marker {
    display: none;
}

:is(.entry-content, .nm-product-sales) .wp-block-details summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--nm-lilac);
    color: var(--nm-purple);
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
}

:is(.entry-content, .nm-product-sales) .wp-block-details[open] summary::after {
    content: '−';
}

:is(.entry-content, .nm-product-sales) .wp-block-details summary:focus-visible {
    outline: none;
    box-shadow: inset var(--nm-focus-ring);
}

:is(.entry-content, .nm-product-sales) .wp-block-details > :not(summary) {
    margin: 0 22px 16px;
    color: var(--nm-text-muted);
    line-height: 1.7;
}

:is(.entry-content, .nm-product-sales) .wp-block-details > :not(summary):last-child {
    margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CHAMADA FINAL
═══════════════════════════════════════════════════════════════════════════ */

.nm-cta {
    text-align: center;
}

.nm-cta h2 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.nm-cta .wp-block-buttons {
    justify-content: center;
    margin-top: 28px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PÁGINAS LEGAIS
═══════════════════════════════════════════════════════════════════════════ */

.nm-legal {
    max-width: 780px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.75;
    color: var(--nm-text);
}

.nm-legal h2 {
    font-size: 26px;
    margin: 44px 0 12px;
}

.nm-legal h3 {
    font-size: 20px;
    margin: 28px 0 8px;
}

.nm-legal > :first-child,
.nm-legal > .wp-block-group__inner-container > :first-child {
    margin-top: 0;
}

:is(.entry-content, .nm-product-sales) .nm-legal ul,
:is(.entry-content, .nm-product-sales) .nm-legal ol {
    padding-left: 22px;
}

.nm-legal li {
    margin-bottom: 6px;
}

.nm-legal .nm-updated {
    font-size: 14px;
    color: var(--nm-text-soft);
}

.nm-legal table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

.nm-legal th,
.nm-legal td {
    padding: 10px 12px;
    border: 1px solid var(--nm-border-mid);
    text-align: left;
    vertical-align: top;
}

.nm-legal th {
    background: var(--nm-bg-soft);
    font-weight: 700;
}

/* Tabela de cookies no celular: cada cookie vira um cartão */
@media (max-width: 600px) {
    .nm-cookies-table table,
    .nm-cookies-table tbody,
    .nm-cookies-table tr,
    .nm-cookies-table td {
        display: block;
        width: 100%;
    }

    .nm-cookies-table thead {
        display: none;
    }

    .nm-cookies-table tr {
        margin-bottom: 12px;
        padding: 12px 14px;
        border: 1px solid var(--nm-border-mid);
        border-radius: var(--nm-radius-sm);
    }

    .nm-legal .nm-cookies-table td {
        padding: 3px 0;
        border: 0;
    }

    .nm-cookies-table td:first-child {
        font-weight: 700;
        color: var(--nm-navy);
        overflow-wrap: anywhere;
    }

    .nm-cookies-table td:nth-child(3)::before {
        content: 'Duração: ';
        font-weight: 600;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUTOS DENTRO DAS PÁGINAS ([products] nas seções centralizadas)
   Com poucos produtos, os cartões ficam no meio em vez de encostados à esquerda.
═══════════════════════════════════════════════════════════════════════════ */

.nm-center .woocommerce ul.products {
    grid-template-columns: repeat(auto-fit, minmax(240px, 340px));
    justify-content: center;
    margin-top: 32px;
    text-align: left;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTEÚDO DE VENDA NO PRODUTO + AVALIAÇÕES
═══════════════════════════════════════════════════════════════════════════ */

.nm-product-sales {
    clear: both;
    margin-top: 64px;
}

/* Âncora #comprar (topo do resumo do produto), descontando o cabeçalho fixo */
.nm-anchor {
    display: block;
    height: 0;
    scroll-margin-top: 110px;
}

.nm-product-sales > .nm-sec {
    border-radius: var(--nm-radius-xl);
    padding: 56px 40px;
    margin-bottom: 24px;
}

.nm-product-reviews {
    clear: both;
    margin-top: 56px;
}

.nm-product-reviews #reviews h2,
.nm-product-reviews .woocommerce-Reviews-title {
    font-family: var(--nm-font-serif);
    font-size: 30px;
    font-weight: 600;
    color: var(--nm-navy);
}

.nm-product-reviews .comment-reply-title {
    display: block;
    margin: 28px 0 12px;
    font-family: var(--nm-font-serif);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--nm-navy);
}

.nm-product-reviews .commentlist {
    list-style: none;
    padding: 0;
}

.nm-product-reviews .commentlist li .comment_container {
    background: var(--nm-white);
    border: 1px solid var(--nm-border);
    border-radius: var(--nm-radius-md);
    padding: 18px 20px;
}

.nm-product-reviews .star-rating,
.nm-product-reviews p.stars a {
    color: var(--global-palette15, #F59E0B);
}

.nm-product-reviews .woocommerce-verification-required,
.nm-product-reviews .woocommerce-noreviews {
    padding: 16px 20px;
    background: var(--nm-bg-soft);
    border-radius: var(--nm-radius-sm);
    color: var(--nm-text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════════
   "EM BREVE" — linhas ainda sem produtos
═══════════════════════════════════════════════════════════════════════════ */

.nm-coming-soon {
    max-width: 640px;
    margin: 24px auto;
    padding: 44px 32px;
    text-align: center;
    background: var(--nm-white);
    border: 1px solid var(--nm-border);
    border-radius: var(--nm-radius-xl);
    box-shadow: var(--nm-shadow-sm);
}

.nm-coming-soon--compact {
    margin: 28px auto 0;
    padding: 34px 24px;
    box-shadow: none;
}

/* Linha ainda sem produtos: o botão "Ver todas as análises de…" da seção
   levaria a uma loja vazia — fica escondido até entrar o primeiro produto */
.nm-sec:has(.nm-coming-soon) .wp-block-buttons {
    display: none;
}

.nm-coming-soon__badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: var(--nm-radius-pill);
    background: var(--nm-lilac);
    color: var(--nm-purple-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nm-coming-soon__title {
    font-size: clamp(25px, 3vw, 32px);
    line-height: 1.2;
    margin: 14px 0 10px;
}

.nm-coming-soon__text {
    margin: 0 0 22px;
    color: var(--nm-text-muted);
}

.nm-coming-soon__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AVISO DE COOKIES
═══════════════════════════════════════════════════════════════════════════ */

.nm-cookie-notice {
    position: fixed;
    z-index: 9990;
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px 14px 20px;
    background: var(--nm-navy);
    color: rgba(255, 255, 255, .9);
    border-radius: var(--nm-radius-md);
    box-shadow: 0 18px 40px rgba(26, 47, 78, .28);
    font-size: 14px;
    line-height: 1.5;
}

.nm-cookie-notice[hidden] {
    display: none;
}

.nm-cookie-notice__text {
    flex: 1;
    margin: 0;
}

.nm-cookie-notice__text a {
    color: #C4B5FD;
    font-weight: 600;
}

.nm-cookie-notice__btn {
    flex-shrink: 0;
    padding: 9px 20px;
    border: 0;
    border-radius: var(--nm-radius-pill);
    background: #FFFFFF;
    color: var(--nm-navy);
    font-family: var(--nm-font-sans);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.nm-cookie-notice__btn:hover {
    background: var(--nm-lilac);
}

.nm-cookie-notice__btn:focus-visible {
    outline: 2px solid #C4B5FD;
    outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CELULAR
═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 781px) {
    .entry-content > .nm-sec,
    .nm-sec {
        padding: 56px 18px;
    }

    .entry-content > .nm-hero,
    .nm-hero {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .nm-hero .wp-block-columns {
        gap: 32px;
    }

    .nm-hero .nm-lead,
    .nm-lead {
        font-size: 17px;
    }

    .nm-hero .wp-block-buttons .wp-block-button {
        width: 100%;
    }

    .nm-hero .wp-block-buttons .wp-block-button__link {
        width: 100%;
    }

    :is(.entry-content, .nm-product-sales) .nm-chapters {
        grid-template-columns: 1fr;
    }

    .nm-chapters li {
        padding: 16px 16px 16px 60px;
    }

    .nm-chapters li::before {
        left: 16px;
        top: 15px;
        font-size: 26px;
    }

    .nm-cards > .wp-block-column,
    .nm-steps > .wp-block-column,
    .nm-fit > .wp-block-column {
        padding: 24px 20px;
    }

    /* No produto, a página já tem margem lateral: as caixas ficam mais justas */
    .nm-product-sales > .nm-sec {
        padding: 32px 12px;
    }

    .nm-product-sales .nm-fit > .wp-block-column {
        padding: 22px 16px;
    }

    .nm-cookie-notice {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CARTÕES DAS LINHAS (foto + texto + botão) — página inicial
═══════════════════════════════════════════════════════════════════════════ */

.nm-lines > .wp-block-column {
    display: flex;
    flex-direction: column;
    padding: 14px 14px 22px;
    transition: var(--nm-transition-slow);
}

.nm-lines > .wp-block-column:hover {
    transform: translateY(-4px);
    box-shadow: var(--nm-shadow-lg);
    border-color: rgba(109, 40, 217, .2);
}

.nm-lines .wp-block-image {
    margin: 0 0 16px;
}

.nm-lines .wp-block-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--nm-radius-md);
}

.nm-lines h3,
.nm-lines p {
    padding: 0 8px;
}

.nm-lines .wp-block-buttons {
    margin-top: auto;
    padding: 18px 8px 0;
}

.nm-lines .wp-block-button,
.nm-lines .wp-block-button__link {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AVALIAÇÕES [nm_avaliacoes] e BLOG [nm_blog_recente]
═══════════════════════════════════════════════════════════════════════════ */

.nm-reviews__grid,
.nm-blog-recent__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.nm-review {
    margin: 0;
    padding: 26px 24px;
    background: var(--nm-white);
    border: 1px solid var(--nm-border);
    border-radius: var(--nm-radius-lg);
    box-shadow: var(--nm-shadow-xs);
}

.nm-review__stars {
    color: var(--global-palette15, #F59E0B);
    font-size: 17px;
    letter-spacing: 2px;
}

.nm-review__stars-off {
    color: var(--nm-border-mid);
}

.nm-review__text {
    margin: 12px 0 16px;
    padding: 0;
    border: 0;
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--nm-text);
}

.nm-review__text p {
    margin: 0 0 8px;
}

.nm-review__author {
    font-weight: 700;
    color: var(--nm-navy);
}

.nm-review__verified {
    font-weight: 500;
    color: var(--nm-success);
    font-size: 13px;
}

.nm-review__product {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 400;
    color: var(--nm-text-soft);
}

.nm-post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--nm-white);
    border: 1px solid var(--nm-border);
    border-radius: var(--nm-radius-lg);
    transition: var(--nm-transition-slow);
}

.nm-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nm-shadow-lg);
}

.nm-post-card__image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.nm-post-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px 24px;
    flex: 1;
}

.nm-post-card__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
}

.nm-post-card__title a {
    color: var(--nm-navy);
    text-decoration: none;
}

.nm-post-card__excerpt {
    margin: 0;
    font-size: 15px;
    color: var(--nm-text-muted);
}

.nm-post-card__link {
    margin-top: auto;
    font-weight: 600;
    color: var(--nm-purple);
    text-decoration: none;
}

.nm-blog-recent__more {
    margin-top: 32px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA FIXO NO CELULAR [nm_sticky_cta]
═══════════════════════════════════════════════════════════════════════════ */

.nm-sticky-cta__title {
    font-family: var(--nm-font-serif);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.1;
    color: #FFFFFF;
}

.nm-sticky-cta .button {
    flex-shrink: 0;
    padding: 12px 20px;
    font-size: 14px;
}

.nm-sticky-cta {
    transition: transform .3s var(--nm-ease);
}

/* Enquanto o aviso de cookies estiver na tela, a barra fixa espera */
body:has(.nm-cookie-notice:not([hidden])) .nm-sticky-cta {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MICROANIMAÇÕES — seções surgem suavemente ao rolar (assets/js/global.js)
   Sem JavaScript, ou com "reduzir movimento" ligado, tudo aparece normal.
═══════════════════════════════════════════════════════════════════════════ */

.nm-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--nm-ease), transform .7s var(--nm-ease);
}

.nm-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .nm-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 981px) {
    .nm-reviews__grid,
    .nm-blog-recent__grid {
        grid-template-columns: 1fr;
    }
}
