/* Módulo 1 — Importância e fundamentos (curso milho-pipoca) */
.pm2 {
  --pm2-ink: #0f1f18;
  --pm2-muted: #5a7268;
  --pm2-line: rgba(15, 31, 24, 0.12);
  --pm2-green: #1a6b4a;
  --pm2-green-soft: #e8f5ee;
  --pm2-gold: #b08a3c;
  --pm2-gold-soft: #f7f0e2;
  --pm2-cream: #f7f5f0;
  --pm2-panel: #143d2c;
  color: var(--pm2-ink);
  display: grid;
  gap: 0;
}

.pm2 * { box-sizing: border-box; }

.pm2 .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;
}

.pm2-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.pm2-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--pm2-green-soft);
  color: var(--pm2-green);
  border: 1px solid rgba(26, 107, 74, 0.18);
}

.pm2-chip--gold {
  background: var(--pm2-gold-soft);
  color: #7a5c1e;
  border-color: rgba(176, 138, 60, 0.28);
}

.pm2-lede {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--pm2-muted);
  max-width: 62ch;
  margin: 0 0 22px;
}

.pm2-hero {
  position: relative;
  margin: 0 0 28px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--pm2-panel);
  box-shadow: 0 18px 48px rgba(15, 31, 24, 0.14);
}

.pm2-hero-media {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  background: #e8f5ee;
}

.pm2-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pm2-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 28, 20, 0.15) 0%, rgba(10, 28, 20, 0.55) 70%, rgba(10, 28, 20, 0.78) 100%);
  pointer-events: none;
}

.pm2-hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 18px 22px 20px;
  color: #f3faf6;
}

.pm2-hero-caption strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.pm2-hero-caption span {
  font-size: 0.88rem;
  opacity: 0.88;
  line-height: 1.45;
}

.pm2-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.pm2-rail {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  background: var(--pm2-cream);
  border: 1px solid var(--pm2-line);
  max-height: calc(100vh - 110px);
  overflow: auto;
}

.pm2-rail-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pm2-muted);
  margin: 0 0 8px;
}

.pm2-rail a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--pm2-ink);
  text-decoration: none;
  border: 1px solid transparent;
}

.pm2-rail a:hover,
.pm2-rail a:focus-visible {
  background: #fff;
  border-color: var(--pm2-line);
  outline: none;
}

.pm2-rail a.is-active {
  background: var(--pm2-green);
  color: #fff;
  border-color: var(--pm2-green);
}

.pm2-readbar {
  height: 4px;
  border-radius: 999px;
  background: rgba(26, 107, 74, 0.12);
  overflow: hidden;
  margin: 0 0 10px;
}

.pm2-readbar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pm2-green), var(--pm2-gold));
  transition: width 0.2s ease;
}

.pm2-main {
  display: grid;
  gap: 36px;
  min-width: 0;
}

.pm2-section {
  scroll-margin-top: 96px;
}

.pm2-section h3 {
  margin: 0 0 12px;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.25;
  color: var(--pm2-ink);
}

.pm2-section h4 {
  margin: 18px 0 8px;
  font-size: 1.02rem;
  color: var(--pm2-green);
}

.pm2-section p {
  margin: 0 0 14px;
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--pm2-ink);
  max-width: 68ch;
}

.pm2-section p.pm2-muted {
  color: var(--pm2-muted);
}

.pm2-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.pm2-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .pm2-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.pm2-box {
  margin: 16px 0;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--pm2-line);
  background: #fff;
}

.pm2-box--guide {
  background: var(--pm2-gold-soft);
  border-color: rgba(176, 138, 60, 0.28);
}

.pm2-box--key {
  background: var(--pm2-green-soft);
  border-color: rgba(26, 107, 74, 0.22);
}

.pm2-box--warn {
  background: #fff8f0;
  border-color: rgba(176, 100, 40, 0.25);
}

.pm2-box strong.pm2-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pm2-gold);
  margin-bottom: 8px;
}

.pm2-box--key strong.pm2-kicker { color: var(--pm2-green); }

.pm2-box p:last-child { margin-bottom: 0; }

.pm2-flow {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  padding: 16px;
  border-radius: 16px;
  background: var(--pm2-cream);
  border: 1px solid var(--pm2-line);
}

.pm2-flow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pm2-node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--pm2-line);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.pm2-node--accent {
  background: var(--pm2-green);
  color: #fff;
  border-color: var(--pm2-green);
}

.pm2-node--gold {
  background: var(--pm2-gold);
  color: #fff;
  border-color: var(--pm2-gold);
}

