/* V8: product identity and layouts defined in brief/V8-ORGANIZACAO-VISUAL.md. */
:root { --prod-a:var(--nx-lf-a); --prod-b:var(--nx-lf-b); --prod-text:var(--nx-lf-text); }
[data-product="lf"] { --prod-a:var(--nx-lf-a); --prod-b:var(--nx-lf-b); --prod-text:var(--nx-lf-text); }
[data-product="bd"] { --prod-a:var(--nx-bd-a); --prod-b:var(--nx-bd-b); --prod-text:var(--nx-bd-text); }
.nx-label { font:500 12px/1.6 var(--font-mono); letter-spacing:.14em; text-transform:uppercase; color:var(--prod-text); }
.nx-product-tag { display:inline-flex; width:fit-content; max-width:100%; padding:8px 14px; border:1px solid color-mix(in srgb,var(--prod-a) 40%,var(--nx-transparent)); border-radius:var(--radius-pill); background:color-mix(in srgb,var(--prod-a) 8%,var(--nx-transparent)); text-wrap:balance; }
.nx-lockup { display:inline-flex; align-items:center; flex-wrap:wrap; gap:8px; max-width:100%; line-height:1.3; vertical-align:middle; }
.nx-product-glyph { width:28px; height:28px; flex:none; color:var(--prod-a); }
.nx-lockup-brand { font-size:10px; font-weight:600; letter-spacing:.12em; color:var(--nx-text); }
.nx-lockup-divider { width:1px; height:16px; background:var(--prod-text); opacity:.5; }
.nx-lockup-name { font-size:15px; font-weight:600; letter-spacing:-.025em; color:var(--prod-text); }
.nx-nav .nx-lockup { flex-wrap:nowrap; gap:6px; }
.nx-nav .nx-lockup-brand,.nx-nav .nx-lockup-divider,.nx-menu .nx-lockup-brand,.nx-menu .nx-lockup-divider { display:none; }
.nx-nav .nx-product-glyph { width:19px; height:19px; }
.nx-nav .nx-lockup-name { color:var(--nx-muted); font-size:14px; font-weight:500; }
.nx-nav a:has([data-product="lf"])::after { background:var(--nx-lf-a); }
.nx-nav a:has([data-product="bd"])::after { background:var(--nx-bd-a); }
.nx-nav a[aria-current="page"]::after { transform:scaleX(1); }
.nx-nav a[aria-current="page"] .nx-lockup-name,.nx-nav a:hover .nx-lockup-name { color:var(--prod-text); }
body[data-product] .nx-cta:not(.nx-cta--ghost) { background:linear-gradient(115deg,var(--prod-a),var(--prod-b)); color:var(--nx-on-cta); }
.nx-window-bar .nx-lockup { flex:1; }
.nx-window-bar .nx-lockup-brand,.nx-window-bar .nx-lockup-divider { display:none; }
.nx-window-bar .nx-product-glyph { width:22px; height:22px; }
.nx-window-bar .nx-lockup-name { font-size:13px; }
.nx-window-badge,.nx-simulation { color:var(--prod-text); }
[data-scene="contact"] .nx-lockup { margin-bottom:28px; }
.nx-footer .nx-lockup-name { font-size:13px; }
@media(max-width:1100px) and (min-width:861px) { .nx-nav { gap:16px; } }

