/* ============================================================
   Matrix Print — Locação de Impressora para Advocacia
   Arquivo: mp-advocacia.css
   Prefixo: mpad-
   Conceito: "bloco de notas jurídico" — pauta de caderno legal
   (linhas horizontais + margem vertical), selos/carimbos de
   autenticação, numeração de artigos/cláusulas, tom acobreado
   (latão) que remete a placas de escritório e cartórios.
   ============================================================ */

:root {
  --mpad-dark:      #090b12;
  --mpad-orange:    #FF6B1A;
  --mpad-orange-dim: rgba(255, 107, 26, 0.10);
  --mpad-bg:        #F4F4F4;
  --mpad-gray:      #6b7280;
  --mpad-gold:      #A9803D;
  --mpad-gold-dim:  rgba(169, 128, 61, 0.14);
  --mpad-font:      'Space Grotesk', sans-serif;
  --mpad-mono:      'JetBrains Mono', monospace;
}

/* ── util: reveal on scroll ─────────────────────────────── */
.mpad-anim { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1); }
.mpad-anim.mpad-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .mpad-anim { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── headings/labels genéricos ── */
.mpad-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mpad-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--mpad-gold);
  margin-bottom: 16px;
}
.mpad-eyebrow::before { content: '§'; opacity: 0.7; }

.mpad-h2 {
  font-family: var(--mpad-font); font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.01em;
  color: var(--mpad-dark); margin: 0 0 14px;
}
.mpad-h2 em { font-style: normal; color: var(--mpad-orange); }
.mpad-p { font-family: var(--mpad-font); font-size: 15.5px; line-height: 1.7; color: var(--mpad-gray); }

.mpad-section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.mpad-section-head--center { max-width: 660px; margin-left: auto; margin-right: auto; text-align: center; }

/* ============================================================
   HERO — slider (Swiper) full-bleed, "bloco de notas" + selo
   ============================================================ */
.mpad-hero {
  background: var(--mpad-dark);
  position: relative;
  overflow: hidden;
}
.mpad-hero-slider { position: relative; z-index: 1; }
.mpad-hero-slide-inner {
  position: relative;
  min-height: clamp(560px, 66vw, 760px);
  display: flex; align-items: center;
  overflow: hidden;
  padding: 90px clamp(20px, 6vw, 90px) 76px;
}
/* gradiente escuro para legibilidade do texto sobre os banners — quase
   horizontal (95deg) de propósito: com pouca inclinação a foto fica
   visível até o rodapé da vitrine (mesmo ajuste das páginas de
   clínicas e engenharia). */
.mpad-hero-slide-inner::after {
  content: '';
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(95deg, rgba(9,11,18,0.93) 0%, rgba(9,11,18,0.74) 30%, rgba(9,11,18,0.32) 55%, rgba(9,11,18,0.04) 82%, rgba(9,11,18,0) 100%);
}

/* ── vitrine / carrossel de banners (compartilha o JS das páginas de
   clínicas e engenharia — ver comentário no HTML) ─────────── */
.mpcl-hero-slides { position: absolute; inset: 0; z-index: 0; }
.mpcl-hero-slide {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(.4,0,.2,1);
  background-size: cover;
  background-position: center;
}
.mpcl-hero-slide.is-active { opacity: 1; z-index: 1; }

.mpad-hero-photo-note {
  position: absolute; z-index: 1; top: 22px; right: clamp(20px,6vw,90px);
  font-family: var(--mpad-mono); font-size: 10px; letter-spacing: .4px;
  color: rgba(255,255,255,0.38); border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 3px; padding: 5px 9px; white-space: nowrap;
}

.mpad-hero-content { position: relative; z-index: 3; max-width: 620px; }

/* texto (eyebrow/título/sub) troca junto com o banner ativo — leve fade */
.mpcl-hero-text { transition: opacity .25s ease; }
.mpcl-hero-text.mpcl-fading { opacity: 0; }

.mpad-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mpad-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--mpad-gold);
  border: 1px solid rgba(169,128,61,0.45); border-radius: 4px;
  padding: 5px 10px; margin-bottom: 22px;
}
.mpad-hero-title {
  font-family: var(--mpad-font); font-weight: 700;
  font-size: clamp(32px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -0.02em;
  color: #fff; margin: 0 0 22px;
  /* reserva o espaço de exatamente 3 linhas — os 3 banners usam sempre
     3 linhas curtas (quebra forçada via <br>), então o título nunca
     muda de altura na troca de banner */
  min-height: 3.12em;
}
.mpad-hero-title em { font-style: normal; color: var(--mpad-orange); }
.mpad-hero-sub {
  font-family: var(--mpad-font); font-size: clamp(15px,1.1vw,17px); line-height: 1.7;
  color: rgba(255,255,255,0.6); max-width: 480px; margin: 0 0 32px;
  /* reserva o espaço de exatamente 2 linhas — mesmo motivo do título acima */
  min-height: 3.4em;
}
.mpad-hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 34px; }
.mpad-btn-orange {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--mpad-orange); color: #fff; font-family: var(--mpad-font);
  font-weight: 700; font-size: 14.5px; padding: 15px 26px; border-radius: 6px;
  text-decoration: none; box-shadow: 0 10px 30px rgba(255,107,26,0.28);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mpad-btn-orange:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255,107,26,0.4); color: #fff; }
