/* landing.css — Landing do Nestim (TEMA CLARO, 24/07/2026; P&B + âmbar de
   ação). O âmbar (#ffc107) é a ÚNICA cor de interface — e, como TEXTO sobre
   fundo branco, usa o tom fechado --accent-deep, porque o âmbar puro não tem
   contraste. As cores do heatmap e da sonda são DADO e não entram no chrome. */

:root {
    --bg: #ffffff;
    --bg-2: #f6f6f8;
    --surface: #ffffff;
    --surface-2: #f2f2f4;
    --border: rgba(17, 17, 20, 0.09);
    --border-strong: rgba(17, 17, 20, 0.18);
    --text: #17171a;
    --muted: #5d5d68;
    --muted-2: #8a8a94;
    --accent: #ffc107;
    --accent-ink: #161307;
    --accent-deep: #8f6b00; /* âmbar legível como TEXTO sobre branco */
    --sonda: #0288d1; /* cor de DADO (sonda) — tom fechado p/ fundo claro */
    --nav-h: 64px;
    --radius: 14px;
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: rgba(255, 193, 7, 0.35); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ── Navbar ─────────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--nav-h);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px;
}
.brand {
    font-weight: 800;
    letter-spacing: 0.22em;
    font-size: 1.02rem;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.brand em {
    font-style: normal;
    color: var(--accent);
}
.brand-mark { height: 30px; width: auto; display: block; }
.foot .brand-mark { height: 22px; }
/* Comunidade: destino externo à página — separado das âncoras de seção. */
.nav-links .nav-community {
    margin-left: 6px;
    border-left: 1px solid var(--border);
    border-radius: 0 8px 8px 0;
    color: var(--text);
}
.nav-links {
    display: flex;
    gap: 4px;
    margin-left: 8px;
}
.nav-links a {
    font-size: 0.83rem;
    color: var(--muted);
    padding: 7px 11px;
    border-radius: 8px;
    transition: color 0.18s ease, background 0.18s ease;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--text); background: rgba(17, 17, 20, 0.05); }
.nav-cta {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-cta .enter {
    font-size: 0.85rem;
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.18s ease;
    white-space: nowrap;
}
.nav-cta .enter:hover { color: var(--text); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease,
                background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}
.btn-accent {
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 24px -10px rgba(255, 193, 7, 0.45);
}
.btn-accent:hover {
    background: #ffcd38;
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 12px 30px -10px rgba(255, 193, 7, 0.55);
}
.btn-ghost {
    background: rgba(17, 17, 20, 0.03);
    border-color: var(--border-strong);
    color: var(--text);
}
.btn-ghost:hover {
    border-color: rgba(17, 17, 20, 0.34);
    background: rgba(17, 17, 20, 0.06);
    transform: translateY(-1px);
}
.btn-sm { padding: 8px 16px; font-size: 0.84rem; border-radius: 9px; }

/* Chip de estado "conta em análise" (nav e hero) + microcopy do teste grátis */
.chip-pending {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 193, 7, 0.4);
    background: rgba(255, 193, 7, 0.08);
    color: var(--accent-deep);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.chip-pending::before {
    content: '';
    flex: none;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: chip-pulse 1.6s ease-in-out infinite;
}
@keyframes chip-pulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}
.chip-pending-lg {
    white-space: normal;
    font-size: 0.88rem;
    padding: 10px 18px;
    line-height: 1.35;
}
.hero-free {
    margin: -16px 0 24px;
    font-size: 0.85rem;
    color: var(--muted);
}

.nav-burger {
    display: none;
    margin-left: auto;
    background: none;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    width: 40px;
    height: 36px;
    cursor: pointer;
    color: var(--text);
    align-items: center;
    justify-content: center;
}
.nav-burger svg { display: block; }

/* menu mobile */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 10px 20px 20px;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
    display: block;
    padding: 12px 8px;
    font-size: 0.98rem;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .btn {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 14px;
    border-bottom: none;
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100svh;
    min-height: 640px;
    max-height: 1080px; /* telas muito altas não inflam o palco */
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg);
}
.hero-map {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #eef0f2;
    pointer-events: none; /* o mapa é palco, não widget */
}
.hero-map .leaflet-container { background: #eef0f2; font-family: var(--font); }
.hero-map .leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.65) !important;
    color: var(--muted-2) !important;
    font-size: 9.5px;
    padding: 2px 6px;
}
.hero-map .leaflet-control-attribution a { color: var(--muted) !important; }

