/* ============================================================
   Matrix Print — Seção de Serviços
   Prefixo: mps- (mp-services)
   Sem conflito com style.css e mp-matrix.css
   ============================================================ */

/* ============================================================
   CONTAINER E LAYOUT
   ============================================================ */
.mps-section {
  background: #e8eaed;
  padding: clamp(60px, 8vw, 120px) 0;
  position: relative;
  overflow: hidden;
}

.mps-section::before {
  display: none;
}

.mps-container {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
}

/* ============================================================
   HEADING
   ============================================================ */
.mps-heading {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.mps-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FF6B1A;
  background: rgba(255,107,26,0.10);
  border: 1px solid rgba(255,107,26,0.25);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.mps-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  color: #0f1220;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.mps-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(14px, 1.2vw, 17px);
  color: #4a5068;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   GRID
   ============================================================ */
.mps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .mps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .mps-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CARD
   ============================================================ */
.mps-card {
  position: relative;
  border-radius: 16px;
  background: #131828;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
  cursor: default;
}

.mps-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,107,26,0.35);
}

/* Linha de topo laranja */
.mps-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #FF6B1A, rgba(255,107,26,0.3));
  border-radius: 16px 16px 0 0;
}

/* Card destaque */
.mps-card--featured {
  background: #1a1f35;
  border-color: rgba(255,107,26,0.3);
}

.mps-card--featured::before {
  background: linear-gradient(90deg, #FF6B1A, #ff9d5c);
  height: 3px;
}

/* Glow no hover */
.mps-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,107,26,0.08) 0%, transparent 70%);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.mps-card:hover .mps-card-glow {
  opacity: 1;
}

/* Badge "Mais popular" */
.mps-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #FF6B1A;
  background: rgba(255,107,26,0.12);
  border: 1px solid rgba(255,107,26,0.3);
  border-radius: 20px;
  padding: 4px 10px;
}

/* Inner */
.mps-card-inner {
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Top row */
.mps-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* Ícone */
.mps-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255,107,26,0.12);
  border: 1px solid rgba(255,107,26,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF6B1A;
  transition: background 0.3s, transform 0.3s;
}

.mps-card:hover .mps-icon-wrap {
  background: rgba(255,107,26,0.2);
  transform: scale(1.05);
}

/* Número */
.mps-card-num {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,107,26,0.3);
  letter-spacing: 1px;
}

/* Título */
.mps-card-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* Descrição */
.mps-card-desc {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  color: rgba(160,168,192,0.8);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Lista */
.mps-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mps-card-list li {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: rgba(160,168,192,0.7);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.mps-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF6B1A;
  opacity: 0.6;
}

/* Footer */
.mps-card-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Botão WhatsApp */
.mps-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  letter-spacing: 0.01em;
}

.mps-btn:hover {
  background: #1da851;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}

/* Link saiba mais */
.mps-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,107,26,0.7);
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.mps-link:hover {
  color: #FF6B1A;
}

/* ============================================================
   ANIMAÇÃO DE ENTRADA
   ============================================================ */
.mps-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.4s ease;
}

.mps-card.mps-visible {
  opacity: 1;
  transform: translateY(0);
}

.mps-card:hover {
  transform: translateY(-8px) !important;
}

.mps-card:nth-child(1) { transition-delay: 0s; }
.mps-card:nth-child(2) { transition-delay: 0.1s; }
.mps-card:nth-child(3) { transition-delay: 0.2s; }
.mps-card:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .mps-card-badge {
    font-size: 9px;
    padding: 3px 8px;
  }

  .mps-card-footer {
    gap: 8px;
  }

  .mps-btn {
    font-size: 12px;
    padding: 10px 14px;
  }
}