/* ============================================================
   Ligaport — Marketplace B2B institucional
   Tom corporativo (navy / slate). Sem estética “startup landing”.
   ============================================================ */
:root {
  --mp-ink: #0b1220;
  --mp-ink-soft: #1e293b;
  --mp-muted: #5b6577;
  --mp-line: #e2e8f0;
  --mp-line-strong: #cbd5e1;
  --mp-bg: #f4f6f8;
  --mp-card: #ffffff;
  --mp-brand: #0b3a5b;
  --mp-brand-mid: #12527a;
  --mp-brand-soft: #e8f1f7;
  --mp-accent: #0f766e;
  --mp-ok: #0f6b4c;
  --mp-warn: #9a3412;
  --mp-radius: 6px;
  --mp-shadow: 0 1px 2px rgba(11, 18, 32, 0.06), 0 8px 24px rgba(11, 18, 32, 0.06);
  --mp-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mp-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --mp-wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.mp-body {
  margin: 0;
  font-family: var(--mp-sans);
  color: var(--mp-ink);
  background: var(--mp-bg);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
h1, h2, h3 { margin: 0; font-family: var(--mp-serif); font-weight: 600; line-height: 1.18; letter-spacing: -0.015em; color: var(--mp-ink); }
.mp-wrap { max-width: var(--mp-wrap); margin: 0 auto; padding: 0 24px; }

/* Top bar legal */
.mp-topbar {
  background: var(--mp-ink);
  color: #cbd5e1;
  font-size: 12px;
  letter-spacing: 0.01em;
  padding: 8px 0;
}
.mp-topbar .mp-wrap {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  justify-content: space-between; align-items: center;
}
.mp-topbar a { color: #e2e8f0; text-decoration: underline; text-underline-offset: 2px; }
.mp-topbar a:hover { color: #fff; }

/* Header */
.mp-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--mp-line);
  backdrop-filter: blur(10px);
}
.mp-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px;
}
.mp-logo {
  display: flex; align-items: center; gap: 12px; min-width: 0;
}
.mp-logo-mark {
  width: 40px; height: 40px; border-radius: 4px;
  background: var(--mp-brand); color: #fff;
  display: grid; place-items: center;
  font-family: var(--mp-serif); font-weight: 700; font-size: 18px;
  flex: none;
}
.mp-logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.mp-logo-txt strong {
  font-family: var(--mp-serif); font-size: 20px; font-weight: 600; color: var(--mp-ink);
}
.mp-logo-txt small {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mp-muted);
}
.mp-nav { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; }
.mp-nav a.mp-link {
  font-size: 13.5px; font-weight: 500; color: var(--mp-ink-soft); padding: 6px 0;
}
.mp-nav a.mp-link:hover { color: var(--mp-brand); }
.mp-menu-btn {
  display: none; width: 42px; height: 42px; border: 1px solid var(--mp-line-strong);
  border-radius: 4px; background: #fff; align-items: center; justify-content: center; cursor: pointer;
}
.mp-menu-btn svg { width: 20px; height: 20px; }