/* Ajuste fino dos tiles; o contraste do texto vem do scrim à esquerda. */
.hero-map .leaflet-tile-pane { filter: saturate(0.85) contrast(1.02); }

.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 26%, rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0) 72%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 22%),
        linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 24%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 110px;
}
.hero-copy { max-width: 700px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 22px;
}
.eyebrow::before {
    content: '';
    width: 26px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.hero h1 {
    font-size: clamp(2.15rem, 3.75vw, 3.2rem);
    line-height: 1.09;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
    max-width: 680px;
}
.hero h1 .dim { color: var(--muted); }

.hero-sub {
    font-size: 1.06rem;
    color: #3e3e46;
    max-width: 540px;
    margin-bottom: 34px;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.hero-trust {
    font-size: 0.8rem;
    color: var(--muted-2);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.hero-trust span::after {
    content: '·';
    margin-left: 8px;
    color: var(--muted-2);
}
.hero-trust span:last-child::after { content: ''; margin: 0; }

/* Legenda do heatmap (dado com carimbo) */
.heat-legend {
    position: absolute;
    z-index: 3;
    right: 28px;
    bottom: 30px;
    width: 262px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.74rem;
    color: var(--muted);
}
.heat-legend .hl-title {
    color: var(--text);
    font-weight: 600;
    font-size: 0.78rem;
    margin-bottom: 8px;
}
.heat-legend .hl-bar {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgb(43,108,214), rgb(0,191,210), rgb(58,179,82), rgb(247,210,45), rgb(214,40,40));
    margin-bottom: 5px;
}
.heat-legend .hl-scale { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.heat-legend .hl-stamp {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    font-size: 0.68rem;
    color: var(--muted-2);
}
.hl-modes { display: flex; gap: 6px; margin-top: 10px; }
.hl-modes button {
    flex: 1;
    font-family: var(--font);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 0;
    border-radius: 7px;
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.16s ease;
}
.hl-modes button:hover { color: var(--text); border-color: rgba(17,17,20,0.3); }
.hl-modes button.on {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}

/* Cartão da Sonda de Mercado (leitura REAL) */
.sonda-card {
    position: absolute;
    z-index: 5; /* acima do scrim e do texto do hero */
    pointer-events: none;
    min-width: 205px;
    background: rgba(255, 255, 255, 0.93);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(79, 195, 247, 0.35);
    border-radius: 12px;
    padding: 11px 14px 12px;
    box-shadow: 0 10px 34px -8px rgba(17, 17, 20, 0.18);
    transition: opacity 0.25s ease;
}
.sonda-card .sc-tag {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sonda);
    margin-bottom: 5px;
}
.sonda-card .sc-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--sonda);
    animation: sonda-pulse 1.8s ease-out infinite;
}
@keyframes sonda-pulse {
    0% { box-shadow: 0 0 0 0 rgba(79, 195, 247, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(79, 195, 247, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 195, 247, 0); }
}
.sonda-card .sc-name { font-weight: 700; font-size: 0.98rem; color: var(--text); }
.sonda-card .sc-val {
    font-size: 1.32rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
    margin-top: 2px;
}
.sonda-card .sc-val small { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.sonda-card .sc-sub { font-size: 0.72rem; color: var(--muted); margin-top: 1px; }
.sonda-card .sc-n { font-size: 0.74rem; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.sonda-card .sc-n strong { color: #33333b; font-weight: 600; }
.sonda-card.measuring .sc-val,
.sonda-card.measuring .sc-sub,
.sonda-card.measuring .sc-n { display: none; }
.sonda-card .sc-measuring { display: none; font-size: 0.78rem; color: var(--muted); padding: 4px 0 2px; }
.sonda-card.measuring .sc-measuring { display: block; }

.hero-scroll-hint {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    color: var(--muted-2);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}
.hero-scroll-hint::after {
    content: '';
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, var(--muted-2), transparent);
    animation: drop 2.2s ease-in-out infinite;
}
@keyframes drop {
    0%, 100% { transform: translateY(0); opacity: 0.9; }
    50% { transform: translateY(7px); opacity: 0.35; }
}

/* ── Seções ─────────────────────────────────────────────────────────── */
section { position: relative; }
.section { padding: 108px 0; }
.section.tight { padding: 88px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.14;
    margin-bottom: 16px;
}
.sec-head p { color: var(--muted); font-size: 1.01rem; }

/* Reveal on scroll */
[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
    transition-delay: var(--rd, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    .hero-scroll-hint::after, .sonda-card .sc-dot { animation: none; }
}

/* ── O que o Nestim faz (cards) ─────────────────────────────────────── */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.feat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 24px 24px;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.feat:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 18px 40px -18px rgba(17, 17, 20, 0.16);
}
.feat .f-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    margin-bottom: 18px;
    transition: color 0.22s ease, border-color 0.22s ease;
}
.feat:hover .f-icon { color: var(--accent-deep); border-color: rgba(255, 193, 7, 0.5); }
.feat h3 { font-size: 1.04rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.feat p { font-size: 0.87rem; color: var(--muted); line-height: 1.55; }
.feat p strong { color: #2e2e36; font-weight: 600; }

/* ── Diferenciais (faixa compacta de 3 bullets) ─────────────────────── */
.diff-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.db-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 22px;
    transition: border-color 0.22s ease;
}
.db-item:hover { border-color: var(--border-strong); }
.db-item .db-key {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 9px;
}
.db-item .db-key::before {
    content: '';
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.14);
}
.db-item p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }
.db-item p strong { color: #2e2e36; font-weight: 600; }

/* ── Números ────────────────────────────────────────────────────────── */
.nums {
    display: grid;
    /* 3×2: os totais exatos (7 dígitos + separador) precisam de largura. */
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    row-gap: 34px;
}
.num {
    padding: 26px 8px 6px;
    border-top: 2px solid rgba(255, 193, 7, 0.85);
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.08), transparent 55%);
}
.num .n-val {
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.num .n-val small { font-size: 0.55em; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.num .n-label { font-size: 0.82rem; color: var(--muted); margin-top: 9px; line-height: 1.4; }

/* ── Sobre nós ──────────────────────────────────────────────────────── */
.about {
    display: grid;
    grid-template-columns: 0.9fr 1.3fr;
    gap: 64px;
    align-items: start;
}
.about h2 {
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.14;
}
.about-body p { color: #3e3e46; font-size: 1.0rem; margin-bottom: 18px; }
.about-body p strong { color: var(--text); font-weight: 600; }
.about-marks {
    display: flex;
    gap: 34px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.about-marks div { font-size: 0.82rem; color: var(--muted); }
.about-marks strong { display: block; color: var(--text); font-size: 1.02rem; font-weight: 700; margin-bottom: 2px; }

/* ── Contato ────────────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: start;
}
.contact-copy h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin-bottom: 18px;
}
.contact-copy > p { color: var(--muted); font-size: 1.0rem; max-width: 430px; margin-bottom: 30px; }
.contact-alt { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.contact-note { font-size: 0.8rem; color: var(--muted-2); }

.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}
.field input, .field textarea {
    width: 100%;
    font-family: var(--font);
    font-size: 0.94rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: 12px 14px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.22);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-card .btn[disabled] { opacity: 0.6; cursor: default; transform: none; }

.form-feedback {
    display: none;
    margin-top: 14px;
    font-size: 0.88rem;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid;
}
.form-feedback.ok {
    display: block;
    color: #1a7a33;
    border-color: rgba(40, 160, 70, 0.4);
    background: rgba(40, 160, 70, 0.08);
}
.form-feedback.err {
    display: block;
    color: #b02a2a;
    border-color: rgba(214, 80, 80, 0.4);
    background: rgba(214, 80, 80, 0.08);
}

/* honeypot: invisível para humanos */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    opacity: 0;
    overflow: hidden;
}

/* botão WhatsApp: ação → âmbar não; ghost com ícone */
.btn-wa svg { flex: none; }

/* ── Footer ─────────────────────────────────────────────────────────── */
footer {
    border-top: 1px solid var(--border);
    padding: 44px 0 40px;
    background: var(--bg);
}
.foot {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.foot .brand { font-size: 0.95rem; }
.foot-tag { font-size: 0.8rem; color: var(--muted-2); margin-top: 8px; max-width: 320px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { font-size: 0.83rem; color: var(--muted); transition: color 0.18s ease; }
.foot-links a:hover { color: var(--text); }
.foot-legal {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.74rem;
    color: var(--muted-2);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Por dentro do sistema (prints reais) ───────────────────────────── */
.shots {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}
.shot { margin: 0; min-width: 0; }
.shot-wide { grid-column: 1 / -1; }
.shot-frame {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 70px -30px rgba(17, 17, 20, 0.16);
    transition: transform 0.35s cubic-bezier(0.2, 0.6, 0.2, 1),
                border-color 0.35s ease, box-shadow 0.35s ease;
}
.shot:hover .shot-frame {
    transform: translateY(-6px) scale(1.005);
    border-color: rgba(255, 193, 7, 0.35);
    box-shadow: 0 42px 90px -34px rgba(17, 17, 20, 0.2);
}
.shot-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}
.shot-bar span {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(17, 17, 20, 0.14);
}
.shot-url {
    margin: 0 auto;
    font-size: 0.7rem;
    color: var(--muted-2);
    background: rgba(17, 17, 20, 0.04);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 2px 14px;
    letter-spacing: 0.02em;
}
.shot-frame img { display: block; width: 100%; height: auto; }
.shot figcaption {
    margin-top: 14px;
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.5;
    padding: 0 4px;
}
.shot figcaption strong { color: var(--text); font-weight: 650; }

/* ── A cidade, lançamento a lançamento ──────────────────────────────── */
/* Full-bleed com canvas sticky sobre um MAPA ESCURO: o palco fica preso na
   viewport enquanto o wrapper (220vh) dá o percurso de scroll que acende os
   pontos. Pontos são DADO (branco-quente; pop âmbar só no flash de entrada). */
.launches {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.launches-stage { position: relative; height: 220vh; }
.launches-sticky {
    position: sticky;
    top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
    overflow: hidden;
}
/* Estático (reduced-motion / QA): sem percurso — um palco só, tudo aceso. */
.launches-stage.static { height: auto; }
.launches-stage.static .launches-sticky { position: relative; top: 0; height: 74vh; }
.launches-stage.static .launches-progress { display: none; }

/* Mapa escuro de fundo (CARTO dark, mesma técnica do hero) — cenário, não
   ferramenta. O fundo bg-2 evita o flash claro do Leaflet enquanto os tiles
   carregam. */
#launches-map {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--bg-2);
}
/* Scrim: muta o mapa (os pontos brancos saltam) e escurece topo/rodapé para
   o texto, o HUD e a barra de progresso respirarem. */
.launches-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.86) 0%,
        rgba(255, 255, 255, 0.34) 26%,
        rgba(255, 255, 255, 0.30) 58%,
        rgba(255, 255, 255, 0.74) 100%);
}
#launches-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.launches-copy {
    position: absolute;
    top: clamp(30px, 9vh, 92px);
    left: 0;
    right: 0;
    z-index: 3;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
    pointer-events: none;
}
.launches-copy h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 10px 0 12px;
}
.launches-copy p {
    color: var(--muted);
    max-width: 470px;
    font-size: 0.95rem;
}
/* Caixinhas: o que o Nestim registra de CADA empreendimento (informação
   objetiva sobre o dado por trás dos pontos). */
