/* Nasif & Medeiros: detalhes que o Elementor não cobre por widget. */
html { scroll-padding-top: 96px; }
body { background: #f6f7f3; }

/* Itálico dos títulos, no verde claro sobre fundo escuro e no verde médio sobre fundo claro. */
.elementor-heading-title em { font-style: italic; font-weight: 300; }

/* Links dentro de títulos de cartão. */
.elementor-heading-title a { color: inherit; text-decoration: none; }
.elementor-heading-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.elementor-widget-text-editor a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.elementor-widget-text-editor p { margin: 0 0 .8em; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* Marcador do que o escritório ainda precisa confirmar. */
.nm-confirmar { background: #f4e3a1; color: #3a3000; padding: 0 .3em; border-radius: 3px; font-weight: 600; font-style: normal; }

.nm-aviso { font-size: .92em; opacity: .9; }

.nm-lista { list-style: none; margin: 0; padding: 0; }
.nm-lista li { position: relative; padding: .45em 0 .45em 1.5em; border-top: 1px solid rgba(125, 151, 127, .28); }
.nm-lista li:first-child { border-top: 0; }
.nm-lista li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: .6em; height: 1px; background: #a8834a; }

/* Logo */
.nm-logo { display: inline-block; line-height: 0; }
.nm-logo img { width: 190px; height: auto; }
@media (max-width: 767px) { .nm-logo img { width: 150px; } }

/* Canais de contato */
.nm-canais { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nm-canal { display: block; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; color: #eff1eb; text-decoration: none; transition: border-color .2s, background .2s; }
a.nm-canal:hover { border-color: #a9bba7; background: rgba(255, 255, 255, .04); }
.nm-canal span { display: block; font: 700 11px/1.4 Manrope, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: #a9bba7; }
.nm-canal strong { display: block; margin-top: 4px; font: 500 16px/1.4 Manrope, sans-serif; word-break: break-word; }
@media (max-width: 480px) { .nm-canais { grid-template-columns: 1fr; } }

/* Espaços reservados (foto e vídeo) */
.nm-vazio { display: grid; place-items: center; min-height: 260px; padding: 24px; border: 1px dashed rgba(169, 187, 167, .6); border-radius: 12px; text-align: center; color: #d5dbd2; font: 400 15px/1.6 Manrope, sans-serif; }
.nm-vazio-video { aspect-ratio: 16 / 9; min-height: 0; background: #1c2b22; }
.nm-foto { width: 100%; border-radius: 12px; }
.nm-video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #101a13; }
.nm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Perguntas frequentes */
.elementor-accordion .elementor-accordion-item { border-left: 0; border-right: 0; }
.elementor-accordion .elementor-tab-title { padding: 20px 0; }
.elementor-accordion .elementor-tab-content { padding: 0 0 22px; border-top: 0; }

/* Botões lado a lado não esticam. */
.elementor-widget-button { flex: none; }

/* Trilha das páginas internas */
.nm-trilha a { text-decoration: none; }
.nm-trilha a:hover { text-decoration: underline; }

/* Foto dos sócios: reserva o espaço antes de carregar. */
.nm-foto { aspect-ratio: 4 / 3; object-fit: cover; }

/* Capa do vídeo: o YouTube só carrega depois do clique. */
.nm-video-capa { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #101a13; }
.nm-video-capa img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.nm-video-capa span { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: #eff1eb; }
.nm-video-capa span::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #15211a; }
.nm-video-capa:hover span { background: #a9bba7; }
.nm-video-aviso { margin: 8px 0 0; font: 400 13px/1.5 Manrope, sans-serif; color: #a9bba7; }

/* =====================================================================
   Layout B versão 2 (plugin 3.0): institucional clássico
   Cantos retos, cabeçalho branco, filetes dourados, blocos em moldura.
   ===================================================================== */
:root { --nm-ink: #15211a; --nm-deep: #1c2b22; --nm-tan: #c9a36a; --nm-gold: #a8834a; --nm-cream: #f6f1e7; --nm-linha: #e6dfd0; --nm-wa: #17804a; }
html { scroll-padding-top: 100px; }
html, body { overflow-x: clip; }
body { background: #fff; }
[hidden] { display: none !important; }
.elementor-heading-title { letter-spacing: -.01em; }
.elementor-heading-title em { font-style: normal; font-weight: inherit; color: inherit; }
.nm-lista li::before { background: var(--nm-tan); }

/* ---------------- Faixa de endereço e cabeçalho */
.nm-pular { position: absolute; left: -999px; top: 0; z-index: 100; padding: 10px 16px; background: #fff; color: #15211a; }
.nm-pular:focus { left: 12px; top: 12px; }
.nm-faixa-topo { background: var(--nm-ink); color: #cfd8cc; font: 400 13px/1.4 Manrope, "Helvetica Neue", sans-serif; }
.nm-faixa-topo-in { max-width: 1228px; margin: 0 auto; padding: 10px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nm-topo { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--nm-linha); transition: box-shadow .2s; }
.nm-topo.nm-rolou { box-shadow: 0 8px 28px rgba(21, 33, 26, .10); }
.admin-bar .nm-topo { top: 32px; }
.nm-topo-in { max-width: 1228px; height: 86px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nm-topo .nm-logo img { width: 170px; }
.nm-topo-nav { display: flex; align-items: center; gap: 30px; }
.nm-topo-nav a, .nm-topo-movel nav a { font: 600 14px/1 Manrope, "Helvetica Neue", sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--nm-ink); text-decoration: none; }
.nm-topo-nav a:hover { color: var(--nm-gold); }
.nm-topo a.nm-topo-contato { padding: 14px 22px; background: var(--nm-ink); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.nm-topo a.nm-topo-contato:hover { background: var(--nm-gold); color: #fff; }
.nm-topo-movel { display: none; }
.nm-topo-movel summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: grid; place-content: center; gap: 4px; border: 1px solid #d9d2c2; }
.nm-topo-movel summary::-webkit-details-marker { display: none; }
.nm-topo-movel summary i { display: block; width: 20px; height: 2px; background: var(--nm-ink); }
.nm-topo-movel nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 6px 24px 24px; background: #fff; border-bottom: 1px solid var(--nm-linha); box-shadow: 0 18px 30px rgba(21, 33, 26, .12); }
.nm-topo-movel nav a { padding: 17px 0; border-bottom: 1px solid #efe9dc; }
.nm-topo-movel nav a.nm-topo-contato { margin-top: 18px; padding: 17px; border: 0; text-align: center; }
@media (max-width: 1000px) { .nm-topo-nav { display: none; } .nm-topo-movel { display: block; } .nm-topo .nm-logo img { width: 150px; } .nm-faixa-topo { font-size: 12px; } .nm-faixa-topo-in { padding: 8px 20px; gap: 2px 16px; } }
@media (max-width: 782px) { .admin-bar .nm-topo { top: 46px; } }
@media (max-width: 600px) { .admin-bar .nm-topo { top: 0; } }

/* ---------------- Título com filete dourado */
.nm-filete .elementor-heading-title::after { content: ""; display: block; width: 64px; height: 2px; margin-top: 22px; background: var(--nm-tan); }
.nm-filete-c .elementor-heading-title::after { margin-left: auto; margin-right: auto; }

/* ---------------- Topo com foto. Sem foto, um desenho de colunas na cor da marca. */
.nm-hero { position: relative; overflow: hidden; background-color: var(--nm-ink) !important;
  background-image: linear-gradient(90deg, rgba(13, 22, 16, .93), rgba(13, 22, 16, .62) 60%, rgba(13, 22, 16, .35)), var(--nm-foto-topo, none) !important;
  background-size: cover !important; background-position: center !important; }
.nm-hero::after { content: ""; position: absolute; right: -40px; bottom: -30px; width: min(54vw, 720px); height: 112%; pointer-events: none; opacity: .5;
  background: url("img/colunas.svg") right bottom / contain no-repeat; }
.nm-hero > * { position: relative; z-index: 1; }
.elementor .nm-hero, .elementor .nm-banner { overflow: hidden !important; }

/* ---------------- Três blocos que sobem sobre o topo */
.nm-faixa, .nm-faixa > .e-con-inner { overflow: visible; }
.nm-faixa-cartoes { margin-top: -110px; position: relative; z-index: 2; }
.nm-destaque { position: relative; border-radius: 0 !important; border-width: 0 !important; transition: transform .2s; }
.nm-destaque:hover { transform: translateY(-6px); }
.nm-destaque a, .nm-tema a { text-decoration: none !important; }
.nm-destaque .elementor-heading-title a::after, .nm-tema .elementor-heading-title a::after { content: ""; position: absolute; inset: 0; }
.nm-ver, .nm-ler, .nm-mais { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nm-mais a { text-decoration: none !important; }
.nm-mais a:hover { color: var(--nm-ink); }

/* ---------------- O escritório: foto com bloco dourado atrás */
.nm-quadro { position: relative; margin: 0 0 28px 28px; }
.nm-quadro::before { content: ""; position: absolute; left: -28px; bottom: -28px; width: 62%; height: 62%; background: var(--nm-tan); }
.nm-quadro > img, .nm-quadro-vazio { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.nm-quadro-vazio { display: grid; place-items: center; align-content: center; gap: 18px; background: radial-gradient(120% 90% at 20% 10%, #2b4335 0%, #15211a 70%); color: #a9bba7; font: 600 12px/1.4 Manrope, sans-serif; letter-spacing: 3px; text-transform: uppercase; }
.nm-quadro-vazio img { width: 62%; height: auto; }
.nm-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--nm-linha); font-weight: 600; }
.nm-checks li { padding: 16px 0; border-bottom: 1px solid var(--nm-linha); }
.nm-checks li:nth-child(odd) { padding-right: 20px; }
@media (max-width: 520px) { .nm-checks { grid-template-columns: 1fr; } }

/* ---------------- Áreas de atuação: três colunas numa moldura */
.nm-areas-moldura { background: #fff; border: 1px solid var(--nm-linha); }
.nm-area { border-radius: 0 !important; border-width: 0 1px 0 0 !important; }
.nm-area:last-child { border-right-width: 0 !important; }
.nm-area > .nm-mais { margin-top: auto; padding-top: 14px; }
.nm-area .nm-lista li { padding-left: 18px; border-top: 1px solid #efe9dc; }
.nm-area .nm-lista li::before { top: 1.15em; width: 6px; height: 6px; }
.nm-area .nm-lista a:hover { color: var(--nm-gold); }
@media (max-width: 767px) { .nm-area { border-width: 0 0 1px 0 !important; } .nm-area:last-child { border-bottom-width: 0 !important; } }

/* ---------------- Guias: grade de seis células */
.nm-guias-grade { border-top: 1px solid #d9d2c2; border-left: 1px solid #d9d2c2; }
.nm-tema { position: relative; border-radius: 0 !important; border-width: 0 1px 1px 0 !important; transition: background-color .2s; }
.nm-tema:hover { background-color: var(--nm-ink) !important; }
.nm-tema:hover .elementor-heading-title, .nm-tema:hover .elementor-widget-text-editor:not(.nm-ler) { color: #fff !important; }

/* ---------------- Como funciona: numerais romanos */
.nm-passo { border-left: 1px solid rgba(255, 255, 255, .16); }
.nm-passo:first-child { border-left: 0; }
@media (max-width: 767px) { .nm-passo { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); } .nm-passo:first-child { border-top: 0; } }

/* ---------------- Sócios: retrato ao lado do texto */
.nm-socio { border-radius: 0 !important; overflow: hidden; }
.nm-socio > .elementor-widget-shortcode { position: relative; flex: none; width: 240px; min-height: 320px; }
.nm-socio > .e-con { flex: 1; min-width: 0; }
.nm-retrato { position: absolute; inset: 0; background: var(--nm-ink); }
.nm-retrato img { display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: center top; }
.nm-retrato-vazio { display: grid; place-items: center; background: radial-gradient(120% 90% at 20% 10%, #2b4335 0%, #15211a 70%); }
.nm-retrato-vazio span { font: 400 64px/1 Newsreader, Georgia, serif; color: var(--nm-tan); letter-spacing: 2px; }
@media (max-width: 767px) { .nm-socio > .elementor-widget-shortcode { width: 100%; min-height: 0; aspect-ratio: 1 / 1.1; } }

/* ---------------- Perguntas frequentes em caixas */
.elementor-accordion .elementor-accordion-item { margin-bottom: 10px; border: 1px solid var(--nm-linha) !important; background: #fff; }
.elementor-accordion .elementor-tab-title { padding: 20px 24px; }
.elementor-accordion .elementor-tab-content a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.elementor-accordion .elementor-tab-content { padding: 0 24px 22px; border-top: 0; }

/* ---------------- Contato dividido */
.nm-contato-esq { padding: 90px 56px 90px max(56px, calc((100vw - 1180px) / 2 + 24px)) !important;
  background-image: linear-gradient(rgba(21, 33, 26, .88), rgba(21, 33, 26, .88)), var(--nm-foto-faixa, none) !important; background-size: cover !important; background-position: center !important; }
.nm-contato-dir { padding: 90px max(56px, calc((100vw - 1180px) / 2 + 24px)) 90px 56px !important; }
@media (max-width: 767px) { .nm-contato-esq, .nm-contato-dir { padding: 60px 20px !important; } }
.nm-canais { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.nm-canal { display: block; padding: 16px 16px 16px 0; border: 0; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); color: #eff1eb; text-decoration: none; }
a.nm-canal:hover { background: none; border-color: rgba(255, 255, 255, .16); }
a.nm-canal:hover strong { color: var(--nm-tan); }
.nm-canal span { display: block; font: 700 11px/1.4 Manrope, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: var(--nm-tan); }
.nm-canal strong { display: block; margin-top: 4px; font: 500 16px/1.4 Manrope, sans-serif; word-break: break-word; }
/* O e-mail ocupa a linha inteira e não quebra no meio da palavra. */
.nm-canal-largo { grid-column: 1 / -1; }
.nm-canal-largo strong { word-break: keep-all; overflow-wrap: normal; white-space: normal; font-size: clamp(13px, 4.1vw, 16px); } /* se faltar espaço, quebra só depois do @ */
@media (max-width: 480px) { .nm-canais { grid-template-columns: 1fr; } }

/* ---------------- Formulário de contato do plugin */
.nm-form { display: flex; flex-wrap: wrap; gap: 14px 16px; font: 400 15px/1.5 Manrope, "Helvetica Neue", sans-serif; color: #15211a; }
.nm-form label { display: block; font-weight: 600; font-size: 13px; }
.nm-form .nm-c100 { flex: 1 1 100%; }
.nm-form .nm-c50 { flex: 1 1 calc(50% - 8px); min-width: 200px; }
.nm-form input[type=text], .nm-form input[type=tel], .nm-form input[type=email], .nm-form textarea, .nm-form select { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border: 1px solid #d9d2c2; border-radius: 0; background: #fbf9f4; color: #15211a; font: 400 16px/1.4 Manrope, sans-serif; }
.nm-form input:focus, .nm-form textarea:focus, .nm-form select:focus { outline: 2px solid var(--nm-gold); outline-offset: 1px; border-color: var(--nm-gold); }
.nm-form-aceite { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 13px !important; color: #5d665f; }
.nm-form-aceite input { margin-top: 3px; flex: none; width: 18px; height: 18px; accent-color: var(--nm-gold); }
.nm-form button { flex: 1 1 100%; padding: 18px 28px; border: 0; border-radius: 0; background: var(--nm-ink); color: #fff; font: 700 13px/1.2 Manrope, sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.nm-form button:hover { background: var(--nm-gold); }
.nm-form-mel { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nm-form-erro { flex: 1 1 100%; margin: 0; padding: 10px 14px; background: #f4e3a1; color: #3a3000; font-size: 14px; }
.nm-form a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- WhatsApp: botões e janela com nome, telefone e e-mail */
.nm-wi { flex: none; width: 20px; height: 20px; }
.nm-wa-b { display: inline-flex; align-items: center; gap: 10px; padding: 18px 28px; border: 0; background: var(--nm-wa); color: #fff; font: 700 13px/1 Manrope, sans-serif; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.nm-wa { position: fixed; right: 16px; bottom: 16px; z-index: 98; display: flex; align-items: center; gap: 10px; padding: 15px 20px; border: 0; background: var(--nm-wa); color: #fff; font: 700 13px/1 Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); }
.nm-wa:hover, .nm-wa-b:hover, .nm-modal .nm-form button:hover { background: #126b3d; }
.nm-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; overflow: auto; background: rgba(13, 22, 16, .72); }
.nm-cx { position: relative; width: 100%; max-width: 460px; padding: 40px 36px 34px; background: #fff; border-top: 4px solid var(--nm-tan); font-family: Manrope, "Helvetica Neue", sans-serif; color: #15211a; }
.nm-cx-rot { font: 700 12px/1.3 Manrope, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--nm-gold); }
.nm-cx h2 { margin: 10px 0 12px; font: 500 30px/1.15 Newsreader, Georgia, serif; color: #15211a; }
.nm-cx > p { margin: 0 0 22px; font-size: 15.5px; line-height: 1.6; color: #55645a; }
.nm-cx-x { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; padding: 0; border: 0; background: none; font: 400 28px/1 Manrope, sans-serif; color: #55645a; cursor: pointer; }
.nm-modal .nm-form button { display: flex; justify-content: center; align-items: center; gap: 10px; background: var(--nm-wa); }
@media (max-width: 767px) { .nm-wa { padding: 16px; } .nm-wa span { display: none; } .nm-wa .nm-wi { width: 26px; height: 26px; } .nm-cx { padding: 36px 24px 28px; } }

/* ---------------- Rodapé em colunas */
.nm-rodape { background: #0f1813; color: #a9bba7; font: 400 14px/1.7 Manrope, "Helvetica Neue", sans-serif; }
.nm-rodape-in { max-width: 1228px; margin: 0 auto; padding: 70px 24px 56px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
.nm-rodape .nm-logo img { width: 150px; }
.nm-rodape-logo p { margin: 18px 0 0; max-width: 280px; }
.nm-rodape-col > span { display: block; margin-bottom: 16px; font: 700 12px/1 Manrope, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--nm-tan); }
.nm-rodape-col a { display: block; padding: 5px 0; color: #cfd8cc; text-decoration: none; }
.nm-rodape-col a:hover { color: #fff; }
.nm-rodape-legal { border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; }
.nm-rodape-legal-in { max-width: 1228px; margin: 0 auto; padding: 20px 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.nm-rodape-legal p { margin: 0; }
@media (min-width: 901px) { .nm-rodape-legal p:last-child { margin-right: 160px; } }
@media (max-width: 900px) { .nm-rodape-in { grid-template-columns: 1fr 1fr; gap: 36px 24px; padding: 50px 20px 40px; } .nm-rodape-logo { grid-column: 1 / -1; } .nm-rodape-legal-in { padding: 20px 20px 84px; } }

/* ---------------- Faixa de título das páginas internas */
.nm-banner { position: relative; overflow: hidden; background-color: var(--nm-ink) !important;
  background-image: linear-gradient(90deg, rgba(13, 22, 16, .95), rgba(13, 22, 16, .7)), var(--nm-foto-faixa, none) !important; background-size: cover !important; background-position: center !important; }
.nm-banner::after { content: ""; position: absolute; right: 2%; bottom: -20px; width: 380px; height: 120%; opacity: .3; pointer-events: none; background: url("img/colunas.svg") right bottom / contain no-repeat; }
.nm-banner > * { position: relative; z-index: 1; }
.nm-banner .nm-trilha a { color: inherit; }
@media (max-width: 767px) { .nm-banner::after { display: none; } .nm-hero::after { opacity: .18; width: 120vw; } }
.nm-artigo .elementor-heading-title { margin-top: 18px; }
.nm-vazio, .nm-video, .nm-foto { border-radius: 0; }

/* Aviso de cookies */
.nm-ck { position: fixed; left: 20px; bottom: 20px; z-index: 9990; max-width: 460px; padding: 20px 22px; background: #15211a; color: #eff1eb; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 12px 40px rgba(0, 0, 0, .28); font: 400 14px/1.55 Manrope, "Helvetica Neue", sans-serif; }
.nm-ck[hidden] { display: none; }
.nm-ck p { margin: 0 0 14px; }
.nm-ck a { color: #eff1eb; text-decoration: underline; }
.nm-ck-b { display: flex; gap: 10px; }
.nm-ck-b button { flex: 1; padding: 11px 14px; border: 1px solid #eff1eb; border-radius: 0; background: transparent; color: #eff1eb; font: 700 12px/1 Manrope, sans-serif; letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer; }
.nm-ck-b button[data-nm-ck="sim"] { background: #eff1eb; color: #15211a; }
@media (max-width: 600px) { .nm-ck { left: 12px; right: 12px; bottom: 86px; max-width: none; } }
