/* =====================================================================
   InfraMap — landing page
   ===================================================================== */
body.landing{ font-size:15px; line-height:1.6; background:var(--surface); }
.lp-container{ width:100%; max-width:1180px; margin:0 auto; padding:0 24px; }

/* ---------- Cabeçalho ---------- */
.lp-header{ position:sticky; top:0; z-index:50; background:color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter:saturate(1.4) blur(10px); border-bottom:1px solid var(--border); }
.lp-header-inner{ display:flex; align-items:center; gap:24px; height:60px; }
.lp-nav{ display:flex; gap:22px; margin-left:12px; }
.lp-nav a{ color:var(--text-muted); text-decoration:none; font-size:14px; font-weight:500; }
.lp-nav a:hover{ color:var(--text); }
.lp-header-actions{ margin-left:auto; display:flex; align-items:center; gap:6px; }

/* ---------- Hero ---------- */
.lp-hero{ position:relative; padding:72px 0 88px; overflow:hidden; background:
  radial-gradient(900px 420px at 85% 10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
  linear-gradient(var(--surface), var(--bg)); }
.lp-hero::before{ content:""; position:absolute; inset:0; pointer-events:none; opacity:.55;
  background-image:linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size:44px 44px; mask-image:radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%); }
.lp-hero-grid{ position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:56px; align-items:center; }
.lp-eyebrow{ display:inline-flex; align-items:center; gap:8px; padding:4px 12px 4px 10px; border-radius:999px; background:var(--surface); border:1px solid var(--border); color:var(--text-muted); font-size:13px; font-weight:500; }
.lp-eyebrow .dot{ width:7px; height:7px; border-radius:50%; background:var(--success); box-shadow:0 0 0 3px var(--success-soft); }
.lp-hero h1{ margin:18px 0 16px; font-size:clamp(34px, 4.6vw, 54px); line-height:1.08; letter-spacing:-.03em; font-weight:700; text-wrap:balance; }
.lp-hero h1 span{ color:var(--accent); }
.lp-lead{ margin:0 0 28px; font-size:17.5px; color:var(--text-muted); max-width:34em; text-wrap:pretty; }
.lp-cta{ display:flex; flex-wrap:wrap; gap:10px; }
.lp-proof{ list-style:none; padding:0; margin:22px 0 0; display:flex; flex-wrap:wrap; gap:8px 22px; color:var(--text-muted); font-size:14px; }
.lp-proof li{ display:flex; align-items:center; gap:7px; }
.lp-proof svg{ width:16px; height:16px; color:var(--success); }