.pm2-arrow {
  color: var(--pm2-muted);
  font-weight: 700;
  font-size: 1.1rem;
}

.pm2-flow-col {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: start;
}

.pm2-flow-stack {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.pm2-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 16px 0;
  padding: 18px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 50%, rgba(26, 107, 74, 0.08), transparent 55%),
    var(--pm2-cream);
  border: 1px solid var(--pm2-line);
  position: relative;
}

.pm2-chain-center {
  flex: 1 1 100%;
  text-align: center;
  margin-top: 8px;
  font-weight: 800;
  color: var(--pm2-green);
  font-size: 0.95rem;
}

.pm2-eq {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 14px 0;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px dashed rgba(26, 107, 74, 0.35);
}

.pm2-eq .pm2-op {
  font-weight: 800;
  color: var(--pm2-gold);
}

.pm2-neq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.pm2-neq {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--pm2-line);
  font-size: 0.9rem;
  line-height: 1.4;
}

.pm2-neq strong {
  display: block;
  color: var(--pm2-green);
  margin-bottom: 4px;
}

.pm2-neq span {
  color: var(--pm2-muted);
}

.pm2-figure {
  margin: 16px 0;
}

.pm2-figure img,
.pm2-figure svg {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--pm2-green-soft);
  border: 1px solid var(--pm2-line);
}

.pm2-figure figcaption {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--pm2-muted);
  max-width: 68ch;
}

.pm2-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
  margin: 16px 0;
}

.pm2-split--rev { direction: rtl; }
.pm2-split--rev > * { direction: ltr; }

.pm2-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0;
}

.pm2-compare figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--pm2-line);
  background: #fff;
}

.pm2-compare img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.pm2-compare figcaption {
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 700;
}

.pm2-steps {
  display: grid;
  gap: 0;
  margin: 16px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--pm2-line);
  background: #fff;
}

.pm2-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--pm2-line);
  background: transparent;
  text-align: left;
  width: 100%;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.pm2-step:last-child { border-bottom: 0; }

.pm2-step:hover,
.pm2-step:focus-visible {
  background: var(--pm2-green-soft);
  outline: none;
}

.pm2-step[aria-expanded="true"] {
  background: var(--pm2-green-soft);
}

.pm2-step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--pm2-green);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.pm2-step-body strong {
  display: block;
  margin-bottom: 4px;
}

.pm2-step-body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--pm2-muted);
  max-width: none;
}

.pm2-step-detail {
  display: none;
  grid-column: 2;
  margin-top: 8px;
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--pm2-line);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--pm2-ink);
}

.pm2-step[aria-expanded="true"] .pm2-step-detail {
  display: grid;
  gap: 6px;
}

.pm2-step-detail b {
  color: var(--pm2-green);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pm2-expand {
  margin: 18px 0;
  padding: 20px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #143d2c 0%, #1a6b4a 100%);
  color: #f3faf6;
  text-align: center;
}

.pm2-expand-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 8px;
  margin: 12px 0 8px;
}

.pm2-expand-node {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.45;
}

.pm2-expand.is-anim .pm2-expand-node {
  animation: pm2-pop 7s ease-in-out infinite;
}

.pm2-expand-node:nth-child(1) { animation-delay: 0s; }
.pm2-expand-node:nth-child(3) { animation-delay: 0.9s; }
.pm2-expand-node:nth-child(5) { animation-delay: 1.8s; }
.pm2-expand-node:nth-child(7) { animation-delay: 2.7s; }
.pm2-expand-node:nth-child(9) { animation-delay: 3.6s; }
.pm2-expand-node:nth-child(11) { animation-delay: 4.5s; }
.pm2-expand-node:nth-child(13) { animation-delay: 5.4s; }

@keyframes pm2-pop {
  0%, 100% { opacity: 0.4; transform: scale(0.96); background: rgba(255,255,255,0.1); }
  12%, 22% { opacity: 1; transform: scale(1.04); background: rgba(176, 138, 60, 0.55); }
  30% { opacity: 0.55; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .pm2-expand.is-anim .pm2-expand-node {
    animation: none;
    opacity: 1;
  }
}

.pm2-expand-note {
  font-size: 0.8rem;
  opacity: 0.8;
  margin: 0;
}

.pm2-map {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.pm2-map-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--pm2-line);
}

.pm2-map-item span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--pm2-green-soft);
  color: var(--pm2-green);
  font-weight: 800;
  font-size: 0.78rem;
}

