/* Platform v2: product overview and illustrative operational interface. */
.sr-platform-v2 { margin-block-start: 0; background: var(--sr-white); }
.sr-platform-v2 + footer { margin-block-start: 0; }
.sp-hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: 40px; padding-block: 76px 88px; }
.sp-hero-copy, .sp-stage { min-width: 0; }
.sp-hero h1 { margin: 0 0 24px; font-size: clamp(36px, 3.7vw, 54px); line-height: 1.1; letter-spacing: -.05em; font-weight: 800; text-wrap: balance; }
.sp-hero h1 span { display: block; color: var(--sr-red); }
.sp-lead { color: var(--sr-muted); font-size: 17px; line-height: 1.8; margin: 0 0 30px; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sp-stage { position: relative; isolation: isolate; container-type: inline-size; padding-block: 0 20px; }
.sp-stage::before { content: ''; position: absolute; z-index: -1; inset: 0 5% 0 20%; background: #f9eded; clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%); }
.sp-app { border: 1px solid #dce0e7; border-radius: 14px; background: var(--sr-surface); overflow: hidden; box-shadow: 0 24px 60px #1f293318; }
.sp-app-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--sr-border); color: var(--sr-muted); font-size: 11px; }
.sp-app-layout { display: grid; grid-template-columns: 126px minmax(0, 1fr); }
.sp-sidebar { display: flex; flex-direction: column; padding: 20px 10px; border-right: 1px solid var(--sr-border); background: #fff; }
.sp-sidebar > strong { font-size: 19px; letter-spacing: -.6px; padding: 0 5px 24px; }
.sp-sidebar ul { list-style: none; padding: 0; margin: 0; font-size: 11px; }
.sp-sidebar li { padding: 9px 6px; margin-bottom: 4px; border-radius: 5px; }
.sp-sidebar .sp-selected { color: var(--sr-red-dark); background: #f9eded; font-weight: 700; border-left: 3px solid var(--sr-red); }
.sp-sidebar > p { margin-top: auto; padding: 30px 6px 0; color: var(--sr-muted); font-size: 11px; }
.sp-app-main { min-width: 0; padding: 20px 14px; }
.sp-app-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sp-app-heading p { font-size: 9px; letter-spacing: 1px; color: var(--sr-muted); margin: 0 0 4px; }
.sp-app-heading h2 { font-size: 22px; margin: 0; letter-spacing: -.6px; }
.sp-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f9eded; color: var(--sr-red-dark); font-weight: 700; font-size: 11px; }
.sp-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
.sp-metrics > div { padding: 12px 9px; border: 1px solid var(--sr-border); border-radius: 8px; background: #fff; }
.sp-metrics dt { color: var(--sr-muted); font-size: 11px; line-height: 1.5; min-height: 50px; overflow-wrap: anywhere; }
.sp-metrics dd { font-size: 25px; font-weight: 800; letter-spacing: -1px; margin: 6px 0 0; }
.sp-app-panels { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 10px; }
.sp-panel { min-width: 0; padding: 14px 12px; border: 1px solid var(--sr-border); border-radius: 8px; background: #fff; }
.sp-panel h3 { font-size: 12px; line-height: 1.4; margin: 0 0 8px; }
.sp-panel p { font-size: 11px; color: var(--sr-muted); margin: 0; }
.sp-bars { height: 145px; display: flex; gap: 9px; margin-top: 12px; }
.sp-bars > div { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 0; }
.sp-bars span, .sp-bars small { font-size: 10px; color: var(--sr-muted); }
.sp-bars i { display: block; height: var(--bar); min-height: 12px; width: 100%; max-width: 24px; background: var(--sr-red); border-radius: 3px 3px 0 0; }
.sp-bars small { margin-top: 5px; }
.sp-status { font-size: 11px; margin: 18px 0; }
.sp-status > div { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--sr-border); }
.sp-status dd { margin: 0; font-weight: 700; }
.sp-next { margin-top: 12px; }
.sp-next ul { list-style: none; padding: 0; margin: 0; font-size: 11px; }
.sp-next li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--sr-border); }
.sp-next b { color: var(--sr-red-dark); font-size: 10px; font-weight: 600; text-align: right; }
.sp-flow-section, .sp-specialized { background: var(--sr-surface); }
.sp-flow { margin: 0; padding: 0; list-style: none; }
.sp-flow li { position: relative; display: flex; align-items: flex-start; gap: 20px; padding: 20px 0; }
.sp-flow li + li { border-top: 1px solid var(--sr-border); }
.sp-flow li:not(:last-child)::after { content: '↓'; position: absolute; left: 13px; bottom: -13px; z-index: 1; color: var(--sr-red-dark); }
.sp-flow-number { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border: 1px solid #e7c9c9; border-radius: 10px; background: #fff; color: var(--sr-red-dark); font-size: 12px; font-weight: 700; }
.sp-flow h3 { margin: 0 0 6px; font-size: 13px; letter-spacing: 1.4px; }
.sp-flow p { margin: 0; color: var(--sr-muted); font-size: 14px; }
.sp-operations { background: var(--sr-ink); color: #fff; }
.sp-operations h2, .sp-operations h3 { color: #fff; }
.sp-operations .sr-section-eyebrow { color: #fff; border-left: 3px solid var(--sr-red); padding-left: 12px; }
.sp-capabilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 32px 0 0; font-size: 14px; color: #e4e7ec; }
.sp-capabilities li::before { content: '✓'; margin-right: 9px; color: #f0a8a9; }
.sp-control { min-width: 0; background: #27333f; border: 1px solid #ffffff30; border-radius: 16px; padding: 28px; }
.sp-control-heading { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }
.sp-control-heading h3 { font-size: 17px; margin: 0; }
.sp-control-heading > span, .sp-control-note { font-size: 11px; color: #d0d5dd; }
.sp-incident { border: 1px solid #ffffff30; border-left: 3px solid #e5898a; border-radius: 8px; padding: 18px; margin-top: 24px; }
.sp-badge { display: inline-block; color: #fff; background: var(--sr-red-dark); padding: 3px 9px; border-radius: 4px; font-size: 11px; }
.sp-incident p { margin: 8px 0 0; font-size: 12px; color: #d0d5dd; }
.sp-incident .sp-incident-name { font-weight: 700; font-size: 16px; color: #fff; }
.sp-timeline { padding: 0; margin: 24px 0; list-style: none; }
.sp-timeline li { position: relative; padding: 0 0 20px 24px; border-left: 1px solid #ffffff40; }
.sp-timeline li::before { content: ''; position: absolute; left: -4px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: #e5898a; }
.sp-timeline li:last-child { padding-bottom: 0; }
.sp-timeline strong { font-size: 13px; }
.sp-timeline p { font-size: 12px; color: #d0d5dd; margin: 5px 0 0; }
.sp-control-note { margin: 0; }
.sp-data-note { font-size: 12px; color: var(--sr-muted); margin: 0 0 20px; }
.sp-efficiency-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sp-efficiency-card { border: 1px solid var(--sr-border); border-radius: 14px; padding: 28px; }
.sp-efficiency-card h3 { font-size: 16px; margin: 0; min-height: 44px; line-height: 1.4; }
.sp-efficiency-card p { font-size: 14px; color: var(--sr-muted); margin: 0; }
.sp-efficiency-card .sp-value { font-size: 34px; letter-spacing: -1.2px; font-weight: 800; color: var(--sr-red-dark); margin: 16px 0 10px; }
.sp-specialized-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.sp-specialized-grid li { border-top: 1px solid #cdd1d9; padding-top: 20px; }
.sp-specialized-grid span { font-size: 12px; font-weight: 700; color: var(--sr-red-dark); }
.sp-specialized-grid h3 { font-size: 17px; line-height: 1.4; margin: 14px 0 8px; }
.sp-specialized-grid p { color: var(--sr-muted); font-size: 14px; margin: 0; }
@media (max-width: 1199px) {
    .sp-hero { gap: 28px; }
    .sp-efficiency-grid, .sp-specialized-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 959px) {
    .sp-hero { grid-template-columns: minmax(0, 1fr); padding-block: 56px; }
    .sp-hero-copy { max-width: 680px; }
    .sp-stage { width: 100%; max-width: 820px; justify-self: center; }
}
@container (max-width: 560px) {
    .sp-app-layout { grid-template-columns: minmax(0, 1fr); }
    .sp-sidebar { border-right: 0; border-bottom: 1px solid var(--sr-border); padding: 12px; }
    .sp-sidebar > strong { padding: 0 6px 8px; }
    .sp-sidebar ul { display: flex; flex-wrap: wrap; gap: 4px; }
    .sp-sidebar li { margin: 0; padding: 5px 7px; }
    .sp-sidebar > p { display: none; }
    .sp-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sp-metrics dt { min-height: 33px; }
}
@container (max-width: 390px) {
    .sp-app-panels { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
    .sp-hero { padding-block: 40px; gap: 24px; }
    .sp-hero h1 { font-size: clamp(32px, 9vw, 44px); }
    .sp-lead { font-size: 15px; }
    .sp-actions { flex-direction: column; }
    .sp-capabilities, .sp-efficiency-grid, .sp-specialized-grid { grid-template-columns: minmax(0, 1fr); }
    .sp-control, .sp-efficiency-card { padding: 22px; }
    .sp-efficiency-card h3 { min-height: 0; }
    .sr-platform-v2 .sr-cta-section { padding-bottom: 80px; }
}

/* Loaded only on Plataforma: preserve native details keyboard behavior. */
.sr-mobile-menu summary { list-style: none; }
.sr-mobile-menu summary::-webkit-details-marker { display: none; }
@media (max-width: 600px) {
    .sp-sidebar ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; font-size: 12px; }
    .sp-sidebar li { padding: 8px; }
}
