/* Escopo total (não quebra CSS do sistema) */
.mod-agenda{
  --card: #ffffff;
  --ink: #1A237E;
  --muted: #425a84;
  --accent: #1976D2;
  --accent-2: #0D47A1;
  --soft: #e3f2fd;
  --line: #e1e8f4;
  --code-bg: #eef2f7;
  --shadow: 0 1px 12px rgba(2, 16, 79, 0.08);

  color: var(--ink);
  width: 100%;
  overflow-x: hidden;
  font-family: "Segoe UI", Arial, sans-serif;
}

.mod-agenda *{ box-sizing: border-box; }

/* ===== TOPO azul 100% da tela (full-width) ===== */
.mod-agenda .doc-header{
  background: linear-gradient(90deg, #13347B 80%, #2685BE 100%);
  color: #fff;
  text-align: center;

  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 28px 0 18px 0;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 1px 10px rgba(0,0,0,0.12);
}

.mod-agenda .doc-header-inner{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 4vw;
}

.mod-agenda .header-title{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mod-agenda .header-icon{
  font-size: 2.2rem;
  line-height: 1;
}

.mod-agenda h1{
  margin: 0;
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.18;
  word-break: break-word;
  color: #fff;
}

.mod-agenda .header-sub{
  margin: 8px auto 0 auto;
  max-width: 980px;
  color: #BFE8FF;
  font-size: 1.06rem;
  line-height: 1.35;
  word-break: break-word;
}

.mod-agenda .meta{
  margin-top: 10px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
}

/* ===== Conteúdo ===== */
.mod-agenda .doc-main{
  max-width: 980px;
  margin: 18px auto 0 auto;
  background: var(--card);
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
  width: min(980px, 98vw);
}

.mod-agenda .lead{
  margin: 0 0 14px 0;
  color: var(--muted);
  line-height: 1.6;
}

.mod-agenda .toc{
  background: #F3F9FE;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 14px 12px 14px;
  margin: 14px 0 22px 0;
}

.mod-agenda .toc strong{ color: var(--accent-2); }

.mod-agenda .toc ul{
  margin: 10px 0 0 0;
  padding-left: 18px;
}

.mod-agenda .toc a{
  color: var(--accent);
  text-decoration: none;
}
.mod-agenda .toc a:hover{ text-decoration: underline; }

.mod-agenda section{
  background: var(--soft);
  border-radius: 10px;
  padding: 18px 16px;
  margin: 0 0 18px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  overflow-x: auto;
}

.mod-agenda section h2{
  margin: 0 0 10px 0;
  color: var(--accent-2);
  font-size: 1.18rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mod-agenda section h3{
  margin: 14px 0 8px 0;
  color: var(--accent-2);
  font-size: 1.05rem;
}

.mod-agenda p{ margin: 10px 0; line-height: 1.6; }
.mod-agenda ul, .mod-agenda ol{ margin: 10px 0 12px 0; padding-left: 20px; }
.mod-agenda li{ margin: 6px 0; line-height: 1.55; }

.mod-agenda code{
  background: var(--code-bg);
  color: #263238;
  padding: 2px 6px;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.98em;
}

.mod-agenda pre{
  background: #ffffff;
  border: 1px solid #cfe3ff;
  padding: 12px 12px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.95em;
  color: #0D47A1;
  margin: 10px 0 12px 0;
}

.mod-agenda .callout{
  background: #ffffff;
  border-left: 5px solid var(--accent);
  padding: 12px 12px;
  border-radius: 10px;
  margin: 12px 0 6px 0;
  box-shadow: 0 1px 10px rgba(0,0,0,0.05);
  color: #2b3f66;
}

.mod-agenda .callout b{ color: var(--accent-2); }

.mod-agenda a{ color: var(--accent); text-decoration: none; }
.mod-agenda a:hover{ text-decoration: underline; }

/* Lucide icon */
.mod-agenda .ico{
  width: 20px;
  height: 20px;
  color: var(--accent-2);
  flex: 0 0 auto;
}

@media (max-width: 700px){
  .mod-agenda .doc-header{ padding: 16px 0 12px 0; border-radius: 0 0 12px 12px; }
  .mod-agenda h1{ font-size: 1.18rem; }
  .mod-agenda .header-icon{ font-size: 1.55rem; }
  .mod-agenda .doc-main{ padding: 14px 12px; }
}
