/* @import da Instrument Serif removido junto com o depoimento serifado. */

.nx-skip {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 2000;
    padding: 10px 16px;
    background: #17141F;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
}

.nx-skip:focus {
    top: 12px;
}

body.nx-lp .inst-btn {
    cursor: pointer;
    touch-action: manipulation;
    min-height: 44px;
}

body.nx-lp .inst-btn:focus-visible,
body.nx-lp .inst-nav-links a:focus-visible {
    outline: 2px solid var(--nx-violet);
    outline-offset: 3px;
}

body.nx-lp .inst-mobile-panel {
    background: var(--nx-paper);
}

body.nx-lp .inst-mobile-panel a {
    color: var(--nx-ink);
    border-bottom-color: var(--nx-line);
}

.nx-proof {
    border-top: 1px solid var(--nx-line);
    border-bottom: 1px solid var(--nx-line);
}

.nx-proof-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 10px 32px;
    padding: 18px 0;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--nx-mute);
}

.nx-proof-row span + span {
    position: relative;
    padding-left: 28px;
}

.nx-proof-row span + span::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    width: 4px;
    height: 4px;
    margin-top: -2px;
    border-radius: 50%;
    background: var(--nx-violet);
    opacity: 0.45;
}

.nx-how-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nx-how-cta { margin-top: 40px; }

body.nx-lp {
    scroll-padding-top: 88px;
    --nx-paper: #F2F0F4;
    --nx-ink: #17141F;
    --nx-mute: #5C5668;
    --nx-line: rgba(23, 20, 31, 0.09);
    --nx-violet: #5B35D4;
    background: var(--nx-paper);
    color: var(--nx-ink);
}

body.nx-lp.nx-nav-cine .inst-nav,
body.nx-lp.nx-nav-cine #instNav {
    /* glass definido em lp-cinematic.css — não desligar blur aqui */
}

/* lp-cinematic.css manda no visual da barra (glass escuro). */
body.nx-lp .inst-nav {
    border-bottom-color: transparent;
}

body.nx-lp .inst-nav.is-scrolled {
    /* sombra/borda no #instNav via lp-cinematic.css */
}

/* Logo nunca mais inverte: a barra é escura o tempo todo. */

/* .inst-btn-ghost saiu daqui: com --nx-ink (quase preto) o botão
   "Falar no WhatsApp" ficava escuro sobre a seção escura de contato,
   praticamente invisível. Cada bloco define a sua cor agora. */
body.nx-lp .inst-logo,
body.nx-lp .inst-nav-links a {
    color: var(--nx-ink);
}

body.nx-lp .inst-nav-links a { color: var(--nx-mute); transition: color 0.2s ease; }
body.nx-lp .inst-nav-links a:hover { color: var(--nx-violet); }

body.nx-lp .inst-hamburger span { background: var(--nx-ink); }
body.nx-lp .nav-lang-slot .lp-lang-switch a { color: var(--nx-mute); transition: color 0.2s ease; }
body.nx-lp .nav-lang-slot .lp-lang-switch a:hover { color: var(--nx-violet); }
body.nx-lp .nav-lang-slot .lp-lang-switch a.active { color: var(--nx-violet); }

body.nx-lp .inst-btn {
    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease,
        filter 0.22s ease;
}

body.nx-lp .inst-btn-primary {
    background: var(--nx-violet);
    color: #fff;
    box-shadow: none;
    border-radius: 999px;
    padding-inline: 24px;
}

body.nx-lp .inst-nav-login {
    background: transparent;
    border-color: transparent;
    padding-inline: 10px;
}

body.nx-lp .inst-btn-ghost {
    border-color: rgba(23, 20, 31, 0.16);
    border-radius: 999px;
    color: var(--nx-ink);
}

body.nx-lp .inst-btn-primary:hover {
    filter: none;
    background: #4C2BB8;
    box-shadow: 0 8px 24px rgba(91, 53, 212, 0.28);
    transform: translateY(-1px);
}