.launches-data-title {
    margin-top: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted-2);
}
.launches-data {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    max-width: 470px;
}
.launches-data span {
    font-size: 0.79rem;
    color: var(--text);
    padding: 5px 13px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    white-space: nowrap;
}
.launches-hud {
    position: absolute;
    right: 28px;
    bottom: 34px;
    z-index: 3;
    text-align: right;
    pointer-events: none;
}
.lh-year {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.lh-count {
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--muted);
}
/* Barra de progresso discreta: mostra o quanto falta para a animação acabar —
   sinaliza que HÁ conteúdo depois. Preenche 0→100% conforme o scroll do palco. */
.launches-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    z-index: 3;
    background: rgba(17, 17, 20, 0.1);
}
#launches-progress-bar {
    display: block;
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.55);
}
@media (prefers-reduced-motion: reduce) {
    /* Sem scrub de scroll não há progresso a mostrar. */
    .launches-progress { display: none; }
}

/* ── Acompanhamento contínuo ────────────────────────────────────────── */
.track-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 26px;
    align-items: stretch;
}
.track-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    /* Item de grid: sem isto herda min-width:auto e se recusa a encolher abaixo
       do próprio conteúdo, empurrando a página (scroll horizontal) em telas de
       ~320px. min-width:0 deixa o card caber na coluna sem alterar o layout. */
    min-width: 0;
    transition: border-color 0.22s ease;
}
.track-card:hover { border-color: var(--border-strong); }
.track-card h3 {
    font-size: 1.22rem;
    font-weight: 750;
    letter-spacing: -0.015em;
    line-height: 1.25;
    margin: 8px 0 12px;
}
.track-card > p { font-size: 0.92rem; color: var(--muted); }
.track-card > p strong { color: #2e2e36; font-weight: 600; }
.track-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 6px;
}
.t-chip {
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: 9px 14px;
    background: rgba(17, 17, 20, 0.03);
    display: flex;
    flex-direction: column;
    min-width: 96px;
}
.t-chip strong {
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}
.t-chip span { font-size: 0.72rem; color: var(--muted); }
.track-list {
    list-style: none;
    margin-top: 16px;
    display: grid;
    gap: 9px;
}
.track-list li {
    font-size: 0.86rem;
    color: var(--muted);
    padding-left: 22px;
    position: relative;
}
.track-list li::before {
    content: '';
    position: absolute;
    left: 2px; top: 8px;
    width: 8px; height: 8px;
    border-radius: 2px;
    background: rgba(255, 193, 7, 0.75);
}