.pm2-map-item strong { display: block; font-size: 0.95rem; }
.pm2-map-item em {
  display: block;
  font-style: normal;
  font-size: 0.86rem;
  color: var(--pm2-muted);
  margin-top: 2px;
}

.pm2-pano {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.pm2-pano-item {
  padding: 12px;
  border-radius: 12px;
  background: var(--pm2-cream);
  border: 1px solid var(--pm2-line);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
}

.pm2-dim {
  display: grid;
  place-items: center;
  margin: 16px 0;
  padding: 22px 16px;
  border-radius: 18px;
  background: var(--pm2-cream);
  border: 1px solid var(--pm2-line);
  text-align: center;
}

.pm2-dim-core {
  width: min(100%, 220px);
  padding: 18px;
  border-radius: 50%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--pm2-green);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.3;
  margin-bottom: 14px;
}

.pm2-dim-arms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.pm2-dim-arms span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--pm2-line);
  font-size: 0.82rem;
  font-weight: 700;
}

.pm2-think details,
.pm2-case details {
  margin: 12px 0;
  border-radius: 14px;
  border: 1px solid var(--pm2-line);
  background: #fff;
  overflow: hidden;
}

.pm2-think summary,
.pm2-case summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-weight: 750;
  font-size: 0.95rem;
  line-height: 1.4;
}

.pm2-think summary::-webkit-details-marker,
.pm2-case summary::-webkit-details-marker { display: none; }

.pm2-think summary::before,
.pm2-case summary::before {
  content: "Pare e pense · ";
  color: var(--pm2-gold);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
}

.pm2-case summary::before { content: "Caso · "; color: var(--pm2-green); }

.pm2-think .pm2-answer,
.pm2-case .pm2-answer {
  margin: 0;
  padding: 0 16px 14px;
  color: var(--pm2-muted);
  font-size: 0.94rem;
  line-height: 1.55;
  max-width: none;
}

.pm2-quiz-micro {
  margin: 16px 0;
  padding: 16px;
  border-radius: 14px;
  background: var(--pm2-cream);
  border: 1px solid var(--pm2-line);
}

.pm2-quiz-micro strong.pm2-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pm2-green);
  margin-bottom: 8px;
}

.pm2-quiz-opts {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.pm2-quiz-opts button {
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--pm2-line);
  background: #fff;
  font: inherit;
  cursor: pointer;
  line-height: 1.4;
}

.pm2-quiz-opts button:hover,
.pm2-quiz-opts button:focus-visible {
  border-color: var(--pm2-green);
  outline: 2px solid rgba(26, 107, 74, 0.25);
  outline-offset: 1px;
}

.pm2-quiz-opts button.is-correct {
  background: var(--pm2-green-soft);
  border-color: var(--pm2-green);
}

.pm2-quiz-opts button.is-wrong {
  background: #fff4f0;
  border-color: #c45c3a;
}

.pm2-quiz-fb {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--pm2-muted);
  display: none;
}

.pm2-quiz-fb.is-on { display: block; }

.pm2-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.pm2-skills span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--pm2-green);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.pm2-synth {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  margin: 16px 0;
}

.pm2-synth-card {
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--pm2-line);
}

.pm2-synth-card h4 {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pm2-muted);
}

.pm2-synth-flow {
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 700;
}

.pm2-synth-flow span {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--pm2-green-soft);
}

.pm2-takeaways {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: pm2-take;
}

.pm2-takeaways li {
  counter-increment: pm2-take;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--pm2-line);
}

.pm2-takeaways li::before {
  content: counter(pm2-take);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--pm2-green);
  color: #fff;
  font-weight: 800;
}

.pm2-next {
  margin-top: 8px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--pm2-green-soft);
  border: 1px solid rgba(26, 107, 74, 0.18);
}

.pm2-next p { margin: 0 0 12px; max-width: none; }

.pm2-hotspot {
  position: relative;
  margin: 14px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--pm2-line);
  background: var(--pm2-green-soft);
}

.pm2-hotspot img {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: contain;
}

.pm2-hotspot button {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--pm2-gold);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.pm2-hotspot button:focus-visible {
  outline: 3px solid rgba(26, 107, 74, 0.5);
  outline-offset: 2px;
}

.pm2-hotspot-panel {
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid var(--pm2-line);
}

.pm2-hotspot-panel h4 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  color: var(--pm2-green);
}

.pm2-hotspot-panel p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--pm2-muted);
  max-width: none;
}

.pm2-note-norm {
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff8e8;
  border: 1px dashed rgba(176, 138, 60, 0.45);
  font-size: 0.84rem;
  color: #6a5218;
}

