/* V8: cartões de produto inspirados nas referências fornecidas pelo usuário. */
:root { --intelligence-accent: #5fe58d; --finance-accent: #edcf78; --panel-green: #041b13; --panel-line: #285541; }
.scene-rail a span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.connections { height: auto; background: #061d15; }
.connections-stage { position: relative; top: auto; height: auto; min-height: 0; overflow: hidden; padding-bottom: clamp(66px, 7vw, 112px); background: #061d15; }
.connections-video { height: 100svh; min-height: 620px; opacity: .24; object-position: center top; filter: saturate(.86) brightness(.8); -webkit-mask-image: linear-gradient(#000 0%, #000 66%, transparent 100%); mask-image: linear-gradient(#000 0%, #000 66%, transparent 100%); }
.connections-grade { background: linear-gradient(180deg, #051b13e8 0%, #061e16cd 18%, #061e16ee 52%, #061b14f5 100%); }
.connections-content { position: relative; z-index: 2; padding-top: clamp(82px, 9vw, 126px); }
.section-heading h2 em { color: var(--finance-accent); }
.signal-runway { position: relative; top: auto; left: auto; width: min(100%, 960px); height: clamp(95px, 11vw, 145px); margin: 28px auto 0; transform: none; }
.signal-destinations { display: flex; justify-content: space-between; width: min(72%, 700px); margin: 3px auto 32px; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.signal-destinations span:first-child { color: var(--intelligence-accent); }
.signal-destinations span:last-child { color: var(--finance-accent); }
.connections .product-grid { position: relative; top: auto; left: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(26px, 4vw, 54px); width: 100%; margin: 0; }
.connections .product-feature, .connections .product-feature.finance { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); align-items: stretch; gap: clamp(25px, 4vw, 62px); width: 100%; height: auto; min-height: 0; padding: clamp(24px, 3vw, 46px); border: 1px solid var(--panel-line); border-top: 1px solid var(--intelligence-accent); border-radius: 22px; background: linear-gradient(112deg, #03170f 4%, #08271a 100%); box-shadow: 0 32px 78px #02130cab, inset 0 1px #9fe8af18; overflow: hidden; opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .5s ease, transform .7s var(--ease); }
.connections .product-feature.is-open { opacity: 1; transform: translate3d(0, 0, 0); }
.connections .product-feature.finance { grid-template-columns: minmax(0, .94fr) minmax(0, 1fr); border-color: #685c34; border-top-color: var(--finance-accent); background: linear-gradient(112deg, #071c15 0%, #071810 100%); }
.product-feature::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at 85% 33%, #4bcd7730, transparent 41%); }
.product-feature.finance::before { background: radial-gradient(circle at 12% 55%, #d6a95025, transparent 43%); }
.feature-copy, .feature-visual { position: relative; z-index: 1; min-width: 0; }
.feature-copy { display: flex; flex-direction: column; align-items: flex-start; }
.feature-logo { display: block; width: min(305px, 72%); height: auto; margin-bottom: 26px; border-radius: 5px; }
.feature-kicker { display: flex; align-items: center; gap: 13px; margin: 0 0 17px; color: var(--intelligence-accent); font-size: 10px; font-weight: 800; letter-spacing: .16em; line-height: 1.45; }
.feature-kicker::before { content: ""; display: block; flex: 0 0 25px; height: 1px; background: currentColor; }
.finance .feature-kicker { color: var(--finance-accent); }
.feature-copy h3 { max-width: 620px; margin: 0 0 17px; font-family: Manrope, Arial, sans-serif; font-size: clamp(32px, 3vw, 49px); font-weight: 700; line-height: 1.09; letter-spacing: -.055em; color: #f7f9f3; }
.feature-copy h3 em { font-style: normal; color: var(--intelligence-accent); }
.finance .feature-copy h3 em { color: var(--finance-accent); }
.feature-summary { max-width: 565px; margin: 0 0 27px; color: #c8dcd2; font-size: clamp(13px, 1.03vw, 16px); line-height: 1.65; }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin: 0 0 28px; padding: 0; list-style: none; border-top: 1px solid #2d5a44; border-left: 1px solid #2d5a44; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; min-height: 84px; padding: 15px 14px; border-right: 1px solid #2d5a44; border-bottom: 1px solid #2d5a44; }
.feature-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.feature-list svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: var(--intelligence-accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-list span { display: grid; gap: 5px; min-width: 0; }
.feature-list strong { color: #f6faf5; font-size: 12px; line-height: 1.3; }
.feature-list small { color: #a8c7b7; font-size: 11px; line-height: 1.4; }
.feature-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; padding: 12px 20px; border: 1px solid var(--intelligence-accent); border-radius: 5px; background: #0a3020; color: #f6fff8; font-size: 13px; font-weight: 800; transition: background .22s, transform .22s; }
.feature-action span { font-size: 21px; font-weight: 400; line-height: 1; }
.feature-action:hover { background: #145a32; transform: translateY(-2px); }
.feature-action:focus-visible { outline: 2px solid #f6e39a; outline-offset: 3px; }

.intelligence-visual { align-self: center; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.data-card { min-width: 0; border: 1px solid #245c3d; border-radius: 13px; background: #03190fdb; box-shadow: inset 0 1px #6bc98512; }
.data-card > p { display: flex; flex-direction: column; gap: 4px; min-height: 53px; margin: 0; padding: 14px 15px 8px; border-bottom: 1px solid #204c35; }
.data-card > p strong { color: #f2f8f1; font-family: Consolas, monospace; font-size: 9px; letter-spacing: .08em; }
.data-card > p span { color: #67987a; font-size: 8px; letter-spacing: .06em; }
.trend-card svg { display: block; width: 100%; height: clamp(140px, 14vw, 210px); padding: 16px 15px 0; overflow: visible; }
.trend-card .chart-grid { fill: none; stroke: #39634557; stroke-width: 1; }
.trend-card .chart-area { fill: #3bca7052; }
.trend-card .chart-line { fill: none; stroke: #66f09a; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.trend-card circle { fill: #d8ffe7; stroke: #63e798; stroke-width: 2; }
.chart-months { display: flex; justify-content: space-between; padding: 0 17px 16px; color: #67987a; font-family: Consolas, monospace; font-size: 8px; font-weight: 400; }
.chart-months b { font-weight: 400; }
.radius-card { display: flex; flex-direction: column; }
.radius-rings { position: relative; display: grid; place-items: center; flex: 1; min-height: 150px; }
.radius-rings i { position: absolute; width: 42%; aspect-ratio: 1; border: 1px solid #59d77a44; border-radius: 50%; }
.radius-rings i:nth-child(2) { width: 62%; }
.radius-rings i:nth-child(3) { width: 82%; border-style: dashed; }
.radius-rings i:nth-child(4) { width: 18%; background: #61e58917; box-shadow: 0 0 28px #62ed9666; }
.radius-rings b { width: 10px; height: 10px; border-radius: 50%; background: #effff2; box-shadow: 0 0 0 5px #5ce78c44, 0 0 22px #5ce78c; }
.radius-foot { display: block; padding: 0 14px 15px; color: #72b787; font-family: Consolas, monospace; font-size: 8px; letter-spacing: .1em; }
.visual-caption { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 13px 17px; }
.visual-caption svg { width: 23px; height: 23px; fill: none; stroke: var(--intelligence-accent); stroke-width: 1.7; }
.visual-caption span { display: grid; gap: 4px; }
.visual-caption strong { color: #f2faf1; font-size: 12px; }
.visual-caption small { color: #a7c9b3; font-size: 10px; }

.finance-visual { align-self: center; display: grid; gap: 14px; }
.finance-brand-panel { padding: 10px; border: 1px solid #c5aa5f; border-radius: 14px; background: #f5f4ed; box-shadow: 0 0 0 4px #d6b86b1b, 0 16px 46px #0007; }
.finance-brand-panel img { display: block; width: 100%; height: auto; border-radius: 7px; }
.finance-ledger { padding: 22px 24px 17px; border: 1px solid #90753d; border-radius: 13px; background: #071710e9; }
.finance-ledger > p { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 13px; color: #f7e6aa; font-family: Consolas, monospace; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.finance-ledger > p span { color: #98865f; font-size: 8px; text-align: right; }
.finance-ledger > div:not(.finance-bars) { display: flex; align-items: center; gap: 10px; min-height: 44px; border-top: 1px solid #9b824533; color: #e7e8dd; font-size: 12px; }
.finance-ledger > div:not(.finance-bars) i { width: 8px; height: 8px; border-radius: 50%; background: var(--finance-accent); }
.finance-ledger > div:nth-of-type(2) i, .finance-ledger > div:nth-of-type(3) i { background: #5dd584; }
.finance-ledger b { margin-left: auto; color: #f6f5e9; font-size: 11px; font-weight: 600; text-align: right; }
.finance-bars { display: flex; align-items: flex-end; gap: 10px; height: 76px; margin-top: 15px; border-bottom: 1px solid #a6884b; }
.finance-bars i { flex: 1; height: 47%; background: linear-gradient(#ffe38b, #a77e2f); border-radius: 3px 3px 0 0; }
.finance-bars i:nth-child(2) { height: 68%; }.finance-bars i:nth-child(3) { height: 56%; }.finance-bars i:nth-child(4) { height: 81%; }.finance-bars i:nth-child(5) { height: 72%; }.finance-bars i:nth-child(6) { height: 95%; }.finance-bars i:nth-child(7) { height: 75%; }
.finance-list { grid-template-columns: 1fr; border: 0; gap: 9px; }
.finance-list li, .finance-list li:last-child:nth-child(odd) { grid-column: auto; align-items: center; min-height: 68px; padding: 12px 14px; border: 1px solid #796539; border-radius: 9px; background: #071910c9; }
.finance-list svg { flex-basis: 25px; width: 25px; height: 25px; stroke: var(--finance-accent); }
.finance-list li > b { margin-left: auto; color: #dabe70; font-family: Consolas, monospace; font-size: 8px; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.finance-list li:last-child > b { color: #9b8b5d; }
.finance-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.finance-cta .feature-action { border-color: #ebce7b; background: linear-gradient(#fce8a2, #dcb75f); color: #102116; }
.finance-cta .feature-action:hover { background: #ffe49b; }
.finance-cta small { max-width: 170px; color: #9fb7a6; font-size: 10px; line-height: 1.4; }
.connections .scene-number { bottom: 24px; }

@media (max-width: 1080px) {
  .connections .product-feature, .connections .product-feature.finance { grid-template-columns: 1fr; }
  .connections .product-feature, .connections .product-feature.finance { opacity: 1; transform: none; }
  .finance .feature-copy { order: -1; }
  .feature-copy h3 { max-width: 750px; }
  .feature-visual { max-width: 760px; width: 100%; margin-inline: auto; }
}
@media (max-width: 640px) {
  .connections-content { padding-top: 74px; }
  .section-heading h2 { font-size: 34px; }
  .signal-runway { height: 92px; margin-top: 16px; }
  .signal-destinations { width: 84%; margin-bottom: 24px; font-size: 8px; }
  .connections .product-feature, .connections .product-feature.finance { gap: 27px; padding: 22px 18px; border-radius: 15px; opacity: 1; transform: none; }
  .feature-logo { width: min(265px, 82%); margin-bottom: 24px; }
  .feature-kicker { font-size: 8px; letter-spacing: .12em; }
  .feature-copy h3 { font-size: clamp(29px, 8vw, 38px); }
  .feature-summary { font-size: 13px; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-list li, .feature-list li:last-child:nth-child(odd) { grid-column: auto; min-height: 68px; }
  .finance-list { border: 0; }
  .finance-list li > b { font-size: 7px; }
  .intelligence-visual { gap: 8px; }
  .data-card > p { min-height: 60px; padding: 10px; }
  .data-card > p strong { font-size: 7px; }
  .data-card > p span { font-size: 7px; }
  .trend-card svg { height: 120px; padding: 7px; }
  .radius-rings { min-height: 120px; }
  .chart-months { padding-inline: 8px; font-size: 6px; }
  .finance-ledger { padding: 16px; }
  .finance-ledger > p span { display: none; }
  .finance-ledger > div:not(.finance-bars) { font-size: 10px; }
  .finance-ledger b { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { .connections .product-feature, .connections .product-feature.finance { opacity: 1; transform: none; transition: none; } }