/* Cartão do gráfico: série mensal REAL vinda do heat_data.json. */
.mem-chart-card {
    margin-top: 18px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 16px 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.mem-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.mem-chart-head span:first-child { font-size: 0.8rem; color: var(--muted); }
.mem-badge {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-deep);
    border: 1px solid rgba(255, 193, 7, 0.55);
    border-radius: 999px;
    padding: 2px 10px;
    white-space: nowrap;
}
#mem-chart { width: 100%; }
#mem-chart svg { display: block; width: 100%; height: auto; }
/* Seletor de indicador do gráfico (mesma linguagem dos modos do heatmap). */
.mem-modes { display: flex; gap: 6px; margin: 10px 0 2px; }
.mem-modes button {
    flex: 1;
    font-family: var(--font);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 0;
    border-radius: 7px;
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.16s ease;
}
.mem-modes button:hover { color: var(--text); border-color: rgba(17, 17, 20, 0.3); }
.mem-modes button.on {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
}
/* Legenda do comparativo: linha cheia = m²; tracejada azul = índice. */
.mem-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 8px 2px 0;
    font-size: 0.72rem;
    color: var(--muted);
}
.mem-legend span { display: inline-flex; align-items: center; gap: 6px; }
.mem-legend span::before {
    content: '';
    width: 16px;
    height: 0;
    border-top: 2px solid #17171a;
}
.mem-legend .ml-ref::before { border-top: 2px dashed var(--sonda); }