/* P2: product name and function, alongside an explicitly fictional result. */
.nx-hero-split { display:grid; grid-template-columns:minmax(0,1fr); gap:48px; align-items:center; }
.nx-hero-copy { min-width:0; }
.nx-hero-product { padding-top:calc(128px + env(safe-area-inset-top,0px)); padding-bottom:48px; }
.nx-product-name { font-size:clamp(52px,9vw,132px); font-weight:600; letter-spacing:-.045em; line-height:1.02; max-width:100%; color:var(--prod-text); background:linear-gradient(115deg,var(--prod-text),var(--prod-a),var(--prod-b)); background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:var(--nx-transparent); text-wrap:balance; }
.nx-hero-product .nx-product-name { font-size:clamp(48px,7vw,104px); margin-top:18px; }
.nx-hero-product .nx-display.nx-product-claim { font-size:clamp(28px,2.75vw,40px) !important; font-weight:400; letter-spacing:-.035em; line-height:1.14; margin:16px 0 0; max-width:26ch !important; text-wrap:balance; }
.nx-hero-product .nx-hero-copy .nx-body { font-size:17px; line-height:1.6; max-width:52ch; margin:18px 0 0; }
.nx-hero-product .nx-product-role { font-size:clamp(19px,1.65vw,24px); line-height:1.35; margin-top:14px; max-width:40ch; }
.nx-hero-product .nx-hero-copy > .nx-cta { margin-top:24px; }
.nx-hero-product .nx-micro { margin:12px 0 0; }
.nx-hero-preview { margin:0; padding-bottom:28px; }
.nx-hero-preview > p { margin-block:20px; font-size:15px; line-height:1.7; color:var(--nx-muted); }
.nx-hero-preview .nx-preview-title { font-size:24px; font-weight:500; letter-spacing:-.025em; line-height:1.25; margin-top:20px; }
.nx-hero-preview .nx-label { color:var(--prod-text); font-size:11px; }
.nx-hero-preview .nx-chat-bubble { max-width:95%; }
.nx-hero-preview .nx-micro { font-size:12px; }
.nx-hero-preview .nx-text-link { font-size:14px; }
@media(min-width:1024px) {
 .nx-hero-product .nx-hero-split { grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:clamp(32px,5vw,72px); text-align:left; }
 .nx-hero-product .nx-display.nx-product-claim { margin-inline:0; }
}
@media(max-width:767px) {
 .nx-product-name { font-size:44px; }
 .nx-hero-product { padding-top:calc(110px + env(safe-area-inset-top,0px)); }
 .nx-hero-product .nx-product-name { font-size:clamp(40px,11vw,44px); }
 .nx-hero-product .nx-display.nx-product-claim { font-size:28px !important; }
 .nx-hero-product .nx-product-tag { font-size:10px; letter-spacing:.1em; }
}

/* P4 / P16: mirrored product bands joined by their shared operation. */
.nx-product-band { background:radial-gradient(ellipse at 10% 40%,color-mix(in srgb,var(--prod-a) 10%,var(--nx-transparent)),var(--nx-transparent) 65%); border-block:1px solid color-mix(in srgb,var(--prod-a) 18%,var(--nx-transparent)); }
.nx-product-band[data-product="bd"] { background:radial-gradient(ellipse at 90% 40%,color-mix(in srgb,var(--prod-a) 10%,var(--nx-transparent)),var(--nx-transparent) 65%); }
.nx-product-band .nx-product-copy > .nx-lockup { margin-block:24px 18px; }
.nx-product-band .nx-product-name { font-size:clamp(52px,7vw,100px); }
.nx-product-band .nx-lead { font-size:clamp(20px,2.1vw,28px); max-width:30ch; line-height:1.3; }
.nx-product-band .nx-product-route { border-color:color-mix(in srgb,var(--prod-a) 50%,var(--nx-transparent)); }
.nx-product-band .nx-conclusion { color:var(--nx-text); font-size:clamp(28px,3vw,42px); }
.nx-product-band .nx-flow-number { color:var(--prod-text); font-family:var(--font-mono); }
.nx-product-band .nx-flow-track li::before { background:var(--prod-a); }
.nx-product-band .nx-text-link { text-decoration-color:var(--prod-a); }
.nx-product-shortcuts { display:flex; flex-wrap:wrap; gap:12px 28px; margin-top:28px; }
.nx-product-shortcuts a { min-height:44px; text-decoration:none; }
.nx-product-shortcuts a:hover .nx-lockup-name { text-decoration:underline; text-underline-offset:6px; }
.nx-product-connector { position:relative; z-index:3; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:18px; padding-block:36px; }
.nx-product-connector p { flex-basis:100%; text-align:center; font-size:14px; color:var(--nx-muted); }
.nx-connector-line { flex:0 1 100px; height:1px; background:var(--nx-gradient-signal); }
@media(min-width:1024px) { .nx-product-shortcuts { justify-content:center; } }
@media(max-width:767px) {
 .nx-product-band .nx-product-name { font-size:44px; }
 .nx-product-connector { gap:12px; justify-content:start; }
 .nx-product-connector .nx-connector-line { display:none; }
 .nx-product-connector p { text-align:left; }
}

