/* ============================================================
   Matrix Print — Página de Marcas
   Arquivo: mp-marcas-page.css
   Prefixo: mpmp- (mp marcas page)
   ============================================================ */

:root {
  --mpmp-dark:        #090b12;
  --mpmp-dark-2:      #0f1220;
  --mpmp-dark-3:      #161b2e;
  --mpmp-dark-4:      #1e2540;
  --mpmp-orange:      #FF6B1A;
  --mpmp-orange-dim:  rgba(255, 107, 26, 0.10);
  --mpmp-orange-glow: rgba(255, 107, 26, 0.30);
  --mpmp-orange-bdr:  rgba(255, 107, 26, 0.22);
  --mpmp-white:       #ffffff;
  --mpmp-gray:        #a0a8c0;
  --mpmp-border:      rgba(255, 255, 255, 0.06);
  --mpmp-font-d:      'Syne', sans-serif;
  --mpmp-font-b:      'Space Grotesk', sans-serif;
}

/* ============================================================
   01. SEÇÃO PRINCIPAL
   ============================================================ */
.mpmp-section {
  background: var(--mpmp-dark);
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 40px) 0 clamp(70px, 9vw, 120px);  /* ← reduziu só o topo */
}

/* Grade técnica */
.mpmp-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,107,26,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,26,0.025) 1px, transparent 1px);
  background-size: 55px 55px;
  pointer-events: none;
}

/* Glow radial central */
.mpmp-section::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(255,107,26,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.mpmp-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  position: relative;
  z-index: 1;
}

/* ============================================================
   02. CABEÇALHO
   ============================================================ */
.mpmp-head {
  text-align: center;
  margin-bottom: clamp(50px, 6vw, 80px);
}

.mpmp-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mpmp-font-b);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mpmp-orange);
  background: var(--mpmp-orange-dim);
  border: 1px solid var(--mpmp-orange-bdr);
  border-radius: 30px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.mpmp-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--mpmp-orange);
  border-radius: 50%;
  animation: mpmp-blink 2s ease-in-out infinite;
}

@keyframes mpmp-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.mpmp-title {
  font-family: var(--mpmp-font-d);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 700;
  color: var(--mpmp-white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}

.mpmp-title em {
  color: var(--mpmp-orange);
  font-style: normal;
}

.mpmp-subtitle {
  font-family: var(--mpmp-font-b);
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--mpmp-gray);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   03. FILTROS / PILLS
   ============================================================ */
.mpmp-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.mpmp-filter {
  font-family: var(--mpmp-font-b);
  font-size: 12px;
  font-weight: 600;
  color: var(--mpmp-gray);
  background: var(--mpmp-dark-2);
  border: 1px solid var(--mpmp-border);
  border-radius: 30px;
  padding: 7px 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
  letter-spacing: 0.02em;
}

.mpmp-filter:hover {
  border-color: var(--mpmp-orange-bdr);
  color: var(--mpmp-white);
}

.mpmp-filter.active {
  background: var(--mpmp-orange);
  border-color: var(--mpmp-orange);
  color: var(--mpmp-dark);
}

/* ============================================================
   04. GRID DE MARCAS
   ============================================================ */
.mpmp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.5vw, 20px);
  margin-bottom: clamp(60px, 8vw, 100px);
}

/* ── CARD DE MARCA ── */
.mpmp-card {
  background: var(--mpmp-dark-2);
  border: 1px solid var(--mpmp-border);
  border-radius: 20px;
  padding: clamp(24px, 2.5vw, 34px) clamp(20px, 2vw, 28px);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Reflexo de brilho hover */
.mpmp-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle at center, rgba(255,107,26,0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease, top 0.4s ease, left 0.4s ease;
  pointer-events: none;
}

.mpmp-card:hover::before {
  opacity: 1;
  top: -50%;
  left: -50%;
}

/* Linha laranja no topo ao hover */
.mpmp-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mpmp-orange), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.mpmp-card:hover::after,
.mpmp-card.active::after { opacity: 1; }

.mpmp-card:hover {
  border-color: var(--mpmp-orange-bdr);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 24px rgba(255,107,26,0.06);
}

.mpmp-card.active {
  border-color: var(--mpmp-orange-bdr);
  box-shadow: 0 0 0 1px var(--mpmp-orange-bdr), 0 20px 50px rgba(0,0,0,0.35);
  transform: translateY(-4px);
}

/* Número decorativo de fundo */
.mpmp-card-num {
  position: absolute;
  bottom: -10px;
  right: 10px;
  font-family: var(--mpmp-font-d);
  font-size: 90px;
  font-weight: 800;
  color: rgba(255,255,255,0.02);
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.05em;
  transition: color 0.3s;
}