.mem-foot {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}
.mem-foot strong { color: var(--text); font-variant-numeric: tabular-nums; }

/* ── Responsivo ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    /* Tablets: o cartão da sonda ancora acima da legenda (o JS adiciona
       .docked e deixa de segui-lo) para não colidir com o texto do hero. */
    .sonda-card.docked { left: auto !important; top: auto !important; right: 28px; bottom: 205px; }
}

@media (max-width: 1020px) {
    /* Sem espaço para as âncoras na barra: entram no menu do burger. */
    .nav-links { display: none; }
    .nav-burger { display: inline-flex; margin-left: 0; }
    .nav-cta { margin-left: auto; }
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .nums { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
    .about, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .shots { grid-template-columns: 1fr; }
    .track-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .container { padding: 0 20px; }
    .nav-inner { padding: 0 20px; gap: 16px; }
    .nav-cta { display: none; }
    .nav-burger { margin-left: auto; }

    .section { padding: 76px 0; }
    .section.tight { padding: 64px 0; }
    .sec-head { margin-bottom: 38px; }

    /* Lançamentos: percurso mais curto no celular; HUD sai do caminho do
       polegar e alinha à esquerda, embaixo do palco letterboxed. */
    .launches-stage { height: 180vh; }
    .launches-copy { padding: 0 20px; }
    .launches-copy p { max-width: 100%; }
    .launches-data { max-width: 100%; }
    .launches-data span { font-size: 0.73rem; padding: 4px 10px; }
    .launches-hud { left: 20px; right: auto; text-align: left; bottom: 22px; }

    /* O hero cresce com o conteúdo (o palco não pode ceifar texto). */
    .hero { height: auto; min-height: 100svh; max-height: none; }
    .hero-inner { padding-top: calc(var(--nav-h) + 34px); padding-bottom: 150px; }
    .hero h1 { font-size: clamp(1.9rem, 5.4vw, 2.6rem); }
    .hero h1 br { display: none; }
    .hero-sub { font-size: 0.98rem; }
    .hero-ctas .btn { width: 100%; }
    .hero-scrim {
        background:
            linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.78) 34%, rgba(255,255,255,0.28) 60%, rgba(255,255,255,0.1) 78%),
            linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 30%);
    }
    .hero-inner { padding-bottom: 370px; }
    .heat-legend { right: 16px; left: auto; bottom: 18px; width: 224px; padding: 10px 12px; }
    .hero-scroll-hint { display: none; }
    /* No mobile o cartão da sonda é ancorado (o JS não o posiciona):
       fica acima da legenda, sem brigar com o texto. */
    .sonda-card { min-width: 178px; padding: 9px 12px 10px; }
    .sonda-card.docked { left: auto !important; top: auto !important; right: 16px; bottom: 196px; }
    .sonda-card .sc-val { font-size: 1.12rem; }

    .feat-grid { grid-template-columns: 1fr; }
    .nums { grid-template-columns: 1fr 1fr; }
    .num .n-val { font-size: clamp(1.45rem, 7vw, 2rem); }
    .track-card { padding: 24px 18px; }
    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 22px 18px; }
    .diff-band { grid-template-columns: 1fr; }
    .contact-alt .btn { width: 100%; }
}