/* P7: one expanded face per rail; the remaining cards show only title and index. */
.nx-index,.nx-timeline .nx-card-number { font:300 clamp(40px,5vw,72px)/1 var(--font-mono); font-variant-numeric:tabular-nums; color:var(--prod-text); }
.nx-method.nx-method-cards.nx-timeline { grid-template-columns:repeat(5,minmax(0,1fr)); align-items:start; }
.nx-method.nx-method-cards.nx-timeline:has(.is-flipped) { grid-template-columns:repeat(6,minmax(0,1fr)); }
@media(min-width:1024px) { .nx-method-hint { margin-inline:auto; text-align:center; } }
.nx-timeline > li:has(.is-flipped) { grid-column:span 2; }
.nx-method-cards.nx-timeline .nx-flip-card { height:auto; min-height:0; }
.nx-timeline .nx-flip-front { min-height:170px; padding:24px 18px; gap:18px; }
.nx-timeline .nx-card-title { font-size:clamp(20px,1.7vw,26px); }
.nx-timeline .nx-card-teaser,.nx-timeline .nx-card-signal { display:none; }
.nx-timeline .nx-flip-trigger { grid-template-rows:minmax(0,1fr); }
.nx-timeline .nx-flip-control { display:none; }
.nx-timeline .is-flipped .nx-flip-control { display:flex; }
.nx-timeline .is-flipped .nx-flip-front { min-height:0; }
.nx-timeline .nx-flip-back { padding:24px 18px 76px; }
.nx-contact-rail { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; list-style:none; margin:48px 0 0; padding:28px 0 0; border-top:1px solid var(--prod-a); align-items:start; }
.nx-contact-rail:has(.is-flipped) { grid-template-columns:repeat(5,minmax(0,1fr)); }
.nx-contact-rail > li { min-width:0; }
.nx-contact-rail > li > .nx-label { margin-bottom:16px; }
.nx-contact-rail .nx-prospect-slot { width:100%; }
.nx-rail-outcome { padding:24px 18px; border-left:1px solid var(--prod-a); }
.nx-rail-outcome h3 { font-size:24px; margin:20px 0 16px; font-weight:500; }
.nx-rail-outcome p { color:var(--nx-muted); font-size:15px; line-height:1.65; }
.nx-fact-cards.nx-prospect-cards { grid-template-columns:repeat(3,minmax(0,1fr)); }
.nx-fact-cards .nx-prospect-slot:nth-child(n) { grid-column:auto; }
.nx-operation-cards.nx-prospect-cards { grid-template-columns:minmax(0,1fr); }
.nx-operation-cards .nx-prospect-slot { grid-column:auto; }
.nx-detail-rail { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:24px; padding:0; margin:48px 0 0; list-style:none; }
.nx-detail-rail li { min-width:0; border-top:1px solid var(--prod-a); padding-top:24px; }
.nx-detail-rail summary { cursor:pointer; font-size:20px; line-height:1.3; min-height:100px; }
.nx-detail-rail summary .nx-index { display:block; margin-bottom:20px; }
.nx-detail-rail details p { color:var(--nx-muted); font-size:16px; line-height:1.65; margin-top:24px; }
.nx-detail-rail summary::marker { color:var(--prod-text); }
@media(max-width:1023px) {
 .nx-method.nx-method-cards.nx-timeline,.nx-method.nx-method-cards.nx-timeline:has(.is-flipped),.nx-contact-rail,.nx-contact-rail:has(.is-flipped) { grid-template-columns:minmax(0,1fr); }
 .nx-timeline > li:has(.is-flipped) { grid-column:auto; }
 .nx-timeline .nx-flip-front { min-height:0; display:grid; grid-template-columns:64px minmax(0,1fr); align-items:center; }
 .nx-timeline .nx-card-title { font-size:24px; }
 .nx-contact-rail { border-top:0; border-left:1px solid var(--prod-a); padding:0 0 0 18px; }
 .nx-detail-rail { grid-template-columns:minmax(0,1fr); gap:0; }
 .nx-detail-rail li { border-top:0; border-left:1px solid var(--prod-a); padding:18px 0 18px 24px; }
 .nx-detail-rail summary { min-height:44px; display:list-item; }
 .nx-detail-rail summary .nx-index { display:inline-block; width:72px; margin:0; vertical-align:middle; font-size:40px; }
 .nx-detail-rail details p { margin:16px 0 0; }
}
@media(max-width:767px) { .nx-fact-cards.nx-prospect-cards { grid-template-columns:minmax(0,1fr); } }