.mp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; cursor: pointer; border-radius: 4px;
  font-weight: 600; font-size: 13.5px; padding: 11px 18px;
  transition: background .15s, border-color .15s, color .15s;
  text-align: center;
}
.mp-btn-primary { background: var(--mp-brand); color: #fff; border-color: var(--mp-brand); }
.mp-btn-primary:hover { background: var(--mp-brand-mid); border-color: var(--mp-brand-mid); }
.mp-btn-primary:disabled { opacity: .65; cursor: wait; }
.mp-btn-ghost { background: #fff; color: var(--mp-ink); border-color: var(--mp-line-strong); }
.mp-btn-ghost:hover { border-color: var(--mp-brand); color: var(--mp-brand); }
.mp-btn-lg { padding: 14px 22px; font-size: 14.5px; }

/* Hero */
.mp-hero { padding: 36px 0 28px; background: #fff; border-bottom: 1px solid var(--mp-line); }
.mp-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center;
}
.mp-kicker {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--mp-brand);
  margin-bottom: 14px;
}
.mp-hero h1 { font-size: clamp(28px, 3.8vw, 40px); margin-bottom: 14px; max-width: 18ch; }
.mp-hero-lead { margin: 0 0 22px; color: var(--mp-ink-soft); font-size: 16px; max-width: 54ch; }
.mp-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.mp-hero-meta {
  display: grid; gap: 6px; font-size: 13px; color: var(--mp-muted);
  border-top: 1px solid var(--mp-line); padding-top: 16px; max-width: 48ch;
}
.mp-hero-meta b { color: var(--mp-ink-soft); font-weight: 600; }

.mp-hero-visual {
  position: relative; border-radius: var(--mp-radius); overflow: hidden;
  border: 1px solid var(--mp-line); box-shadow: var(--mp-shadow); background: #0b1220;
  aspect-ratio: 4 / 3;
}
.mp-hero-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.mp-hero-visual .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px; background: linear-gradient(transparent, rgba(11, 18, 32, 0.88));
  color: #e2e8f0; font-size: 12.5px; line-height: 1.45;
}
.mp-hero-visual .cap strong { display: block; color: #fff; font-size: 13.5px; margin-bottom: 2px; }

/* Trust strip */
.mp-trust-strip {
  background: var(--mp-brand); color: #dbeafe; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mp-trust-strip .mp-wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 18px;
}
.mp-trust-item { font-size: 12.5px; line-height: 1.4; }
.mp-trust-item b { display: block; color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 2px; }

/* Sections */
.mp-section { padding: 52px 0; }
.mp-section.soft { background: #fff; border-top: 1px solid var(--mp-line); border-bottom: 1px solid var(--mp-line); }
.mp-section-head { margin-bottom: 28px; max-width: 62ch; }
.mp-section-head .eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--mp-brand); margin-bottom: 10px;
}
.mp-section-head h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 10px; }
.mp-section-head p { margin: 0; color: var(--mp-ink-soft); }

/* Process */
.mp-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step;
}
.mp-step {
  background: var(--mp-card); border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius); padding: 20px 18px; box-shadow: var(--mp-shadow);
}
.mp-step .n {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--mp-brand-soft); color: var(--mp-brand);
  font-size: 13px; font-weight: 700; display: grid; place-items: center; margin-bottom: 12px;
}
.mp-step h3 { font-family: var(--mp-sans); font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.mp-step p { margin: 0; font-size: 13.5px; color: var(--mp-muted); }

/* Benefits */
.mp-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mp-benefit {
  background: var(--mp-card); border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius); padding: 18px 16px;
}
.mp-benefit h4 { font-family: var(--mp-sans); font-size: 14.5px; font-weight: 600; margin: 0 0 6px; }
.mp-benefit p { margin: 0; font-size: 13px; color: var(--mp-muted); }

/* Setores (categorias com imagem) */
.mp-setores {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.mp-setor {
  background: var(--mp-card); border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius); overflow: hidden; box-shadow: var(--mp-shadow);
  display: flex; flex-direction: column;
}
.mp-setor .img-wrap {
  aspect-ratio: 16 / 11; background: #e2e8f0; overflow: hidden;
}
.mp-setor img { width: 100%; height: 100%; object-fit: cover; }
.mp-setor .body { padding: 14px 14px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mp-setor h3 { font-family: var(--mp-sans); font-size: 15px; font-weight: 600; }
.mp-setor p { margin: 0; font-size: 13px; color: var(--mp-muted); flex: 1; }
.mp-setor a {
  margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--mp-brand);
}
.mp-setor a:hover { text-decoration: underline; }

