/* ══════════════════════════════════════════════
   IMAGE-TEXT PAIR DEMO  ·  prefix: dm-it-
══════════════════════════════════════════════ */

.dm-it-section {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #0f172a;
  background: #fafafa;
  padding: 96px 24px 88px;
  width: 100%;
  box-sizing: border-box;
}

.dm-it-shell {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* ─── Intro ─── */
.dm-it-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.dm-it-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 1rem;
}
.dm-it-h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
.dm-it-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* ─── Pair ─── */
.dm-it-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 8px 28px -14px rgba(15, 23, 42, 0.14);
}

.dm-it-img {
  height: 320px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: #e5e7eb;
}

.dm-it-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dm-it-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6366f1;
}
.dm-it-h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.005em;
  margin: 0;
  color: #0f172a;
}
.dm-it-p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
}
.dm-it-link {
  align-self: flex-start;
  font-weight: 600;
  font-size: 0.95rem;
  color: #4338ca;
  cursor: pointer;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  margin-top: 4px;
  transition: color 0.18s ease;
}
.dm-it-link:hover { color: #1e1b4b; }

/* ─── Mobile hint ─── */
.dm-it-mobile-hint {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 12px;
  padding: 14px 18px;
  color: #3730a3;
  font-size: 0.9rem;
  line-height: 1.5;
}
.dm-it-mobile-hint svg { width: 22px; height: 22px; flex-shrink: 0; }
.dm-it-mobile-hint code {
  background: rgba(255,255,255,0.6);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.86em;
  color: #1e1b4b;
}

/* ─── Outro ─── */
.dm-it-outro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #94a3b8;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.dm-it-outro-key {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
}

/* ─── Responsive ─── */
@media (max-width: 720px) {
  .dm-it-pair {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .dm-it-pair-2 .dm-it-img { order: -1; }
  .dm-it-img { height: 240px; }
}
