/* Módulo 1 — Introdução e risco biológico (curso pragas) */
.m1 {
  --m1-ink: #0f1f18;
  --m1-muted: #5a7268;
  --m1-line: rgba(15, 31, 24, 0.1);
  --m1-green: #1a6b4a;
  --m1-soft: #e8f5ee;
  --m1-green-soft: #e8f5ee;
  --m1-sand: #f4f1ea;
  --m1-panel: #1a6b4a;
  --m1-gold: #b08a3c;
  display: grid;
  gap: 0;
  color: var(--m1-ink);
}

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

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

.m1-hero {
  position: relative;
  margin: 0 0 28px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--m1-panel);
  color: #f3faf6;
  box-shadow: 0 18px 48px rgba(15, 31, 24, 0.16);
}

.m1-hero--cover {
  background: #e8f5ee;
}

.m1-cover {
  margin: 0;
}

.m1-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(42vh, 420px);
  object-fit: contain;
  object-position: center top;
  background: #e8f5ee;
}

.m1-figure--full {
  margin: 14px 0 8px;
  max-width: 640px;
}

.m1-figure--full img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--m1-line);
  background: #e8f5ee;
}

.m1-figure--full figcaption {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--m1-muted);
  line-height: 1.45;
}

.m1-section--dark .m1-figure--full figcaption {
  color: rgba(243, 250, 246, 0.72);
}

/* Ampliar — selo discreto */
.m1-zoom-frame {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #e8f5ee;
}

.m1-figure--full .m1-zoom-frame img {
  border-radius: 12px;
}

.m1 figure.is-zoomable,
.m1-figure.is-zoomable {
  cursor: zoom-in;
}

.m1 figure.is-zoomable img,
.m1-figure.is-zoomable img {
  cursor: zoom-in;
}

.m1-zoom-label {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #143d2c;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 31, 24, 0.1);
  box-shadow: 0 2px 8px rgba(8, 14, 11, 0.1);
  pointer-events: none;
}

.m1-gallery-wide {
  grid-column: span 1;
}

.m1-gallery-wide .m1-zoom-frame {
  background: #e8f5ee;
}

.m1-gallery-wide img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  max-height: 220px;
}

.m1 figure.is-zoomable:focus-visible,
.m1-figure.is-zoomable:focus-visible {
  outline: 2px solid rgba(26, 107, 74, 0.5);
  outline-offset: 2px;
  border-radius: 12px;
}

.m1-takeaways {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: m1-take;
}

.m1-takeaways li {
  counter-increment: m1-take;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--m1-line);
  box-shadow: 0 8px 24px rgba(15, 31, 24, 0.04);
}

.m1-takeaways li::before {
  content: counter(m1-take);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--m1-green);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  grid-row: 1 / span 2;
}

.m1-takeaways strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.3;
  color: var(--m1-ink);
}

.m1-takeaways span {
  display: block;
  grid-column: 2;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--m1-muted);
}

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

.m1-next p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.m1-cta-note {
  font-size: 0.9rem;
  color: var(--m1-muted);
}

@media (max-width: 640px) {
  .m1-takeaways li {
    grid-template-columns: 36px 1fr;
    padding: 14px;
  }
  .m1-takeaways li::before {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    border-radius: 10px;
  }
  .m1-cover img {
    max-height: none;
  }
}

.m1-hero-media {
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 240px;
  background: #e8f5ee;
}

.m1-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.05);
}

.m1-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 14, 11, 0.88) 0%, rgba(8, 14, 11, 0.45) 48%, rgba(8, 14, 11, 0.2) 100%),
    linear-gradient(180deg, transparent 40%, rgba(8, 14, 11, 0.75) 100%);
}

.m1-hero-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 3vw, 36px);
  z-index: 1;
  max-width: 720px;
}

.m1-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fd9b8;
}

.m1-hero h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3.4vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
}

.m1-hero-lead {
  margin: 0 0 14px;
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.55;
  color: rgba(243, 250, 246, 0.88);
}

.m1-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.m1-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 700;
}

.m1-open {
  margin: 0 0 28px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--m1-green-soft);
  border: 1px solid rgba(26, 107, 74, 0.14);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--m1-ink);
}

.m1-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  margin: 0 0 8px;
  scrollbar-width: thin;
}

.m1-rail a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--m1-muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--m1-line);
  background: #fff;
  white-space: nowrap;
}

.m1-rail a:hover,
.m1-rail a:focus-visible {
  color: var(--m1-green);
  border-color: rgba(26, 107, 74, 0.35);
  outline: none;
}

.m1-section {
  padding: 28px 0;
  border-top: 1px solid var(--m1-line);
}

