/* Assinatura e superfícies compartilhadas */
.wordmark { font-family: Geist, var(--body); font-size: 1.95rem; font-weight: 780; line-height: .91; letter-spacing: -.073em; }
.wordmark em { color: #365adb; font-style: normal; }
.wordmark small { margin: 5px 0 0 2px; font: 610 .52rem/1 Geist,var(--body); letter-spacing: .29em; }
.site-footer .wordmark em, .access-page .wordmark em { color: #99b8ff; }
.site-header { background: rgba(255,255,255,.87); border-color: #c8d2e378; box-shadow: inset 0 1px 0 #fff; -webkit-backdrop-filter: saturate(145%) blur(20px); backdrop-filter: saturate(145%) blur(20px); }
.btn-glass { background: linear-gradient(145deg,#ffffff20,#d9e9ff0e); border-color: #dce9ff66; box-shadow: inset 0 1px 0 #ffffff28; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* Integrações */
.connections { background: linear-gradient(180deg,#f3f6fb 0%,#fbfcff 46%,#fff 85%); }
.tone-intro { max-width: 780px; margin: 0 auto clamp(36px,4.8vw,70px); text-align: center; }
.tone-intro .overline { display: inline-flex; align-items: center; gap: 11px; color: #2a51d1; font-size: .7rem; letter-spacing: .15em; }
.tone-intro .overline::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.connections .tone-intro h2 { margin: 17px 0; color: #101725; font: 640 clamp(2.65rem,5.2vw,5.6rem)/.99 Geist,var(--body); letter-spacing: -.07em; }
.tone-intro h2 span { color: #758194; }
.tone-intro > p:last-child { max-width: 51ch; margin: 0 auto; color: #526179; font-size: clamp(.97rem,1.2vw,1.13rem); line-height: 1.55; text-wrap: pretty; }
.flow-defs { position: absolute; pointer-events: none; }
.flow-layout { display: grid; grid-template-columns: minmax(205px,.26fr) minmax(0,.74fr); gap: clamp(20px,2.6vw,42px); align-items: stretch; }
.flow-tabs { display: flex; flex-direction: column; min-width: 0; }
.flow-tabs button { position: relative; display: flex; flex: 1; gap: 13px; align-items: center; width: 100%; min-height: 49px; padding: 10px 7px; border: 0; border-bottom: 1px solid #d8e0ed; background: transparent; color: #4b5c76; text-align: left; font: 510 clamp(.85rem,1.1vw,1rem)/1.24 Geist,var(--body); }
.flow-tabs button:hover { color: #1d3b92; background: #eff4ff85; }
.flow-tabs button[aria-selected=true] { color: #101f41; box-shadow: inset 0 -2px 0 #213963; border-color: #213963; }
.flow-tabs .icon { flex: none; font-size: 18px; }
.flow-stage { position: relative; min-width: 0; border: 1px solid #637feb; border-radius: 22px; background: radial-gradient(ellipse at 100% 105%,#7794ff 0,transparent 47%),linear-gradient(132deg,#597af2 0%,#3957ce 68%,#415ed5 100%); box-shadow: 0 13px 32px -26px #283e88,inset 0 1px 0 #ffffff4d; }
.flow-panel { display: grid; grid-template-columns: minmax(0,1.28fr) minmax(0,.8fr); gap: clamp(18px,2.3vw,40px); align-items: stretch; padding: 11px clamp(22px,2.2vw,38px) 11px 11px; height: 100%; min-height: clamp(355px,29vw,440px); }
.flow-glass { min-width: 0; display: flex; align-items: center; position: relative; isolation: isolate; padding: clamp(6px,1.1vw,18px); border: 1px solid #fff; border-radius: 15px; background: radial-gradient(ellipse at 18% 17%,#fff 0%,transparent 65%),linear-gradient(160deg,#f6f9ff,#edf3ff); box-shadow: inset 0 0 0 3px #fff7,0 5px 18px #223f9d20; }
.flow-drawing { display: block; width: 100%; height: auto; overflow: visible; }
.wire,.pulse { fill: none; stroke-linecap: round; }
.wire { stroke: #a9bbef; stroke-width: 2; }
.pulse { stroke: #4468fa; stroke-width: 3; stroke-dasharray: 12 88; animation: follow-route 2.7s linear infinite; animation-delay: var(--lag); }
@keyframes follow-route { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
.connections[data-motion=paused] .pulse { animation-play-state: paused; }
.flow-chip { fill: #ffffff; stroke: #c9d7f2; stroke-width: 1.25; }
.node-icon { color: #405583; }
.hub-shadow { fill: #cfdbf6; }
.flow-hub { fill: #ebf1ff; stroke: #a1b6ee; stroke-width: 1.3; }
.chip-label,.hub-label { fill: #172547; font: 570 15px Geist,var(--body); letter-spacing: -.02em; }
.hub-label { fill: #203e9b; font-weight: 730; }
.flow-copy { align-self: center; color: #fff; padding: 18px 0; }
.flow-copy h3 { font: 560 clamp(1.55rem,2.4vw,2.4rem)/1.08 Geist,var(--body); letter-spacing: -.053em; text-wrap: balance; }
.flow-copy p { margin-top: 16px; color: #f8faff; font: 420 clamp(.9rem,1.12vw,1.04rem)/1.58 var(--body); }
.motion-control { position: absolute; right: 14px; bottom: 13px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; color: white; background: #203c9c80; border: 1px solid #ffffff79; border-radius: 50%; box-shadow: inset 0 1px 0 #ffffff35; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.motion-control:hover { background-color: #1f378d; }
.motion-symbol { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.motion-control[aria-pressed=true] .motion-symbol { width: 0; height: 0; margin-left: 3px; border: 0; border-block: 6px solid transparent; border-left: 9px solid currentColor; }

/* Console em perspectiva */
.platform { background: radial-gradient(ellipse at 80% 12%,#e7f0fc 0,transparent 32%),#f4f6f9; }
.showcase-stage { grid-template-columns: minmax(0,.58fr) minmax(0,1.42fr); gap: clamp(26px,4.5vw,70px); }
.console { border: clamp(5px,.53vw,9px) solid #29313e; border-bottom-color: #465364; border-radius: 23px; background: #f0f3f8; transform: perspective(1400px) rotateY(-5deg) rotateX(1.5deg) rotateZ(-1.1deg); box-shadow: 0 29px 62px -35px #293e656e,0 2px 2px #27446c33; }
.console-bar { min-height: 42px; padding: 9px 14px; color: #26344b; background: #fff; border-bottom: 1px solid #dce3ee; }
.console-bar > small { color: #58677f; font-size: .7rem; }
.window-title { display: flex; align-items: center; gap: 13px; }
.window-dots { display: flex; gap: 4px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d1d9e4; }
.console-inner { grid-template-columns: clamp(103px,8.8vw,125px) minmax(0,1fr); }
.console-rail { padding: 16px 7px; gap: 5px; align-items: stretch; background: #eef2f7; }
.rail-brand { margin: 0 6px 10px; font: 720 .86rem/1 Geist,var(--body); letter-spacing: -.05em; }
.rail-link { display: flex; justify-content: flex-start; align-items: center; gap: 6px; padding: 0 5px; width: 100%; height: 30px; white-space: nowrap; border: 1px solid transparent; font: 460 .66rem/1.15 var(--body); color: #435169; }
.rail-link .icon { flex: none; font-size: 13px; }
.rail-link[aria-current=true], .rail-link:hover { color: #1a2f52; border-color: #dbe3ef; background: #fff; box-shadow: 0 2px 4px #172a4d09; }
.console-panels { min-width: 0; background: #f0f3f8; }
.console-view { min-height: clamp(380px,32vw,448px); padding: clamp(13px,1.5vw,23px); gap: 11px; }
.metric,.chart-card,.data-list,.funnel,.messages { background: #fff; border: 1px solid #e2e7ee; border-radius: 9px; }
.metric small { color: #34715d; line-height: 1.35; }
.data-list,.funnel { padding: 6px 12px; }
.chart-card { padding: 12px 14px 8px; }
.bars { height: clamp(110px,11vw,159px); gap: 2px; background: repeating-linear-gradient(to top,transparent 0 31px,#edf1f7 31px 32px); }
.bars i { width: 82%; max-width: 64px; border-radius: 5px 5px 0 0; background: linear-gradient(#bcd0f6,#dae6fd); }
.bars span:nth-child(6) i { background: linear-gradient(#366add,#78a2f5); }

/* Rede e materiais no bloco escuro */
.operations { background: radial-gradient(ellipse at 79% 19%,#1f304c 0%,transparent 42%),linear-gradient(115deg,#0a1020,#121c2e); }
.sector-lead { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(16px,4vw,70px); }
.operations .section-head { display: block; }
.operations .section-head .section-copy { max-width: 38ch; }
.globe-stage { position: relative; width: min(100%,480px); height: clamp(240px,23vw,335px); justify-self: center; }
.network-globe { display: block; width: 100%; height: 100%; }
.sector-grid { padding-top: 27px; margin-top: 32px; border-top: 1px solid #a5c7ff29; }
.sector-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 2px; border: 1px solid #d2e5ff39; border-radius: 13px; color: #e7f0ff; background: linear-gradient(140deg,#e4eeff29,#bdd7ff08); box-shadow: inset 0 1px 0 #ffffff20,0 5px 14px #050a120f; -webkit-backdrop-filter: blur(13px); backdrop-filter: blur(13px); }
.sector-icon .icon { font-size: 19px; }

@media (min-width: 821px) and (max-width: 1080px) {
  .flow-layout { grid-template-columns: minmax(193px,.25fr) minmax(0,.75fr); gap: 20px; }
  .flow-panel { grid-template-columns: minmax(0,1.17fr) minmax(0,.83fr); padding-right: 18px; gap: 16px; }
  .flow-glass { padding: 3px; }
}
@media (max-width: 899px) {
  .showcase-stage { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .console { transform: perspective(1400px) rotateY(-2deg) rotateZ(-.55deg); }
  .console-view { min-height: 370px; }
}
@media (max-width: 820px) {
  .flow-layout { display: block; }
  .flow-tabs { flex-direction: row; overflow-x: auto; margin-bottom: 14px; padding-bottom: 4px; scrollbar-width: thin; scrollbar-color: #c2cfe2 transparent; }
  .flow-tabs button { flex: 0 0 auto; width: max-content; min-height: 44px; padding: 10px 14px; }
  .flow-panel { min-height: 300px; }
}
@media (max-width: 690px) {
  .wordmark { font-size: 1.67rem; }
  .connections .tone-intro h2 { margin-block: 15px; }
  .flow-panel { grid-template-columns: minmax(0,1fr); grid-template-rows: auto 1fr; gap: 0; padding: 8px; min-height: 0; }
  .flow-glass { min-height: 180px; padding: 2px 8px; justify-content: center; }
  .flow-drawing { max-width: 440px; }
  .chip-label,.hub-label { font-size: 16.5px; }
  .flow-copy { padding: 18px 46px 19px 10px; }
  .flow-copy h3 { text-wrap: initial; font-size: 1.6rem; }
  .flow-copy p { margin-top: 8px; }
  .motion-control { right: 10px; bottom: 12px; width: 36px; height: 36px; }
  .sector-lead { grid-template-columns: 1fr; gap: 2px; }
  .globe-stage { height: 222px; }
  .sector-grid { margin-top: 6px; }
}
@media (max-width: 490px) {
  .console { border-width: 4px; border-radius: 16px; transform: none; }
  .console-inner { display: block; }
  .console-view { min-height: 354px; padding: 12px; gap: 9px; }
  .console-bar { min-height: 35px; padding: 7px 10px; }
  .window-title { gap: 9px; }
  .bars { height: 102px; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; opacity: 0; }
  .motion-control { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: white; }
  .btn-glass,.sector-icon { background: #24334c; }
}
