/* Agenda de obrigações mensal — R3 Contabilidade (blog) */
.ag-meta { font-size: .92rem; color: var(--muted); margin-top: 10px; }
.ag-meta a { color: var(--gold-deep); }
.ag-section { padding-top: 8px; }
.ag-wrap { max-width: 980px; }
.ag-highlights, .ag-holidays, .ag-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 20px; }
.ag-highlights { background: var(--black); color: var(--ivory); border-color: var(--black); position: relative; overflow: hidden; }
.ag-highlights::after { content: "R3"; position: absolute; right: -10px; bottom: -40px; font-family: "Playfair Display", serif; font-size: 9rem; color: rgba(201,162,39,.12); font-weight: 700; pointer-events: none; }
.ag-highlights h2, .ag-holidays h2, .ag-box h2, .ag-h2 { font-size: 1.3rem; margin: 0 0 12px; }
.ag-highlights h2 { color: var(--gold-light); }
.ag-highlights ul, .ag-featured-dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ag-highlights li, .ag-featured-dates li { display: flex; gap: 14px; align-items: baseline; }
.ag-hl-date { flex: 0 0 auto; min-width: 64px; text-align: center; font-weight: 700; color: var(--black); background: var(--gold); border-radius: 999px; padding: 3px 10px; font-size: .95rem; }
.ag-holidays ul { margin: 0 0 10px; padding-left: 18px; }
.ag-holidays p { margin: 0; color: var(--muted); font-size: .95rem; }
.ag-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 26px 0 8px; }
.ag-filter span { font-weight: 600; color: var(--muted); margin-right: 4px; }
.ag-chip { font: inherit; font-size: .9rem; border: 1px solid var(--gold-deep); background: transparent; color: var(--ink); border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.ag-chip.is-on { background: var(--gold); border-color: var(--gold); color: var(--black); font-weight: 600; }
.ag-chip:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }
.ag-h2 { margin-top: 18px; }
.ag-timeline { list-style: none; margin: 0 0 28px; padding: 0; position: relative; }
.ag-timeline::before { content: ""; position: absolute; left: 35px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--gold-light)); }
.ag-day { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 10px 0; position: relative; }
.ag-date { width: 72px; height: 78px; border-radius: 14px; background: var(--black); color: var(--ivory); display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; z-index: 1; box-shadow: 0 6px 18px rgba(17,17,17,.18); }
.ag-dd { font-family: "Playfair Display", serif; font-size: 1.7rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.ag-mm { text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; margin-top: 3px; }
.ag-wd { font-size: .72rem; color: #C9C3B4; }
.ag-dayline { margin: 6px 0 8px; font-weight: 700; color: var(--gold-deep); }
.ag-past-label { display: none; margin-left: 8px; font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--ivory); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.ag-day.is-past .ag-past-label { display: inline-block; }
.ag-day.is-past .ag-date { background: #5C5A54; }
.ag-day.is-past .ag-item { opacity: .72; }
.ag-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ag-item { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 14px 16px; }
.ag-item[data-area="dp"] { border-left-color: var(--pine); }
.ag-item[data-area="contabil"] { border-left-color: var(--gold-deep); }
.ag-item h3 { font-size: 1.05rem; margin: 6px 0 6px; font-family: "Source Sans 3", sans-serif; font-weight: 700; }
.ag-who, .ag-note { margin: 0 0 6px; font-size: .95rem; }
.ag-note { color: var(--muted); }
.ag-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 6px; padding: 2px 8px; }
.ag-tag-fiscal { background: #F3E7BF; color: #5E4A0B; }
.ag-tag-dp { background: #DCE7E4; color: var(--pine); }
.ag-tag-contabil { background: #EFE6D2; color: var(--gold-deep); }
.ag-src { display: inline-block; font-size: .85rem; color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
span.ag-src { text-decoration: none; color: var(--muted); }
.ag-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ag-grid2 .ag-box { margin-bottom: 0; }
.ag-tbc { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--danger); background: #F6E4E4; border-radius: 999px; padding: 1px 8px; }
.ag-tbc-list, .ag-check { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 10px; font-size: .95rem; }
.ag-check { list-style: none; padding-left: 0; }
.ag-check li { padding-left: 26px; position: relative; }
.ag-check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--black); background: var(--gold); width: 18px; height: 18px; border-radius: 50%; font-size: .72rem; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.ag-cta { margin-top: 28px; display: flex; gap: 20px; align-items: center; justify-content: space-between; background: linear-gradient(135deg, #111 0%, #1d1a12 100%); color: var(--ivory); border-radius: var(--radius); padding: 26px 28px; }
.ag-cta h2 { color: var(--gold-light); margin: 0 0 6px; font-size: 1.35rem; }
.ag-cta p { margin: 0; }
.ag-disclaimer { font-size: .88rem; color: var(--muted); margin-top: 14px; }
/* card de destaque no índice do blog */
.ag-featured-wrap { padding-top: 0; padding-bottom: 8px; }
.ag-featured { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; background: var(--black); color: var(--ivory); border-radius: var(--radius); padding: 30px 32px; box-shadow: var(--shadow); position: relative; overflow: hidden; border: 1px solid rgba(201,162,39,.4); }
.ag-featured::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 92% 10%, rgba(201,162,39,.22), transparent 45%); pointer-events: none; }
.ag-featured h2 { margin: 8px 0 10px; font-size: 1.7rem; }
.ag-featured h2 a { color: var(--ivory); text-decoration: none; }
.ag-featured h2 a:hover { color: var(--gold-light); }
.ag-featured p { color: #DAD4C5; }
.ag-badge { display: inline-block; margin: 0; background: var(--gold); color: var(--black); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 4px 12px; }
.ag-featured-dates { background: rgba(255,255,255,.05); border: 1px solid rgba(201,162,39,.35); border-radius: 14px; padding: 18px; position: relative; }
.ag-archive { margin-top: 16px; }
.ag-archive h3 { font-size: 1rem; margin: 0 0 6px; }
@media (max-width: 760px) {
  .ag-grid2, .ag-featured { grid-template-columns: 1fr; }
  .ag-featured { padding: 22px; }
  .ag-cta { flex-direction: column; align-items: flex-start; }
  .ag-day { grid-template-columns: 58px 1fr; gap: 12px; }
  .ag-date { width: 58px; height: 66px; }
  .ag-timeline::before { left: 28px; }
}
@media print { .ag-filter, .ag-cta { display: none; } }
