/* ═══════════════════════════════════════════════════════════════════════
   Imobip — landing institucional (FASE 8).
   Estilos isolados do app shell (este CSS só é carregado pelo
   _layouts/marketing.html). Reutiliza tokens de global.css.
   ═══════════════════════════════════════════════════════════════════════ */

body.mkt {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Topbar ─────────────────────────────────────────────────────────── */
.mkt-topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 12px 24px;
  background: color-mix(in srgb, var(--color-surface) 95%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-soft);
}
.mkt-logo img { display:block; }
.mkt-nav { display:flex; gap: 24px; flex: 1; justify-content:center; }
.mkt-nav a {
  color: var(--color-text-muted); text-decoration:none; font-weight: 500;
  font-size: 14px; padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.mkt-nav a:hover { color: var(--color-brand); border-bottom-color: var(--color-brand); }
.mkt-cta { display:flex; gap: 8px; }
@media (max-width: 768px) {
  .mkt-nav { display:none; }
  .mkt-topbar { padding: 10px 16px; gap: 12px; }
}

/* ── Container ─────────────────────────────────────────────────────── */
.mkt-shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.mkt-hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.mkt-hero::before {
  content: ""; position:absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 30% 20%, color-mix(in srgb, var(--color-brand) 15%, transparent), transparent 70%),
    radial-gradient(50% 50% at 80% 80%, color-mix(in srgb, var(--color-warning) 10%, transparent), transparent 70%);
  pointer-events: none; z-index: 0;
}
.mkt-hero > * { position: relative; z-index: 1; }
.mkt-hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 56px; align-items: center;
}
@media (max-width: 900px) { .mkt-hero-grid { grid-template-columns: 1fr; } }

.mkt-eyebrow {
  display:inline-flex; align-items:center; gap: 8px;
  background: color-mix(in srgb, var(--color-brand) 10%, transparent);
  color: var(--color-brand);
  padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .3px;
  margin-bottom: 20px;
}
.mkt-h1 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: clamp(38px, 5.5vw, 60px); font-weight: 800;
  letter-spacing: -.025em; line-height: 1.05;
  margin-bottom: 20px;
}
.mkt-h1 em { font-style: normal; color: var(--color-brand); }
.mkt-lead { font-size: 18px; line-height: 1.55; color: var(--color-text-muted); margin-bottom: 28px; max-width: 60ch; }
.mkt-hero-cta { display:flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.mkt-trust {
  display:flex; gap: 14px; flex-wrap:wrap;
  font-size: 13px; color: var(--color-text-muted);
}
.mkt-trust span { display:inline-flex; gap: 6px; align-items:center; }
.mkt-trust i { color: var(--color-success); }

.mkt-hero-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(15,30,60,.30),
              0 10px 30px -10px rgba(15,30,60,.20);
}
.mkt-hero-visual::after {
  content:""; position:absolute; inset:0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(255,255,255,.10), transparent 70%);
  pointer-events: none;
}
.mkt-hero-img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ── Section base ─────────────────────────────────────────────────── */
.mkt-section { padding: 80px 0; }
.mkt-section.alt { background: var(--color-surface-2); }
.mkt-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px); font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 14px;
}
.mkt-section .mkt-intro { color: var(--color-text-muted); font-size: 17px; max-width: 60ch; margin-bottom: 40px; }
.mkt-section h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }

/* ── Steps (Como funciona) ──────────────────────────────────────── */
.mkt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 800px) { .mkt-steps { grid-template-columns: 1fr; } }
.mkt-step { background: var(--color-surface); padding: 28px; border-radius: 12px; border: 1px solid var(--color-border); }
.mkt-step .num {
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 36px;
  color: var(--color-brand); line-height: 1; margin-bottom: 10px;
}
.mkt-step p { color: var(--color-text-muted); font-size: 14px; line-height: 1.55; }

/* ── Audiences (Para quem é) ───────────────────────────────────── */
.mkt-audiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .mkt-audiences { grid-template-columns: 1fr; } }
.mkt-audience {
  padding: 24px; border-radius: 12px; background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
}
.mkt-audience i { font-size: 32px; color: var(--color-brand); }

/* ── Features ──────────────────────────────────────────────────── */
.mkt-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 800px) { .mkt-features { grid-template-columns: 1fr; } }
.mkt-feature {
  padding: 24px; display:flex; gap: 16px;
}
.mkt-feature .ico {
  width: 44px; height: 44px; flex-shrink: 0;
  background: color-mix(in srgb, var(--color-brand) 12%, transparent);
  color: var(--color-brand);
  border-radius: 10px;
  display:flex; align-items:center; justify-content:center;
  font-size: 22px;
}
.mkt-feature p { color: var(--color-text-muted); font-size: 14px; line-height: 1.55; }

/* ── FAQ ───────────────────────────────────────────────────────── */
.mkt-faq details {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 10px;
  background: var(--color-surface);
  cursor: pointer;
}
.mkt-faq summary {
  font-weight: 600; font-size: 16px;
  list-style: none;
  display:flex; justify-content:space-between; align-items:center; gap: 16px;
}
.mkt-faq summary::after {
  content: "+"; font-size: 22px; color: var(--color-brand); font-weight: 300;
  transition: transform .2s;
}
.mkt-faq details[open] summary::after { transform: rotate(45deg); }
.mkt-faq details p { margin-top: 12px; color: var(--color-text-muted); font-size: 15px; line-height: 1.55; }

/* ── CTA final ─────────────────────────────────────────────────── */
.mkt-cta-final {
  background: linear-gradient(135deg, var(--color-brand), color-mix(in srgb, var(--color-brand) 60%, #000));
  color: #fff;
  text-align: center;
  padding: 72px 24px;
  border-radius: 24px;
  margin: 0 24px 80px;
  position: relative; overflow: hidden;
}
.mkt-cta-final::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(40% 40% at 50% 100%, rgba(255,255,255,.18), transparent 70%);
}
.mkt-cta-final h2 { color:#fff; font-size: clamp(28px, 3.5vw, 38px); margin-bottom: 14px; position: relative; }
.mkt-cta-final p { color: rgba(255,255,255,.85); margin-bottom: 28px; max-width: 56ch; margin-left:auto; margin-right:auto; position:relative; }
.mkt-cta-final .btn { position: relative; }

/* ── Footer ────────────────────────────────────────────────────── */
.mkt-footer { background: var(--color-surface-2); padding-top: 56px; margin-top: 80px; border-top: 1px solid var(--color-border); }
.mkt-footer-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}
@media (max-width: 800px) { .mkt-footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .mkt-footer-inner { grid-template-columns: 1fr; } }
.mkt-footer-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .8px; color: var(--color-text-muted); margin-bottom: 14px; }
.mkt-footer-col ul { list-style: none; padding: 0; margin: 0; }
.mkt-footer-col li { margin-bottom: 10px; font-size: 14px; }
.mkt-footer-col a { color: var(--color-text); text-decoration: none; }
.mkt-footer-col a:hover { color: var(--color-brand); }
.mkt-footer-tag { color: var(--color-text-muted); font-size: 14px; line-height: 1.55; max-width: 30ch; }
.mkt-footer-bottom {
  max-width: 1180px; margin: 40px auto 0; padding: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--color-border-soft);
  color: var(--color-text-muted);
}

/* ── Reduced motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