.mpmp-card:hover .mpmp-card-num,
.mpmp-card.active .mpmp-card-num {
  color: rgba(255,107,26,0.04);
}

/* Ícone de status (parceiro) */
.mpmp-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--mpmp-font-b);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mpmp-orange);
  background: var(--mpmp-orange-dim);
  border: 1px solid var(--mpmp-orange-bdr);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 18px;
  align-self: flex-start;
}

.mpmp-card-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--mpmp-orange);
  border-radius: 50%;
}

/* Nome da marca */
.mpmp-brand-name {
  font-family: var(--mpmp-font-b);  /* ← trocar para Space Grotesk */
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;  /* ← era 800 */
  color: var(--mpmp-white);
  letter-spacing: -0.01em;  /* ← era -0.03em */
  margin-bottom: 6px;
  line-height: 1;
  position: relative;
  z-index: 1;
}

/* País de origem */
.mpmp-brand-origin {
  font-family: var(--mpmp-font-b);
  font-size: 11px;
  color: rgba(160,168,192,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

/* Especialidade — pill colorido */
.mpmp-specialty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mpmp-font-b);
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 16px;
  align-self: flex-start;
  position: relative;
  z-index: 1;
}

.mpmp-specialty--volume {
  background: rgba(59, 130, 246, 0.10);
  border: 1px solid rgba(59, 130, 246, 0.20);
  color: #60a5fa;
}

.mpmp-specialty--security {
  background: rgba(168, 85, 247, 0.10);
  border: 1px solid rgba(168, 85, 247, 0.20);
  color: #c084fc;
}

.mpmp-specialty--economy {
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.20);
  color: #4ade80;
}

.mpmp-specialty--quality {
  background: rgba(251, 146, 60, 0.10);
  border: 1px solid rgba(251, 146, 60, 0.20);
  color: #fb923c;
}

.mpmp-specialty--versatility {
  background: rgba(20, 184, 166, 0.10);
  border: 1px solid rgba(20, 184, 166, 0.20);
  color: #2dd4bf;
}

.mpmp-specialty--image {
  background: rgba(244, 63, 94, 0.10);
  border: 1px solid rgba(244, 63, 94, 0.20);
  color: #fb7185;
}

/* Descrição curta */
.mpmp-card-desc {
  font-family: var(--mpmp-font-b);
  font-size: clamp(12.5px, 0.95vw, 13.5px);
  color: var(--mpmp-gray);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* Ideal para */
.mpmp-ideal {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--mpmp-border);
  padding-top: 16px;
  margin-top: auto;
}

.mpmp-ideal-label {
  font-family: var(--mpmp-font-b);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(160,168,192,0.45);
  margin-bottom: 2px;
}

.mpmp-ideal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.mpmp-ideal-tag {
  font-family: var(--mpmp-font-b);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--mpmp-gray);
  background: var(--mpmp-dark-3);
  border: 1px solid var(--mpmp-border);
  border-radius: 6px;
  padding: 3px 9px;
  transition: border-color 0.2s, color 0.2s;
}

.mpmp-card:hover .mpmp-ideal-tag,
.mpmp-card.active .mpmp-ideal-tag {
  border-color: rgba(255,107,26,0.15);
  color: var(--mpmp-white);
}

/* ============================================================
   05. PAINEL DE DETALHE (ao clicar na marca)
   ============================================================ */
.mpmp-detail {
  background: var(--mpmp-dark-2);
  border: 1px solid var(--mpmp-orange-bdr);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: clamp(60px, 8vw, 100px);
  display: none;
  position: relative;
}

.mpmp-detail.visible { display: block; }

.mpmp-detail::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mpmp-orange), transparent);
}

.mpmp-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.mpmp-detail-left {
  padding: clamp(32px, 4vw, 54px);
  border-right: 1px solid var(--mpmp-border);
}

.mpmp-detail-brand {
  font-family: var(--mpmp-font-b);  /* ← trocar para Space Grotesk */
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;  /* ← era 800 */
  color: var(--mpmp-white);
  letter-spacing: -0.02em;  /* ← era -0.04em */
  line-height: 1;
  margin-bottom: 8px;
}

.mpmp-detail-brand em {
  color: var(--mpmp-orange);
  font-style: normal;
}

.mpmp-detail-tagline {
  font-family: var(--mpmp-font-b);
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--mpmp-gray);
  line-height: 1.7;
  margin-bottom: 28px;
}

.mpmp-detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.mpmp-spec-item {
  background: var(--mpmp-dark-3);
  border: 1px solid var(--mpmp-border);
  border-radius: 12px;
  padding: 14px 16px;
}

