/* ══════════════════════════════════════════════
   THREE-COLUMN LAYOUT DEMO  ·  prefix: dm-tc-
══════════════════════════════════════════════ */

.dm-tc-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-tc-shell {
  max-width: 1100px;
  margin: 0 auto;
}

/* ─── Intro ─── */
.dm-tc-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.dm-tc-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-tc-h1 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
.dm-tc-lead {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}
.dm-tc-lead code {
  background: #eef2ff;
  color: #4338ca;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.88em;
}

/* ─── Page wrapper (the actual demo) ─── */
.dm-tc-page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 560px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 36px -16px rgba(15, 23, 42, 0.18);
}

/* Header */
.dm-tc-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  background: #0f172a;
  color: #f1f5f9;
}
.dm-tc-logo {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
}
.dm-tc-logo span { color: #818cf8; margin: 0 4px; }
.dm-tc-nav { display: flex; gap: 22px; }
.dm-tc-nav a {
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: color 0.18s ease;
}
.dm-tc-nav a:hover { color: #fff; }

/* Main: 3 columns */
.dm-tc-page-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  padding: 40px 28px;
  background: #fafafa;
}

.dm-tc-col {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dm-tc-col-img {
  height: 130px;
  border-radius: 10px;
  margin-bottom: 6px;
}
.dm-tc-col-img-indigo  { background: linear-gradient(135deg, #6366f1, #818cf8); }
.dm-tc-col-img-rose    { background: linear-gradient(135deg, #ec4899, #fb7185); }
.dm-tc-col-img-emerald { background: linear-gradient(135deg, #10b981, #6ee7b7); }

.dm-tc-col-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6366f1;
}
.dm-tc-col-h {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0;
  color: #0f172a;
}
.dm-tc-col-p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #475569;
}

/* Footer */
.dm-tc-page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  font-size: 0.82rem;
  color: #64748b;
  letter-spacing: 0.02em;
}

/* ─── Outro ─── */
.dm-tc-outro {
  margin-top: 48px;
  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-tc-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: 820px) {
  .dm-tc-page-main {
    grid-template-columns: 1fr;
  }
}