body.nx-lp .inst-btn-ghost:hover {
    background: rgba(23, 20, 31, 0.06);
    border-color: var(--nx-ink);
    color: var(--nx-ink);
    transform: translateY(-1px);
}

body.nx-lp .inst-price-card .inst-btn-primary:hover {
    background: #4C2BB8;
    box-shadow: 0 8px 22px rgba(91, 53, 212, 0.24);
    transform: translateY(-1px);
}

body.nx-lp .inst-price-card .inst-btn-ghost:hover {
    background: rgba(23, 20, 31, 0.05);
    border-color: var(--nx-ink);
    transform: translateY(-1px);
}

body.nx-lp .inst-price-card.featured .inst-btn-primary:hover {
    background: #6D28D9;
    box-shadow: 0 8px 26px rgba(139, 92, 246, 0.35);
}

body.nx-lp .inst-price-card.featured .inst-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(244, 240, 248, 0.5);
    color: #fff;
}

.nx-hero {
    position: relative;
    min-height: 100svh;
    isolation: isolate;
    background: var(--nx-paper);
}

.nx-field {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}

.nx-hero-copy {
    position: relative;
    z-index: 2;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 108px 0 80px;
    pointer-events: none;
}

.nx-hero-copy::before {
    content: '';
    position: absolute;
    inset: 16% 10%;
    background: radial-gradient(ellipse at center, rgba(242, 240, 244, 0.88) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.nx-hero-copy > * { pointer-events: auto; position: relative; }

.nx-hero h1 {
    font-family: var(--inst-display);
    font-size: clamp(2.6rem, 7vw, 5.2rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 0.98;
    max-width: 14ch;
    margin: 0 auto 36px;
    color: var(--nx-ink);
}

.nx-hero h1 em {
    font-family: 'Instrument Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--nx-violet);
    letter-spacing: -0.03em;
}

.nx-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 14px;
}

.nx-diff {
    display: grid;
    grid-template-columns: 1fr 18px 1fr;
    border-top: 1px solid var(--nx-line);
    overflow: hidden;
}

.nx-diff-spine {
    width: 2px;
    justify-self: center;
    margin: 56px 0;
    background: linear-gradient(to bottom, transparent, var(--nx-violet) 16%, var(--nx-violet) 84%, transparent);
    position: relative;
}

.nx-diff-spine::after {
    content: '';
    position: sticky;
    top: 46%;
    display: block;
    width: 10px;
    height: 10px;
    margin-left: -4px;
    border-radius: 50%;
    background: var(--nx-violet);
    box-shadow: 0 0 0 6px var(--nx-paper);
}

.nx-diff-col {
    padding: 72px clamp(24px, 6vw, 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nx-diff-col--ga {
    background: #DCD9E1;
}

.nx-diff-col--dpx {
    background: #FBFBFD;
}

.nx-diff-col h2 {
    font-family: var(--inst-display);
    font-size: clamp(1.85rem, 3.4vw, 2.55rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.12;
    max-width: 13ch;
    margin: 12px 0 28px;
    color: var(--nx-ink);
}

.nx-diff-col--ga h2 {
    color: #3F3A48;
}

.nx-diff-col .nx-kicker {
    font-family: var(--inst-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--nx-violet);
}

.nx-diff-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 38ch;
}

.nx-diff-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 44px;
    padding: 12px 0;
    border-top: 1px solid rgba(23, 20, 31, 0.1);
    font-size: 15px;
    line-height: 1.4;
    color: var(--nx-mute);
}

.nx-diff-col--dpx .nx-diff-list li {
    color: var(--nx-ink);
}

.nx-diff-list li::before {
    content: '';
    flex: 0 0 auto;
}

.nx-diff-col--ga .nx-diff-list li::before {
    width: 18px;
    height: 1.5px;
    background: #7A7484;
}

.nx-diff-col--dpx .nx-diff-list li::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nx-violet);
    box-shadow: 0 0 0 4px rgba(91, 53, 212, 0.14);
}

.nx-cases {
    padding: 0;
    background: #07050C;
    color: #F4F0F8;
}

.nx-case {
    min-height: 72vh;
    display: grid;
    align-items: end;
    padding: 80px 0 64px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(139, 92, 246, 0.12);
}

.nx-case-mark {
    position: absolute;
    right: -4vw;
    top: 8%;
    font-family: var(--inst-display);
    font-size: clamp(6rem, 22vw, 16rem);
    font-weight: 700;
    letter-spacing: -0.07em;
    color: rgba(139, 92, 246, 0.08);
    line-height: 0.8;
    pointer-events: none;
    user-select: none;
}

.nx-case .nx-kicker {
    font-family: var(--inst-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #C4B5FD;
    margin-bottom: 12px;
}

.nx-case h2 {
    font-family: var(--inst-display);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
    max-width: 14ch;
    margin-bottom: 12px;
    color: #fff;
}

.nx-case p {
    max-width: 42ch;
    color: #B7ADC8;
    font-size: 1.08rem;
}

.nx-how {
    padding: 112px 0 120px;
    text-align: center;
}

.nx-how .nx-line {
    margin-left: auto;
    margin-right: auto;
}

.nx-how .nx-cta-row {
    justify-content: center;
}

.nx-how .nx-kicker {
    font-family: var(--inst-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--nx-violet);
    margin-bottom: 28px;
}

.nx-line {
    font-family: var(--inst-display);
    font-size: clamp(1.7rem, 4vw, 3rem);
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1.2;
    max-width: 22ch;
    margin: 0 0 14px;
    color: var(--nx-ink);
}

.nx-line span { color: var(--nx-violet); }

.nx-quote-block {
    padding: 96px 0 104px;
    text-align: center;
    border-top: 1px solid var(--nx-line);
    background: #EBE8F0;
}

.nx-quote-mark {
    display: block;
    width: 40px;
    height: 3px;
    margin: 0 auto 32px;
    background: var(--nx-violet);
    color: transparent;
    font-size: 0;
}

/* Era serifada itálica — uma terceira voz tipográfica, que não existe nem
   no filme nem no resto do site. Agora usa a display da marca em peso leve:
   mantém o ar de citação sem abrir mais uma fonte. */
.nx-quote {
    font-family: var(--inst-display);
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.022em;
    line-height: 1.24;
    max-width: 36rem;
    margin: 0 auto 28px;
    color: var(--nx-ink);
}

.nx-quote-author {
    font-family: var(--inst-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--nx-violet);
}

.nx-quote-author strong {
    display: block;
    font-weight: 600;
}

.nx-quote-author span {
    display: block;
    margin-top: 8px;
    font-family: var(--inst-sans);
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--nx-mute);
}

body.nx-lp .inst-section,
body.nx-lp .inst-section-muted {
    background: var(--nx-paper);
    color: var(--nx-ink);
}

body.nx-lp .inst-section-muted { background: #EAE8EE; }

body.nx-lp .inst-section-label { color: var(--nx-violet); }
body.nx-lp .inst-section-title { color: var(--nx-ink); }
body.nx-lp .inst-section-lead { color: var(--nx-mute); }

body.nx-lp .inst-footer {
    background: #17141F;
    color: #C9C2D4;
}

.nx-sec-head {
    text-align: center;
    margin: 0 auto 56px;
}

.nx-sec-head .inst-section-label {
    margin-bottom: 14px;
}

.nx-sec-head .inst-section-title {
    max-width: 16ch;
    margin: 0 auto 16px;
}

.nx-sec-head .inst-section-lead {
    max-width: 36ch;
    margin: 0 auto;
    color: var(--nx-mute);
}

body.nx-lp .inst-pricing-grid--5 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

body.nx-lp .inst-pricing-grid--5 > * {
    flex: 1 1 210px;
    max-width: 260px;
    grid-column: auto !important;
}

body.nx-lp .inst-price-card {
    background: #fff;
    border: 1px solid var(--nx-line);
    border-radius: 16px;
    color: var(--nx-ink);
    box-shadow: none;
}

body.nx-lp .inst-price-list {
    flex: 1;
}

body.nx-lp .inst-price-card .inst-btn {
    margin-top: auto;
}

body.nx-lp .inst-price-card .inst-btn-primary {
    color: #fff;
}

body.nx-lp .inst-price-name {
    color: var(--nx-violet);
}

body.nx-lp .inst-price-amount {
    color: var(--nx-ink);
}

body.nx-lp .inst-price-amount small,
body.nx-lp .inst-price-strike {
    color: var(--nx-mute);
}

body.nx-lp .inst-price-tagline,
body.nx-lp .inst-price-list li {
    color: #3F3A48;
}

body.nx-lp .inst-price-card .inst-btn {
    width: 100%;
}

body.nx-lp .inst-pricing-grid--5 > .featured {
    flex-basis: 240px;
    max-width: 280px;
    background: #17141F;
    border-color: #17141F;
    color: #F4F0F8;
    box-shadow: 0 24px 56px rgba(23, 20, 31, 0.22);
}

body.nx-lp .inst-price-card.featured .inst-price-name {
    color: #C4B5FD;
}

body.nx-lp .inst-price-card.featured .inst-price-amount {
    color: #fff;
}

body.nx-lp .inst-price-card.featured .inst-price-amount small,
body.nx-lp .inst-price-card.featured .inst-price-strike,
body.nx-lp .inst-price-card.featured .inst-price-tagline,
body.nx-lp .inst-price-card.featured .inst-price-list li {
    color: #B7ADC8;
}

body.nx-lp .inst-price-card.featured .inst-price-list li::before {
    color: #A78BFA;
}

body.nx-lp .inst-price-card.featured .inst-btn-primary {
    background: var(--nx-violet);
    color: #fff;
}

body.nx-lp .inst-price-card.featured .inst-btn-ghost {
    color: #F4F0F8;
    border-color: rgba(244, 240, 248, 0.28);
}

body.nx-lp .inst-price-card.featured .inst-price-badge {
    background: var(--nx-violet);
    color: #fff;
}

.nx-close {
    position: relative;
    overflow: hidden;
    background: #07050C;
    color: #F4F0F8;
    padding: 96px 0 72px;
}

.nx-close-mark {
    position: absolute;
    right: -8vw;
    bottom: -12%;
    top: auto;
    font-family: var(--inst-display);
    font-size: clamp(6rem, 22vw, 14rem);
    font-weight: 700;
    letter-spacing: -0.07em;
    line-height: 0.8;
    color: rgba(139, 92, 246, 0.07);
    pointer-events: none;
    user-select: none;
}

.nx-close .inst-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 34rem);
    gap: 40px 56px;
    align-items: start;
}

