/* Prévias locais de entregáveis e automações. Estilos exclusivos da home. */
.home .build-section { padding-block: 72px 60px; background: #f8fafc; }
.build-section .section-head, .automation-section .section-head { align-items: center; gap: 55px; margin-bottom: 34px; }
.build-section h2, .automation-section h2 { font-size: clamp(34px, 3.3vw, 48px); line-height: 1.13; }
.build-section h2 em { color: #176d80; }
.build-section .section-intro { max-width: 355px; font-size: 15px; color: #456078; line-height: 1.8; }
.build-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 45px; }
.build-copy { padding-top: 12px; }
.build-copy h3 { font-size: clamp(25px, 2.35vw, 33px); line-height: 1.3; letter-spacing: -.03em; color: #12334e; margin: 0 0 18px; }
.build-copy h3 em { color: #176d80; }
.build-copy > p { max-width: 390px; color: #456078; font-size: 14px; line-height: 1.75; margin: 0 0 22px; }
.build-choices { display: grid; gap: 10px; margin-bottom: 22px; }
.build-choices button { display: flex; align-items: center; gap: 13px; padding: 14px 16px; width: 100%; border: 1px solid #cbdbe8; border-radius: 10px; background: #fff; color: #12334e; text-align: left; cursor: pointer; font: inherit; transition: background .2s, border-color .2s; }
.build-choice-icon { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 35px; border: 1px solid #cadbe7; background: #edf3f9; border-radius: 9px; font-size: 11px; }
.build-choices button > span:nth-child(2) { min-width: 0; flex: 1; }
.build-choices strong { display: block; font-size: 15px; line-height: 1.4; font-weight: 600; }
.build-choices small { display: block; color: #48677f; font-size: 11px; line-height: 1.6; margin-top: 3px; }
.build-choices button > span:last-child { font-size: 20px; }
.build-choices button[aria-pressed="true"] { background: #12334e; border-color: #12334e; color: #fff; }
.build-choices button[aria-pressed="true"] small { color: #d1e3ef; }
.build-choices button[aria-pressed="true"] .build-choice-icon { background: #ecd477; color: #12334e; border-color: #ecd477; }
.build-choices button:hover { border-color: #176d80; }
.build-copy > .text-link { color: #13556c; font-size: 13px; }
.build-preview { min-width: 0; overflow: hidden; border: 1px solid #a9bfd2; border-radius: 16px; background: #fff; box-shadow: 0 20px 45px #173c5a19; }
.build-browser-bar { display: flex; align-items: center; gap: 14px; padding: 15px 18px; background: #12334e; color: #e0ebf5; }
.browser-dots { display: flex; gap: 5px; flex: 0 0 auto; }
.browser-dots i { width: 6px; height: 6px; border-radius: 50%; background: #839dae; }
.browser-dots i:first-child { background: #ecd477; }
.build-address { display: flex; align-items: center; gap: 7px; min-width: 0; flex: 1; padding: 5px 10px; border-radius: 5px; background: #24465f; color: #e5edf4; font-size: 11px; }
.build-address svg { flex-shrink: 0; }
.build-preview-badge { font-size: 9px; letter-spacing: .07em; color: #ecd477; }
.build-preview-tools { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 16px 23px; border-bottom: 1px solid #dce5ed; background: #f5f8fb; }
#build-kind-label { color: #355771; font-size: 12px; font-weight: 600; }
.build-view-switch { display: flex; padding: 3px; border: 1px solid #c9d9e5; border-radius: 7px; gap: 3px; }
.build-view-switch button { padding: 6px 10px; border: 0; border-radius: 4px; background: transparent; color: #355771; cursor: pointer; font: inherit; font-size: 11px; min-height: 32px; }
.build-view-switch button[aria-pressed="true"] { background: #12334e; color: #fff; }
.build-operation-view, .build-access-view { padding: 26px; min-height: 366px; }
.build-operation-view[hidden], .build-access-view[hidden] { display: none; }
.build-app-top { display: flex; align-items: center; gap: 13px; }
.build-app-mark { display: grid; place-items: center; width: 47px; height: 47px; flex: 0 0 47px; color: #13556c; background: #e6f1ee; border-radius: 12px; }
.build-app-top > div > span { display: block; color: #567287; font-size: 9px; letter-spacing: .06em; margin-bottom: 5px; }
.build-app-top h4 { color: #12334e; font-size: 22px; line-height: 1.2; letter-spacing: -.025em; margin: 0; }
#build-app-description { color: #48677f; font-size: 12px; line-height: 1.7; margin: 17px 0; }
.build-app-features { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 21px; }
.build-app-features span { padding: 5px 8px; border: 1px solid #c9e1dc; border-radius: 5px; background: #eff8f5; color: #285d60; font-size: 10px; line-height: 1.4; }
.build-app-list { border: 1px solid #d2e0eb; border-radius: 9px; overflow: hidden; }
.build-app-row { display: grid; grid-template-columns: 23px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 12px; background: #fff; }
.build-app-row + .build-app-row { border-top: 1px solid #dce6ef; }
.build-row-icon { color: #176d80; font-size: 17px; }
.build-app-row strong { display: block; color: #12334e; font-size: 12px; font-weight: 600; line-height: 1.5; }
.build-app-row small { display: block; color: #526c80; font-size: 10px; line-height: 1.5; margin-top: 2px; }
.build-row-status { max-width: 115px; padding: 5px 7px; color: #295779; border-radius: 4px; background: #eaf1f8; font-size: 9px; line-height: 1.5; text-align: center; }
.build-app-row:last-child .build-row-status { background: #e6f2ee; color: #23615b; }
.build-connected { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 23px; color: #345c76; font-size: 10px; line-height: 1.6; }
.build-connected > span:not(.build-connected-dot) { color: #176d80; font-size: 15px; }
.build-connected-dot { width: 6px; height: 6px; border-radius: 50%; background: #23887f; }
.build-access-view { text-align: center; background: #f9fbfd; }
.build-login-mark { display: grid; place-items: center; width: 53px; height: 53px; margin: 0 auto 15px; border-radius: 15px; background: #f5e7ac; color: #12334e; }
.build-access-view h4 { font-size: 24px; line-height: 1.25; color: #12334e; margin: 0 0 10px; }
.build-access-view > p { max-width: 280px; margin: 0 auto 18px; font-size: 12px; line-height: 1.7; color: #48677f; }
.build-login-fields { display: grid; gap: 10px; max-width: 310px; margin: 0 auto 17px; text-align: left; }
.build-login-fields > div { padding: 10px 14px; border: 1px solid #c7d7e4; border-radius: 7px; background: #fff; }
.build-login-fields span { display: block; color: #48677f; font-size: 10px; margin-bottom: 3px; }
.build-login-fields strong { color: #12334e; font-size: 13px; font-weight: 500; }
.build-access-view .btn { font-size: 12px; min-height: 44px; }
.build-preview-footer { display: flex; justify-content: space-between; gap: 12px; padding: 13px 22px; background: #edf3f8; border-top: 1px solid #d4e1eb; color: #46657d; font-size: 10px; line-height: 1.6; }
.build-handover { display: flex; align-items: center; justify-content: space-between; gap: 25px; border: 1px solid #cbdcd9; border-radius: 13px; padding: 23px 28px; margin-top: 32px; background: #edf5f1; }
.build-handover p { margin: 0; }
.build-handover strong { display: block; color: #12334e; font-size: 18px; line-height: 1.4; margin-bottom: 5px; }
.build-handover p > span { display: block; color: #426579; font-size: 13px; line-height: 1.7; }
.build-handover .btn { flex-shrink: 0; font-size: 12px; }

.home .automation-section { background: #102b46; color: #fff; padding-block: 72px 60px; }
.automation-section .eyebrow { color: #ecd477; }
.automation-section .eyebrow > span { background: #ecd477; }
.automation-section h2 { color: #fff; }
.automation-section h2 em { color: #ecd477; }
.automation-section .section-intro { max-width: 365px; font-size: 15px; line-height: 1.8; color: #cadce9; }
.automation-scenarios { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 21px; }
.automation-scenarios button { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 13px; border: 1px solid #4c6e89; border-radius: 9px; background: #1b3c58; color: #fff; font: inherit; font-size: 13px; line-height: 1.5; cursor: pointer; }
.automation-scenarios svg { flex: 0 0 22px; color: #ecd477; }
.automation-scenarios button[aria-pressed="true"] { background: #ecd477; border-color: #ecd477; color: #12334e; }
.automation-scenarios button[aria-pressed="true"] svg { color: #12334e; }
.automation-scenarios button:hover { border-color: #ecd477; }
.automation-demo { padding: 28px; border: 1px solid #476985; border-radius: 15px; background: #163651; }
.automation-demo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.automation-demo-label { color: #a9c4d8; font-size: 9px; letter-spacing: .09em; margin: 0 0 8px; }
.automation-demo h3 { color: #fff; font-size: 26px; line-height: 1.25; letter-spacing: -.02em; margin: 0 0 10px; }
#automation-description { color: #cadce9; font-size: 13px; line-height: 1.75; margin: 0; max-width: 700px; }
.automation-demo-badge { padding: 6px 9px; border: 1px solid #58768e; border-radius: 5px; flex-shrink: 0; font-size: 9px; color: #d5e3ed; line-height: 1.6; }
.automation-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; gap: 21px; padding: 0; margin: 25px 0; }
.automation-flow li { position: relative; min-width: 0; padding: 20px; border: 1px solid #52718a; border-radius: 11px; background: #234760; transition: background .2s, border-color .2s, box-shadow .2s; }
.automation-flow li:not(:last-child)::after { content: '→'; position: absolute; right: -18px; top: 48%; color: #94b7cf; font-size: 16px; }
.automation-step-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.automation-step-top > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: #345e78; color: #ecd477; font-size: 11px; }
.automation-step-top small { color: #c8dce9; font-size: 9px; line-height: 1.5; }
.automation-flow h4 { font-size: 18px; line-height: 1.3; color: #fff; margin: 0 0 9px; font-weight: 600; }
.automation-flow p { color: #cbdde8; font-size: 12px; line-height: 1.65; margin: 0; }
.automation-flow li.is-running { border-color: #ecd477; background: #2f4d61; box-shadow: 0 0 0 3px #ecd47722; }
.automation-flow li.is-running .automation-step-top > span { background: #ecd477; color: #12334e; }
.automation-flow li.is-done { background: #18505c; border-color: #82c5ba; }
.automation-flow li.is-done .automation-step-top > span { background: #c8e7df; color: #12334e; }
.automation-flow li.is-done .automation-step-top small { color: #e1f4ef; }
.automation-demo-actions { display: flex; align-items: center; gap: 20px; }
.automation-demo-actions .btn { flex-shrink: 0; font-size: 12px; min-height: 46px; }
.automation-demo-actions .btn:disabled { cursor: progress; opacity: .78; }
#automation-run-status { min-width: 0; flex: 1; margin: 0; color: #cbdfeb; font-size: 11px; line-height: 1.7; }
#automation-detail-link { flex-shrink: 0; color: #ecd477; font-size: 12px; }
.automation-human-note { margin: 19px 0 0; padding-top: 15px; border-top: 1px solid #41647f; color: #aac5d8; font-size: 11px; line-height: 1.7; }
.automation-insights { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 38px; margin-top: 34px; align-items: start; }
.automation-calculator { min-width: 0; padding: 30px; border-radius: 15px; background: #f5f8fb; color: #12334e; }
.automation-calculator .eyebrow { color: #176d80; font-size: 9px; margin-bottom: 12px; }
.automation-calculator .eyebrow > span { background: #176d80; }
.calculator-heading h3 { color: #12334e; font-size: 29px; line-height: 1.2; letter-spacing: -.025em; margin: 0 0 13px; }
.calculator-heading > p:last-child { color: #48677f; font-size: 13px; line-height: 1.7; margin: 0 0 23px; }
.calculator-controls { display: grid; gap: 14px; }
.calculator-control > div { display: flex; align-items: baseline; justify-content: space-between; gap: 22px; }
.calculator-control label { font-size: 12px; font-weight: 500; line-height: 1.55; color: #234b65; max-width: 280px; }
.calculator-control > div > span { font-size: 11px; white-space: nowrap; color: #48677f; }
.calculator-control output { font-size: 20px; font-weight: 650; color: #13556c; font-variant-numeric: tabular-nums; }
.calculator-control input[type="range"] { display: block; width: 100%; min-height: 33px; margin: 3px 0 0; padding: 0; accent-color: #176d80; cursor: pointer; }
.calculator-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; border-top: 1px solid #cbdbe7; margin-top: 20px; padding-top: 20px; }
.calculator-results > div > span { display: block; color: #46677e; font-size: 11px; line-height: 1.55; margin-bottom: 6px; }
.calculator-results strong { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; font-size: clamp(26px, 2.7vw, 38px); letter-spacing: -.035em; line-height: 1.2; font-weight: 650; font-variant-numeric: tabular-nums; }
.calculator-results strong small { font-size: 10px; letter-spacing: 0; font-weight: 400; }
.calculator-results > div:last-child strong { color: #176d80; }
.calculator-bar { display: flex; height: 15px; margin-top: 18px; overflow: hidden; border-radius: 6px; background: #d1e0eb; }
.calculator-bar span { height: 100%; transition: width .2s; }
#automation-remaining-bar { background: #234a67; }
#automation-potential-bar { background: #80beb1; }
.calculator-legend { display: flex; flex-wrap: wrap; gap: 7px 20px; margin-top: 10px; color: #416179; font-size: 10px; line-height: 1.6; }
.calculator-legend > span { display: inline-flex; align-items: center; gap: 5px; }
.calculator-legend i { width: 7px; height: 7px; border-radius: 2px; background: #234a67; }
.calculator-legend > span:last-child i { background: #80beb1; }
.calculator-note { color: #4a657a; font-size: 10px; line-height: 1.8; margin: 18px 0 0; }
.automation-evidence { padding: 12px 0; min-width: 0; }
.automation-evidence .eyebrow { font-size: 9px; margin-bottom: 15px; }
.automation-evidence > h3 { color: #fff; font-size: 29px; line-height: 1.2; letter-spacing: -.025em; margin: 0 0 25px; }
.evidence-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); align-items: center; gap: 20px; padding: 21px 0; border-top: 1px solid #4b6a83; }
.evidence-number { color: #ecd477; font-size: 51px; line-height: 1.1; letter-spacing: -.055em; font-weight: 600; }
.evidence-number > span { font-size: 25px; }
.evidence-card p { color: #e0eaf2; font-size: 13px; line-height: 1.7; margin: 0 0 10px; }
.evidence-card a { color: #ecd477; font-size: 10px; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; }
.evidence-context { padding: 14px 0; border-block: 1px solid #4b6a83; }
.evidence-context summary { cursor: pointer; color: #e0eaf2; font-size: 12px; line-height: 1.6; }
.evidence-context p { color: #cadce9; font-size: 11px; line-height: 1.8; margin: 14px 0 0; }
.evidence-note { color: #adc7da; font-size: 10px; line-height: 1.8; margin: 17px 0 22px; }
.automation-evidence > .text-link { color: #ecd477; font-size: 13px; }
.build-section button:focus-visible, .build-section a:focus-visible, .automation-calculator input:focus-visible { outline: 3px solid #176d80; outline-offset: 4px; }
.automation-section button:focus-visible, .automation-section a:focus-visible, .automation-section summary:focus-visible { outline: 3px solid #ecd477; outline-offset: 4px; }
.interactive-fallback { margin: 20px 0 0; font-size: 13px; line-height: 1.7; }
.interactive-fallback a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) {
 .build-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; }
 .build-operation-view, .build-access-view { padding: 21px; }
 .build-preview-tools { padding-inline: 18px; }
 .build-app-row { grid-template-columns: 18px minmax(0, 1fr); gap: 4px 8px; }
 .build-row-status { grid-column: 2; justify-self: start; }
 .build-row-icon { grid-row: 1 / 3; }
 .build-handover { align-items: flex-start; }
 .build-handover p { max-width: 480px; }
 .automation-flow li { padding: 17px; }
 .automation-step-top { flex-wrap: wrap; gap: 8px; }
 .automation-demo-actions { flex-wrap: wrap; }
 #automation-run-status { flex-basis: 55%; }
 .automation-insights { gap: 28px; }
 .evidence-card { grid-template-columns: 95px minmax(0, 1fr); gap: 15px; }
 .evidence-number { font-size: 43px; }
 .automation-calculator { padding: 25px; }
}
@media (max-width: 900px) {
 .build-layout { grid-template-columns: 1fr; gap: 30px; }
 .build-copy { padding: 0; }
 .build-copy h3 { font-size: 30px; }
 .build-copy > p { max-width: 560px; }
 .build-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .build-choices button { align-items: flex-start; flex-direction: column; position: relative; gap: 10px; }
 .build-choices button > span:last-child { position: absolute; right: 16px; top: 15px; }
 .build-preview { max-width: 700px; width: 100%; justify-self: center; }
 .build-app-row { grid-template-columns: 23px minmax(0, 1fr) auto; gap: 9px; }
 .build-row-status { grid-column: auto; }
 .build-row-icon { grid-row: auto; }
 .build-operation-view, .build-access-view { min-height: 395px; }
 .build-handover { flex-wrap: wrap; }
 .automation-scenarios { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .automation-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 21px; }
 .automation-flow li:nth-child(2)::after { display: none; }
 .automation-step-top { flex-wrap: nowrap; }
 .automation-insights { grid-template-columns: 1fr; gap: 28px; }
 .automation-evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
 .automation-evidence > .eyebrow, .automation-evidence > h3, .evidence-context, .evidence-note, .automation-evidence > .text-link { grid-column: 1 / -1; }
 .evidence-card { grid-template-columns: 1fr; align-content: start; gap: 10px; }
 .evidence-number { font-size: 49px; }
}
@media (max-width: 760px) {
 .home .build-section, .home .automation-section { padding-block: 50px 40px; }
 .build-section .section-head, .automation-section .section-head { margin-bottom: 28px; }
 .build-section .section-intro, .automation-section .section-intro { max-width: 550px; margin-top: 20px; font-size: 14px; }
 .build-handover { padding: 22px; }
 .automation-demo { padding: 23px; }
 .automation-demo-head { flex-direction: column-reverse; gap: 14px; }
 .automation-demo h3 { font-size: 24px; }
 .automation-insights { margin-top: 25px; }
}
@media (max-width: 560px) {
 .build-copy h3 { font-size: 28px; }
 .build-choices { grid-template-columns: 1fr; }
 .build-choices button { flex-direction: row; align-items: center; padding: 14px; }
 .build-choices button > span:last-child { position: static; }
 .build-choices small { font-size: 11px; }
 .build-browser-bar { padding: 13px 12px; gap: 9px; }
 .browser-dots { gap: 3px; }
 .browser-dots i { width: 4px; height: 4px; }
 .build-address { padding: 5px 6px; font-size: 9px; gap: 5px; }
 .build-preview-badge { font-size: 8px; }
 .build-preview-tools { gap: 8px; padding: 12px; }
 #build-kind-label { font-size: 10px; }
 .build-view-switch button { font-size: 10px; padding-inline: 7px; }
 .build-operation-view, .build-access-view { padding: 20px 16px; min-height: 405px; }
 .build-app-top { gap: 10px; }
 .build-app-mark { width: 36px; height: 40px; flex-basis: 36px; border-radius: 9px; }
 .build-app-top h4 { font-size: 19px; }
 .build-app-top > div > span { font-size: 8px; }
 .build-app-features { margin-bottom: 15px; }
 .build-app-features span { font-size: 9px; }
 .build-app-row { grid-template-columns: 18px minmax(0, 1fr); padding: 11px; gap: 4px 7px; }
 .build-row-status { grid-column: 2; }
 .build-row-icon { grid-row: 1 / 3; }
 .build-app-row strong { font-size: 11px; }
 .build-app-row small { font-size: 10px; }
 .build-connected { margin-top: 17px; font-size: 9px; gap: 5px; }
 .build-preview-footer { flex-wrap: wrap; padding: 12px 16px; gap: 4px 13px; font-size: 9px; }
 .build-handover { padding: 20px; margin-top: 25px; }
 .build-handover .btn { width: 100%; justify-content: center; }
 .automation-scenarios { gap: 9px; }
 .automation-scenarios button { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 8px; padding: 15px; font-size: 12px; }
 .automation-demo { padding: 20px; }
 .automation-flow { grid-template-columns: 1fr; gap: 22px; }
 .automation-flow li { padding: 18px; }
 .automation-step-top { margin-bottom: 12px; }
 .automation-flow li:not(:last-child)::after { content: '↓'; left: 50%; right: auto; top: auto; bottom: -23px; }
 .automation-flow li:nth-child(2)::after { display: block; }
 .automation-demo-actions { flex-direction: column; align-items: stretch; gap: 15px; }
 .automation-demo-actions .btn { justify-content: center; }
 #automation-run-status { flex-basis: auto; }
 #automation-detail-link { align-self: flex-start; }
 .automation-calculator { padding: 23px 20px; }
 .calculator-heading h3, .automation-evidence > h3 { font-size: 27px; }
 .calculator-control > div { gap: 18px; }
 .calculator-control label { font-size: 11px; }
 .calculator-results { gap: 12px; }
 .calculator-results strong { font-size: 28px; }
 .calculator-results > div > span { font-size: 10px; }
 .automation-evidence { gap: 0 20px; }
 .evidence-card p { font-size: 12px; }
 .evidence-number { font-size: 44px; }
}
@media (max-width: 360px) {
 .build-preview-badge { display: none; }
 .build-operation-view, .build-access-view { padding-inline: 13px; }
 .build-app-top h4 { font-size: 18px; }
 .build-access-view h4 { font-size: 22px; }
 .build-handover { padding: 17px; }
 .build-handover .btn { font-size: 11px; padding-inline: 10px; }
 .automation-demo { padding: 17px; }
 .automation-calculator { padding: 22px 17px; }
 .calculator-results strong { font-size: 24px; }
 .automation-evidence { grid-template-columns: 1fr; }
 .evidence-card { grid-template-columns: 88px minmax(0, 1fr); gap: 15px; }
 .evidence-number { font-size: 39px; }
}
@media (prefers-reduced-motion: reduce) {
 .build-choices button, .automation-flow li, .calculator-bar span { transition: none; }
}
@media print {
 .home .automation-section, .automation-demo, .automation-flow li, .build-preview, .build-browser-bar { background: #fff; color: #000; box-shadow: none; }
 .automation-section h2, .automation-section h3, .automation-section h4, .automation-section p, .automation-section .evidence-number { color: #000; }
}
