/* ============================================================
   Matrix Print — Página de Contato
   Arquivo: mp-contato.css
   Prefixo: mpcf-
   ============================================================ */

:root {
  --mpcf-bg:          #F4F4F4;
  --mpcf-white:       #ffffff;
  --mpcf-dark:        #090b12;
  --mpcf-dark-2:      #0f1220;
  --mpcf-dark-text:   #1a1f35;
  --mpcf-orange:      #FF6B1A;
  --mpcf-orange-dim:  rgba(255, 107, 26, 0.08);
  --mpcf-orange-bdr:  rgba(255, 107, 26, 0.22);
  --mpcf-green:       #25D366;
  --mpcf-green-dim:   rgba(37, 211, 102, 0.10);
  --mpcf-green-bdr:   rgba(37, 211, 102, 0.22);
  --mpcf-gray:        #6b7280;
  --mpcf-border:      rgba(0, 0, 0, 0.07);
  --mpcf-font:        'Space Grotesk', sans-serif;
}

/* ============================================================
   01. HERO
   ============================================================ */
.mpcf-hero {
  background: var(--mpcf-dark);
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 3vw, 40px) 0 0;
  text-align: center;
}

.mpcf-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,107,26,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,26,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.mpcf-hero::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 350px;
  background: radial-gradient(ellipse, rgba(255,107,26,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.mpcf-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px) clamp(50px, 6vw, 80px);
}

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

.mpcf-hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 7px rgba(74,222,128,0.9);
  animation: mpcf-pulse 2s ease-in-out infinite;
}

@keyframes mpcf-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.mpcf-hero-title {
  font-family: var(--mpcf-font);
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}

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

.mpcf-hero-sub {
  font-family: var(--mpcf-font);
  font-size: clamp(13px, 1.1vw, 16px);
  color: rgba(160,168,192,0.85);
  line-height: 1.7;
  margin: 0 0 32px;
}

.mpcf-hero-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mpcf-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mpcf-font);
  font-size: 12px;
  font-weight: 500;
  color: rgba(160,168,192,0.8);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 30px;
  padding: 6px 14px;
}

.mpcf-hero-chip svg {
  width: 13px; height: 13px;
  stroke: var(--mpcf-orange);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mpcf-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(74,222,128,0.8);
  animation: mpcf-pulse 2s ease-in-out infinite;
}

/* ============================================================
   02. CORPO
   ============================================================ */
.mpcf-body {
  background: var(--mpcf-bg);
  padding: clamp(50px, 7vw, 80px) 0 clamp(60px, 8vw, 100px);
}

.mpcf-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.mpcf-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(24px, 3vw, 40px);
  align-items: stretch;   /* ← era start */
  margin-bottom: clamp(40px, 5vw, 60px);
}

/* ============================================================
   03. FORMULÁRIO
   ============================================================ */
.mpcf-form-card {
  background: var(--mpcf-white);
  border: 1px solid var(--mpcf-border);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
  display: flex;           /* ← adicione */
  flex-direction: column;  /* ← adicione */
}

.mpcf-form-card.mpcf-in { opacity: 1; transform: translateY(0); }

.mpcf-form-title {
  font-family: var(--mpcf-font);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  color: var(--mpcf-dark-text);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

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

.mpcf-form-sub {
  font-family: var(--mpcf-font);
  font-size: 14px;
  color: var(--mpcf-gray);
  line-height: 1.6;
  margin: 0 0 28px;
}

.mpcf-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.mpcf-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.mpcf-form-row .mpcf-form-group { margin-bottom: 0; }

.mpcf-label {
  font-family: var(--mpcf-font);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mpcf-dark-text);
  letter-spacing: 0.2px;
}

.mpcf-label span { color: var(--mpcf-orange); }

.mpcf-input,
.mpcf-select,
.mpcf-textarea {
  font-family: var(--mpcf-font);
  font-size: 14px;
  color: var(--mpcf-dark-text);
  background: var(--mpcf-bg);
  border: 1.5px solid rgba(0,0,0,0.10);
  border-radius: 10px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
}

.mpcf-input::placeholder,
.mpcf-textarea::placeholder { color: rgba(107,114,128,0.5); }

.mpcf-input:focus,
.mpcf-select:focus,
.mpcf-textarea:focus {
  border-color: var(--mpcf-orange-bdr);
  box-shadow: 0 0 0 3px rgba(255,107,26,0.08);
  background: var(--mpcf-white);
}