.nx-close-head {
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
}

.nx-close .nx-kicker,
.nx-close p.nx-kicker {
    font-family: var(--inst-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #C4B5FD;
    margin-bottom: 16px;
}

.nx-close-head h2 {
    font-family: var(--inst-display);
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.12;
    color: #fff;
    margin: 0 0 16px;
    max-width: 14em;
    overflow-wrap: normal;
    word-break: normal;
}

.nx-close-lead {
    color: #B7ADC8;
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 38em;
    margin: 0 0 28px;
}

.nx-close-wa {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 8px 18px 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(196, 181, 253, 0.28);
    color: #F4F0F8;
    text-decoration: none;
    white-space: nowrap;
}

.nx-close-wa:hover {
    border-color: #C4B5FD;
    color: #fff;
}

.nx-close-wa i {
    color: #25D366;
    font-size: 26px;
    flex-shrink: 0;
}

.nx-close-wa-txt {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.nx-close-wa-txt small {
    font-family: var(--inst-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #C4B5FD;
}

.nx-close-wa-txt strong {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.nx-close-sheet {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(196, 181, 253, 0.18);
    color: #F4F0F8;
    border-radius: 20px;
    padding: clamp(22px, 3vw, 36px);
    width: 100%;
    max-width: none;
    backdrop-filter: blur(16px);
}

.nx-close-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.nx-close-span { grid-column: 1 / -1; }

.nx-close-sheet .inst-field label {
    color: #C4B5FD;
}

.nx-close-sheet .inst-field input,
.nx-close-sheet .inst-field textarea {
    background: rgba(7, 5, 12, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #F4F0F8;
    min-height: 48px;
    border-radius: 12px;
}

.nx-close-sheet .inst-field input::placeholder,
.nx-close-sheet .inst-field textarea::placeholder {
    color: #8E8499;
}

.nx-close-sheet .inst-field textarea {
    min-height: 140px;
}

.nx-close-sheet .inst-field input:focus,
.nx-close-sheet .inst-field textarea:focus {
    outline: 2px solid var(--nx-violet);
    outline-offset: 2px;
    border-color: var(--nx-violet);
    box-shadow: none;
}

.nx-close-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.nx-close-actions .inst-btn {
    min-width: 11.5rem;
}

.nx-close-sheet .inst-btn-ghost {
    color: #F4F0F8;
    border-color: rgba(244, 240, 248, 0.22);
}

.nx-close-sheet .inst-btn-primary:hover {
    background: #6D28D9;
    box-shadow: 0 8px 26px rgba(139, 92, 246, 0.35);
    transform: translateY(-1px);
}

.nx-close-sheet .inst-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(244, 240, 248, 0.45);
    color: #fff;
    transform: translateY(-1px);
}

.nx-how-cta .inst-btn-primary:hover,
.nx-how-cta .inst-btn-ghost:hover {
    transform: translateY(-1px);
}

.nx-close-sheet .inst-consent {
    color: #B7ADC8;
    margin-top: 16px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
}

.nx-close-sheet .inst-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.nx-close-sheet .inst-flash.ok {
    background: #E7F6EE;
    color: #0F6B3E;
    border-color: #B7E4C7;
}

.nx-close-sheet .inst-flash.err {
    background: #FDECEC;
    color: #9B1C1C;
    border-color: #F5C2C2;
}

.nx-close-sheet .inst-flash.warn {
    background: #FFF6E0;
    color: #8A5800;
    border-color: #F3D89A;
}

.nx-foot {
    background: #07050C;
    color: #B7ADC8;
    padding: 8px 0 28px;
    border-top: 1px solid rgba(139, 92, 246, 0.14);
}

.nx-foot-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
    padding: 28px 0 32px;
}

.nx-foot-brand p {
    max-width: 34ch;
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.55;
    color: #9A90A8;
}

.nx-foot-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
    justify-content: flex-end;
    max-width: 38rem;
}

.nx-foot-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    color: #C9C2D4;
}

.nx-foot-nav a:hover { color: #C4B5FD; }

.nx-foot-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: #8E8499;
}

.nx-foot .kbl-dev-credit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.nx-foot .kbl-dev-credit__label,
.nx-foot .kbl-dev-credit__label {
    color: #8E8499;
}

.nx-foot .kbl-dev-credit__logo,
.nx-foot .kbl-dev-credit__logo {
    display: block;
    height: 22px;
    width: auto;
}

.nx-foot .brand-logo__full {
    display: block;
    height: 28px;
    width: auto;
}

.nx-foot .brand-logo__name,
.nx-foot .brand-logo__icon {
    filter: none;
}

@media (max-width: 860px) {
    .nx-diff { grid-template-columns: 1fr; }
    .nx-diff-spine { display: none; }
    .nx-diff-col { padding: 48px 24px; }
    .nx-diff-col--dpx { box-shadow: inset 0 3px 0 var(--nx-violet); }
    .nx-hero-copy { padding: 108px 0 56px; min-height: 92svh; }
    .nx-case-mark { font-size: 28vw; right: -8vw; }
    .nx-proof-row { justify-content: flex-start; }
    .nx-quote { max-width: none; }
    .nx-close { padding: 80px 0 64px; }
    .nx-close .inst-container { grid-template-columns: 1fr; }
    .nx-close-head h2 { max-width: none; }
    .nx-close-grid { grid-template-columns: 1fr; }
    .nx-close-wa { white-space: normal; }
    .nx-foot-main,
    .nx-foot-nav,
    .nx-foot-bar {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
}
