:root {
  --navy: #060d22;
  --navy-900: #010618;
  --navy-700: #0f1831;
  --navy-500: #2a3a63;
  --gold: #dea331;
  --gold-light: #efbf55;
  --gold-deep: #946414;
  --white: #f4f6fb;
  --ink: #10182a;
  --slate-300: #c2cadb;
  --slate-400: #8b95ad;
  --green: #3fb984;
  --sans: 'Inter', Arial, sans-serif;
  --title: 'Sora', Arial, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --phi: 1.618; /* proporção áurea: tamanhos da marca derivam da altura das barras */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy-900); }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; color: var(--navy); background: var(--gold-light); border-radius: 4px; transition: top .18s var(--ease); }
.skip-link:focus { top: 16px; }

.site-header { position: absolute; z-index: 20; width: 100%; color: var(--white); border-bottom: 1px solid rgba(194, 202, 219, .16); }
.header-wrap { display: flex; align-items: center; justify-content: space-between; width: min(1360px, calc(100% - 64px)); height: 86px; margin: auto; }
.brand { display: inline-flex; align-items: center; color: var(--white); }
.brand-logo { display: block; width: auto; height: 30px; aspect-ratio: 1336 / 216; }
.header-wrap { --bar: 86px; }
/* logo = barra ÷ φ (61,8% da altura; 38,2% de respiro dividido em cima e embaixo) */
.header-wrap .brand-logo { height: calc(var(--bar) / var(--phi)); }
.brand-mark-svg { display: block; width: 100%; height: auto; aspect-ratio: 277 / 216; }
.brand-lockup { display: block; width: auto; height: 60px; max-width: 100%; aspect-ratio: 1336 / 244; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* ícones em SVG: iguais em qualquer aparelho (setas e símbolos em texto viravam emoji no celular) */
.icon { display: inline-block; width: 1em; height: 1em; vertical-align: -.14em; flex: none; }
.desktop-nav { display: flex; gap: 27px; margin-left: 78px; }
.desktop-nav a { color: var(--slate-300); font-size: 12px; font-weight: 500; transition: color .18s var(--ease); }
.desktop-nav a:hover { color: var(--gold-light); }
.header-actions { display: flex; align-items: center; gap: 19px; }
.access-trigger, .footer-access { display: inline-flex; gap: 8px; align-items: center; padding: 11px 14px; color: var(--white); background: rgba(244, 246, 251, .07); border: 1px solid rgba(222,163,49, .5); border-radius: 2px; font-size: 11px; font-weight: 600; letter-spacing: .03em; transition: border-color .18s var(--ease), background .18s var(--ease); }
.access-trigger:hover, .footer-access:hover { background: rgba(222,163,49, .15); border-color: var(--gold-light); }
.lock-dot { width: 9px; height: 9px; border: 1px solid var(--gold-light); border-radius: 50% 50% 3px 3px; position: relative; }
.lock-dot:before { content: ''; position: absolute; height: 4px; width: 5px; border: 1px solid var(--gold-light); border-bottom: 0; left: 1px; top: -5px; border-radius: 5px 5px 0 0; }
.menu-trigger { display: none; width: 38px; height: 38px; padding: 7px; background: transparent; border: 1px solid rgba(194,202,219,.38); border-radius: 2px; }
.menu-trigger span { display: block; width: 18px; height: 1px; margin: 6px auto; background: var(--gold-light); transition: transform .18s var(--ease); }
.menu-trigger[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-trigger[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { position: absolute; top: 86px; left: 0; right: 0; padding: 18px 32px 26px; background: rgba(7,12,26,.98); border-bottom: 1px solid rgba(222,163,49,.3); }
.mobile-nav a, .mobile-nav button { display: block; width: 100%; padding: 14px 0; color: var(--white); background: transparent; border: 0; border-bottom: 1px solid rgba(194,202,219,.13); text-align: left; font-size: 14px; }
.mobile-nav button { color: var(--gold-light); font-weight: 600; }

.section-dark { color: var(--white); background: var(--navy); }
.hero { position: relative; min-height: 820px; overflow: hidden; isolation: isolate; }
.hero:after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 73% 39%, rgba(42,58,99,.45), transparent 28%), radial-gradient(circle at 80% 77%, rgba(222,163,49,.11), transparent 23%), linear-gradient(111deg, var(--navy-900), var(--navy) 58%, #111a33); }
.hero-grid { position: absolute; width: 72vw; height: 72vw; max-width: 980px; max-height: 980px; right: -19vw; top: -18vw; opacity: .22; background-image: linear-gradient(rgba(194,202,219,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(194,202,219,.17) 1px, transparent 1px); background-size: 48px 48px; transform: perspective(600px) rotateX(64deg) rotateZ(-10deg); mask-image: radial-gradient(circle, #000 23%, transparent 70%); }
.hero-orbit { position: absolute; border: 1px solid rgba(222,163,49,.37); border-radius: 50%; z-index: -1; }
.orbit-a { width: 560px; height: 560px; right: -78px; top: 167px; transform: rotateX(65deg) rotateZ(15deg); }
.orbit-b { width: 380px; height: 380px; right: 34px; top: 250px; border-color: rgba(194,202,219,.24); transform: rotateX(65deg) rotateZ(-30deg); }
.hero-content { padding-top: 204px; padding-bottom: 96px; }
.eyebrow, .overline { margin: 0 0 22px; color: var(--gold-light); font-family: var(--mono); font-size: 10px; letter-spacing: .18em; font-weight: 500; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 21px; height: 1px; background: var(--gold); }
.eyebrow.dark { color: var(--gold-deep); }
.eyebrow.dark span { background: var(--gold-deep); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--title); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.hero h1 { max-width: 830px; margin-bottom: 27px; font-size: clamp(47px, 6.1vw, 88px); line-height: 1.07; letter-spacing: -.06em; font-weight: 500; }
h1 em, h2 em { color: var(--gold-light); font-style: normal; }
.hero-copy { max-width: 580px; color: var(--slate-300); font-size: 17px; line-height: 1.72; }
.hero-ctas { display: flex; gap: 29px; align-items: center; margin-top: 43px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 19px; min-height: 50px; padding: 14px 20px; border: 1px solid transparent; border-radius: 2px; font-weight: 600; font-size: 13px; transition: transform .16s var(--ease), background .18s var(--ease), border-color .18s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.97); }
.button-gold { color: var(--navy-900); background: linear-gradient(117deg, var(--gold-light), var(--gold)); }
.button-gold:hover { background: var(--gold-light); }
.button-outline { margin-top: 45px; color: var(--white); background: transparent; border-color: rgba(194,202,219,.43); }
.button-outline:hover { border-color: var(--gold); background: rgba(222,163,49,.1); }
.text-link { display: inline-flex; gap: 11px; align-items: center; color: var(--white); font-size: 13px; font-weight: 600; border-bottom: 1px solid rgba(222,163,49,.6); padding-bottom: 5px; transition: color .18s var(--ease); }
.text-link:hover { color: var(--gold-light); }
.text-link.light { color: var(--white); }
.hero-footnote { display: flex; align-items: center; gap: 18px; margin-top: 82px; }
.hero-footnote p { margin: 0; color: var(--slate-400); font: 10px var(--mono); letter-spacing: .23em; }
.line-diamond { position: relative; width: 163px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.line-diamond:after { content: ''; position: absolute; left: calc(50% - 4px); top: -3px; width: 6px; height: 6px; background: var(--gold-light); transform: rotate(45deg); }
.hero-ledger { position: absolute; right: max(32px, calc((100vw - 1180px)/2)); bottom: 40px; display: grid; grid-template-columns: repeat(4, 1fr); width: min(470px, 45vw); border-top: 1px solid rgba(194,202,219,.25); }
.hero-ledger div { padding: 14px 10px 0; border-right: 1px solid rgba(194,202,219,.14); }
.hero-ledger div:first-child { padding-left: 0; }
.hero-ledger span { display: block; color: var(--gold-light); font: 10px var(--mono); margin-bottom: 6px; }
.hero-ledger b { color: var(--slate-300); font-size: 11px; font-weight: 500; }

.section-light { background: var(--white); }
.statement { padding: 136px 0 126px; }
.narrow-grid { display: grid; grid-template-columns: 23% 1fr; gap: 9%; max-width: 1020px; }
.section-label { display: flex; gap: 11px; align-items: baseline; padding-top: 11px; border-top: 1px solid var(--slate-300); }
.section-label span { color: var(--gold-deep); font: 10px var(--mono); }
.section-label p { color: #69748e; font-size: 12px; margin: 0; }
.overline { color: var(--gold-deep); margin-bottom: 14px; }
.statement h2, .journey h2, .nex h2, .about h2, .privacy h2 { max-width: 710px; color: var(--navy); font-size: clamp(37px, 4.7vw, 65px); line-height: 1.1; letter-spacing: -.055em; font-weight: 500; margin-bottom: 28px; }
.statement h2 span, .journey h2 span, .nex h2 span, .about h2 span, .privacy h2 span { color: var(--gold-deep); }
.body-large { max-width: 690px; color: #4d5a73; font-size: 18px; line-height: 1.7; }
blockquote { margin: 38px 0 0; padding: 16px 0 16px 24px; color: var(--navy); border-left: 2px solid var(--gold); font-family: var(--title); font-size: 17px; letter-spacing: -.03em; }

.outcomes { padding: 124px 0 115px; }
.section-heading h2 { margin: 0; font-size: clamp(37px, 4.4vw, 62px); line-height: 1.1; letter-spacing: -.055em; font-weight: 500; }
.split-heading { display: flex; justify-content: space-between; gap: 50px; align-items: end; }
.split-heading > p { max-width: 305px; margin: 0 0 7px; color: var(--slate-300); font-size: 14px; line-height: 1.65; }
.outcomes-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 57px; border-top: 1px solid rgba(194,202,219,.24); border-left: 1px solid rgba(194,202,219,.24); }
.outcome-card { position: relative; min-height: 316px; padding: 28px 26px; border-right: 1px solid rgba(194,202,219,.24); border-bottom: 1px solid rgba(194,202,219,.24); transition: background .2s var(--ease); }
.outcome-card:hover { background: rgba(42,58,99,.45); }
.card-index { position: absolute; right: 23px; color: var(--gold); font: 10px var(--mono); }
.card-icon { display: flex; align-items: end; height: 35px; margin-bottom: 38px; }
.card-icon i { display: block; border: 1px solid var(--gold); }
.icon-sales { gap: 5px; }
.icon-sales i { width: 6px; background: rgba(222,163,49,.15); }
.icon-sales i:nth-child(1) { height: 14px; }.icon-sales i:nth-child(2) { height: 23px; }.icon-sales i:nth-child(3) { height: 32px; }
.icon-risk i { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 7px var(--navy), inset 0 0 0 8px var(--gold); }
.icon-receivables { gap: 4px; align-items: center; }.icon-receivables i { width: 16px; height: 22px; transform: skew(-14deg); }.icon-receivables i:last-child { margin-top: 12px; }
.icon-recovery { gap: 4px; }.icon-recovery i { width: 7px; height: 7px; border-radius: 50%; }.icon-recovery i:nth-child(1) { transform: translateY(-16px); }.icon-recovery i:nth-child(3) { transform: translateY(-8px); }
.outcome-card h3 { font-size: 21px; letter-spacing: -.04em; margin-bottom: 13px; font-weight: 500; }.outcome-card p { min-height: 85px; color: var(--slate-300); font-size: 13px; line-height: 1.65; }.outcome-card a { color: var(--gold-light); font-size: 11px; font-weight: 600; }.outcome-card a span { margin-left: 6px; }

.journey { padding: 124px 0; background: #ebedf3; }
.journey-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 58px; }
.journey-heading .eyebrow { width: 180px; margin-bottom: 7px; }.journey-steps { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid #bfc6d2; border-left: 1px solid #bfc6d2; }.journey-steps article { min-height: 198px; padding: 23px 18px; border-bottom: 1px solid #bfc6d2; border-right: 1px solid #bfc6d2; }.journey-steps span { color: var(--gold-deep); font: 10px var(--mono); }.journey-steps h3 { margin: 35px 0 8px; color: var(--navy); font-size: 15px; letter-spacing: -.03em; }.journey-steps p { margin: 0; color: #536078; font-size: 11px; line-height: 1.55; }

.technology { padding: 132px 0; overflow: hidden; }.technology-layout { display: grid; grid-template-columns: 47% 1fr; align-items: center; gap: 6%; }.technology h2, .governance h2, .contact h2 { margin: 0 0 25px; font-size: clamp(37px, 4.3vw, 59px); line-height: 1.1; letter-spacing: -.055em; font-weight: 500; }.tech-intro > p:not(.eyebrow):not(.tech-quote) { max-width: 476px; color: var(--slate-300); line-height: 1.75; font-size: 15px; }.tech-quote { margin-top: 35px; color: var(--gold-light); font: 17px/1.6 var(--title); letter-spacing: -.03em; }.tech-system { position: relative; width: 100%; height: 458px; max-width: 520px; margin-left: auto; }.tech-system:before, .tech-system:after { content: ''; position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; border: 1px solid rgba(194,202,219,.18); border-radius: 50%; transform: translate(-50%,-50%) rotateX(65deg); }.tech-system:after { width: 245px; height: 245px; border-color: rgba(222,163,49,.27); }.system-center { position: absolute; left: 50%; top: 50%; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: center; width: var(--core, 114px); height: var(--core, 114px); color: var(--white); border: 1px solid var(--gold); border-radius: 50%; background: rgba(6,13,34,.92); box-shadow: 0 0 42px rgba(222,163,49,.2); transform: translate(-50%,-50%); }.system-center .brand-mark-svg { width: calc(var(--core, 114px) / var(--phi) / var(--phi)); }.system-center .system-word { display: block; width: calc(var(--core, 114px) / var(--phi)); height: auto; aspect-ratio: 980 / 80; margin-top: 9px; color: var(--white); }.system-center small { color: var(--slate-400); font: 9px var(--mono); margin-top: 6px; letter-spacing: .13em; }.system-node { position: absolute; z-index: 3; display: flex; gap: 8px; align-items: center; color: var(--slate-300); font: 10px var(--mono); }.system-node i { width: 7px; height: 7px; border: 1px solid var(--gold); border-radius: 50%; background: var(--navy); }.node-one { top: 45px; left: 44%; }.node-two { top: 142px; right: 21px; }.node-three { bottom: 81px; right: 54px; }.node-four { bottom: 30px; left: 37%; }.node-five { bottom: 108px; left: 25px; }.node-six { top: 137px; left: 33px; }
/* Órbitas (modelo atômico): as capacidades andam sobre dois anéis elípticos em volta do núcleo.
   Anéis e trajetórias usam a mesma elipse (% da caixa), então o ponto corre em cima da linha.
   Sem suporte a offset-path, o diagrama fica como antes (posições fixas acima). */
@supports (offset-path: ellipse(42% 25% at 50% 50%)) {
  .tech-system:before, .tech-system:after { width: 84%; height: 50%; transform: translate(-50%,-50%); }
  .tech-system:after { width: 60%; height: 34%; }
  .system-node { top: 0; right: auto; bottom: auto; left: 0; flex-direction: column-reverse; gap: 7px; white-space: nowrap;
    offset-path: ellipse(42% 25% at 50% 50%); offset-anchor: 50% 4px; offset-rotate: 0deg; offset-distance: var(--orbit-at, 0%); }
  .node-two, .node-four, .node-six { offset-path: ellipse(30% 17% at 50% 50%); }
  /* 6 posições a 60° uma da outra: externas em 0/120/240°, internas deslocadas 60° */
  .node-one { --orbit-at: 0%; --orbit-delay: 0s; }
  .node-two { --orbit-at: 16.667%; --orbit-delay: -10s; }
  .node-three { --orbit-at: 33.333%; --orbit-delay: -20s; }
  .node-four { --orbit-at: 50%; --orbit-delay: -30s; }
  .node-five { --orbit-at: 66.667%; --orbit-delay: -40s; }
  .node-six { --orbit-at: 83.333%; --orbit-delay: -50s; }
}

.nex { padding: 126px 0 108px; }.nex-topline { display: flex; gap: 20px; align-items: baseline; padding-bottom: 25px; border-bottom: 1px solid var(--slate-300); color: var(--gold-deep); font: 10px var(--mono); letter-spacing: .15em; }.nex-wordmark { color: var(--navy); font: 42px/1 var(--title); letter-spacing: .25em; }.nex-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 11%; padding: 75px 0 62px; }.capability-list { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 9px; padding-top: 9px; }.capability-list span { padding: 12px 14px; color: var(--navy); background: #e8ebf2; border: 1px solid #d5dae5; font: 11px var(--mono); }.journey-rail { display: flex; align-items: center; overflow: hidden; color: var(--navy-500); white-space: nowrap; font: 10px var(--mono); letter-spacing: .08em; }.journey-rail i { flex: 1 0 36px; height: 1px; margin: 0 8px; background: linear-gradient(90deg, var(--gold-deep), transparent); }.journey-rail span:last-child { color: var(--gold-deep); }

.creditall { padding: 78px 0; background: #090c13; color: var(--white); }.creditall-card { display: grid; grid-template-columns: 1fr .8fr; gap: 11%; padding: 74px 82px; border: 1px solid rgba(222,163,49,.38); background: radial-gradient(circle at 9% 91%, rgba(222,163,49,.11), transparent 34%), linear-gradient(122deg, #080b12, #141a27); }.creditall-heading .eyebrow { margin-bottom: 31px; }/* Selo da Creditall (grupo e marca de garantia privada): logo "Creditall 2.0" na versão para fundo escuro
   (texto em degradê branco → prata, vermelho da marca intacto), com a luz dourada do cartão: brilho atrás,
   contorno sutil e um reflexo que cruza só as letras. Largura 287px = 16 × φ⁶; margem 26px = 16 × φ. */
.creditall-card > * { min-width: 0; }
.creditall-mark { position: relative; isolation: isolate; width: min(287px, 100%); margin: 0 0 26px; }
.creditall-mark::before { content: ''; position: absolute; inset: -54px -72px -40px -54px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 62% 72% at 34% 52%, rgba(222,163,49,.17), rgba(222,163,49,.05) 46%, transparent 74%); }
.creditall-logo { position: relative; display: block; }
.creditall-logo img { display: block; width: 100%; height: auto; aspect-ratio: 1182 / 278; filter: drop-shadow(0 0 18px rgba(222,163,49,.12)) drop-shadow(0 1px 0 rgba(255,236,200,.1)); }
/* reflexo: faixa de luz quente que cruza só as letras (máscara = a própria logo) */
.creditall-logo::after { content: ''; position: absolute; inset: 0; pointer-events: none; -webkit-mask: url('./brand/parceiros/creditall.png') center / 100% 100% no-repeat; mask: url('./brand/parceiros/creditall.png') center / 100% 100% no-repeat; background: linear-gradient(105deg, transparent 40%, rgba(255,240,205,.5) 47%, rgba(255,246,222,.9) 50%, rgba(255,240,205,.5) 53%, transparent 60%) 0 0 / 300% 100% no-repeat; background-position: 100% 0; }


.creditall h2 { margin: 23px 0 0; font-size: clamp(31px, 3.5vw, 48px); line-height: 1.15; letter-spacing: -.055em; font-weight: 500; }.creditall h2 span { color: var(--gold-light); }.creditall-copy { align-self: end; }.creditall-copy p { color: var(--slate-300); font-size: 14px; line-height: 1.75; }.creditall-copy .text-link { margin-top: 14px; }

.governance { padding: 126px 0; }.governance-layout { display: grid; grid-template-columns: 1fr .75fr; gap: 12%; }.governance-copy > p { max-width: 440px; color: var(--slate-300); font-size: 16px; line-height: 1.75; }.governance-pledges { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 34px 0; }.governance-pledges span { color: var(--white); font-size: 13px; }.governance-pledges i { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-right: 7px; color: var(--gold-light); border: 1px solid rgba(222,163,49,.5); border-radius: 50%; font-size: 9px; font-style: normal; }

.about { padding: 133px 0; }.about-layout { display: grid; grid-template-columns: 13% 1fr; gap: 10%; max-width: 1070px; }/* símbolo do Sobre = altura do header × φ (139px, a largura exata da coluna) */
.about-mark { padding-top: 12px; }.about-mark .brand-mark-svg { width: calc(86px * var(--phi)); max-width: 100%; }.body-copy { max-width: 650px; color: #647087; font-size: 14px; line-height: 1.8; }.brand-signature { margin-top: 44px; color: var(--gold-deep); font: 11px var(--mono); letter-spacing: .17em; }.brand-signature small { display: block; margin-top: 9px; color: #7e899d; font-size: 10px; letter-spacing: .23em; }

.contact { padding: 125px 0; }.contact-layout { display: grid; grid-template-columns: .9fr 1fr; gap: 12%; }.contact-intro > p:not(.eyebrow) { max-width: 430px; color: var(--slate-300); font-size: 15px; line-height: 1.75; }.diagnostic-form { display: grid; gap: 17px; padding: 28px; background: rgba(244,246,251,.04); border: 1px solid rgba(194,202,219,.18); }.diagnostic-form label, .access-dialog label { display: grid; gap: 8px; color: var(--slate-300); font-size: 11px; font-weight: 500; }.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.diagnostic-form input, .diagnostic-form textarea, .diagnostic-form select, .access-dialog input { width: 100%; color: var(--white); background: transparent; border: 0; border-bottom: 1px solid rgba(194,202,219,.38); border-radius: 0; outline: none; font-size: 13px; transition: border-color .18s var(--ease); }.diagnostic-form input, .diagnostic-form select, .access-dialog input { height: 38px; }.diagnostic-form textarea { min-height: 79px; padding-top: 9px; resize: vertical; }.diagnostic-form input::placeholder, .diagnostic-form textarea::placeholder, .access-dialog input::placeholder { color: #6f7b93; }.diagnostic-form select { color: #aab3c4; }.diagnostic-form select option { color: var(--navy); }.diagnostic-form input:focus, .diagnostic-form textarea:focus, .diagnostic-form select:focus, .access-dialog input:focus { border-color: var(--gold-light); }.consent { display: flex; gap: 10px; align-items: flex-start; }.consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--gold); }.consent label { display: block; color: var(--slate-400); font-size: 12px; line-height: 1.6; }.consent a { color: var(--gold-light); text-decoration: underline; }.diagnostic-form .button { justify-self: start; margin-top: 5px; }.form-status, .access-status { display: none; margin: 0; color: var(--gold-light); font-size: 11px; line-height: 1.6; }.form-status.visible, .access-status.visible { display: block; }

.privacy { padding: 87px 0; }.privacy-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 12%; }.privacy h2 { font-size: clamp(32px, 3.7vw, 51px); }.privacy-layout > div:last-child { padding-top: 24px; }.privacy p:not(.eyebrow) { color: #5b6780; font-size: 14px; line-height: 1.8; }.dark-link { margin-top: 13px; color: var(--navy); }
.site-footer { padding: 50px 0 20px; color: var(--slate-300); background: var(--navy-900); }.footer-main { display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: start; gap: 32px; padding-bottom: 44px; }.footer-main .brand { color: var(--white); }/* assinatura com slogan = logo do header × φ = altura do header */
.footer-main .brand-lockup { height: calc(86px / var(--phi) * var(--phi)); }.footer-main p { margin: 15px 0 0; color: var(--slate-400); font-size: 12px; }.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }.footer-links a { font-size: 12px; transition: color .18s var(--ease); }.footer-links a:hover { color: var(--gold-light); }.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(194,202,219,.16); color: #657087; font: 10px var(--mono); letter-spacing: .08em; }

.access-dialog { width: min(480px, calc(100% - 32px)); padding: 0; color: var(--navy); border: 0; box-shadow: 0 28px 80px rgba(0,0,0,.55); }.access-dialog::backdrop { background: rgba(5,9,20,.82); backdrop-filter: blur(5px); }.dialog-brand { display: flex; align-items: center; justify-content: space-between; height: 71px; padding: 0 28px; color: var(--white); background: var(--navy-900); }.dialog-brand .brand-logo { height: calc(71px / var(--phi) / var(--phi)); }.dialog-close { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; width: 31px; height: 31px; color: var(--gold-light); background: transparent; border: 1px solid rgba(222,163,49,.5); font-size: 15px; line-height: 1; }.dialog-content { padding: 38px 42px 32px; background: var(--white); }.dialog-content h2 { margin: 0 0 14px; font-size: 32px; line-height: 1.13; letter-spacing: -.06em; font-family: var(--title); font-weight: 500; }.dialog-content h2 span { color: var(--gold-deep); }.access-intro { color: #5e6a80; font-size: 13px; line-height: 1.7; }.access-dialog form { display: grid; gap: 20px; margin-top: 26px; }.access-dialog label { position: relative; color: #526078; }.access-dialog input { color: var(--navy); border-color: #bbc3d1; }.access-dialog .button { margin-top: 4px; }.button-dark { color: var(--white); background: var(--navy); }.button-dark:hover { background: var(--navy-700); }.reveal-password { position: absolute; right: 0; bottom: 9px; padding: 0; color: var(--gold-deep); background: transparent; border: 0; font: 9px var(--mono); text-transform: uppercase; }.access-security { display: flex; gap: 10px; margin-top: 25px; padding: 14px; background: #edf0f6; }.access-security > span { color: var(--gold-deep); font-size: 15px; line-height: 1.3; }.access-security p { margin: 0; color: #516079; font-size: 12px; line-height: 1.65; }.access-security b { color: var(--navy); }.access-help { margin: 20px 0 0; color: #68748b; font-size: 11px; text-align: center; }.access-help a { color: var(--gold-deep); text-decoration: underline; }

/* grids que viram uma coluna: espaço vertical fixo (16 × φ² ≈ 42px). Com gap em %, o
   conteúdo transbordava a seção (ex.: formulário de diagnóstico invadindo a Privacidade) */
.narrow-grid, .technology-layout, .nex-layout, .creditall-card, .governance-layout, .about-layout, .contact-layout, .privacy-layout { row-gap: 42px; }
/* entre 981 e 1150px a navegação ocupa o espaço: a logo desce um degrau (barra ÷ φ²) */
@media (min-width: 981px) and (max-width: 1150px) { .header-wrap .brand-logo { height: calc(var(--bar) / var(--phi) / var(--phi)); } }
@media (max-width: 980px) { .desktop-nav { display: none; }.menu-trigger { display: block; }.header-wrap { height: 74px; --bar: 74px; }.mobile-nav { top: 74px; }.hero { min-height: 740px; }.hero-content { padding-top: 164px; }.outcomes-grid { grid-template-columns: 1fr 1fr; }.journey-steps { grid-template-columns: repeat(3, 1fr); }.technology-layout, .governance-layout, .contact-layout { grid-template-columns: 1fr; }.tech-system { margin: 30px auto -20px; width: 100%; }.governance-copy { max-width: 600px; }.creditall-card { padding: 56px 50px; }.nex-layout { column-gap: 8%; }.footer-main { grid-template-columns: 1fr 1fr; }.footer-access { justify-self: start; }.privacy-layout { column-gap: 8%; } }
@media (max-width: 680px) { .container, .header-wrap { width: min(100% - 40px, 1180px); }.site-header { position: absolute; }.header-wrap .brand-logo { height: calc(var(--bar) / var(--phi) / var(--phi)); }.access-extra { display: none; }.footer-main .brand-lockup { width: 100%; height: auto; }.access-trigger { padding: 9px 10px; font-size: 11px; }.header-actions { gap: 9px; }.hero { min-height: 710px; }.hero-content { padding-top: 142px; }.hero h1 { font-size: clamp(41px, 12vw, 57px); }.hero-copy { font-size: 15px; }.hero-ctas { align-items: flex-start; flex-direction: column; gap: 22px; margin-top: 33px; }.hero-footnote { margin-top: 57px; }.hero-content { padding-bottom: 120px; }.hero-footnote p { font-size: 10px; letter-spacing: .15em; }.line-diamond { width: 76px; }.hero-ledger { bottom: 26px; left: 20px; right: 20px; width: auto; }.hero-ledger div { padding-left: 7px; }.hero-ledger b { font-size: 9px; }.statement, .outcomes, .journey, .technology, .nex, .governance, .about, .contact { padding: 78px 0; }.narrow-grid, .nex-layout, .creditall-card, .privacy-layout { grid-template-columns: 1fr; }.narrow-grid { gap: 30px; }.statement h2, .journey h2, .nex h2, .about h2, .privacy h2, .technology h2, .governance h2, .contact h2 { font-size: 39px; }.body-large { font-size: 16px; }.split-heading, .journey-heading { display: block; }.split-heading > p { margin-top: 21px; }.outcomes-grid { grid-template-columns: 1fr; }.outcome-card { min-height: 250px; }.outcome-card p { min-height: 0; }.journey-steps { grid-template-columns: 1fr 1fr; }.journey-steps article { min-height: 164px; }.journey-steps h3 { margin-top: 24px; }.tech-system { height: 390px; transform: scale(.85); transform-origin: center; margin: -20px auto -60px; }.nex-topline { gap: 12px; }.nex-wordmark { font-size: 31px; }.nex-topline > span:last-child { font-size: 10px; line-height: 1.5; }.nex-layout { padding: 51px 0 46px; }.journey-rail { flex-direction: column; align-items: flex-start; gap: 6px; margin-right: 0; font-size: 11px; }.journey-rail i { flex: none; width: 1px; height: 16px; margin: 0 0 0 4px; background: linear-gradient(180deg, var(--gold-deep), transparent); }.hero h1 br { display: none; }.eyebrow, .overline, .card-index, .hero-ledger span, .section-label span, .journey-steps span { font-size: 11px; }.hero-ledger b { font-size: 11px; }.system-node { font-size: 11px; }.creditall { padding: 30px 0; }.creditall-card { padding: 39px 27px; gap: 40px; }.creditall h2 { font-size: 35px; }.governance-pledges { grid-template-columns: 1fr; }.about-layout { grid-template-columns: 1fr; gap: 27px; }.about-mark { padding-top: 0; }.about-mark .brand-mark-svg { width: 74px; }.input-row { grid-template-columns: 1fr; }.diagnostic-form { padding: 23px 18px; }.privacy-layout > div:last-child { padding-top: 0; }.footer-main { grid-template-columns: 1fr; }.footer-links { width: 100%; }.footer-bottom { flex-direction: column; gap: 10px; }.dialog-content { padding: 31px 25px 25px; } }
@media (prefers-reduced-motion: no-preference) { .outcome-card, .journey-steps article, .capability-list span { transition: transform .2s var(--ease), background .2s var(--ease); }.outcome-card:hover { transform: translateY(-4px); }.journey-steps article:hover { transform: translateY(-3px); background: rgba(222,163,49,.08); }.capability-list span:hover { transform: translateY(-2px); background: #dce1eb; } }

/* ===== Movimento =====
   Discreto e opcional: nada roda com "reduzir movimento" ligado no sistema.
   Uma curva (--ease), duas durações, deslocamento curto e cascata de 70ms. */
@view-transition { navigation: auto; }

@keyframes vh-fade { from { opacity: 0; } }
@keyframes vh-rise { from { opacity: 0; transform: translateY(var(--rise, 16px)); } }
@keyframes vh-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes vh-grow { from { transform: scaleX(0); } }
@keyframes vh-grow-y { from { transform: scaleY(0); } }
@keyframes vh-drift-a { from { transform: rotateX(65deg) rotateZ(15deg); } to { transform: rotateX(65deg) rotateZ(375deg); } }
@keyframes vh-drift-b { from { transform: rotateX(65deg) rotateZ(-30deg); } to { transform: rotateX(65deg) rotateZ(-390deg); } }
@keyframes vh-breathe { 50% { box-shadow: 0 0 64px rgba(222,163,49,.34); } }
/* órbita: 0% = direita, 25% = frente (embaixo), 50% = esquerda, 75% = atrás (em cima).
   Atrás a capacidade escurece, diminui e passa por trás do núcleo (z-index abaixo do centro). */
@keyframes vh-shine { 0%, 66% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@keyframes vh-orbit {
  0% { offset-distance: 0%; opacity: .85; scale: .96; z-index: 3; }
  25% { opacity: 1; scale: 1; }
  49.9% { z-index: 3; }
  50% { opacity: .85; scale: .96; z-index: 1; }
  75% { opacity: .45; scale: .9; }
  100% { offset-distance: 100%; opacity: .85; scale: .96; z-index: 1; }
}
@keyframes vh-pulse { 50% { opacity: .5; box-shadow: 0 0 3px var(--green); } }
@keyframes vh-page-out { to { opacity: 0; } }
@keyframes vh-page-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes vh-dialog-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }

@media (prefers-reduced-motion: no-preference) {
  :root { --dur: .8s; --dur-fast: .32s; --step: 70ms; }

  /* Entre telas: a página sai em fade e a nova sobe; a logo permanece no lugar */
  ::view-transition-old(root) { animation: vh-page-out .2s var(--ease) both; }
  ::view-transition-new(root) { animation: vh-page-in .42s var(--ease) both; }
  .site-header .brand-logo, .portal-header .brand-logo, .document-header .brand-logo { view-transition-name: vh-brand; }

  /* Abertura da home */
  .site-header { animation: vh-fade var(--dur) var(--ease) both; }
  .hero-content > * { animation: vh-rise var(--dur) var(--ease) both; }
  .hero-content > :nth-child(2) { animation-delay: calc(var(--step) * 1); }
  .hero-content > :nth-child(3) { animation-delay: calc(var(--step) * 3); }
  .hero-content > :nth-child(4) { animation-delay: calc(var(--step) * 4); }
  .hero-content > :nth-child(5) { animation-delay: calc(var(--step) * 6); }
  .hero h1 em { display: inline-block; animation: vh-wipe 1.1s var(--ease) .5s both; }
  .hero-footnote .line-diamond { transform-origin: left center; animation: vh-grow 1.2s var(--ease) .7s both; }
  .hero-ledger { animation: vh-rise var(--dur) var(--ease) .45s both; }
  .orbit-a { animation: vh-drift-a 140s linear infinite; }
  .orbit-b { animation: vh-drift-b 180s linear infinite; }

  /* Rolagem: blocos entram uma vez (classe .motion e data-reveal vêm do main.js) */
  .motion [data-reveal]:not(.is-visible) { opacity: 0; }
  .motion [data-reveal].is-visible { animation: vh-rise var(--dur) var(--ease) var(--reveal-delay, 0s) backwards; }
  .motion .journey-rail:not(.is-visible) i { transform: scaleX(0); }
  .motion .journey-rail.is-visible i { transform-origin: left center; animation: vh-grow .9s var(--ease) backwards; }
  .motion .journey-rail.is-visible i:nth-of-type(2) { animation-delay: .15s; }
  .motion .journey-rail.is-visible i:nth-of-type(3) { animation-delay: .3s; }
  .motion .journey-rail.is-visible i:nth-of-type(4) { animation-delay: .45s; }
  .motion .journey-rail.is-visible i:nth-of-type(5) { animation-delay: .6s; }
  .motion .journey-rail.is-visible i:nth-of-type(6) { animation-delay: .75s; }
  .system-center { animation: vh-breathe 6s ease-in-out infinite; }
  /* elétrons: uma volta por minuto. Pausa só com movimento real do mouse sobre o diagrama
     (main.js); :hover puro disparava quando a página rolava por baixo do cursor parado */
  @supports (offset-path: ellipse(42% 25% at 50% 50%)) {
    .system-node { animation: vh-orbit 60s linear var(--orbit-delay, 0s) infinite; }
  }
  /* ao parar (main.js desacelera a volta): anéis e pontos acendem, nomes ficam brancos */
  .tech-system:before, .tech-system:after { transition: border-color .7s var(--ease), box-shadow .7s var(--ease); }
  .system-node i { transition: background .5s var(--ease), box-shadow .5s var(--ease); }
  .system-node span { transition: color .5s var(--ease); }
  .tech-system.is-paused:before { border-color: rgba(194,202,219,.36); box-shadow: 0 0 24px rgba(194,202,219,.08); }
  .tech-system.is-paused:after { border-color: rgba(222,163,49,.6); box-shadow: 0 0 28px rgba(222,163,49,.18); }
  .tech-system.is-paused .system-node i { background: var(--gold); box-shadow: 0 0 0 4px rgba(222,163,49,.16), 0 0 14px rgba(222,163,49,.65); }
  .tech-system.is-paused .system-node span { color: var(--white); }
  /* reflexo da logo da Creditall: cruza a cada 9s, atrasado 1,4s para não brigar com a entrada */
  .creditall-logo::after { animation: vh-shine 9s ease-in-out 1.4s infinite; }

  /* Login e menu */
  .access-dialog[open] { animation: vh-dialog-in var(--dur-fast) var(--ease) both; }
  .access-dialog[open]::backdrop { animation: vh-fade var(--dur-fast) var(--ease) both; }
  .mobile-nav:not([hidden]) { --rise: -8px; animation: vh-rise var(--dur-fast) var(--ease) both; }

  /* Portal e documentos */
  .portal-hero > *, .portal-grid article, .portal-note, .document-main > * { animation: vh-rise var(--dur) var(--ease) both; }
  .portal-hero > :nth-child(2), .document-main > :nth-child(2) { animation-delay: calc(var(--step) * 1); }
  .portal-hero > :nth-child(3), .document-main > :nth-child(3) { animation-delay: calc(var(--step) * 2); }
  .document-main > :nth-child(n + 4) { animation-delay: calc(var(--step) * 3); }
  .portal-grid article:nth-child(1) { animation-delay: calc(var(--step) * 3); }
  .portal-grid article:nth-child(2) { animation-delay: calc(var(--step) * 4); }
  .portal-grid article:nth-child(3) { animation-delay: calc(var(--step) * 5); }
  .portal-note { animation-delay: calc(var(--step) * 7); }
  .session-indicator { animation: vh-pulse 2.4s ease-in-out infinite; }
}

@media (prefers-reduced-motion: no-preference) and (max-width: 680px) {
  .motion .journey-rail:not(.is-visible) i { transform: scaleY(0); }
  .motion .journey-rail.is-visible i { transform-origin: top center; animation-name: vh-grow-y; }
}

@media print { .motion [data-reveal] { opacity: 1 !important; animation: none !important; } }

/* Área de toque: em telas até 980px, links de texto ganham uma área invisível
   ao redor (≥ 44px de altura) sem mudar o desenho */
@media (max-width: 980px) {
  .text-link, .outcome-card a, .footer-links a { position: relative; }
  .text-link::before, .outcome-card a::before, .footer-links a::before { content: ''; position: absolute; inset: -14px -8px; }
  .footer-links a { display: inline-block; padding: 6px 0; }
}
/* Celulares muito estreitos (< 360px): botão de acesso só com o cadeado, nome completo mantido para leitores de tela */
@media (max-width: 359px) {
  .access-trigger > span:not(.lock-dot) { display: none; }
  .access-trigger { padding: 9px 11px; }
}

/* Órbitas no celular: núcleo 114 ÷ √φ ≈ 90px, diagrama na largura toda da tela (sem a redução
   de 85%) e anéis que passam por fora do núcleo, para nenhum nome cruzar na frente dele */
@media (max-width: 680px) {
  @supports (offset-path: ellipse(42% 25% at 50% 50%)) {
    .tech-system { --core: 90px; width: calc(100% + 40px); max-width: none; height: 330px; margin: 16px -20px 0; transform: none; }
    .tech-system:before { width: 72%; height: 44%; }
    .tech-system:after { width: 58%; height: 32%; }
    .system-node { offset-path: ellipse(36% 22% at 50% 50%); }
    .node-two, .node-four, .node-six { offset-path: ellipse(29% 16% at 50% 50%); }
    .system-center small { letter-spacing: .06em; }
  }
}

/* Selo da Creditall no celular: logo na largura disponível */
@media (max-width: 680px) {
  .creditall-mark::before { inset: -30px -18px -24px -18px; }
}

/* Faixa de posicionamento logo abaixo do hero: o conhecimento vem primeiro, a IA é o amplificador.
   Título até 16 × φ³ ≈ 68px; a linha da IA fica menor e em tom secundário, de propósito. */
.manifesto { position: relative; padding: 110px 0; overflow: hidden; isolation: isolate; color: var(--white); background: var(--navy-900); border-top: 1px solid rgba(194,202,219,.12); }
.manifesto::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 52% 95% at 50% 130%, rgba(222,163,49,.16), transparent 70%); }
.manifesto h2 { max-width: 1020px; margin: 0; font-size: clamp(34px, 5.2vw, 68px); font-weight: 500; line-height: 1.07; letter-spacing: -.055em; }
.manifesto h2 span { display: block; }
.manifesto h2 .manifesto-key { color: var(--gold-light); }
.manifesto-sub { margin: 42px 0 0; color: var(--slate-300); font-size: clamp(16px, 1.6vw, 20.4px); letter-spacing: -.01em; }
.manifesto-sub .line-diamond { display: block; width: 110px; margin-bottom: 26px; }
@media (max-width: 680px) { .manifesto { padding: 68px 0; } .manifesto-sub { margin-top: 26px; } .manifesto-sub .line-diamond { width: 68px; margin-bottom: 16px; } }

/* ===== Alinhamento e proporção áurea =====
   Tudo deriva de φ (16 · φⁿ): respiros de 68 / 42 / 26px, largura do conteúdo 1216px (φ⁹), colunas 61,8% / 38,2%
   (1,618fr : 1fr) e a altura de cada tela em três degraus, cada um φ do seguinte: 987px (ou a altura da janela,
   se maior) → 610px. Toda tela tem altura mínima da sua família e o conteúdo fica centrado na vertical,
   então ao rolar nenhuma parece maior ou menor que a vizinha sem motivo. O alinhamento alterna entre esquerda,
   centro e blocos lado a lado para dar ritmo.
   Vem por último: o que mexe em grade ou em altura no desktop fica em min-width: 981px para não desfazer o celular. */
:root { --s2: calc(16px * var(--phi)); --s3: calc(var(--s2) * var(--phi)); --s4: calc(var(--s3) * var(--phi)); --s5: calc(var(--s4) * var(--phi)); --wrap: 1216px; --wrap-nex: 1547px; --gutter: 32px; --sec: var(--s4); --tall: max(987px, 100svh); --compact: calc(var(--tall) / var(--phi)) }
@media (max-width: 680px) { :root { --gutter: 20px; } }

/* uma só largura para cabeçalho, seções e faixa NEX (antes o cabeçalho era mais largo que o conteúdo) */
.container, .header-wrap { width: min(var(--wrap), calc(100% - var(--gutter) * 2)); }
.nex .nex-inner { width: min(var(--wrap-nex), calc(100% - var(--gutter) * 2)); }
.statement, .outcomes, .journey, .technology, .governance, .about, .contact, .manifesto { padding-block: var(--sec); }
.nex { padding-block: var(--sec) 0; }
.nex .nex-stage { margin-bottom: 0; }
.creditall { padding-block: calc(var(--sec) / var(--phi)); }
.eyebrow { margin-bottom: var(--s2); }

/* cabeçalho: logo à esquerda, acesso à direita e o menu centrado no espaço que sobra entre os dois */
@media (min-width: 981px) { .desktop-nav { margin-inline: auto; } }

/* hero como antes (texto à esquerda); só a faixa Dados/Decisão/Execução/Governança acompanha a borda direita do conteúdo */
@media (min-width: 681px) { .hero-ledger { right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); } }

/* alinhamento por tela: manifesto e jornada no eixo central; problema, soluções, tecnologia, NEX, governança,
   sobre e contato à esquerda, com o bloco de apoio à direita */
.manifesto { text-align: center; }
.manifesto h2 { margin-inline: auto; }
.narrow-grid { grid-template-columns: 1fr; max-width: none; row-gap: var(--s3); }
.statement-body { align-self: center; }
.statement-head .section-label { margin-bottom: var(--s2); }
.journey-heading { flex-direction: column; align-items: center; gap: 0; margin-bottom: var(--s4); text-align: center; }
.journey-heading .eyebrow { justify-content: center; width: auto; }
.journey-heading h2 { margin-bottom: 0; }
.outcomes-grid { margin-top: var(--s4); }
.outcomes .button-outline { margin-top: var(--s3); }

/* espaço fixo entre o painel do produto (texto e chips) e os controles 01/15, em qualquer tamanho */
.nex .nex-showcase { padding-bottom: var(--s2); }
/* NEX: abertura (título, capacidades e jornada) e faixa de produtos, cada uma com a sua altura */
.nex-layout { grid-template-columns: 1fr; padding: var(--s3) 0; }
.nex .journey-rail { padding: var(--s2) 0 0; border-top: 1px solid var(--slate-300); }
.about-layout { grid-template-columns: 1fr; max-width: none; row-gap: var(--s3); }
.about-mark { padding-top: 0; }

@media (min-width: 981px) {
  :root { --sec: var(--s3); }
  .hero-content { padding-top: 168px; }
  /* alturas: 987 (hero, soluções, faixa de produtos NEX) · 610 (demais telas; o contato cresce um pouco por causa da privacidade) */
  .hero, .outcomes { min-height: var(--tall); }
  .manifesto, .statement, .journey, .technology, .governance, .about, .contact, .creditall { min-height: var(--compact); }
  .outcomes, .manifesto, .statement, .journey, .technology, .governance, .about, .contact, .creditall { display: grid; align-content: center; }
  .nex { padding-top: 0; }
  .nex-intro { display: grid; align-content: center; row-gap: var(--s2); min-height: var(--compact); padding-block: var(--s3); }
  .nex-layout { padding: 0; }
  .nex .nex-stage { min-height: var(--tall); display: flex; flex-direction: column; justify-content: center; margin-top: 0; margin-bottom: 0; padding: var(--s2) 0; --pad: max(var(--gutter), calc((100% - var(--wrap-nex)) / 2)); }
  .nex .nex-tools { margin-bottom: var(--s2); }
  .nex .nex-rail { padding-bottom: var(--s2); }
  .nex .nex-controls { margin-bottom: 16px; }
  .nex .nex-showcase { grid-template-columns: minmax(0, 1fr) 520px; column-gap: var(--s3); }
  .nex .nex-map { margin-right: var(--s3); }
  /* blocos de duas colunas: proporção áurea, mesmo espaço entre colunas, centrados na vertical */
  .narrow-grid, .technology-layout, .governance-layout, .creditall-card, .nex-layout { grid-template-columns: 1.618fr 1fr; }
  .contact-layout { grid-template-columns: 1fr 1.618fr; }
  .about-layout { grid-template-columns: 1fr 2.618fr; }
  .about h2 { max-width: none; }
  .narrow-grid, .technology-layout, .governance-layout, .creditall-card, .contact-layout, .nex-layout, .about-layout { column-gap: var(--s4); align-items: center; }
  .tech-system { margin-inline: auto; }
  .about-mark { justify-self: center; }
  .creditall-card { padding: var(--s4); }
  .creditall-copy { align-self: center; }
}

/* rodapé compacto de landing page: assinatura da VHAREN à esquerda (altura do header ÷ φ), links e acesso na mesma
   linha à direita, faixa fina de copyright embaixo. No celular tudo empilha, também à esquerda. */
.site-footer { padding: var(--s3) 0 var(--s2); }
.footer-main { grid-template-columns: 1fr; align-items: center; gap: var(--s2); padding-bottom: var(--s2); text-align: left; }
.footer-main .brand-lockup { width: auto; height: calc(86px / var(--phi)); }
.footer-main p { margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px var(--s2); width: auto; }
.footer-access { justify-self: start; }
.footer-bottom { flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px var(--s2); padding-top: var(--s2); text-align: left; }
@media (min-width: 981px) {
  .footer-main { grid-template-columns: 1fr auto auto; gap: var(--s3); }
  .footer-access { justify-self: end; }
}

/* ===== Jornada (Encontrar → Aprender) e card da Creditall =====
   A faixa da jornada deixa de flutuar num vão branco: sobe para perto dos produtos, ganha um ponto por etapa
   e, no mouse, a etapa acende com o trecho de linha ao lado. O card da Creditall ganha divisória entre as
   colunas, texto com hierarquia e, no mouse, um brilho que segue o cursor, a linha dourada que se desenha
   no topo e o reflexo cruzando a logo. */
.journey-rail span { display: inline-flex; align-items: center; gap: 9px; padding: 12px 4px; cursor: default; transition: color .3s var(--ease); }
.journey-rail span::before { content: ''; flex: none; width: 7px; height: 7px; border: 1px solid var(--gold-deep); border-radius: 50%; transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.journey-rail span:hover { color: var(--gold-deep); }
.journey-rail span:hover::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(222,163,49,.18); transform: scale(1.25); }
.journey-rail i { transition: background .3s var(--ease); }
.journey-rail span:hover + i, .journey-rail i:has(+ span:hover) { background: var(--gold); }

.creditall-mark::before { background: radial-gradient(closest-side at 40% 50%, rgba(222,163,49,.2), rgba(222,163,49,.06) 55%, transparent); }
.creditall-card { position: relative; overflow: hidden; transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.creditall-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; pointer-events: none; background: linear-gradient(90deg, var(--gold), transparent 72%); transform: scaleX(0); transform-origin: left center; transition: transform .8s var(--ease); }
.creditall-card::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), rgba(222,163,49,.16), transparent 65%); transition: opacity .4s var(--ease); }
.creditall-card:hover { border-color: rgba(239,191,85,.7); box-shadow: 0 28px 80px rgba(0,0,0,.45); }
.creditall-card:hover::before { transform: scaleX(1); }
.creditall-card:hover::after { opacity: 1; }
.creditall-copy p:first-of-type { color: var(--white); }
.creditall-copy .text-link { transition: color .3s var(--ease); }
.creditall-copy .text-link .icon { transition: transform .3s var(--ease); }
.creditall-card:hover .text-link { color: var(--gold-light); }
@media (min-width: 981px) { .creditall-copy { padding-left: var(--s3); border-left: 1px solid rgba(222,163,49,.28); } }
@keyframes vh-shine-hover { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  .journey-rail span { transition: color .3s var(--ease), transform .3s var(--ease); }
  .journey-rail span:hover { transform: translateY(-2px); }
  .creditall-card:hover .creditall-logo::after { animation: vh-shine-hover 1.1s var(--ease) both; }
  .creditall-card:hover .text-link .icon { transform: translate(3px, -3px); }
}

/* ===== Fita de LED do hero =====
   A linha do hero vira uma fita de LED amarela: tira lisa e apagada, com brilho suave, e uma luz que corre por ela
   sem parar. Sem o losango do meio. Só no hero (a linha do manifesto continua como era) e, com "reduzir
   movimento", a fita fica parada, acesa de leve. */
@keyframes vh-led { from { transform: translateX(-100%); } to { transform: translateX(calc(100% / .38)); } }
.hero-footnote .line-diamond { width: calc(var(--s5) * var(--phi)); height: 12px; overflow: hidden; background: linear-gradient(90deg, rgba(222,163,49,.4), rgba(222,163,49,.4)) center / 100% 2px no-repeat, radial-gradient(ellipse 50% 50% at 50% 50%, rgba(222,163,49,.16), transparent) center / 100% 100% no-repeat; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.hero-footnote .line-diamond::after { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-footnote .line-diamond::before { content: ''; position: absolute; left: 0; top: 0; width: 38%; height: 100%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,222,140,.95) 62%, #fff4d2 78%, transparent) center / 100% 2px no-repeat, radial-gradient(ellipse closest-side at 70% 50%, rgba(239,191,85,.6), transparent) center / 100% 100% no-repeat; animation: vh-led 2.4s cubic-bezier(.45, 0, .55, 1) infinite; }
}

/* ===== Tipografia única, em proporção áurea =====
   Uma família por função (Sora nos títulos, Inter no texto, IBM Plex Mono nos rótulos) e um tamanho por nível,
   igual em todas as telas. Todos os tamanhos saem dos 16px do texto por potências de φ (o mesmo passo já usado
   nas logos e nos espaçamentos):
     texto de apoio  16 ÷ φ¼   = 14,2px
     texto de abertura 16      = 16px
     título de seção 16 · φ²·⁵ = 53,3px
     título do hero  16 · φ³·⁵ = 86,2px   (título de seção × φ)
   Nos títulos, o vw faz o tamanho acompanhar a tela e o clamp trava o mínimo e o máximo. */
:root { --small: 14.2px; --lead: 16px; --h2: clamp(35px, 3.7vw, 53.3px); --h1: clamp(44px, 6vw, 86.2px); }
.statement h2, .outcomes h2, .journey h2, .technology h2, .nex h2, .creditall h2, .governance h2, .about h2, .contact h2, .manifesto h2 { font-size: var(--h2); line-height: 1.1; }
.manifesto h2 { line-height: 1.08; }
/* o feixe é um bloco dentro do título: sem margem automática ele encostava no canto esquerdo, por cima da última frase */
.manifesto h2 .line-diamond { margin: var(--s3) auto 0; }
.hero h1 { font-size: var(--h1); }
.body-large, .hero-copy, .tech-intro > p:not(.eyebrow):not(.tech-quote), .governance-copy > p, .contact-intro > p:not(.eyebrow), .creditall-copy p:first-of-type, .tech-quote { font-size: var(--lead); line-height: 1.7; }
.body-copy, .split-heading > p, .outcome-card p, .journey-steps p, .creditall-copy p, .contact-privacy p:not(.eyebrow) { font-size: var(--small); }
.creditall-copy p:first-of-type { font-size: var(--lead); }

/* Mapa do ecossistema (o "cérebro" do NEX) maior: 520px, contra 400px antes, e um pouco afastado da borda direita.
   Os nomes dos nós crescem junto porque o desenho é escalável. */
.nex .nex-map { max-width: min(100%, 520px); }

/* Faixa do Ecossistema NEX mais larga (1547px = 1216 · √φ) e mais à esquerda do que o resto da página; a seleção de
   sistemas (contador, setas e cards) fica em cima, e o painel do produto com o mapa, embaixo. */
.nex .nex-inner-detail { margin-top: 0; }

/* Diagrama de órbitas da tela Tecnologia maior: as duas colunas passam a ser iguais e o desenho ocupa a coluna toda */
@media (min-width: 981px) {
  .technology-layout { grid-template-columns: 1fr 1fr; }
  .tech-system { max-width: none; height: 540px; --core: 136px; }
  .system-node { font-size: 12px; }
}

/* ===== Seis frentes (camadas do ecossistema NEX, conforme o brain) =====
   3 × 2 no desktop, 2 colunas no tablet e 1 no celular. Cada card mostra os sistemas NEX daquela frente. */
.outcomes .outcomes-grid { grid-template-columns: repeat(3, 1fr); }
.outcomes .outcome-card { display: flex; flex-direction: column; min-height: 0; }
.outcomes .outcome-card p { min-height: 0; }
.outcomes .card-icon { margin-bottom: var(--s2); }
.card-systems { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--s2); padding: 0; list-style: none; }
.card-systems li { padding: 6px 9px; color: var(--gold-light); border: 1px solid rgba(222,163,49,.35); border-radius: 2px; font: 500 10px var(--title); letter-spacing: .16em; text-transform: uppercase; }
.outcomes .outcome-card > a { margin-top: auto; }
.icon-talk { gap: 5px; align-items: center; }
.icon-talk i { width: 20px; height: 13px; border-radius: 2px; }
.icon-talk i:last-child { margin-top: 16px; background: rgba(222,163,49,.15); }
.icon-flow { display: grid !important; grid-template-columns: repeat(2, 12px); gap: 4px; align-content: end; }
.icon-flow i { width: 12px; height: 12px; }
.icon-flow i:nth-child(2), .icon-flow i:nth-child(3) { background: rgba(222,163,49,.15); }
@media (max-width: 980px) { .outcomes .outcomes-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .outcomes .outcomes-grid { grid-template-columns: 1fr; } }

/* ===== Doze frentes (substitui as seis) =====
   4 × 3 no desktop, 2 colunas no tablet e 1 no celular. Sem ícone: o número vira o rótulo do card, em cima do título.
   Um sistema aparece em todas as frentes em que atua (o NEX Flow, ERP completo, entra em sete). */
.outcomes .outcomes-grid { grid-template-columns: repeat(4, 1fr); }
.outcomes .outcome-card { padding: var(--s2); }
.outcomes .card-index { position: static; display: block; margin-bottom: var(--s2); }
.outcomes .outcome-card h3 { font-size: 19px; }
.outcomes .outcome-card p { font-size: 13.5px; }
.card-systems { gap: 6px; }
.card-systems li { padding: 5px 7px; font-size: 9.5px; letter-spacing: .14em; }
@media (max-width: 1150px) { .outcomes .outcomes-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) { .outcomes .outcomes-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .outcomes .outcomes-grid { grid-template-columns: 1fr; } }

/* ===== Sobre a VHAREN em destaque, logo depois do hero =====
   É a primeira coisa depois da abertura: símbolo grande (144 · φ ≈ 233px) com a luz dourada da marca atrás,
   uma linha dourada separando símbolo e texto, e a assinatura no fim. Tela de 610px como as demais. */
.about { position: relative; isolation: isolate; overflow: hidden; }
@media (max-width: 980px) { .about::before { display: none; } }
.about::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 38% 70% at 22% 50%, rgba(222,163,49,.12), transparent 70%); }
.about-mark { position: relative; width: fit-content; }
.about-mark::before { content: ''; position: absolute; inset: -30%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(222,163,49,.22), transparent); }
.about-mark .brand-mark-svg { width: min(233px, 100%); filter: drop-shadow(0 12px 32px rgba(148,100,20,.25)); }
.about .body-large { color: #3f4b63; }
@media (min-width: 981px) {
  .about-layout > div:last-child { padding-left: var(--s4); border-left: 1px solid rgba(148,100,20,.3); }
}
@media (max-width: 980px) { .about-mark .brand-mark-svg { width: 144px; } }
@media (max-width: 680px) { .about-mark .brand-mark-svg { width: 89px; } }
/* com o Sobre no topo, governança e contato ficaram vizinhos e ambos escuros: um fio dourado separa os dois */
.contact { border-top: 1px solid rgba(222,163,49,.18); }
@media (prefers-reduced-motion: no-preference) {
  .about-mark .brand-mark-svg { animation: vh-rise var(--dur) var(--ease) both; }
}

/* rótulo "SOBRE A VHAREN" maior que os das outras seções (16px, o tamanho do texto de abertura, contra 10px),
   com o traço dourado proporcional, para marcar a seção de apresentação */
.about .eyebrow { gap: 14px; margin-bottom: var(--s2); font-size: var(--lead); font-weight: 500; letter-spacing: .2em; }
.about .eyebrow span { width: 42px; height: 2px; }
@media (max-width: 680px) { .about .eyebrow { font-size: 13px; } .about .eyebrow span { width: 26px; } }

/* Doze frentes em 2 linhas de 6 (telas a partir de 1280px): a seção usa a largura da faixa NEX (1547px) e os cards
   ficam mais compactos. Abaixo disso volta às regras acima (4, 3, 2 e 1 coluna). */
@media (min-width: 1280px) {
  .outcomes > .container { width: min(var(--wrap-nex), calc(100% - var(--gutter) * 2)); }
  .outcomes .outcomes-grid { grid-template-columns: repeat(6, 1fr); margin-top: var(--s3); }
  .outcomes .outcome-card { padding: 22px 20px; }
  .outcomes .card-index { margin-bottom: 14px; }
  .outcomes .outcome-card h3 { margin-bottom: 10px; font-size: 17px; }
  .outcomes .outcome-card p { margin-bottom: 14px; font-size: 13px; line-height: 1.55; }
  .card-systems { margin-bottom: 16px; }
  .card-systems li { padding: 4px 6px; font-size: 9px; letter-spacing: .12em; }
}

/* ===== Creditall e Contato em fundo branco =====
   A página alterna melhor: faixa NEX escura → Creditall branca (o card escuro vira o destaque) → Governança escura →
   Contato branco → rodapé escuro. No Contato os textos passam a escuros e o formulário vira um card azul-marinho. */
.creditall { background: var(--white); }
.contact { color: var(--navy); background: var(--white); border-top: 0; }
.contact h2 { color: var(--navy); }
.contact h2 em { color: var(--gold-deep); }
.contact .eyebrow { color: var(--gold-deep); }
.contact .eyebrow span { background: var(--gold-deep); }
.contact-intro > p:not(.eyebrow) { color: #4d5a73; }
.diagnostic-form { background: var(--navy); border-color: var(--navy); box-shadow: 0 24px 60px rgba(6,13,34,.18); }
.contact-privacy { border-top-color: #d5dae5; }
.contact-privacy h3 { color: var(--navy); }
.contact-privacy h3 span { color: var(--gold-deep); }
.contact-privacy p:not(.eyebrow) { color: #4d5a73; }
.contact-privacy p:not(.eyebrow) + p { color: #69748e; }
.contact-privacy .text-link { color: var(--navy); }
.contact-privacy .text-link:hover { color: var(--gold-deep); }

/* ===== V da VHAREN no hero =====
   Ocupa o espaço vazio à direita do título (só a partir de 981px). Três camadas: um contorno fino deslocado atrás
   (eco técnico), o V sólido dourado e um reflexo de luz que atravessa só o desenho do V. Ao carregar, as três peças
   do V se encaixam; depois ele flutua devagar e o reflexo passa a cada 5s; o contorno de trás se move em sentido oposto.
   Largura 377px (16 · φ⁶ ÷ φ ≈ 377), centro alinhado ao do título. Com "reduzir movimento", fica parado. */
.hero-mark { display: none; }
@media (min-width: 981px) {
  .hero-mark { display: block; position: absolute; z-index: 0; top: 50%; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 - 2vw)); width: clamp(260px, 26vw, 377px); translate: 0 -62%; pointer-events: none; }
  .hero-mark::before { content: ''; position: absolute; inset: -35%; z-index: -1; background: radial-gradient(closest-side, rgba(222,163,49,.2), rgba(222,163,49,.05) 55%, transparent); }
  .hero-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
  .hm-echo { fill: none; stroke: rgba(239,191,85,.38); stroke-width: 1; stroke-dasharray: 4 5; }
  .hm-solid { filter: drop-shadow(0 18px 40px rgba(148,100,20,.35)); }
  .hm-solid polygon { transform-box: fill-box; transform-origin: center; }
  .hm-shine { opacity: 0; }
}
@keyframes hm-in-1 { from { opacity: 0; translate: -46px 28px; } }
@keyframes hm-in-2 { from { opacity: 0; translate: -18px -40px; } }
@keyframes hm-in-3 { from { opacity: 0; translate: 46px -28px; } }
@keyframes hm-echo-in { from { opacity: 0; transform: translate(0, 0); } }
@keyframes hm-float { 50% { translate: 0 calc(-62% - 10px); } }
/* o contorno de fundo anda em sentido oposto ao V: dá profundidade ao movimento */
@keyframes hm-echo-drift { 50% { transform: translate(28px, -28px); } }
@keyframes hm-shine { 0%, 72% { opacity: 1; transform: translateX(0); } 100% { opacity: 1; transform: translateX(470px); } }
@media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
  .hm-p1 { animation: hm-in-1 1.3s var(--ease) .35s both; }
  .hm-p2 { animation: hm-in-2 1.3s var(--ease) .5s both; }
  .hm-p3 { animation: hm-in-3 1.3s var(--ease) .65s both; }
  .hm-echo { animation: hm-echo-in 1.6s var(--ease) 1s both, hm-echo-drift 9s ease-in-out 2.6s infinite; }
  .hero-mark { animation: hm-float 9s ease-in-out 2s infinite; }
  .hm-shine { animation: hm-shine 5s ease-in-out 2.2s infinite; }
}

/* V maior e mais à direita em telas a partir de 1280px (até 480px de largura, encostado perto da borda da tela);
   entre 981 e 1279px fica no tamanho menor acima, para não encostar no título */
@media (min-width: 1280px) {
  .hero-mark { width: clamp(340px, 32vw, 480px); right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 - 6vw)); }
}

/* ===== Manifesto em etapas, cada uma com a sua entrada =====
   Quando o título entra na tela, as frases aparecem uma de cada vez e de jeitos diferentes:
   1. a primeira (branco) sobe saindo do desfoque;
   2. a dourada é "escrita" da esquerda para a direita, com um brilho que passa junto;
   3. a última (branco) chega grande e desfocada e se assenta no tamanho certo;
   4. o feixe se abre do centro e começa a pulsar.
   Com "reduzir movimento" tudo aparece de uma vez, como antes. */
@keyframes vh-stage { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
@keyframes vh-write { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% -2% -10% 0); } }
@keyframes vh-write-glow { 0% { text-shadow: 0 0 0 rgba(239,191,85,0); } 60% { text-shadow: 0 0 28px rgba(239,191,85,.55); } 100% { text-shadow: 0 0 0 rgba(239,191,85,0); } }
@keyframes vh-settle { from { opacity: 0; transform: scale(1.14); filter: blur(10px); } }
@keyframes vh-beam-open { from { opacity: 0; transform: scaleX(0); } }
@media (prefers-reduced-motion: no-preference) {
  .motion .manifesto h2[data-reveal], .motion .manifesto h2[data-reveal].is-visible { opacity: 1; animation: none; }
  .motion .manifesto h2[data-reveal] > span { opacity: 0; }
  .motion .manifesto h2.is-visible > span { opacity: 1; }
  .motion .manifesto h2.is-visible > span:nth-child(1) { animation: vh-stage 1s var(--ease) .1s both; }
  .motion .manifesto h2.is-visible > .manifesto-key { animation: vh-write 1.3s cubic-bezier(.65, 0, .35, 1) .9s both, vh-write-glow 1.6s ease-out .9s both; }
  .motion .manifesto h2.is-visible > .manifesto-close { animation: vh-settle 1.1s var(--ease) 2.2s both; }
  .motion .manifesto h2.is-visible > .line-diamond { animation: vh-beam-open 1s var(--ease) 3s both, vh-glow 3.2s ease-in-out 4s infinite; }
}

/* ===== Card da Creditall no fundo branco =====
   Para o card escuro conversar com o branco em vez de parecer um bloco colado:
   - moldura dourada fina deslocada atrás (26px = 16 · φ), no mesmo estilo do contorno do V no hero;
   - no lugar da borda dourada fechada, cantos dourados em "L" (em cima à esquerda e embaixo à direita);
   - sombra suave puxada para o azul-marinho;
   - com o mouse, o card sobe um pouco, a moldura de trás se afasta e a sombra se abre.
   A sombra de moldura é um box-shadow (fora do card), por isso o overflow: hidden do card não a corta. */
.creditall-card {
  --frame: 26px;
  border: 1px solid rgba(222,163,49,.18);
  background:
    linear-gradient(var(--gold), var(--gold)) top left / 48px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top left / 2px 48px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 48px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 2px 48px no-repeat,
    radial-gradient(circle at 18% 30%, rgba(222,163,49,.14), transparent 38%),
    linear-gradient(122deg, var(--navy-700), var(--navy));
  box-shadow:
    var(--frame) var(--frame) 0 -1px var(--white),
    var(--frame) var(--frame) 0 0 rgba(148,100,20,.42),
    0 30px 60px -24px rgba(6,13,34,.42),
    0 14px 28px -14px rgba(6,13,34,.3);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease);
}
.creditall-card:hover {
  --frame: 34px;
  border-color: rgba(239,191,85,.45);
  box-shadow:
    var(--frame) var(--frame) 0 -1px var(--white),
    var(--frame) var(--frame) 0 0 rgba(148,100,20,.55),
    0 40px 80px -24px rgba(6,13,34,.5),
    0 18px 36px -14px rgba(6,13,34,.32);
}
@media (prefers-reduced-motion: no-preference) { .creditall-card:hover { transform: translate(-4px, -4px); } }
/* a moldura precisa de espaço à direita e embaixo para não encostar na borda da tela / próxima seção */
.creditall { padding-bottom: calc(var(--sec) / var(--phi) + 34px); }
@media (max-width: 680px) { .creditall-card { --frame: 14px; } .creditall-card:hover { --frame: 18px; } }

/* ===== Formulário do Contato em quadro branco =====
   No fundo claro da seção, o formulário vira um cartão branco puro com borda fina, sombra suave azul-marinho e um
   traço dourado no topo; rótulos e campos em tons escuros, foco em dourado. */
.contact .diagnostic-form { background: #fff; border: 1px solid #dfe3ec; box-shadow: inset 0 2px 0 var(--gold), 0 24px 56px -28px rgba(6,13,34,.28), 0 8px 18px -12px rgba(6,13,34,.12); }
.contact .diagnostic-form label { color: #526078; }
.contact .diagnostic-form input, .contact .diagnostic-form textarea, .contact .diagnostic-form select { color: var(--navy); border-bottom-color: #c3cad7; }
.contact .diagnostic-form input::placeholder, .contact .diagnostic-form textarea::placeholder { color: #8b95ad; }
.contact .diagnostic-form select { color: #4d5a73; }
.contact .diagnostic-form input:focus, .contact .diagnostic-form textarea:focus, .contact .diagnostic-form select:focus { border-color: var(--gold-deep); }
.contact .consent label { color: #69748e; }
.contact .consent a { color: var(--gold-deep); }
.contact .form-status { color: var(--gold-deep); }

/* Formulário na escala tipográfica do site: campos no tamanho do texto de abertura (16px, que também evita o zoom
   automático do iPhone ao tocar no campo), rótulos e aceite no texto de apoio (14,2px), peso normal como o resto */
.diagnostic-form label { font-size: var(--small); }
.diagnostic-form input, .diagnostic-form textarea, .diagnostic-form select { font-size: var(--lead); font-weight: 400; }
.diagnostic-form input, .diagnostic-form select { height: 42px; }
.diagnostic-form .consent label { font-size: var(--small); line-height: 1.6; }

/* ===== Idiomas =====
   Fora do português a página espera a tradução (i18n.js tira a classe); se o script falhar, aparece em 1,2s mesmo assim */
@keyframes vh-i18n-failsafe { to { visibility: visible; } }
html.vh-i18n-wait body { visibility: hidden; animation: vh-i18n-failsafe 0s 1.2s forwards; }
/* seletor PT · EN · ES no topo (no celular, dentro do menu) — fontes padrão do site */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(194,202,219,.22); border-radius: 2px; }
.lang-switch button { min-width: 32px; padding: 6px 7px; color: var(--slate-400); background: transparent; border: 0; border-radius: 1px; font: 500 10px var(--mono); letter-spacing: .12em; transition: color .2s var(--ease), background .2s var(--ease); }
.lang-switch button:hover { color: var(--white); }
.lang-switch button[aria-pressed='true'] { color: var(--navy-900); background: var(--gold-light); }
.lang-switch button:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.mobile-nav .lang-switch { display: flex; width: fit-content; margin-top: 18px; }
.mobile-nav .lang-switch button { display: inline-block; width: auto; padding: 9px 12px; border-bottom: 0; text-align: center; font: 500 11px var(--mono); }
.mobile-nav .lang-switch button[aria-pressed='true'] { color: var(--navy-900); }
@media (max-width: 680px) { .header-actions > .lang-switch { display: none; } }
/* seletor de idioma nas páginas separadas: documentos (fundo claro) e área restrita (fundo escuro) */
.document-header .lang-switch { margin: 0 22px 0 auto; border-color: var(--slate-300); }
.document-header .lang-switch button { color: #69748e; }
.document-header .lang-switch button:hover { color: var(--navy); }
.document-header .lang-switch button[aria-pressed='true'] { color: var(--white); background: var(--navy); }
.portal-user .lang-switch { margin-right: 8px; }
.portal-user .lang-switch button { padding: 5px 6px; border: 0; font-size: 10px; }
.portal-user .lang-switch button[aria-pressed='true'] { color: var(--navy-900); }
@media (max-width: 680px) { .document-header .lang-switch { margin-right: 12px; } .document-header .lang-switch button { min-width: 28px; padding: 5px 5px; } }

/* ===== Celular (até 680px) =====
   Ajuste fino para telas de 320 a 680px: títulos que cabem sem palavra solta, áreas de toque de 44px, texto mínimo
   de 10,5px, frentes num carrossel de deslizar (em vez de 12 cards empilhados), órbitas sem nomes sobre o núcleo,
   jornada em linha e o painel NEX sem o mapa (que no celular ficava pequeno e sem nomes). */
@media (max-width: 680px) {
  :root { --h1: clamp(34px, 10.4vw, 44px); --h2: clamp(30px, 9vw, 35px); }
  .hero-content { padding-top: 124px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .14em; }
  .hero-copy { font-size: var(--lead); }
  .hero-footnote p { font-size: 11px; }

  /* toque: 44px no mínimo */
  .access-trigger { min-height: 44px; }
  .menu-trigger { width: 44px; height: 44px; padding: 10px; }
  .mobile-nav .lang-switch button { min-width: 44px; min-height: 44px; }
  .outcome-card a, .text-link { min-height: 32px; }

  /* texto mínimo legível */
  .card-systems li { font-size: 10.5px; letter-spacing: .12em; }
  .nex-feature-links-title, .footer-bottom, .hero-ledger span { font-size: 11px; }
  .system-center small { font-size: 10px; }

  /* frentes: carrossel horizontal, um card e meio à vista; cada card com a própria borda */
  .outcomes .outcomes-grid { display: flex; gap: 12px; margin: var(--s3) calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; border: 0; }
  .outcomes .outcomes-grid::-webkit-scrollbar { display: none; }
  .outcomes .outcome-card { flex: 0 0 min(82%, 320px); scroll-snap-align: start; border: 1px solid rgba(194,202,219,.24); }
  .outcomes .button-outline { width: 100%; }

  /* jornada Encontrar → Aprender em linha, quebrando quando precisa */
  .journey-rail { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 0; font-size: 10.5px; }
  .journey-rail i { flex: none; width: 14px; height: 1px; margin: 0 4px; background: linear-gradient(90deg, var(--gold-deep), transparent); }
  .journey-rail span { padding: 8px 2px; }

  /* painel NEX: sem o mapa no celular */
  .nex .nex-map { display: none; }
  .nex .nex-showcase { grid-template-columns: minmax(0, 1fr); }
  .nex-mark-hero .nex-mark-a { font-size: 44px; }
  .nex-mark-hero .nex-mark-b { font-size: 26px; }

  /* títulos das seções escuras/claras não colam no texto de baixo */
  .statement h2, .technology h2, .governance h2, .contact h2, .about h2 { margin-bottom: var(--s2); }
}
@media (max-width: 680px) and (prefers-reduced-motion: no-preference) {
  .motion .journey-rail:not(.is-visible) i { transform: scaleX(0); }
  .motion .journey-rail.is-visible i { transform-origin: left center; animation-name: vh-grow; }
}
/* órbitas no celular: elipses mais altas e núcleo menor, para nenhum nome passar por cima do centro */
@media (max-width: 680px) {
  @supports (offset-path: ellipse(42% 25% at 50% 50%)) {
    .tech-system { --core: 80px; height: 380px; }
    .tech-system:before { width: 76%; height: 68%; }
    .tech-system:after { width: 60%; height: 42%; }
    .system-node { offset-path: ellipse(38% 34% at 50% 50%); font-size: 10.5px; }
    .node-two, .node-four, .node-six { offset-path: ellipse(30% 21% at 50% 50%); }
  }
}
/* Tablet (681 a 980px): mesma jornada que quebra linha (antes o "APRENDER" era cortado), toque de 44px e texto mínimo */
@media (max-width: 980px) {
  .journey-rail { flex-wrap: wrap; row-gap: 4px; }
  .journey-rail i { flex: 0 0 22px; }
  .access-trigger { min-height: 44px; }
  .menu-trigger { width: 44px; height: 44px; padding: 10px; }
  .lang-switch button { min-height: 32px; }
  .card-systems li { font-size: 10.5px; }
  .system-center small, .nex-feature-links-title { font-size: 10.5px; }
}
@media (max-width: 680px) { .system-center small { letter-spacing: .04em; } }
/* páginas separadas no celular: "Voltar ao site" vira só a seta (texto mantido para leitor de tela) e o cabeçalho
   do portal quebra em duas linhas (logo em cima; idioma, e-mail e Sair embaixo). Seletores com .document-body /
   .portal-body porque secure-pages.css carrega depois e tem regras de celular para os mesmos elementos. */
@media (max-width: 680px) {
  .document-body .document-header .lang-switch { margin-right: 4px; }
  .document-body .document-header .lang-switch button { min-width: 32px; min-height: 36px; }
  .document-body .document-header > a:last-child { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 0; }
  .document-body .document-header > a:last-child .icon { width: 18px; height: 18px; }
  .portal-body .portal-header { flex-wrap: wrap; height: auto; padding: 14px 0; row-gap: 12px; }
  .portal-body .portal-user { width: 100%; flex-wrap: nowrap; gap: 10px; font-size: 10px; }
  .portal-body .portal-user #session-email { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .portal-body .portal-user .lang-switch { margin-right: 0; }
  .portal-body .portal-user .lang-switch button { min-height: 32px; }
  .portal-body .portal-user #logout { flex: none; min-height: 36px; }
}
@media (max-width: 400px) { .document-body .document-header .brand-logo { height: 20px; } .document-body .document-header .lang-switch button { min-width: 30px; } }
/* menu do celular com fundo opaco (antes o texto do hero aparecia por trás) */
.mobile-nav { background: var(--navy-900); box-shadow: 0 24px 40px rgba(1,6,24,.55); }

/* ===== Celular, 2ª rodada ===== */
@media (max-width: 680px) {
  /* manifesto: no computador ocupa ~5% da largura por letra; no celular, a mesma proporção (e não o tamanho de título) */
  .manifesto h2 { font-size: clamp(22px, 6.6vw, 28px); line-height: 1.18; }
  .manifesto h2 .line-diamond { width: 60%; margin-top: var(--s2); }
  /* órbitas: núcleo maior para "ORQUESTRAÇÃO" caber dentro da bolinha; volta mais rápida para o giro aparecer */
  .system-center .system-word { margin-top: 6px; }
  .system-center small { font-size: 8.5px; letter-spacing: .02em; }
  /* NEX: o mapa volta, acima do texto do produto (posição fixa: trocar de produto não o move), com os nomes do
     ativo e dos ligados em tamanho legível */
  .nex .nex-map { display: block; order: -1; max-width: 340px; margin: 0 auto; }
  .nex .nex-showcase { display: flex; flex-direction: column; }
  .nex-node-label { font-size: 15px; letter-spacing: .1em; }
  .nex-node.is-linked .nex-node-label { display: block; }
  .nex-hub-a { font-size: 17px; }
}
@media (max-width: 680px) {
  @supports (offset-path: ellipse(42% 25% at 50% 50%)) {
    .tech-system { --core: 100px; height: 400px; }
    .tech-system:after { width: 64%; height: 46%; }
    .node-two, .node-four, .node-six { offset-path: ellipse(32% 23% at 50% 50%); }
  }
}
@media (max-width: 680px) and (prefers-reduced-motion: no-preference) {
  @supports (offset-path: ellipse(42% 25% at 50% 50%)) { .system-node { animation-duration: 36s; } }
}

/* ===== "Explorar a frente" → sistemas da frente =====
   A barra com a seta de voltar só aparece depois do clique num card de frente. Os sistemas da frente ficam
   destacados no trilho (filete dourado no topo) e os demais, esmaecidos. */
.nex-front { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 0 0 var(--s2); padding: 12px 16px; border: 1px solid rgba(222,163,49,.35); background: rgba(222,163,49,.06); }
.nex-front[hidden] { display: none; }
.nex-front-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px 0 10px; color: var(--navy-900); background: var(--gold-light); border: 0; border-radius: 2px; font-size: 13px; font-weight: 600; transition: background .2s var(--ease), transform .2s var(--ease); }
.nex-front-back:hover { background: var(--gold); transform: translateX(-2px); }
.nex-front-back:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.nex-front-info { margin: 0; color: var(--slate-300); font-size: var(--small); }
.nex-front-info b { color: var(--white); font-weight: 600; }
.nex-front-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.nex-rail.has-front .nex-card-btn { opacity: .42; transition: opacity .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); }
.nex-rail.has-front .nex-card.in-front .nex-card-btn, .nex-rail.has-front .nex-card-btn:hover, .nex-rail.has-front .nex-card-btn:focus-visible { opacity: 1; }
.nex-rail.has-front .nex-card.in-front .nex-card-btn { border-color: rgba(222,163,49,.55); }
.nex-rail.has-front .nex-card.in-front .nex-card-btn::before { opacity: 1; }
@media (max-width: 680px) { .nex-front-chips { margin-left: 0; } .nex-front-back { width: 100%; justify-content: center; } }

/* ===== Privacidade no contato: esticada pela lateral =====
   Antes era o 3º item da grade e caía na coluna estreita, alto e fino. Agora ocupa a largura toda, com o título à
   esquerda e o texto à direita, nas mesmas colunas (φ) do bloco de cima, e a altura cai. */
@media (min-width: 981px) {
  .contact-privacy { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.618fr; column-gap: var(--s4); align-items: start; margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid #d5dae5; }
  .contact-privacy p:not(.eyebrow) { max-width: none; line-height: 1.7; }
  .contact-privacy p:not(.eyebrow) + p { margin-top: var(--s2); }
}

/* ===== Botões "Acessar ecossistema" =====
   Nascem com o atributo `hidden` no HTML e main.js só os mostra quando o servidor de login responde (na hospedagem
   estática, sem servidor, continuam escondidos). O display dos botões vence o `hidden` do navegador, então esta regra
   garante que fiquem fora da tela até lá. */
[data-open-access][hidden] { display: none !important; }

/* ===== Árvore do ecossistema no site =====
   A vitrine de produtos (trilho de cartões, painel e mapa circular) deu lugar à árvore dourada: os produtos ficam
   nas pontas dos galhos e o conteúdo de cada um abre no painel. Os estilos da árvore estão em src/tree/tree.css;
   aqui fica só o encaixe na seção. A lista .nex-products é o que aparece sem script. */
.nex .nex-stage { display: block; min-height: 0; padding: var(--s3) 0 var(--s4); }
.nex .tree-site { margin-top: 0; color: var(--white); }
@media (min-width: 861px) { .tree-site .tree-panel { width: min(400px, calc(100% - 48px)); } } /* no celular o painel ocupa a largura do palco (tree.css) */
.tree-site .tree-panel-state { text-transform: uppercase; }
.tree-panel-lead { margin: 0; color: var(--white); font: 500 18px/1.35 var(--title); letter-spacing: -.02em; }
.tree-panel-does { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--slate-300); font-size: 13px; line-height: 1.55; }
.tree-panel-does li { position: relative; padding-left: 20px; }
.tree-panel-does li::before { content: ''; position: absolute; top: .75em; left: 0; width: 11px; height: 1px; background: var(--gold); }
.tree-panel-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.tree-panel-links-title { flex-basis: 100%; color: var(--slate-400); font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.tree-stage .nex-front { position: absolute; top: 20px; left: 20px; z-index: 4; max-width: calc(100% - 40px); margin: 0; background: color-mix(in srgb, var(--tree-night) 82%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tree-stage.has-panel .nex-front { max-width: calc(100% - 470px); }
.nex-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s2); margin: 0; padding: 0; list-style: none; color: var(--white); }
.nex-products[hidden] { display: none; }
/* com a árvore em 3D a lista segue disponível para leitor de tela, fora da vista */
.nex-products.is-offscreen { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nex-product { padding: 22px; border: 1px solid rgba(194,202,219,.18); }
.nex-product h4 { margin: 0 0 4px; font: 500 20px var(--title); letter-spacing: -.02em; }
.nex-product .nex-layer { margin: 0 0 12px; color: var(--gold-light); font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.nex-product .nex-lead { margin: 0 0 8px; font-weight: 500; }
.nex-product .nex-about, .nex-product .nex-does { margin: 0; color: var(--slate-300); font-size: 14px; line-height: 1.6; }
.nex-product .nex-does { margin-top: 10px; padding-left: 18px; }
@media (max-width: 860px) { .tree-stage .nex-front { top: 12px; left: 12px; max-width: calc(100% - 24px); } .tree-stage.has-panel .nex-front { max-width: calc(100% - 24px); } }
/* versão estática: a barra da frente fica acima do desenho, sem cobrir os rótulos */
.tree-stage.is-static .nex-front, .tree-stage.is-static.has-panel .nex-front { position: static; max-width: none; margin: 16px 16px 0; }
/* As raízes fundas da árvore descem um pouco além do palco: o palco deixa a cena passar da sua base e a faixa escura
   ganha esse mesmo espaço embaixo (--root-bleed, que src/nex.js só define quando a árvore sobe em 3D), para elas
   terminarem ali, sem invadir o bloco seguinte. */
.tree-site .tree-stage { overflow: visible; background: none; }
.nex .nex-stage { padding-bottom: calc(var(--s4) + var(--root-bleed, 0px)); }
.tree-site .tree-stage.is-static { overflow: hidden; }