.m1-section--tint {
  margin: 0 -4px;
  padding: 28px 18px;
  border-radius: 20px;
  border: 1px solid var(--m1-line);
  background: linear-gradient(180deg, #fafcfb 0%, #f3f7f5 100%);
}

.m1-section--dark {
  margin: 8px -4px;
  padding: 28px 18px;
  border-radius: 20px;
  background: var(--m1-panel);
  color: #f3faf6;
  border: none;
}

.m1-section--dark .m1-muted,
.m1-section--dark p {
  color: rgba(243, 250, 246, 0.78);
}

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

.m1-section--dark .m1-kicker { color: #9fd9b8; }

.m1-section h3 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.m1-section > p,
.m1-prose {
  margin: 0 0 16px;
  max-width: 68ch;
  line-height: 1.65;
  color: var(--m1-muted);
  font-size: 0.98rem;
}

.m1-grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.m1-cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.m1-card {
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--m1-line);
  box-shadow: 0 4px 16px rgba(15, 31, 24, 0.04);
}

.m1-card-num {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--m1-green);
}

.m1-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.m1-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--m1-muted);
}

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

.m1-figure img,
.m1-figure svg {
  display: block;
  width: 100%;
  height: auto;
}

.m1-figure figcaption {
  padding: 12px 14px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--m1-muted);
  background: #fafcfb;
  border-top: 1px solid var(--m1-line);
}

.m1-ph {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 20px;
  text-align: center;
  background:
    repeating-linear-gradient(-45deg, #eef4f0, #eef4f0 8px, #e7eee9 8px, #e7eee9 16px);
  color: var(--m1-muted);
  font-size: 0.85rem;
  font-weight: 650;
  line-height: 1.4;
}

.m1-box {
  margin: 16px 0;
  padding: 14px 16px;
  border-radius: 14px;
  border-left: 4px solid var(--m1-green);
  background: var(--m1-green-soft);
}

.m1-box--warn {
  border-left-color: #b08a3c;
  background: #fbf6ea;
}

.m1-box--key {
  border-left-color: #0f1f18;
  background: #f3f7f5;
}

.m1-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.m1-box p { margin: 0; font-size: 0.94rem; line-height: 1.55; color: var(--m1-ink); }

.m1-eco {
  display: grid;
  grid-template-columns: minmax(300px, 440px) minmax(220px, 1fr);
  gap: 20px;
  margin-top: 12px;
  align-items: center;
}

.m1-eco-map {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 28%, transparent 29%),
    conic-gradient(from 0deg, #e8f5ee, #dceee4, #e8f5ee);
  border: 1px solid var(--m1-line);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
}

.m1-eco-core {
  position: absolute;
  inset: 34%;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: var(--m1-green);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  line-height: 1.25;
  padding: 10px;
  z-index: 2;
}

.m1-eco-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 78px;
  padding: 7px 6px;
  border-radius: 12px;
  border: 1px solid var(--m1-line);
  background: #fff;
  font-size: 0.62rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 31, 24, 0.08);
}

.m1-eco-node[aria-pressed="true"],
.m1-eco-node:hover,
.m1-eco-node:focus-visible {
  border-color: var(--m1-green);
  color: var(--m1-green);
  outline: none;
}

.m1-eco-panel {
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--m1-line);
  min-height: 180px;
}

.m1-eco-panel h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.m1-eco-panel p {
  margin: 0;
  color: var(--m1-muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.m1-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.m1-card--lg {
  padding: 18px;
  background: linear-gradient(160deg, #fff 0%, #f4fbf7 100%);
}

.m1-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 14px 0;
}

.m1-flow span,
.m1-flow strong {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--m1-line);
  font-size: 0.82rem;
  font-weight: 700;
}

.m1-flow .m1-arrow {
  border: 0;
  background: transparent;
  color: var(--m1-green);
  padding: 0 2px;
  font-size: 1.1rem;
}

/* Fluxo da unidade — timeline + cards interativos */
.m1-path {
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.m1-path li {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 14px 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--m1-line);
  box-shadow: 0 8px 22px rgba(15, 31, 24, 0.04);
}

.m1-path li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: -8px;
  width: 14px;
  height: 2px;
  background: rgba(26, 107, 74, 0.35);
  z-index: 1;
}

.m1-path-num {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--m1-green-soft);
  color: var(--m1-green);
  font-size: 0.78rem;
  font-weight: 800;
}

.m1-path strong {
  font-size: 0.92rem;
  line-height: 1.25;
  color: var(--m1-ink);
}

.m1-path li > span:last-child {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--m1-muted);
}

.m1-unit {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.85fr);
  gap: 14px;
  margin: 8px 0 18px;
  align-items: stretch;
}

.m1-unit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.m1-unit-card {
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 14px 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--m1-line);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  font: inherit;
  color: inherit;
}

.m1-unit-card:hover,
.m1-unit-card:focus-visible {
  border-color: rgba(26, 107, 74, 0.45);
  box-shadow: 0 10px 28px rgba(15, 31, 24, 0.08);
  outline: none;
}

