/* Câmara Mirim 1.5.3 — tipografia do EgovenZ, dois pesos no título e espaçamento refinado. */
.cmsm-home, .cmsm-home * { box-sizing:border-box; }
.cmsm-home {
  --cmsm-violet:#545177; --cmsm-ink:#383838; --cmsm-muted:#697082;
  --cmsm-line:#e4e3eb; --cmsm-accent:#5b577e;
  width:100%;max-width:1080px;margin:8px auto 12px;color:var(--cmsm-ink);
  font-family:Roboto,Arial,sans-serif;font-size:16px;line-height:1.6;text-align:left;clear:both;
}
.cmsm-home a, .cmsm-home a:hover { text-decoration:none!important; }
.cmsm-home a:focus-visible {outline:3px solid #756ea9;outline-offset:4px;}
/* O painel cria uma unidade visual mesmo dentro de seções brancas do Elementor. */
.cmsm-home--highlight {background:#f5f6f8!important;border:0!important;border-radius:7px;
  box-shadow:none!important;padding:18px 36px 18px;}
.cmsm-home__section-head {text-align:center;padding:0 12px;margin:0 auto 9px;}
.cmsm-home__section-head h2 {font-family:Poppins,Arial,sans-serif!important;font-size:40px!important;line-height:50px!important;
  font-weight:400!important;letter-spacing:0;margin:0 0 5px!important;color:var(--cmsm-violet)!important;
  text-align:center!important;text-transform:uppercase!important;}
.cmsm-home__section-head h2 .cmsm-home__title-bold {font-weight:700!important;}
.cmsm-home__section-head h2 .cmsm-home__title-light {font-weight:400!important;}
.cmsm-home__rule {width:44px;height:2px;display:block;margin:0 auto 8px;background:var(--cmsm-violet);opacity:.58;}
.cmsm-home__section-head p {font-family:Roboto,Arial,sans-serif;font-size:13px;letter-spacing:.09em;font-weight:500;color:#828098;margin:0!important;text-align:center;}
.cmsm-home__layout {border:0;
  display:grid;grid-template-columns:minmax(0,1.25fr) minmax(210px,.75fr);align-items:center;min-height:0;gap:18px;}
.cmsm-home__content {padding:6px 8px 5px 14px;min-width:0;align-self:center;}
.cmsm-home__eyebrow {font-family:Poppins,Arial,sans-serif;font-size:12px!important;font-weight:600;letter-spacing:.11em;color:#77738f!important;text-transform:uppercase;}
.cmsm-home__content h3 {font-family:Poppins,Arial,sans-serif!important;font-size:27px!important;font-weight:700!important;
  line-height:31px!important;letter-spacing:0;color:#303957!important;margin:5px 0 10px!important;text-transform:none!important;}
.cmsm-home__intro {max-width:545px;font-size:16px!important;line-height:1.6!important;
  font-weight:400;color:#60687a!important;margin:0 0 10px!important;}
.cmsm-home__stats {display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:16px!important;color:#79778b!important;margin:4px 0 11px!important;}
.cmsm-home__stats strong {color:#545177!important;font-weight:700!important;}
.cmsm-home__stats span {color:#b3b0c2;}
.cmsm-home__actions {display:flex;gap:17px;align-items:center;flex-wrap:wrap;margin-top:5px;}
.cmsm-home__link, .cmsm-home__session-link {display:inline-flex;align-items:center;gap:10px;min-height:40px;
  font-family:Roboto,Arial,sans-serif;font-size:16px!important;font-weight:700!important;line-height:1.35;transition:background-color .15s,color .15s;}
.cmsm-home__link {color:var(--cmsm-violet)!important;border-bottom:2px solid var(--cmsm-violet);padding:8px 0 5px;}
.cmsm-home__link:hover {color:#27233d!important;border-bottom-color:#27233d;}
.cmsm-home__session-link {color:#6a677c!important;border-bottom:1px solid #c8c6d6;padding:8px 0 5px;}
.cmsm-home__session-link:hover {color:var(--cmsm-violet)!important;}
.cmsm-home__art {justify-self:center;align-self:center;display:block;max-width:305px;width:100%;padding:0;}
.cmsm-home__art svg {display:block;width:100%;height:auto;max-height:206px;}
.cmsm-home--no-art .cmsm-home__layout {grid-template-columns:1fr;}
.cmsm-home--no-art .cmsm-home__content {padding-right:14px;}
/* Shortcode compacto: mesma identidade, sem banners publicitários. */
.cmsm-home--card {border:1px solid var(--cmsm-line);border-left:3px solid var(--cmsm-violet);border-radius:5px;
  background:#fff!important;box-shadow:none!important;display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,30%);
  align-items:center;min-height:170px;padding:0 18px 0 0;margin:20px auto;gap:2px;}
.cmsm-home--card .cmsm-home__card-body {padding:23px 14px 23px 27px;min-width:0;}
.cmsm-home--card h2 {font-family:Poppins,Arial,sans-serif!important;font-size:27px!important;font-weight:700!important;
  color:#303957!important;line-height:1.28!important;margin:6px 0 7px!important;text-transform:none!important;}
.cmsm-home--card p {color:#60687a!important;font-size:16px!important;line-height:1.65!important;margin:0 0 8px!important;}
.cmsm-home--card .cmsm-home__mini-count {font-size:15px!important;color:#79778b!important;margin:0 0 5px!important;}
.cmsm-home__mini-count span {padding:0 3px;color:#b3b0c2;}
.cmsm-home--card .cmsm-home__art {max-width:215px;padding:0;opacity:.85;}
.cmsm-home--card .cmsm-home__art svg {max-height:170px;}
.cmsm-home--card .cmsm-home__actions {margin-top:7px;}
.cmsm-home--card .cmsm-home__link,.cmsm-home--card .cmsm-home__session-link {min-height:30px;font-size:15px!important;padding:4px 0;}
.cmsm-home--card.cmsm-home--no-art {grid-template-columns:1fr;}
/* Vídeo opcional (incorporar_video=sim), preservado da v1.4. */
.cmsm-home__embedded {max-width:1120px;margin:-22px auto 36px;padding:20px;
  background:#fafafd;border:1px solid var(--cmsm-line);border-radius:4px;}
.cmsm-home__embed-heading {display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px;color:#303957;font-size:15px;}
.cmsm-home__embed-heading span {font-size:12px;color:var(--cmsm-muted);}
.cmsm-home__embed-frame {position:relative;aspect-ratio:16/9;max-width:780px;margin:0 auto;overflow:hidden;border-radius:4px;background:#121a28;}
.cmsm-home__embed-frame iframe {position:absolute;inset:0;width:100%;height:100%;border:0;}
@media(max-width:760px) {
 .cmsm-home {margin:8px auto 12px;}
 .cmsm-home--highlight {padding:18px 20px 17px;}
 .cmsm-home__layout {grid-template-columns:1fr;gap:2px;}
 .cmsm-home__content {padding:8px 0 0;}
 .cmsm-home__art {max-width:240px;min-width:0;padding:0;}
 .cmsm-home__art svg {max-height:155px;}
 .cmsm-home__section-head {margin-bottom:9px;}
 .cmsm-home__section-head h2 {font-size:32px!important;line-height:40px!important;}
 .cmsm-home__content h3 {font-size:27px!important;line-height:31px!important;}
 .cmsm-home--card {grid-template-columns:minmax(0,1fr) 120px;padding-right:5px;}
 .cmsm-home--card .cmsm-home__art svg {max-height:130px;}
 .cmsm-home--card .cmsm-home__card-body {padding:21px 8px 21px 18px;}
}
@media(max-width:440px) {
 .cmsm-home__section-head h2 {font-size:28px!important;line-height:36px!important;}
 .cmsm-home__section-head p {font-size:12px;letter-spacing:.045em;}
 .cmsm-home--highlight {padding:16px 18px 15px;}
 .cmsm-home__content {padding:6px 0 0;}
 .cmsm-home__intro {font-size:16px!important;}
 .cmsm-home__stats {font-size:15px!important;}
 .cmsm-home--card {grid-template-columns:1fr;}
 .cmsm-home--card .cmsm-home__art {display:none;}
 .cmsm-home--card .cmsm-home__card-body {padding:21px;}
 .cmsm-home__embed-heading {flex-direction:column;align-items:flex-start;}
}
@media(prefers-reduced-motion:reduce) {.cmsm-home * {transition:none!important;}}