.mpad-btn-orange svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; }
.mpad-hero-tel { font-family: var(--mpad-mono); font-size: 13.5px; color: rgba(255,255,255,0.65); text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,0.3); padding-bottom: 2px; }
.mpad-hero-tel:hover { color: #fff; }

/* ── navegação da vitrine: dots + seta de avançar ───────────
   Fica no FLUXO do conteúdo (não position:absolute pinado no
   canto): o widget flutuante do WhatsApp (#wrapper-whatsapp-matrix,
   fixed, z-index altíssimo) ocupa o canto inferior direito da tela
   e rouba o clique se a navegação ficar presa naquele canto. */
.mpcl-hero-nav {
  display: flex; align-items: center; gap: 16px;
  margin-top: 8px;
}
.mpcl-hero-dots { display: flex; align-items: center; gap: 8px; }
.mpcl-hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.25); border: none; padding: 0;
  cursor: pointer; transition: background .25s ease, transform .25s ease;
}
.mpcl-hero-dot:hover { background: rgba(255,255,255,0.5); }
.mpcl-hero-dot.is-active { background: var(--mpad-orange); transform: scale(1.4); }

.mpcl-hero-next {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.mpcl-hero-next svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }
.mpcl-hero-next:hover { background: var(--mpad-orange); border-color: var(--mpad-orange); transform: translateX(2px); }

@media (max-width: 640px) {
  .mpad-hero-slide-inner { min-height: 640px; padding: 96px 20px 88px; }
}

/* ============================================================
   SOBRE — prateleira de pastas de processo (sem acordeão,
   sem galeria — layout exclusivo desta página)
   ============================================================ */
.mpad-about { background: var(--mpad-bg); padding: clamp(64px, 8vw, 110px) 0; }
.mpad-about-inner { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px,4vw,60px); }

.mpad-docket-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 22px; margin-top: clamp(40px,5vw,64px); }
@media (max-width: 980px) { .mpad-docket-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mpad-docket-grid { grid-template-columns: 1fr; } }

.mpad-docket-card {
  position: relative;
  background: #FBF9F4;
  border: 1px solid rgba(169,128,61,0.28);
  border-radius: 2px;
  padding: 32px 22px 26px;
  box-shadow: 0 18px 40px -22px rgba(9,11,18,0.22);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mpad-docket-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -20px rgba(9,11,18,0.28); border-color: rgba(169,128,61,0.55); }

/* aba de pasta suspensa recortada, como uma pasta de processo de verdade */
.mpad-docket-tab {
  position: absolute; top: -15px; left: 22px;
  background: var(--mpad-gold);
  color: #fff;
  font-family: var(--mpad-mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: .4px;
  padding: 6px 16px 5px;
  clip-path: polygon(0 0, 100% 0, 89% 100%, 11% 100%);
}

.mpad-docket-icon {
  width: 42px; height: 42px; border-radius: 7px;
  background: var(--mpad-orange-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.mpad-docket-icon svg { width: 20px; height: 20px; stroke: var(--mpad-orange); fill: none; }
.mpad-docket-title { font-family: var(--mpad-font); font-weight: 700; font-size: 16px; color: var(--mpad-dark); margin: 0 0 10px; line-height: 1.3; }
.mpad-docket-desc { font-family: var(--mpad-font); font-size: 13.5px; line-height: 1.65; color: var(--mpad-gray); text-align: justify; }

/* ============================================================
   ESTATÍSTICAS — registro/ata (ledger), laranja
   ============================================================ */
.mpad-stats { background: var(--mpad-orange); padding: clamp(36px, 4.5vw, 56px) 0; }
.mpad-stats-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px,4vw,60px);
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px,3vw,48px); align-items: center;
}
@media (max-width: 860px) { .mpad-stats-inner { grid-template-columns: 1fr; } }

.mpad-stats-kicker {
  display: block; font-family: var(--mpad-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: rgba(9,11,18,0.55); margin-bottom: 6px;
}
.mpad-stats-heading {
  font-family: var(--mpad-font); font-weight: 800; font-size: clamp(18px,1.8vw,22px);
  line-height: 1.2; color: var(--mpad-dark); margin: 0;
  border-left: 3px solid rgba(9,11,18,0.5); padding-left: 14px;
}

.mpad-stats-ledger { border-top: 1px solid rgba(9,11,18,0.18); }
.mpad-stats-row {
  display: flex; align-items: baseline; gap: clamp(10px,1.6vw,22px);
  padding: 9px 0; border-bottom: 1px solid rgba(9,11,18,0.18);
}
.mpad-stats-idx { font-family: var(--mpad-mono); font-size: 11px; font-weight: 700; color: rgba(9,11,18,0.5); width: 34px; flex-shrink: 0; }
.mpad-stats-num { font-family: var(--mpad-mono); font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); color: var(--mpad-dark); width: 76px; flex-shrink: 0; }
.mpad-stats-label { font-family: var(--mpad-font); font-size: 12.5px; font-weight: 600; color: rgba(9,11,18,0.75); }
@media (max-width: 460px) {
  .mpad-stats-row { flex-wrap: wrap; }
  .mpad-stats-label { width: 100%; padding-left: 40px; }
}