/* Fornecedores (só se existirem reais no admin) */
.mp-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mp-chip {
  border: 1px solid var(--mp-line-strong); background: #fff; color: var(--mp-ink-soft);
  border-radius: 4px; padding: 8px 12px; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.mp-chip.on, .mp-chip:hover { border-color: var(--mp-brand); color: var(--mp-brand); background: var(--mp-brand-soft); }
.mp-forn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.mp-forn {
  background: var(--mp-card); border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius); padding: 16px; display: flex; flex-direction: column; gap: 8px;
}
.mp-forn h3 { font-family: var(--mp-sans); font-size: 15px; font-weight: 600; }
.mp-forn .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-forn .tag {
  font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 3px;
  background: var(--mp-bg); color: var(--mp-ink-soft); border: 1px solid var(--mp-line);
}
.mp-forn .zona { font-size: 12px; color: var(--mp-muted); }
.mp-forn .resumo { font-size: 13.5px; color: var(--mp-ink-soft); margin: 0; flex: 1; }
.mp-forn .badge-ok {
  align-self: flex-start; font-size: 11px; font-weight: 700;
  color: var(--mp-ok); background: rgba(15, 107, 76, 0.1);
  padding: 4px 8px; border-radius: 3px;
}
.mp-vazio-card {
  background: var(--mp-card); border: 1px dashed var(--mp-line-strong);
  border-radius: var(--mp-radius); padding: 22px 18px; color: var(--mp-muted); font-size: 14px;
}
.mp-vazio-card a { color: var(--mp-brand); font-weight: 600; text-decoration: underline; }

/* Transparência */
.mp-transp {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: start;
}
.mp-transp-card {
  background: var(--mp-card); border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius); padding: 22px 20px; box-shadow: var(--mp-shadow);
}
.mp-transp-card h3 {
  font-family: var(--mp-sans); font-size: 15px; font-weight: 600;
  margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--mp-line);
}
.mp-dl { display: grid; gap: 10px; margin: 0; }
.mp-dl div { display: grid; grid-template-columns: 120px 1fr; gap: 8px; font-size: 13.5px; }
.mp-dl dt { color: var(--mp-muted); font-weight: 500; }
.mp-dl dd { margin: 0; color: var(--mp-ink); font-weight: 500; }
.mp-dl a { color: var(--mp-brand); text-decoration: underline; text-underline-offset: 2px; }
.mp-aviso {
  background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--mp-radius);
  padding: 14px 16px; font-size: 13.5px; color: #78350f; margin-top: 14px;
}
.mp-legal-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mp-legal-links a {
  font-size: 13px; font-weight: 600; color: var(--mp-brand);
  border: 1px solid var(--mp-line-strong); background: #fff;
  padding: 9px 12px; border-radius: 4px;
}
.mp-legal-links a:hover { border-color: var(--mp-brand); background: var(--mp-brand-soft); }