/* Content hierarchy: section titles, supporting leads and comfortable body text. */
body .nx-h2 { font-size:clamp(32px,4.8vw,64px); font-weight:500; letter-spacing:-.03em; line-height:1.12; text-wrap:balance; }
body .nx-body { font-size:clamp(17px,1.25vw,18px); line-height:1.65; }
body .nx-lead { font-size:clamp(20px,2vw,28px); font-weight:400; letter-spacing:-.01em; line-height:1.35; }
.nx-section .nx-h2 { max-width:19ch; }
.nx-section:not(.nx-example-stage) > .nx-scene-content > .nx-h2:not(.nx-legal .nx-h2) { max-width:19ch; }
.nx-statement-band { border-block:1px solid rgba(var(--nx-border-rgb),0.14901960784313725); background:linear-gradient(110deg,rgba(var(--nx-surface-rgb),0.4392156862745098),var(--nx-transparent)); }
.nx-statement-band .nx-chapter { margin-inline:auto; text-align:center; max-width:900px; }
.nx-statement-band .nx-chapter .nx-h2 { margin-inline:auto; }
.nx-statement-band .nx-body,.nx-statement-band .nx-lead { margin-inline:auto; }
.nx-statement-band .nx-chapter + .nx-chapter { margin-top:40px; }
.nx-statement-band .nx-chapter + .nx-chapter .nx-h2 { font-size:clamp(22px,2.5vw,32px); }
.nx-statement-band .nx-operation-words { font:12px/1.7 var(--font-mono); letter-spacing:.06em; color:var(--nx-muted); }
.nx-statement-band .nx-signature { font-size:clamp(28px,3.4vw,46px); }
/* P13: definitions separated by a single structural seam. */
.nx-comparison { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; margin:48px 0 0; max-width:none; }
.nx-comparison > div { min-width:0; border-top:1px solid color-mix(in srgb,var(--prod-a) 40%,var(--nx-transparent)); padding:32px 40px 0 0; }
.nx-comparison > div + div { border-left:1px solid rgba(var(--nx-border-rgb),0.2196078431372549); padding:32px 0 0 40px; }
.nx-comparison h3 { font-size:clamp(22px,2.6vw,32px); font-weight:500; line-height:1.25; letter-spacing:-.025em; margin:0; }
.nx-comparison .nx-body { max-width:52ch; }
/* P8: one primary statement with three supporting facts. */
.nx-trust.nx-bento { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:20px; max-width:none; }
.nx-trust.nx-bento > div { display:block; border:1px solid rgba(var(--nx-border-rgb),0.2196078431372549); padding:28px; background:var(--nx-void-soft); }
.nx-trust.nx-bento > div:first-child { grid-row:span 3; padding:clamp(28px,4vw,56px); background:radial-gradient(ellipse at top left,rgba(var(--nx-cyan-rgb),0.06274509803921569),var(--nx-transparent) 75%),var(--nx-void-soft); }
.nx-trust.nx-bento > div:first-child dt { font-size:clamp(32px,4.5vw,60px); }
.nx-trust.nx-bento dd { margin:20px 0 0; font-size:16px; line-height:1.7; }
.nx-operation-bento { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; align-items:start; }
.nx-operation-bento > div { min-width:0; }
.nx-bento-main { grid-row:span 3; padding:32px; border-top:1px solid var(--prod-a); background:var(--nx-void-soft); }
.nx-bento-main .nx-chapter { max-width:100%; }
.nx-operation-bento .nx-prospect-cards { margin:0; }
.nx-operation-bento .nx-bento-note { padding:24px; border-top:1px solid rgba(var(--nx-border-rgb),0.2196078431372549); background:var(--nx-void-soft); }
.nx-bento-note h3 { margin:0; font-size:24px; font-weight:500; }
.nx-bento-note .nx-type-list { margin-top:16px; font-size:15px; }
.nx-persona-cards.nx-persona-bento { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:20px; }
.nx-persona-bento .nx-flip-card { grid-column:span 2; align-self:stretch; }
.nx-persona-bento .nx-flip-card:first-child { grid-column:span 4; }
.nx-persona-bento .nx-flip-front { min-height:0; gap:14px; justify-content:flex-start; }
.nx-persona-bento .nx-flip-card:first-child .nx-card-title { font-size:clamp(34px,3.4vw,48px); }
.nx-persona-bento .nx-card-title { font-size:clamp(26px,2.4vw,34px); }
.nx-persona-bento .nx-card-teaser { font-size:14px; line-height:1.6; max-width:40ch; }
.nx-persona-bento .nx-card-signal { display:none; }
.nx-persona-bento .nx-card-number { color:var(--prod-text); font-size:20px; }
/* P9: facts use a typographic strip, not another repeated card surface. */
.nx-fact-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin-top:48px; }
.nx-fact-strip > div { min-width:0; padding:0 28px; }
.nx-fact-strip > div:first-child { padding-left:0; }
.nx-fact-strip > div + div { border-left:1px solid rgba(var(--nx-border-rgb),0.2196078431372549); }
.nx-fact-strip h3 { margin:28px 0 18px; font-size:28px; letter-spacing:-.025em; font-weight:500; }
.nx-fact-strip p { font-size:17px; line-height:1.65; color:var(--nx-muted); }
.nx-fact-cards .nx-flip-card { border:0; border-left:1px solid color-mix(in srgb,var(--prod-a) 45%,var(--nx-transparent)); border-radius:0; background:var(--nx-void-soft); }
.nx-fact-cards .nx-card-number { font:300 clamp(40px,5vw,72px)/1 var(--font-mono); color:var(--prod-text); }
.nx-fact-cards .nx-card-signal { display:none; }
/* P10 / P11: FAQ beside a stable introduction; final action centered. */
.nx-faq-layout { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(32px,5vw,80px); align-items:start; }
.nx-faq-intro { position:sticky; top:120px; min-width:0; }
.nx-faq-intro .nx-h2 { margin-top:20px; }
.nx-faq-layout .nx-faq { margin:0; min-width:0; }
.nx-faq-layout summary { font-size:clamp(20px,2vw,25px); }
.nx-final .nx-scene-content { text-align:center; }
.nx-final .nx-body,.nx-final .nx-micro,.nx-final .nx-h2 { margin-inline:auto; }
.nx-final .nx-eyebrow { justify-content:center; }
.nx-final-products { display:flex; flex-wrap:wrap; justify-content:center; gap:20px; margin-bottom:28px; }
.nx-demo-tabs button[aria-pressed="true"] { color:var(--prod-text); border-color:var(--prod-a); }
@media(max-width:1023px) {
 .nx-faq-layout { grid-template-columns:minmax(0,1fr); gap:40px; }
 .nx-faq-intro { position:static; }
 .nx-persona-bento .nx-flip-card:nth-child(n) { grid-column:span 3; grid-row:auto; }
}
@media(max-width:767px) {
 body .nx-h2 { font-size:30px; } body .nx-lead { font-size:19px; }
 .nx-comparison,.nx-trust.nx-bento,.nx-operation-bento,.nx-fact-strip,.nx-persona-cards.nx-persona-bento { grid-template-columns:minmax(0,1fr); }
 .nx-comparison > div,.nx-comparison > div + div { border-left:0; padding:28px 0; }
 .nx-trust.nx-bento > div:first-child,.nx-bento-main { grid-row:auto; }
 .nx-persona-bento .nx-flip-card:nth-child(n) { grid-column:auto; }
 .nx-persona-bento .nx-flip-card:first-child .nx-card-title { font-size:38px; }
 .nx-fact-strip > div,.nx-fact-strip > div:first-child { padding:24px 0; }
 .nx-fact-strip > div + div { border-left:0; border-top:1px solid rgba(var(--nx-border-rgb),0.2196078431372549); }
 .nx-bento-main { padding:24px; }
}