.mpcf-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.mpcf-textarea {
  resize: vertical;
  min-height: 120px;
}

.mpcf-check-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: var(--mpcf-bg);
  border: 1px solid var(--mpcf-border);
  border-radius: 10px;
}

.mpcf-check-group input[type="checkbox"] {
  width: 17px; height: 17px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--mpcf-orange);
  cursor: pointer;
}

.mpcf-check-label {
  font-family: var(--mpcf-font);
  font-size: 12.5px;
  color: var(--mpcf-gray);
  line-height: 1.5;
  cursor: pointer;
}

.mpcf-check-label a {
  color: var(--mpcf-orange);
  text-decoration: none;
  font-weight: 500;
}

.mpcf-check-label a:hover { text-decoration: underline; }

.mpcf-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--mpcf-font);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--mpcf-orange);
  border: none;
  border-radius: 11px;
  padding: 15px 28px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: -0.01em;
}

.mpcf-submit-btn svg {
  width: 18px; height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mpcf-submit-btn:hover { opacity: 0.88; }
.mpcf-submit-btn:active { transform: scale(0.98); }
.mpcf-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Feedbacks */
.mpcf-feedback {
  display: none;
  align-items: center;
  gap: 10px;
  font-family: var(--mpcf-font);
  font-size: 13px;
  font-weight: 500;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 16px;
}

.mpcf-feedback.visible { display: flex; }

.mpcf-feedback svg { width: 18px; height: 18px; flex-shrink: 0; }

.mpcf-feedback--success {
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.22);
  color: #166534;
}

.mpcf-feedback--error {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.22);
  color: #991b1b;
}

/* ============================================================
   04. SIDEBAR
   ============================================================ */
.mpcf-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;  /* ← adicione */
}

.mpcf-channel {
  background: var(--mpcf-white);
  border: 1px solid var(--mpcf-border);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  transition: border-color 0.25s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.25s, box-shadow 0.25s;
}

.mpcf-channel.mpcf-in { opacity: 1; transform: translateY(0); }
.mpcf-channel.mpcf-in:hover {
  border-color: var(--mpcf-orange-bdr);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.mpcf-channel--static { cursor: default; }
.mpcf-channel--static:hover { transform: none !important; box-shadow: none !important; }

.mpcf-ch-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mpcf-channel--whatsapp .mpcf-ch-icon {
  background: var(--mpcf-green-dim);
  border: 1px solid var(--mpcf-green-bdr);
}
.mpcf-channel--phone .mpcf-ch-icon {
  background: var(--mpcf-orange-dim);
  border: 1px solid var(--mpcf-orange-bdr);
}
.mpcf-channel--address .mpcf-ch-icon {
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.20);
}
.mpcf-channel--hours .mpcf-ch-icon {
  background: rgba(251,146,60,0.08);
  border: 1px solid rgba(251,146,60,0.20);
}