/* Form */
.mp-form-layout {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: start;
}
.mp-form-side h3 {
  font-family: var(--mp-sans); font-size: 16px; font-weight: 600; margin-bottom: 10px;
}
.mp-form-side p { margin: 0 0 12px; color: var(--mp-ink-soft); font-size: 14px; }
.mp-form-side ul { margin: 0; padding-left: 18px; color: var(--mp-muted); font-size: 13.5px; }
.mp-form-side li { margin-bottom: 6px; }
.mp-form-card {
  background: var(--mp-card); border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius); padding: 22px; box-shadow: var(--mp-shadow);
}
.mp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mp-field { display: flex; flex-direction: column; gap: 5px; }
.mp-field.full { grid-column: 1 / -1; }
.mp-field label { font-size: 12.5px; font-weight: 600; color: var(--mp-ink-soft); }
.mp-field input, .mp-field select, .mp-field textarea {
  width: 100%; border: 1px solid var(--mp-line-strong); border-radius: 4px;
  padding: 11px 12px; background: #fff; color: var(--mp-ink);
}
.mp-field input:focus, .mp-field select:focus, .mp-field textarea:focus {
  outline: none; border-color: var(--mp-brand); box-shadow: 0 0 0 3px rgba(11, 58, 91, 0.12);
}
.mp-field textarea { min-height: 120px; resize: vertical; }
.mp-check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mp-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--mp-ink-soft);
  background: var(--mp-bg); border: 1px solid var(--mp-line); border-radius: 4px; padding: 10px 11px;
  cursor: pointer;
}
.mp-check input { width: 15px; height: 15px; accent-color: var(--mp-brand); }
.mp-consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--mp-ink-soft); line-height: 1.45;
  background: var(--mp-bg); border: 1px solid var(--mp-line); border-radius: 4px; padding: 12px;
  margin-top: 4px;
}
.mp-consent input { margin-top: 3px; width: 15px; height: 15px; accent-color: var(--mp-brand); flex: none; }
.mp-consent a { color: var(--mp-brand); text-decoration: underline; font-weight: 600; }
.mp-form-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mp-form-msg { font-size: 13.5px; color: var(--mp-muted); margin: 0; }
.mp-form-msg.ok { color: var(--mp-ok); font-weight: 600; }
.mp-form-msg.erro { color: #b91c1c; font-weight: 600; }
.mp-nota { font-size: 12px; color: var(--mp-muted); margin: 12px 0 0; line-height: 1.5; }

/* Footer */
.mp-footer {
  background: var(--mp-ink); color: #94a3b8; padding: 36px 0 28px; font-size: 13px; line-height: 1.7;
}
.mp-footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 24px;
}
.mp-footer h4 {
  font-family: var(--mp-sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: #e2e8f0; margin: 0 0 12px;
}
.mp-footer p { margin: 0 0 8px; }
.mp-footer a { color: #cbd5e1; }
.mp-footer a:hover { color: #fff; text-decoration: underline; }
.mp-footer ul { list-style: none; margin: 0; padding: 0; }
.mp-footer li { margin-bottom: 8px; }
.mp-footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2); padding-top: 16px;
  display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between;
  font-size: 12px;
}

/* FAQ */
.mp-faq { display: grid; gap: 10px; max-width: 800px; }
.mp-faq-item {
  background: var(--mp-card); border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius); padding: 0; overflow: hidden;
}
.mp-faq-item summary {
  cursor: pointer; font-weight: 600; font-size: 14.5px; padding: 14px 16px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.mp-faq-item summary::-webkit-details-marker { display: none; }
.mp-faq-item summary::after {
  content: "+"; font-weight: 700; color: var(--mp-brand); font-size: 18px; flex: none;
}
.mp-faq-item[open] summary::after { content: "–"; }
.mp-faq-item p {
  margin: 0; padding: 0 16px 16px; font-size: 14px; color: var(--mp-ink-soft); line-height: 1.65;
}
.mp-faq-item a { color: var(--mp-brand); font-weight: 600; text-decoration: underline; }

.mp-list {
  margin: 0; padding-left: 18px; color: var(--mp-ink-soft); font-size: 14px; line-height: 1.75;
}
.mp-legal-note {
  margin: 14px 0 0; font-size: 13px; color: var(--mp-muted); line-height: 1.55;
}
.mp-legal-note strong { color: var(--mp-ink-soft); }

/* Mobile sticky CTA */
.mp-mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255,255,255,.96); border-top: 1px solid var(--mp-line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 8px; box-shadow: 0 -8px 24px rgba(11,18,32,.08);
  backdrop-filter: blur(10px);
}
.mp-mobile-cta .mp-btn { flex: 1; padding: 12px 10px; font-size: 13px; }

body.mp-body { padding-bottom: 0; }

/* Mobile nav */
.mp-nav-panel { display: contents; }
@media (max-width: 900px) {
  .mp-hero-grid, .mp-transp, .mp-form-layout { grid-template-columns: 1fr; }
  .mp-trust-strip .mp-wrap, .mp-steps, .mp-grid-4, .mp-setores { grid-template-columns: 1fr 1fr; }
  .mp-footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .mp-menu-btn { display: inline-flex; }
  .mp-nav-panel {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--mp-line);
    padding: 12px 24px 18px; flex-direction: column; align-items: stretch; gap: 4px;
    box-shadow: var(--mp-shadow);
  }
  .mp-nav-panel.open { display: flex; }
  .mp-nav { position: static; }
  .mp-header { position: sticky; }
  .mp-header-inner { position: relative; }
  .mp-nav-panel a.mp-link { padding: 12px 0; border-bottom: 1px solid var(--mp-line); }
  .mp-nav-panel .mp-btn { width: 100%; margin-top: 8px; }
}
@media (max-width: 560px) {
  .mp-trust-strip .mp-wrap, .mp-steps, .mp-grid-4, .mp-setores, .mp-form-grid, .mp-check-list { grid-template-columns: 1fr; }
  .mp-dl div { grid-template-columns: 1fr; gap: 2px; }
  .mp-hero { padding-top: 24px; }
  .mp-mobile-cta { display: flex; }
  body.mp-body { padding-bottom: 72px; }
  .mp-footer { padding-bottom: 20px; }
}