/* ---------- Miniatura do app ---------- */
.lp-mock{ perspective:1600px; }
.mock-window{ border-radius:12px; border:1px solid var(--border-strong); background:var(--surface); box-shadow:var(--shadow-lg); overflow:hidden; transform:rotateY(-6deg) rotateX(3deg); transform-origin:left center; font-size:11px; }
.mock-titlebar{ display:flex; align-items:center; gap:12px; height:30px; padding:0 12px; background:var(--surface-alt); border-bottom:1px solid var(--border); }
.mock-dots{ display:flex; gap:5px; }
.mock-dots i{ width:9px; height:9px; border-radius:50%; background:var(--border-strong); }
.mock-crumb{ color:var(--text-muted); font-family:var(--font-mono); font-size:10.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mock-body{ display:grid; grid-template-columns:168px 1fr 138px; height:330px; }
.mock-tree{ border-right:1px solid var(--border); padding:6px 0; background:var(--surface-alt); overflow:hidden; }
.mock-tree-head{ padding:2px 12px 6px; font-size:9.5px; font-weight:600; letter-spacing:.06em; color:var(--text-faint); }
.mock-row{ display:flex; align-items:center; gap:4px; height:21px; padding-left:8px; white-space:nowrap; color:var(--text); }
.mock-row.d1{ padding-left:20px; } .mock-row.d2{ padding-left:44px; }
.mock-row.sel{ background:var(--row-selected); box-shadow:inset 2px 0 0 var(--accent); }
.mock-row .chev{ width:10px; height:10px; position:relative; flex-shrink:0; }
.mock-row .chev::before{ content:""; position:absolute; left:2px; top:2px; width:4px; height:4px; border-right:1.3px solid var(--text-muted); border-bottom:1.3px solid var(--text-muted); transform:rotate(-45deg); }
.mock-row .chev.open::before{ transform:rotate(45deg); top:1px; }
.mfi{ display:inline-flex; width:14px; height:14px; flex-shrink:0; }
.mfi svg{ width:14px; height:14px; }
.mock-map{ position:relative; overflow:hidden; }
.mock-map-svg{ width:100%; height:100%; display:block; }
.m-ground{ fill:#dfe7d6; }
.m-road{ fill:none; stroke:#fff; stroke-width:9; stroke-linecap:round; }
.m-road.thin{ stroke-width:5; }
.m-block{ fill:#cfd8c5; }
.m-lot{ fill:rgba(13,148,136,.28); stroke:#0d9488; stroke-width:2; stroke-dasharray:5 3; }
.m-building .face-top{ fill:#a993ff; } .m-building .face-side{ fill:#5b3fd6; }
.m-pin{ fill:#1f9d55; }
:root[data-theme="dark"] .m-ground{ fill:#1d2a22; } :root[data-theme="dark"] .m-road{ stroke:#3a4a44; } :root[data-theme="dark"] .m-block{ fill:#26362d; }
@media (prefers-color-scheme: dark){ :root:not([data-theme]) .m-ground{ fill:#1d2a22; } :root:not([data-theme]) .m-road{ stroke:#3a4a44; } :root:not([data-theme]) .m-block{ fill:#26362d; } }
.mock-map-chip{ position:absolute; left:10px; bottom:10px; display:flex; align-items:center; gap:6px; padding:4px 9px; border-radius:6px; background:var(--surface); border:1px solid var(--border); box-shadow:var(--shadow); font-size:10px; color:var(--text-muted); }
.mock-props{ border-left:1px solid var(--border); padding:0 10px; background:var(--surface); }
.mock-tabs{ display:flex; gap:10px; height:30px; align-items:flex-end; border-bottom:1px solid var(--border); margin:0 -10px 10px; padding:0 10px; font-size:10px; color:var(--text-faint); }
.mock-tabs span{ padding-bottom:6px; }
.mock-tabs .on{ color:var(--accent); box-shadow:inset 0 -2px 0 var(--accent); font-weight:600; }
.mock-prop{ display:flex; flex-direction:column; margin-bottom:9px; }
.mock-prop small,.mock-report small{ color:var(--text-faint); font-size:9.5px; }
.mock-prop b,.mock-report b{ font-weight:500; font-size:11px; }
.mock-report{ margin-top:12px; padding:8px; border:1px solid var(--border); border-radius:7px; background:var(--surface-alt); display:flex; flex-direction:column; }
.mock-thumbs{ display:grid; grid-template-columns:repeat(3,1fr); gap:4px; margin-top:6px; }
.mock-thumbs i{ aspect-ratio:1; border-radius:4px; background:linear-gradient(135deg,#9fb6a0,#6c8b74); }
.mock-thumbs i:nth-child(2){ background:linear-gradient(135deg,#c9b38e,#8f7a57); }
.mock-thumbs i:nth-child(3){ background:linear-gradient(135deg,#9db3cf,#61789a); }

/* ---------- Seções ---------- */
.lp-section{ padding:88px 0; }
.lp-section-alt{ background:var(--bg); border-block:1px solid var(--border); }
.lp-section-head{ max-width:640px; margin-bottom:40px; }
.lp-section-head h2{ margin:0 0 10px; font-size:clamp(26px,3vw,34px); letter-spacing:-.02em; line-height:1.15; text-wrap:balance; }
.lp-section-head p{ margin:0; color:var(--text-muted); font-size:16.5px; text-wrap:pretty; }

.lp-features{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:18px; }
.lp-feature{ padding:22px; border:1px solid var(--border); border-radius:12px; background:var(--surface); transition:border-color .15s, box-shadow .15s, transform .15s; }
.lp-feature:hover{ border-color:var(--border-strong); box-shadow:var(--shadow); transform:translateY(-2px); }
.lp-feature-ico{ width:38px; height:38px; border-radius:9px; background:var(--accent-soft); color:var(--accent); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.lp-feature-ico svg{ width:20px; height:20px; }
.lp-feature h3{ margin:0 0 6px; font-size:16px; letter-spacing:-.01em; }
.lp-feature p{ margin:0; color:var(--text-muted); font-size:14px; }

.lp-steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; counter-reset:s; }
.lp-steps li{ position:relative; padding:24px; border-radius:12px; background:var(--surface); border:1px solid var(--border); }
.lp-step-n{ display:inline-flex; width:30px; height:30px; border-radius:50%; align-items:center; justify-content:center; background:var(--accent); color:var(--accent-contrast); font-weight:600; font-family:var(--font-mono); margin-bottom:14px; }
.lp-steps h3{ margin:0 0 6px; font-size:16px; }
.lp-steps p{ margin:0; color:var(--text-muted); font-size:14px; }

.lp-formats{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.lp-format{ position:relative; display:flex; align-items:center; gap:12px; padding:14px 16px; border:1px solid var(--border); border-radius:10px; background:var(--surface); }
.lp-format-ico svg{ width:30px; height:30px; display:block; }
.lp-format b{ display:block; font-family:var(--font-mono); font-size:14px; font-weight:600; }
.lp-format small{ display:block; color:var(--text-muted); font-size:12.5px; line-height:1.35; }
.lp-format-tag{ position:absolute; top:8px; right:8px; font-size:10.5px; font-weight:600; padding:1px 7px; border-radius:999px; background:var(--success-soft); color:var(--success); }

.lp-final{ padding:72px 0; background:var(--accent); color:var(--accent-contrast); }
.lp-final-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.lp-final h2{ margin:0; font-size:clamp(22px,2.6vw,30px); letter-spacing:-.02em; }
.lp-final-btn{ background:var(--accent-contrast); color:var(--accent); border-color:transparent; font-weight:600; }
.lp-final-btn:hover{ background:var(--accent-contrast); opacity:.92; }

.lp-footer{ padding:26px 0; border-top:1px solid var(--border); color:var(--text-faint); font-size:13px; }
.lp-footer-inner{ display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }

/* ---------- Responsivo ---------- */
@media (max-width: 1020px){
  .lp-hero-grid{ grid-template-columns:1fr; gap:44px; }
  .mock-window{ transform:none; }
  .lp-features,.lp-formats{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px){
  .lp-container{ padding:0 16px; }
  .lp-nav{ display:none; }
  .lp-hero{ padding:44px 0 56px; }
  .lp-section{ padding:60px 0; }
  .lp-steps,.lp-features,.lp-formats{ grid-template-columns:1fr; }
  .mock-body{ grid-template-columns:132px 1fr; height:260px; }
  .mock-props{ display:none; }
  .lp-header-actions .btn-ghost{ display:none; }
}