.mpcf-ch-icon svg {
  width: 22px; height: 22px;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mpcf-channel--whatsapp .mpcf-ch-icon svg { fill: var(--mpcf-green); stroke: none; }
.mpcf-channel--phone   .mpcf-ch-icon svg { fill: none; stroke: var(--mpcf-orange); }
.mpcf-channel--address .mpcf-ch-icon svg { fill: none; stroke: #6366f1; }
.mpcf-channel--hours   .mpcf-ch-icon svg { fill: none; stroke: #fb923c; }

.mpcf-ch-body { flex: 1; min-width: 0; }

.mpcf-ch-label {
  font-family: var(--mpcf-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mpcf-gray);
  margin-bottom: 3px;
}

.mpcf-ch-value {
  font-family: var(--mpcf-font);
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 700;
  color: var(--mpcf-dark-text);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.mpcf-ch-desc {
  font-family: var(--mpcf-font);
  font-size: 12px;
  color: var(--mpcf-gray);
  line-height: 1.4;
}

.mpcf-ch-arrow {
  flex-shrink: 0;
}

.mpcf-ch-arrow svg {
  width: 16px; height: 16px;
  stroke: rgba(107,114,128,0.4);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Horário grid */
.mpcf-hours-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  margin-top: 6px;
}

.mpcf-hours-day {
  font-family: var(--mpcf-font);
  font-size: 12.5px;
  color: var(--mpcf-gray);
}

.mpcf-hours-time {
  font-family: var(--mpcf-font);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mpcf-dark-text);
  text-align: right;
}

.mpcf-hours-time--closed { color: #ef4444; }

/* Card redes sociais */
.mpcf-social-card {
  background: var(--mpcf-dark);
  border-radius: 14px;
  padding: 20px 22px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}

.mpcf-social-card.mpcf-in { opacity: 1; transform: translateY(0); }

/* ── CARD DIFERENCIAIS ── */
.mpcf-diff-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mpcf-diff-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mpcf-diff-icon {
  width: 32px; height: 32px;
  background: var(--mpcf-orange-dim);
  border: 1px solid var(--mpcf-orange-bdr);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.mpcf-diff-icon svg {
  width: 15px; height: 15px;
  stroke: var(--mpcf-orange);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mpcf-diff-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mpcf-diff-title {
  font-family: var(--mpcf-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--mpcf-dark-text);
  line-height: 1.3;
}

.mpcf-diff-desc {
  font-family: var(--mpcf-font);
  font-size: 12px;
  color: var(--mpcf-gray);
  line-height: 1.4;
}

.mpcf-social-title {
  font-family: var(--mpcf-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(160,168,192,0.5);
  margin-bottom: 14px;
}

.mpcf-social-links {
  display: flex;
  gap: 8px;
}

.mpcf-social-link {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--mpcf-font);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 9px;
  padding: 9px 10px;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s;
}

.mpcf-social-link:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.14);
  text-decoration: none !important;
}

.mpcf-social-link svg {
  width: 14px; height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.mpcf-social-link--wa svg { fill: var(--mpcf-green); stroke: none; }

/* ============================================================
   05. CTA STRIP
   ============================================================ */
.mpcf-cta-strip {
  background: var(--mpcf-dark);
  border-radius: 20px;
  padding: clamp(32px, 4vw, 50px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

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

.mpcf-cta-title {
  font-family: var(--mpcf-font);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

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

.mpcf-cta-sub {
  font-family: var(--mpcf-font);
  font-size: 14px;
  color: rgba(160,168,192,0.8);
  margin: 0;
  line-height: 1.6;
}

.mpcf-cta-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.mpcf-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mpcf-font);
  font-size: 14px;
  font-weight: 600;
  border-radius: 9px;
  padding: 13px 22px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: opacity 0.2s, background 0.3s, color 0.3s;
}

.mpcf-cta-btn:hover { opacity: 0.88; text-decoration: none !important; }

.mpcf-cta-btn--ghost {
  background: var(--mpcf-green);
  color: #fff;
}

.mpcf-cta-btn--primary {
  background: var(--mpcf-orange);
  color: #fff;
  border: 2px solid var(--mpcf-orange);
}

.mpcf-cta-btn--primary:hover {
  background: transparent;
  color: var(--mpcf-orange);
  opacity: 1;
}

.mpcf-cta-btn svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
}

.mpcf-cta-btn--ghost svg { fill: #fff; stroke: none; }
.mpcf-cta-btn--primary svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   06. RESPONSIVIDADE
   ============================================================ */
@media (max-width: 1000px) {
  .mpcf-layout { grid-template-columns: 1fr; }
  .mpcf-sidebar { order: -1; }
}

@media (max-width: 700px) {
  .mpcf-form-row { grid-template-columns: 1fr; }
  .mpcf-cta-strip { grid-template-columns: 1fr; }
  .mpcf-cta-actions { flex-direction: column; }
  .mpcf-cta-btn { justify-content: center; }
  .mpcf-social-links { flex-direction: column; }
}

/* ============================================================
   OVERRIDES — template da página (body position:fixed)
   ============================================================ */

/* O style.css do template tem body { position: fixed }
   que quebra o layout. Sobrescrevemos aqui. */
body {
  position: static !important;
  width: 100% !important;
}

html {
  overflow-x: hidden;
}

.mpcf-hero,
.mpcf-body {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.mpcf-hero-inner,
.mpcf-container,
.mpcf-layout,
.mpcf-form-card,
.mpcf-sidebar,
.mpcf-cta-strip {
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.mpcf-hero *,
.mpcf-body * {
  box-sizing: border-box;
}