/* ── Planos (#planos) — 4 cartões: grátis, mensal, semestral (hl), anual ── */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    align-items: stretch;
}
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 26px 20px 20px;
}
.plan-card.hl {
    border-color: rgba(255, 193, 7, 0.55);
    background: linear-gradient(180deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.03)), var(--bg-2);
}
.plan-badge {
    position: absolute;
    top: -12px;
    left: 22px;
    background: var(--accent);
    color: #151515;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 99px;
}
.plan-name {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}
.plan-card.hl .plan-name { color: var(--accent-deep); }
.plan-price {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}
.plan-price span { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.plan-per { color: var(--muted); font-size: 0.85rem; margin: 8px 0 18px; }
.plan-per strong { color: var(--text); font-weight: 700; }
.plan-list {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: grid;
    gap: 9px;
}
.plan-list li {
    font-size: 0.87rem;
    color: var(--muted);
    line-height: 1.5;
    padding-left: 21px;
    position: relative;
}
.plan-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-deep);
    font-weight: 700;
}
.plan-cta { margin-top: auto; }
.plan-cta .btn { width: 100%; }
.plan-study {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: var(--bg-2);
    border: 1px dashed var(--border-strong);
    border-radius: 14px;
    padding: 22px 24px;
}
.plan-study h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.plan-study p { font-size: 0.87rem; color: var(--muted); line-height: 1.55; max-width: 640px; margin: 0; }
.plan-study p strong { color: var(--text); }
.plan-study .btn { flex-shrink: 0; }
.plans-note { margin-top: 14px; color: var(--muted); font-size: 0.79rem; }
.plans-note strong { color: var(--text); }

@media (max-width: 1100px) {
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
    .plan-card.hl { order: -1; }
}
@media (max-width: 900px) {
    .plan-study { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .plans-grid { grid-template-columns: 1fr; }
}