.m1-unit-card[aria-pressed="true"] {
  border-color: var(--m1-green);
  box-shadow: 0 0 0 2px rgba(26, 107, 74, 0.18);
  background: linear-gradient(165deg, #fff 0%, #eef8f2 100%);
}

.m1-unit-num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--m1-green);
}

.m1-unit-card strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.m1-unit-card > span:last-child {
  font-size: 0.8rem;
  color: var(--m1-muted);
  line-height: 1.35;
}

.m1-unit-panel {
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--m1-line);
  box-shadow: 0 10px 28px rgba(15, 31, 24, 0.05);
}

.m1-unit-hint {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m1-green);
}

.m1-unit-panel h4 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--m1-ink);
}

.m1-unit-panel p[data-m1-spot-out] {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--m1-muted);
}

.m1-hotspots {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--m1-line);
  background: #fff;
}

.m1-hotspots svg { display: block; width: 100%; height: auto; }

.m1-hotspot-btn {
  position: absolute;
  transform: translate(-50%, -50%);
  min-width: 28px;
  min-height: 28px;
  border-radius: 999px;
  border: 2px solid #fff;
  background: var(--m1-green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(26, 107, 74, 0.4);
  animation: m1Pulse 2s ease-out infinite;
}

@keyframes m1Pulse {
  0% { box-shadow: 0 0 0 0 rgba(26, 107, 74, 0.45); }
  70% { box-shadow: 0 0 0 12px rgba(26, 107, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(26, 107, 74, 0); }
}

.m1-hotspot-out {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--m1-green-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--m1-ink);
  min-height: 3.2em;
}

.m1-triangle {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  justify-items: center;
  margin: 12px 0;
}

.m1-triangle-svg {
  width: min(100%, 420px);
  height: auto;
}

.m1-triangle-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.m1-acc {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.m1-acc details {
  border-radius: 14px;
  border: 1px solid var(--m1-line);
  background: #fff;
  overflow: hidden;
}

.m1-acc summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-weight: 750;
  font-size: 0.95rem;
}

.m1-acc summary::-webkit-details-marker { display: none; }

.m1-acc summary::after {
  content: "+";
  float: right;
  color: var(--m1-green);
  font-weight: 800;
}

.m1-acc details[open] summary::after { content: "–"; }

.m1-acc details p {
  margin: 0;
  padding: 0 16px 14px;
  color: var(--m1-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

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

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

.m1-compare img,
.m1-compare .m1-ph {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

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

.m1-damage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.m1-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

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

.m1-gallery img,
.m1-gallery .m1-ph {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.m1-gallery figcaption {
  padding: 10px 12px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--m1-muted);
}

.m1-qs {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  counter-reset: m1q;
}

.m1-qs li {
  list-style: none;
  counter-increment: m1q;
  padding: 12px 14px 12px 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--m1-line);
  position: relative;
  font-weight: 650;
  font-size: 0.94rem;
}

.m1-qs li::before {
  content: counter(m1q);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--m1-green-soft);
  color: var(--m1-green);
  font-size: 0.8rem;
  font-weight: 800;
}

.m1-map {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  max-width: 520px;
}

.m1-map-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.m1-map-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--m1-green);
  box-shadow: 0 0 0 4px var(--m1-green-soft);
}

.m1-map-line {
  width: 2px;
  height: 18px;
  margin-left: 5px;
  background: rgba(26, 107, 74, 0.25);
}

.m1-map-text {
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--m1-line);
  font-size: 0.9rem;
  font-weight: 650;
}

.m1-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.m1-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

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

@media (max-width: 960px) {
  .m1-cards-4,
  .m1-cards-3,
  .m1-gallery,
  .m1-triangle-legend,
  .m1-grid-2,
  .m1-eco,
  .m1-damage-grid,
  .m1-compare,
  .m1-unit {
    grid-template-columns: 1fr;
  }
  .m1-path {
    grid-template-columns: 1fr 1fr;
  }
  .m1-path li:not(:last-child)::after {
    display: none;
  }
  .m1-unit-grid {
    grid-template-columns: 1fr 1fr;
  }
  .m1-hero-media { aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  .m1-cards-4,
  .m1-cards-3,
  .m1-gallery,
  .m1-triangle-legend,
  .m1-grid-2,
  .m1-eco,
  .m1-damage-grid,
  .m1-compare {
    grid-template-columns: 1fr;
  }
  .m1-path {
    grid-template-columns: 1fr;
  }
  .m1-unit-grid {
    grid-template-columns: 1fr;
  }
  .m1-eco-map {
    aspect-ratio: auto;
    border-radius: 16px;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px;
    background: #f4fbf7;
  }
  .m1-eco-core {
    position: static;
    inset: auto;
    grid-column: 1 / -1;
    border-radius: 14px;
    aspect-ratio: auto;
    min-height: 64px;
  }
  .m1-eco-node {
    position: static;
    transform: none;
    width: auto;
  }
  .m1-hotspot-btn { animation: none; }
}