.mpmp-spec-label {
  font-family: var(--mpmp-font-b);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(160,168,192,0.5);
  margin-bottom: 4px;
}

.mpmp-spec-value {
  font-family: var(--mpmp-font-b);  /* ← trocar para Space Grotesk */
  font-size: 14px;
  font-weight: 700;
  color: var(--mpmp-white);
  letter-spacing: -0.01em;  /* ← era -0.01em, ok */
}

.mpmp-detail-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mpmp-font-b);
  font-size: 14px;
  font-weight: 600;
  color: var(--mpmp-dark);
  background: var(--mpmp-orange);
  border: 2px solid var(--mpmp-orange);
  border-radius: 8px;
  padding: 12px 24px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.mpmp-detail-cta:hover {
  background: transparent;
  color: var(--mpmp-orange);
  text-decoration: none;
}

.mpmp-detail-right {
  padding: clamp(32px, 4vw, 54px);
}

.mpmp-detail-right-title {
  font-family: var(--mpmp-font-d);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(160,168,192,0.5);
  margin-bottom: 20px;
}

.mpmp-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mpmp-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--mpmp-dark-3);
  border: 1px solid var(--mpmp-border);
  border-radius: 12px;
  transition: border-color 0.25s;
}

.mpmp-feature:hover { border-color: var(--mpmp-orange-bdr); }

.mpmp-feature-icon {
  width: 34px;
  height: 34px;
  background: var(--mpmp-orange-dim);
  border: 1px solid var(--mpmp-orange-bdr);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mpmp-feature-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--mpmp-orange);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mpmp-feature-text {
  flex: 1;
}

.mpmp-feature-title {
  font-family: var(--mpmp-font-b);
  font-size: 13px;
  font-weight: 600;
  color: var(--mpmp-white);
  margin-bottom: 2px;
}

.mpmp-feature-desc {
  font-family: var(--mpmp-font-b);
  font-size: 12px;
  color: var(--mpmp-gray);
  line-height: 1.5;
}

/* Botão fechar painel */
.mpmp-detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: var(--mpmp-dark-3);
  border: 1px solid var(--mpmp-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
}

.mpmp-detail-close:hover {
  background: var(--mpmp-dark-4);
  border-color: var(--mpmp-orange-bdr);
}

.mpmp-detail-close svg {
  width: 14px;
  height: 14px;
  stroke: var(--mpmp-gray);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* ============================================================
   06. BANNER INFERIOR
   ============================================================ */
.mpmp-banner {
  background: var(--mpmp-dark-3);
  border: 1px solid var(--mpmp-orange-bdr);
  border-radius: 20px;
  padding: clamp(36px, 4.5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.mpmp-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mpmp-orange), transparent);
}

.mpmp-banner::after {
  content: '';
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,107,26,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.mpmp-banner-text { position: relative; z-index: 1; }

.mpmp-banner-title {
  font-family: var(--mpmp-font-d);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  color: var(--mpmp-white);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.mpmp-banner-title em { color: var(--mpmp-orange); font-style: normal; }

.mpmp-banner-sub {
  font-family: var(--mpmp-font-b);
  font-size: 14px;
  color: var(--mpmp-gray);
  margin: 0;
}

.mpmp-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mpmp-font-b);
  font-size: 14px;
  font-weight: 600;
  color: var(--mpmp-dark);
  background: var(--mpmp-orange);
  border: 2px solid var(--mpmp-orange);
  border-radius: 8px;
  padding: 13px 28px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.mpmp-banner-btn:hover {
  background: transparent;
  color: var(--mpmp-orange);
  text-decoration: none;
}

/* ============================================================
   07. RESPONSIVIDADE
   ============================================================ */
@media (max-width: 1100px) {
  .mpmp-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .mpmp-grid { grid-template-columns: repeat(2, 1fr); }
  .mpmp-detail-inner { grid-template-columns: 1fr; }
  .mpmp-detail-left { border-right: none; border-bottom: 1px solid var(--mpmp-border); }
}

@media (max-width: 600px) {
  .mpmp-grid { grid-template-columns: 1fr 1fr; }
  .mpmp-banner { flex-direction: column; }
  .mpmp-banner-btn { width: 100%; justify-content: center; }
  .mpmp-detail-specs { grid-template-columns: 1fr 1fr; }
}

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

/* ============================================================
   08. ANIMAÇÕES
   ============================================================ */
.mpmp-card {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.mpmp-card.mpmp-revealed {
  opacity: 1;
  transform: translateY(0);
}

.mpmp-card.mpmp-revealed:hover {
  transform: translateY(-6px);
}

.mpmp-card.mpmp-revealed.active {
  transform: translateY(-4px);
}

.mpmp-detail {
  animation: mpmp-detail-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mpmp-detail-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
