/* Central de Notícias - VF Contabilidade */
.nt-hero { background: linear-gradient(180deg, var(--off) 0%, var(--white) 100%); padding: 52px 0 40px; border-bottom: 1px solid var(--line); }
.nt-hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 12px; }
.nt-hero p.nt-sub { color: var(--muted); font-size: 1.1rem; max-width: 720px; }

/* Capa padrão (sem foto) */
.nt-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(600px 260px at 85% 0%, rgba(201, 163, 74, .28), transparent 60%), linear-gradient(135deg, #161616 0%, #2a2a2a 100%); }
.nt-cover img.nt-cover-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.nt-cover-default::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(201, 163, 74, .07) 0 2px, transparent 2px 22px); }
.nt-cover-default .nt-cover-cat { position: absolute; left: 22px; bottom: 20px; right: 22px; color: #fff; font-weight: 800; font-size: clamp(1.05rem, 2vw, 1.5rem); line-height: 1.2; letter-spacing: -.01em; }
.nt-cover-default .nt-cover-cat small { display: block; color: var(--gold); font-size: .68em; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.nt-cover-default .nt-cover-logo { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; opacity: .95; }

/* Destaque */
.nt-featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-soft); margin-bottom: 40px; }
.nt-featured .nt-cover { aspect-ratio: auto; min-height: 320px; height: 100%; }
.nt-featured-body { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.nt-featured-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; margin: 10px 0 12px; }
.nt-featured-body p { color: var(--muted); margin-bottom: 18px; }
.nt-badge-destaque { align-self: flex-start; background: var(--black); color: var(--gold); border-radius: 999px; padding: 4px 12px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }

/* Busca e filtros */
.nt-tools { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.nt-search { display: flex; gap: 10px; max-width: 560px; }
.nt-search input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; font: inherit; font-size: .95rem; background: var(--white); }
.nt-search input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.nt-search button { border: 0; border-radius: 999px; padding: 0 20px; background: var(--black); color: var(--white); font-weight: 700; cursor: pointer; }
.nt-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.nt-cats a { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 7px 14px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.nt-cats a:hover { border-color: var(--gold); }
.nt-cats a.active { background: var(--black); border-color: var(--black); color: var(--white); }

/* Cards */
.nt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nt-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .2s, box-shadow .2s; }
.nt-card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(22, 22, 22, .1); }
.nt-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.nt-cat { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark); }
.nt-card h3 { font-size: 1.08rem; line-height: 1.35; margin: 8px 0 10px; }
.nt-card h3 a { color: var(--ink); }
.nt-card p { color: var(--muted); font-size: .92rem; line-height: 1.6; margin-bottom: 16px; }
.nt-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; font-size: .82rem; color: var(--muted); }
.nt-read { font-weight: 700; color: var(--ink); display: inline-flex; gap: 6px; align-items: center; border-bottom: 2px solid var(--gold); }
.nt-more { text-align: center; margin-top: 32px; }
.nt-empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* Relacionados / serviços */
.nt-related-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nt-related-links a { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-weight: 700; color: var(--ink); }
.nt-related-links a i { color: var(--gold-dark); font-size: 1.2rem; width: 24px; text-align: center; }
.nt-related-links a:hover { border-color: var(--gold); }