@media (max-width: 960px) {
  .pm2-layout {
    grid-template-columns: 1fr;
  }
  .pm2-rail {
    position: static;
    max-height: none;
  }
  .pm2-rail-links {
    display: none;
  }
  .pm2-rail.is-open .pm2-rail-links {
    display: grid;
    gap: 4px;
  }
  .pm2-rail-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    color: var(--pm2-ink);
  }
  .pm2-split,
  .pm2-synth,
  .pm2-flow-col {
    grid-template-columns: 1fr;
  }
  .pm2-split--rev { direction: ltr; }
  .pm2-compare { grid-template-columns: 1fr; }
}

@media (min-width: 961px) {
  .pm2-rail-toggle { display: none; }
  .pm2-rail-links { display: grid; gap: 4px; }
}

@media (max-width: 640px) {
  .pm2-hero-media { min-height: 160px; }
  .pm2-section p { font-size: 0.98rem; }
}

/* Módulo 2 — tabela normativa */
.pm2-table-wrap {
  margin: 16px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid var(--pm2-line);
  background: #fff;
}
.pm2-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.pm2-table th,
.pm2-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--pm2-line);
  text-align: center;
  vertical-align: middle;
}
.pm2-table thead th {
  background: var(--pm2-green);
  color: #fff;
  font-weight: 750;
  font-size: 0.78rem;
  line-height: 1.25;
  position: sticky;
  top: 0;
  z-index: 1;
}
.pm2-table tbody th[scope="row"] {
  text-align: left;
  background: var(--pm2-cream);
  font-weight: 750;
  white-space: nowrap;
}
.pm2-table tbody tr:last-child td,
.pm2-table tbody tr:last-child th { border-bottom: 0; }
.pm2-table .pm2-ce { font-weight: 800; color: var(--pm2-green); }
.pm2-table caption {
  caption-side: bottom;
  padding: 10px 12px;
  text-align: left;
  font-size: 0.82rem;
  color: var(--pm2-muted);
}
.pm2-vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0;
}
.pm2-vs-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--pm2-line);
  background: #fff;
}
.pm2-vs-card--ft { border-color: rgba(176, 138, 60, 0.45); background: var(--pm2-gold-soft); }
.pm2-vs-card--dc { border-color: rgba(196, 92, 58, 0.35); background: #fff4f0; }
.pm2-vs-card h4 { margin: 0 0 8px; font-size: 1rem; }
.pm2-source {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
  padding: 16px;
  border-radius: 14px;
  background: var(--pm2-cream);
  border: 1px solid var(--pm2-line);
}
.pm2-source a.btn { text-decoration: none; }
.pm2-map-norma {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}
.pm2-map-norma button {
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--pm2-line);
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.pm2-map-norma button[aria-expanded="true"] {
  background: var(--pm2-green-soft);
  border-color: var(--pm2-green);
}
.pm2-map-norma .pm2-map-detail {
  display: none;
  margin: -2px 0 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--pm2-cream);
  font-size: 0.92rem;
  color: var(--pm2-muted);
  line-height: 1.5;
}
.pm2-map-norma button[aria-expanded="true"] + .pm2-map-detail { display: block; }
.pm2-classes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.pm2-classes figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--pm2-line);
  background: #fff;
}
.pm2-classes img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.pm2-classes figcaption {
  padding: 10px 12px;
  font-size: 0.86rem;
  line-height: 1.4;
}
.pm2-classes figcaption strong { display: block; margin-bottom: 4px; }
@media (max-width: 720px) {
  .pm2-vs, .pm2-classes { grid-template-columns: 1fr; }
}


/* Layout sem menu lateral (Módulo 2) */
.pm2-layout,
.pm2-content {
  display: block !important;
  grid-template-columns: none !important;
}
.pm2-rail { display: none !important; }
.pm2-main { min-width: 0; width: 100%; }


/* Classes — fotos padronizadas */
.pm2-classes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 8px;
}
.pm2-class-card {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--pm2-line, rgba(15,31,24,.12));
  background: #fff;
  display: flex;
  flex-direction: column;
}
.pm2-class-media {
  background: #e8f5ee;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.pm2-class-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pm2-class-card figcaption {
  padding: 12px 14px 14px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--pm2-muted, #5a7268);
}
.pm2-class-card figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--pm2-ink, #0f1f18);
  font-size: 0.95rem;
}
@media (max-width: 720px) {
  .pm2-classes { grid-template-columns: 1fr; }
}