/* Diffuse ink behind prose: no box, text inset or horizontal layout extension. */
.nx-veil,.nx-fact-strip p,.nx-detail-rail details p { position:relative; isolation:isolate; padding:0; background:none; }
.nx-veil::before,.nx-fact-strip p::before,.nx-detail-rail details p::before { content:''; position:absolute; inset:-12px 0; z-index:-1; border-radius:50%; pointer-events:none; background:radial-gradient(ellipse at center,rgba(var(--nx-veil-rgb),.6) 10%,rgba(var(--nx-veil-rgb),.32) 65%,var(--nx-transparent) 100%); box-shadow:0 0 24px 12px rgba(var(--nx-veil-rgb),.18); filter:blur(16px); }
.nx-window .nx-veil::before,.nx-flip-back .nx-veil::before { display:none; }
@media(prefers-reduced-motion:reduce) {
 .nx-product-band,.nx-lockup,.nx-timeline { animation:none; transition:none; }
}
/* At intermediate widths, the rail follows the same vertical flow as its cards. */
@media(max-width:1023px) {
 .nx-method-cards.nx-timeline::before { inset:0 auto 0 0; width:1px; height:auto; }
 .nx-method.nx-method-cards.nx-timeline > li { margin:0 0 0 16px; }
 .nx-method-cards.nx-timeline > li::before { left:-21px; top:28px; }
}
/* The R-01 hidden-back sizing fix must not collapse the no-JavaScript fallback. */
html:not(.js) .nx-flip-back[hidden] { position:relative; inset:auto; overflow:visible; padding-bottom:28px; }
/* Review V8 minors */
.nx-hero-product .nx-product-role { margin-top:16px; }                       /* M-01 */
.nx-lockup-brand, .nx-hero-product .nx-product-tag, .nx-window-badge { font-size:11.5px; letter-spacing:.1em; } /* M-02 */
#solucao-lf .nx-veil::before, #solucao-bd .nx-veil::before { background:radial-gradient(ellipse at center,rgba(var(--nx-veil-rgb),.78) 15%,rgba(var(--nx-veil-rgb),.42) 65%,var(--nx-transparent) 100%); } /* M-03 */
#solucao-lf .nx-conclusion, #solucao-bd .nx-conclusion { font-size:clamp(24px,2.6vw,36px); }  /* M-04: product name leads the band */
/* Faixas de produto da home: o campo não passa por trás dos nomes das etapas. */
.nx-product-band .nx-flow-track { position:relative; isolation:isolate; }
.nx-product-band .nx-flow-track::before { content:''; position:absolute; inset:-28px 0 -36px; z-index:-1; border-radius:50%; pointer-events:none; background:radial-gradient(ellipse at center,rgba(var(--nx-veil-rgb),.82) 30%,rgba(var(--nx-veil-rgb),.5) 70%,var(--nx-transparent) 100%); filter:blur(14px); }
