/* Páginas de conteúdo (guias) — 14/11/2026.
   Complementa css/privacy-policy.css (mesmo layout da página do Conector Claude):
   h3, tabelas, citação de lei, fórmula, vídeo leve, chamada para ação e perguntas frequentes. */

.nrc-breadcrumb {
  margin: 0 0 4px;
  font-family: "Inter Display", "Inter Display Placeholder", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgb(100, 116, 139);
}
.nrc-breadcrumb a { color: #0C6CEB; text-decoration: none; }
.nrc-breadcrumb a:hover { text-decoration: underline; }

.nrc-h3 {
  margin: 8px 0 0;
  font-family: "Inter Display", "Inter Display Placeholder", sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
  color: rgb(15, 23, 42);
}

/* Texto do corpo: listas e destaques herdam a cor do parágrafo do site. */
.nrc-body li { margin: 4px 0; }
.nrc-body strong { color: rgb(51, 65, 85); }
.nrc-body code {
  font-size: 0.9em;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgb(241, 245, 249);
  color: rgb(15, 23, 42);
}

/* Citação literal de lei */
.nrc-lei {
  margin: 4px 0;
  padding: 18px 20px;
  border-left: 4px solid #0F77FF;
  border-radius: 0 12px 12px 0;
  background: rgb(239, 246, 255);
  font-family: "Inter Display", "Inter Display Placeholder", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  color: rgb(15, 23, 42);
}
.nrc-lei p { margin: 0; }
.nrc-lei cite {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-style: normal;
  color: rgb(71, 85, 105);
}
.nrc-lei cite a { color: #0C6CEB; }

/* Fórmula em destaque */
.nrc-formula {
  margin: 4px 0;
  padding: 16px 18px;
  border: 1px solid rgb(226, 232, 240);
  border-radius: 12px;
  background: rgb(248, 250, 252);
  font-family: "Inter Display", "Inter Display Placeholder", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: rgb(15, 23, 42);
  text-align: center;
}

/* Aviso curto (exemplo ilustrativo, atenção) */
.nrc-nota {
  margin: 4px 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgb(255, 247, 237);
  border: 1px solid rgb(254, 215, 170);
  font-family: "Inter Display", "Inter Display Placeholder", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: rgb(124, 45, 18);
}

/* Tabela com rolagem própria no celular (a página não rola para o lado) */
.nrc-tabela-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgb(226, 232, 240);
  border-radius: 12px;
}
.nrc-tabela {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  font-family: "Inter Display", "Inter Display Placeholder", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgb(51, 65, 85);
}
.nrc-tabela caption {
  padding: 12px 14px 0;
  text-align: left;
  font-size: 14px;
  color: rgb(100, 116, 139);
}
.nrc-tabela th,
.nrc-tabela td { padding: 10px 14px; text-align: left; border-bottom: 1px solid rgb(226, 232, 240); }
.nrc-tabela th { background: rgb(248, 250, 252); color: rgb(15, 23, 42); font-weight: 600; }
.nrc-tabela tr:last-child td { border-bottom: 0; }
.nrc-tabela td.nrc-num, .nrc-tabela th.nrc-num { text-align: right; white-space: nowrap; }
.nrc-tabela tfoot td { font-weight: 700; color: rgb(15, 23, 42); background: rgb(248, 250, 252); }

/* Figura (ilustração) */
.nrc-figura { margin: 4px 0; }
.nrc-figura img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid rgb(226, 232, 240); background: #fff; }
.nrc-figura figcaption,
.nrc-video figcaption {
  margin-top: 8px;
  font-family: "Inter Display", "Inter Display Placeholder", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgb(100, 116, 139);
}

/* Vídeo leve: miniatura com link; o player (youtube-nocookie) só carrega no clique. */
.nrc-video { margin: 4px 0; width: 100%; }
.nrc-video-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: rgb(15, 23, 42);
}
.nrc-video-frame img,
.nrc-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.nrc-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
}
.nrc-video-play svg { width: 26px; height: 26px; fill: #fff; margin-left: 3px; }
.nrc-video-frame:hover .nrc-video-play,
.nrc-video-frame:focus-visible .nrc-video-play { background: #0C6CEB; transform: translate(-50%, -50%) scale(1.05); }
.nrc-video-frame:focus-visible { outline: 3px solid #0C6CEB; outline-offset: 3px; }

/* Chamada para ação */
.nrc-cta {
  width: 100%;
  box-sizing: border-box;
  padding: 28px 24px;
  border-radius: 16px;
  background: rgb(15, 23, 42);
  color: #fff;
  font-family: "Inter Display", "Inter Display Placeholder", sans-serif;
}
.nrc-cta-titulo { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.3; color: #fff; }
.nrc-cta-texto { margin: 8px 0 0; font-size: 17px; font-weight: 500; line-height: 1.5; color: rgb(203, 213, 225); }
.nrc-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.nrc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 8px;
  border: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.nrc-btn:hover { transform: translateY(-1px); }
.nrc-btn:focus-visible { outline: 3px solid #5ca8ff; outline-offset: 2px; }
.nrc-btn svg { width: 20px; height: 20px; flex: none; }
.nrc-btn--primario { background: #0C6CEB; color: #fff; }
.nrc-btn--primario:hover { background: #0a5bc7; }
.nrc-btn--secundario { background: #fff; color: #0C6CEB; box-shadow: inset 0 0 0 1px #fff; }

/* Perguntas frequentes */
.nrc-faq { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.nrc-faq details {
  border: 1px solid rgb(226, 232, 240);
  border-radius: 12px;
  background: #fff;
}
.nrc-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
}
.nrc-faq summary::-webkit-details-marker { display: none; }
.nrc-faq summary:focus-visible { outline: 2px solid #0C6CEB; outline-offset: 2px; }
.nrc-faq summary h3 {
  margin: 0;
  font-family: "Inter Display", "Inter Display Placeholder", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: rgb(15, 23, 42);
}
.nrc-faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgb(100, 116, 139);
  border-bottom: 2px solid rgb(100, 116, 139);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.18s ease;
}
.nrc-faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.nrc-faq-resposta {
  padding: 0 18px 16px;
  font-family: "Inter Display", "Inter Display Placeholder", sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  color: rgb(100, 116, 139);
}
.nrc-faq-resposta p { margin: 0; }

/* Leia também */
.nrc-relacionados { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; }
.nrc-relacionados a {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgb(226, 232, 240);
  border-radius: 12px;
  text-decoration: none;
  font-family: "Inter Display", "Inter Display Placeholder", sans-serif;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.nrc-relacionados a:hover,
.nrc-relacionados a:focus-visible { border-color: #0F77FF; background: rgb(239, 246, 255); }
.nrc-relacionados strong { display: block; font-size: 16px; font-weight: 600; color: rgb(15, 23, 42); }
.nrc-relacionados span { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: rgb(100, 116, 139); }

@media (max-width: 809px) {
  .nrc-h3 { font-size: 19px; }
  .nrc-lei { font-size: 16px; padding: 14px 16px; }
  .nrc-formula { font-size: 16px; }
  .nrc-cta { padding: 24px 18px; }
  .nrc-btn { width: 100%; }
  .nrc-faq summary h3 { font-size: 17px; }
  .nrc-faq-resposta { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .nrc-btn, .nrc-video-play, .nrc-faq summary::after { transition: none; }
}

/* Ajustes após o print de 375 px (14/11/2026) */
.nrc-tabela th,
.nrc-tabela td:first-child { white-space: nowrap; }
.nrc-body > .nrc-h3 { margin-bottom: -12px; }

/* ===== Versão 2 (14/11/2026): guias no sistema visual do site (.an-* de css/anunciante.css) ===== */
.nrc .nrc-breadcrumb { margin: 0 0 14px; font-size: 14px; }
.nrc .an-hero h1 { font-size: clamp(32px, 4.2vw, 52px); }
.nrc .an-hero-img img { width: 100%; height: auto; }
.nrc-h2 { max-width: 900px; }
.nrc-flow { margin-top: var(--an-sp-bloco); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.nrc-flow--full { max-width: 980px; }
.nrc-diff { align-items: start; }
.nrc-diff .nrc-flow { margin-top: 0; }
.nrc-side-img { position: sticky; top: 110px; background: #fff; border: 1px solid var(--an-border); padding: 10px; border-radius: 22px; }
.nrc-side-img img { border-radius: 14px; width: 100%; height: auto; }
.nrc-p { font-size: 17px; line-height: 1.65; color: var(--an-muted); max-width: 820px; }
.nrc-p a, .nrc-card a, .nrc-item a, .nrc-lei a { color: #0C6CEB; }
.nrc-p strong, .nrc-card strong, .nrc-item strong { color: var(--an-text); }

/* Ícones do site dentro do quadrado azul suave */
.nrc-ico img { width: 24px; height: 24px; }

/* Cartões (h3 + texto) em grade */
.nrc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.nrc-diff .nrc-cards { grid-template-columns: 1fr; }
.nrc-card { display: flex; flex-direction: column; gap: 10px; }
.nrc-card h3 { font-size: 19px; margin-top: 6px; }
.nrc-card .nrc-p { font-size: 15px; line-height: 1.6; }
.an-section--white .nrc-card { background: var(--an-bg); }

/* Listas viram itens com ícone; listas numeradas viram passos */
.nrc-list, .nrc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.nrc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nrc-diff .nrc-steps { grid-template-columns: 1fr; }
.nrc-item { grid-template-columns: 44px 1fr; }
.nrc-item .an-step-n { width: 32px; height: 32px; margin: 6px; }
.nrc-item p { color: var(--an-muted); font-size: 15px; line-height: 1.55; }
.nrc-item .nrc-item-t { color: var(--an-text); font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.an-section--white .nrc-item { background: var(--an-bg); }

/* Tabelas e vídeo dentro do layout novo */
.nrc .nrc-tabela-wrap { background: #fff; }
.nrc .nrc-video { max-width: 760px; }

/* Chamada final: mesmo bloco escuro/azul do site, sem foto */
.nrc-final { background: linear-gradient(160deg, #0F172A 0%, #0C5FCC 100%); }
.nrc-final::before { display: none; }
.nrc-final .an-btn--ghost { background: #fff; }

/* Perguntas: o h3 fica dentro do summary com o mesmo visual do FAQ da home */
.nrc-faq2 summary h3 { margin: 0; font: inherit; color: inherit; }
.nrc-faq2 details p { color: var(--an-muted); }

/* Leia também */
.nrc-relacionados2 { list-style: none; margin: var(--an-sp-bloco) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.nrc-relacionados2 a { display: flex; flex-direction: column; gap: 10px; height: 100%; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.nrc-relacionados2 a:hover { border-color: #0F77FF; transform: translateY(-2px); }
.nrc-relacionados2 strong { font-size: 17px; font-weight: 600; color: var(--an-text); line-height: 1.35; }
.nrc-relacionados2 span { font-size: 15px; color: var(--an-muted); }

@media (max-width: 899px) {
  .nrc-cards, .nrc-steps, .nrc-relacionados2 { grid-template-columns: 1fr; }
  .nrc-side-img { position: static; order: -1; }
}

/* ===== Contraste e animações (14/11/2026, pedido do gestor) ===== */
/* Cinza do texto #64748B dava 4,4:1 no fundo #F6F6F8; #475569 dá 7,0:1. */
.an.nrc { --an-muted: #475569; }
.nrc-breadcrumb, .nrc-tabela caption, .nrc-figura figcaption, .nrc-video figcaption, .nrc-faq-resposta { color: #475569; }
/* Ícones: fundo sólido da marca com ícone branco (antes: ícone branco/azul-claro sobre quadrado azul-claro).
   #0E70F1 x branco = 4,6:1; laranja escuro #C2410C x branco = 5,2:1 (gás). */
.nrc .nrc-ico { background: #0E70F1; color: #fff; }
.nrc .nrc-ico img { filter: brightness(0) invert(1); }
.nrc--gas .nrc-ico, .nrc .nrc-ico--gas { background: #C2410C; }
.nrc--gas .an-step-n { background: #C2410C; }
/* Âncoras não ficam escondidas atrás do menu fixo */
.nrc [id] { scroll-margin-top: 104px; }

/* 1) Título do topo: barra de destaque que se desenha (só transform; o texto já nasce legível) */
.nrc .an-hero h1::after { content: ""; display: block; width: 88px; height: 5px; margin-top: 16px; border-radius: 3px;
  background: linear-gradient(90deg, #0E70F1, #FFB35B); transform-origin: left; animation: nrcBar .4s .15s cubic-bezier(.2,.7,.3,1) both; }
.nrc--gas .an-hero h1::after { background: linear-gradient(90deg, #C2410C, #FFB35B); }
@keyframes nrcBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 2) Blocos aparecem ao rolar, com leve escalonamento (classe posta pelo JS só nos que estão abaixo da dobra) */
.nrc-rv { opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.3,1); }
.nrc-rv.is-in { opacity: 1; transform: none; }

/* 3) Marca-texto na frase-chave */
.nrc-mark { color: inherit; background: linear-gradient(transparent 58%, rgba(255,179,91,.55) 58%) no-repeat 0 0 / 0% 100%; transition: background-size .4s ease .1s; padding: 0 2px; }
.nrc-mark.is-in, .no-js .nrc-mark { background-size: 100% 100%; }

/* Galeria das telas (rolagem com encaixe; a tela do centro em destaque) */
.nrc-gal { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.nrc-gal-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.nrc-gal-track:focus-visible { outline: 2px solid #0E70F1; outline-offset: 2px; border-radius: 12px; }
.nrc-gal-slide { flex: 0 0 min(82%, 560px); margin: 0; scroll-snap-align: center; transition: opacity .3s ease, transform .3s ease; }
.nrc-gal-slide img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: #fff; border: 1px solid var(--an-border); border-radius: 14px; }
.nrc-gal-slide figcaption { margin-top: 8px; font-size: 14px; font-weight: 500; color: #475569; }
.nrc-gal.is-js .nrc-gal-slide:not(.is-on) { opacity: .55; transform: scale(.96); }
.nrc-gal-nav { display: flex; gap: 10px; }
.nrc-gal-btn { width: 44px; height: 44px; border-radius: 999px; border: 0; background: #0E70F1; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.nrc-gal-btn:hover { background: #0C5FCC; }
.nrc-gal-btn:focus-visible { outline: 3px solid #5CA8FF; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .nrc .an-hero h1::after { animation: none; }
  .nrc-rv { opacity: 1; transform: none; transition: none; }
  .nrc-mark { background-size: 100% 100%; transition: none; }
  .nrc-gal-slide, .nrc-gal.is-js .nrc-gal-slide:not(.is-on) { transition: none; transform: none; }
  .nrc-gal-track { scroll-behavior: auto; }
}
/* Links no meio do texto: #0C6CEB dava 4,46:1 no fundo #F6F6F8; #0A5BC7 dá 6,0:1. */
.nrc-p a, .nrc-card a, .nrc-item a, .nrc-lei a, .nrc-lei cite a, .nrc-breadcrumb a, .nrc-faq2 a, .nrc-tabela a { color: #0A5BC7; }

/* Focus Reveal (Originkit "focus-reveal", reproduzido sem React/GSAP): cada letra sai de scale 1.45 + blur 20px + opacity 0
   em 0,4 s, ease-in do original, escalonada. Só com JS (classe nrc-fr); sem JS ou com reduced-motion o título fica normal. */
.nrc-fr-w { display: inline-block; white-space: nowrap; }
.nrc-fr-c { display: inline-block; opacity: 0; transform: scale(1.45); filter: blur(20px);
  animation: nrc-fr .4s cubic-bezier(.55,.085,.68,.53) forwards; animation-delay: var(--d, 0s); will-change: transform, opacity, filter; }
@keyframes nrc-fr { to { opacity: 1; transform: scale(1); filter: blur(0); } }
@media (prefers-reduced-motion: reduce) { .nrc-fr-c { animation: none; opacity: 1; transform: none; filter: none; } }

/* Relatórios por unidade e por condomínio (página de software) */
.nrc-rel { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; align-items: start; }
.nrc-rel-fig { margin: 0; background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 20px; box-shadow: 0 10px 30px rgba(15, 23, 42, .08); }
.nrc-rel-fig img { display: block; width: 100%; height: auto; border-radius: 10px; }
.nrc-rel-fig figcaption { margin-top: 12px; color: #475569; font-size: 15px; line-height: 1.5; }
.nrc-rel-fig figcaption strong { color: #0F172A; }
@media (max-width: 768px) { .nrc-rel { grid-template-columns: 1fr; } }

/* Carrossel de folhas dos relatórios (seção #relatorios) — galeria de páginas: folha em destaque, setas, contador e miniaturas. */
.nrc-folhas { margin: 0; min-width: 0; background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 20px; box-shadow: 0 10px 30px rgba(15, 23, 42, .08); }
.nrc-folhas-palco { position: relative; overflow: hidden; border-radius: 10px; background: #EEF2F7; padding: 18px 28px; outline: none; touch-action: pan-y; }
.nrc-folhas-palco:focus-visible { box-shadow: 0 0 0 3px #0F77FF; }
.nrc-folhas-trilho { list-style: none; margin: 0; padding: 0; display: flex; transition: transform .35s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.nrc-folhas-trilho li { flex: 0 0 100%; min-width: 0; display: flex; justify-content: center; opacity: .35; transition: opacity .35s ease; }
.nrc-folhas-trilho li[aria-hidden="false"] { opacity: 1; }
.nrc-folhas-trilho img { display: block; width: 100%; max-width: 420px; height: auto; background: #fff; border-radius: 3px; box-shadow: 0 1px 2px rgba(15, 23, 42, .12), 0 8px 24px rgba(15, 23, 42, .16); }
.nrc-folhas-ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.nrc-folhas-ctl button { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; border: 1px solid #CBD5E1; background: #fff; color: #0F172A; font-size: 20px; line-height: 1; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.nrc-folhas-ctl button:hover { border-color: #0F77FF; background: rgb(239, 246, 255); }
.nrc-folhas-ctl button:focus-visible, .nrc-folhas-minis button:focus-visible { outline: 3px solid #0F77FF; outline-offset: 2px; }
.nrc-folhas-ctl button:disabled { opacity: .4; cursor: default; }
.nrc-folhas-cont { font-size: 15px; font-weight: 600; color: #334155; font-variant-numeric: tabular-nums; }
.nrc-folhas-minis { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding: 4px 2px; scrollbar-width: thin; }
.nrc-folhas-minis button { flex: 0 0 48px; padding: 0; border: 2px solid transparent; border-radius: 4px; background: none; cursor: pointer; opacity: .6; transition: opacity .15s ease, border-color .15s ease; }
.nrc-folhas-minis button[aria-current="true"] { border-color: #0F77FF; opacity: 1; }
.nrc-folhas-minis button:hover { opacity: 1; }
.nrc-folhas-minis img { display: block; width: 100%; height: auto; border-radius: 2px; }
.nrc-folhas figcaption { margin-top: 12px; color: #475569; font-size: 15px; line-height: 1.5; }
.nrc-folhas figcaption strong { color: #0F172A; }
@media (max-width: 480px) { .nrc-folhas { padding: 14px; } .nrc-folhas-palco { padding: 12px 14px; } }
@media (prefers-reduced-motion: reduce) { .nrc-folhas-trilho, .nrc-folhas-trilho li { transition: none; } }