/* Matéria */
.nt-article-head { padding: 44px 0 28px; background: linear-gradient(180deg, var(--off) 0%, var(--white) 100%); }
.nt-article-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.15; letter-spacing: -.02em; margin: 10px 0 14px; max-width: 900px; }
.nt-dates { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--muted); }
.nt-dates strong { color: var(--ink); font-weight: 600; }
.nt-article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-top: 32px; padding-bottom: 64px; }
.nt-article .nt-cover { border-radius: 16px; margin-bottom: 26px; }
.nt-lead { font-size: 1.15rem; line-height: 1.75; color: var(--ink); font-weight: 500; margin-bottom: 22px; padding-left: 16px; border-left: 3px solid var(--gold); }
.nt-body h2 { font-size: 1.4rem; margin: 32px 0 12px; }
.nt-body h3 { font-size: 1.15rem; margin: 24px 0 10px; }
.nt-body p, .nt-body li { color: var(--text); font-size: 1.04rem; line-height: 1.8; }
.nt-body p { margin-bottom: 14px; }
.nt-body ul, .nt-body ol { padding-left: 22px; margin-bottom: 14px; }
.nt-body a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 2px; }
.nt-box { border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; background: var(--off); margin: 28px 0; }
.nt-box h2, .nt-box h3 { font-size: 1.05rem; margin: 0 0 10px; display: flex; gap: 8px; align-items: center; }
.nt-box h2 i, .nt-box h3 i { color: var(--gold-dark); }
.nt-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.nt-box li { font-size: .95rem; }
.nt-box a { word-break: break-word; }
.nt-tag-scope { display: inline-flex; gap: 6px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: .78rem; font-weight: 700; color: var(--ink); }
.nt-notice { font-size: .86rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 12px; margin-top: 24px; }
.nt-outdated { background: #fff7e6; border: 1px solid #f2d39b; color: #7a4f00; border-radius: 12px; padding: 12px 16px; font-size: .92rem; margin-bottom: 20px; }
.nt-author { display: flex; gap: 14px; align-items: center; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 28px; }
.nt-author img { width: 52px; height: 52px; border-radius: 50%; }
.nt-author strong { display: block; color: var(--ink); }
.nt-author span { color: var(--muted); font-size: .9rem; }
.nt-share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; }
.nt-share span { font-weight: 700; color: var(--ink); font-size: .9rem; }
.nt-share a, .nt-share button { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .86rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.nt-share a.wa { background: #25d366; border-color: #25d366; color: #fff; }
.nt-aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.nt-aside-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.nt-aside-card h2 { font-size: 1rem; margin-bottom: 12px; }
.nt-aside-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.nt-aside-card li a { color: var(--ink); font-weight: 600; font-size: .92rem; line-height: 1.4; }
.nt-aside-card li small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.nt-aside-cta { background: linear-gradient(135deg, var(--black), var(--graphite)); color: var(--white); border-radius: 14px; padding: 22px; }
.nt-aside-cta h2 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.nt-aside-cta p { color: #cfcfcf; font-size: .9rem; margin-bottom: 14px; }
.nt-aside-cta .btn { width: 100%; justify-content: center; }

/* Página inicial */
.nt-home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.nt-home-head h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin-bottom: 8px; }
.nt-home-head p:not(.eyebrow) { color: var(--muted); }

@media (max-width: 1080px) {
  .nt-grid { grid-template-columns: 1fr 1fr; }
  .nt-article { grid-template-columns: 1fr; }
  .nt-aside { position: static; }
  .nt-related-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nt-featured { grid-template-columns: 1fr; }
  .nt-featured .nt-cover { min-height: 0; aspect-ratio: 16 / 9; }
  .nt-featured-body { padding: 24px; }
  .nt-grid { grid-template-columns: 1fr; }
  .nt-related-links { grid-template-columns: 1fr; }
  .nt-search button { padding: 0 16px; }
}

/* Complementos da implementação */
.nt-featured-body h2 a { color: var(--ink); }
.nt-featured-body h2 a:hover, .nt-card h3 a:hover { color: var(--gold-dark); }
.nt-featured-body .nt-meta { margin-top: 0; }
.nt-result { color: var(--muted); margin: -8px 0 22px; }
.nt-result a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); }
.nt-empty i { font-size: 2rem; color: var(--gold-dark); margin-bottom: 12px; display: block; }
.nt-empty p { margin-bottom: 16px; }
.nt-figure { margin: 0 0 26px; }
.nt-figure .nt-cover { margin-bottom: 0; }
.nt-figure figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.nt-body blockquote { border-left: 3px solid var(--gold); background: var(--off); border-radius: 0 10px 10px 0; padding: 12px 18px; margin: 0 0 16px; }
.nt-body blockquote p { margin: 0; }
.nt-body strong { color: var(--ink); }
.nt-situacao { background: var(--off); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: .92rem; margin-bottom: 20px; color: var(--ink); }
.nt-situacao i, .nt-outdated i { margin-right: 4px; }
.nt-proposta { background: #eef4ff; border-color: #c9d8f5; color: #1f3d73; }
.nt-box a i { font-size: .72em; color: var(--muted); margin-left: 2px; }
.nt-aside-links li a { font-weight: 600; }
.nt-previa-bar { background: #fff3cd; color: #664d03; text-align: center; font-size: .9rem; padding: 10px 16px; font-weight: 500; }
.nt-previa-bar a { color: #664d03; font-weight: 700; text-decoration: underline; margin-left: 6px; }
.nt-search button i { margin-right: 4px; }
.nt-search .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#noticias[hidden] { display: none !important; }
.nt-body ul { list-style: disc; }
.nt-body ol { list-style: decimal; }
.nt-body li { margin-bottom: 4px; }
.nt-body li::marker { color: var(--gold-dark); }
.nt-article > article, .nt-aside { min-width: 0; }
.nt-body, .nt-lead, .nt-box, .nt-article-head h1 { overflow-wrap: anywhere; }
.nt-search button { white-space: nowrap; }
@media (max-width: 1080px) { .nt-article { grid-template-columns: minmax(0, 1fr); } }