/* ============================================================
   POR QUE ESCOLHER — "certidão de diferenciais": um único
   documento com lista em tabela (layout exclusivo desta página)
   ============================================================ */
.mpad-why { background: var(--mpad-dark); padding: clamp(64px, 8vw, 110px) 0; }
.mpad-why-inner { max-width: 1020px; margin: 0 auto; padding: 0 clamp(20px,4vw,60px); }
.mpad-why .mpad-eyebrow { color: var(--mpad-orange); }
.mpad-why .mpad-h2, .mpad-why .mpad-p { color: #fff; }
.mpad-why .mpad-p { color: rgba(255,255,255,0.5); }

/* o "documento" — uma folha certificada só, não cards soltos */
.mpad-cert {
  background: #FBF9F4;
  border: 1px solid rgba(169,128,61,0.3);
  border-top: 3px solid var(--mpad-gold);
  border-radius: 2px;
  margin-top: clamp(40px,5vw,60px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
  overflow: hidden;
}

.mpad-cert-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 20px clamp(24px,3vw,40px);
  border-bottom: 1px dashed rgba(169,128,61,0.4);
  font-family: var(--mpad-mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--mpad-gold);
}

.mpad-cert-list { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .mpad-cert-list { grid-template-columns: 1fr; } }

.mpad-cert-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: clamp(22px,2.6vw,30px) clamp(24px,3vw,40px);
  border-bottom: 1px solid rgba(9,11,18,0.08);
}
.mpad-cert-list > .mpad-cert-row:nth-child(odd) { border-right: 1px solid rgba(9,11,18,0.08); }
@media (max-width: 720px) { .mpad-cert-list > .mpad-cert-row:nth-child(odd) { border-right: none; } }
.mpad-cert-list > .mpad-cert-row:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 720px) { .mpad-cert-row:last-child { border-bottom: none; } }

.mpad-cert-icon {
  width: 38px; height: 38px; border-radius: 6px; flex-shrink: 0;
  background: var(--mpad-orange-dim);
  display: flex; align-items: center; justify-content: center;
}
.mpad-cert-icon svg { width: 18px; height: 18px; stroke: var(--mpad-orange); fill: none; stroke-width: 1.8; }

.mpad-cert-title { font-family: var(--mpad-font); font-weight: 700; font-size: 15px; color: var(--mpad-dark); margin: 0 0 6px; }
.mpad-cert-desc { font-family: var(--mpad-font); font-size: 13px; line-height: 1.6; color: var(--mpad-gray); }

.mpad-cert-foot {
  display: flex; align-items: center; gap: 16px;
  padding: 18px clamp(24px,3vw,40px);
  background: rgba(169,128,61,0.06);
  font-family: var(--mpad-font); font-size: 12.5px; color: #6b6357;
}
.mpad-cert-seal {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px dashed rgba(169,128,61,0.6);
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-10deg);
  font-family: var(--mpad-mono); font-size: 6px; font-weight: 700;
  letter-spacing: 0.3px; text-transform: uppercase; color: var(--mpad-gold);
  text-align: center; line-height: 1.2;
}

/* ============================================================
   SIMULADOR — moldura com margem dourada (bloco jurídico)
   ============================================================ */
.mpad-quiz-wrap { background: var(--mpad-bg); padding: clamp(64px, 8vw, 110px) 0; }
.mpad-pad {
  background: #fff; border-radius: 4px;
  box-shadow: 0 30px 60px -20px rgba(9,11,18,0.22);
  border-top: 3px solid var(--mpad-gold);
  position: relative;
}

/* Etapa 1 do simulador — só existe 1 cartão (perfil pré-identificado):
   maior e centralizado, em vez de ocupar 1/3 da grade como as outras etapas */
.mpal-quiz-options--confirm { display: flex; justify-content: center; }
.mpal-quiz-options--confirm .mpal-quiz-opt { width: 100%; max-width: 460px; padding: 40px 32px; }
.mpal-quiz-options--confirm .mpal-opt-icon { width: 60px; height: 60px; }
.mpal-quiz-options--confirm .mpal-opt-icon svg { width: 28px; height: 28px; }
.mpal-quiz-options--confirm .mpal-opt-label { font-size: 15px; }

/* ============================================================
   FAQ — texto justificado (mesma coluna única do site)
   ============================================================ */
.mpfa-answer p { text-align: justify; }
