/* Ajustes editoriais exclusivos da home em avaliação. Identidade v39 preservada. */
body.page-inicio .hero { grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: 64px; padding-top: 56px; }
body.page-inicio .hero h1 { font-size: clamp(54px, 5.6vw, 80px); line-height: 1.04; max-width: 760px; text-wrap: balance; }
body.page-inicio .hero h1 em { display: block; }
body.page-inicio .hero-lead { font-size: 23px; line-height: 1.4; letter-spacing: -.025em; font-weight: 500; max-width: 590px; margin-top: 26px; color: var(--navy); text-wrap: balance; }
body.page-inicio .hero-intro { font-size: 17px; line-height: 1.7; max-width: 620px; margin-top: 18px; }
body.page-inicio .hero-intro + .hero-intro { margin-top: 12px; }
body.page-inicio main .home-context-body .home-value { font-size: 14px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: auto; }
body.page-inicio main .home-value strong { display: block; color: var(--navy); font-size: 12px; font-weight: 600; margin-bottom: 5px; }
body.page-inicio main .home-context-body .text-link { margin-top: 4px; }
body.page-inicio .services-copy h2 { text-wrap: balance; }
body.page-inicio .evidence-copy .button { text-align: left; }
body.page-inicio .method-steps p { max-width: 440px; }
body.page-inicio .contact h2 { text-wrap: balance; }
@media (max-width: 1100px) {
  body.page-inicio .hero { gap: 36px; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); }
  body.page-inicio .hero h1 { font-size: clamp(50px, 5.8vw, 68px); }
  body.page-inicio .hero-lead { font-size: 21px; }
}
@media (max-width: 800px) {
  body.page-inicio .hero { display: flex; flex-direction: column; gap: 36px; padding-top: 40px; padding-bottom: 56px; }
  body.page-inicio .hero h1 { font-size: clamp(44px, 8vw, 64px); max-width: 670px; }
  body.page-inicio .hero-lead { max-width: 580px; text-wrap: pretty; }
  body.page-inicio .hero-intro { max-width: 620px; }
}
@media (max-width: 600px) {
  body.page-inicio .hero h1 { font-size: clamp(40px, 10.4vw, 60px); margin-top: 24px; }
  body.page-inicio .hero-lead { font-size: 21px; margin-top: 24px; }
  body.page-inicio .hero-intro { font-size: 16px; }
  body.page-inicio .hero .eyebrow { font-size: 10px; letter-spacing: 0; }
  body.page-inicio .evidence-copy .button { width: 100%; }
}
@media (max-width: 360px) {
  body.page-inicio .hero h1 { font-size: 36px; }
}

body.page-inicio .carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
body.page-inicio .carousel-controls[hidden] { display: none; }
body.page-inicio .carousel-navigation { display: flex; align-items: center; gap: 8px; }
body.page-inicio .carousel-arrow { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; background: transparent; border: 1px solid #3b5477; border-radius: 50%; color: #d1dff3; cursor: pointer; }
body.page-inicio .carousel-arrow svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
body.page-inicio .carousel-arrow:hover { color: #fff; background: #1b3151; }
body.page-inicio .carousel-arrow:focus-visible { outline: 2px solid #a8c6f5; outline-offset: 3px; }
body.page-inicio .carousel-count { min-width: 48px; text-align: center; color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }
body.page-inicio .carousel-count span { color: #9eb4d2; }
body.page-inicio .carousel-controls .flow-control { margin: 0 -6px 0 0; }
body.page-inicio .carousel-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.page-inicio .flow-control { display: inline-flex; align-items: center; justify-content: center; gap: 5px; margin: -8px -6px -8px 0; min-height: 34px; padding: 6px; border: 0; border-radius: 5px; background: transparent; color: #b7ceef; font: inherit; font-size: 11px; line-height: 1.4; cursor: pointer; }
body.page-inicio .flow-control[hidden] { display: none; }
body.page-inicio .flow-control:hover { color: #fff; background: #1b3151; }
body.page-inicio .flow-control:focus-visible { outline: 2px solid #a8c6f5; outline-offset: 3px; }
body.page-inicio .flow-control svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
/* Cenas de aplicação: benefício curto e uma composição própria para cada caso. */
body.page-inicio .hero-case { align-self: center; min-width: 0; padding: 28px; border: 1px solid #233a58; border-radius: var(--radius-section); background: var(--navy); color: #fff; }
body.page-inicio .carousel-slides { display: grid; }
body.page-inicio .carousel-slide { grid-area: 1/1; display: flex; flex-direction: column; min-width: 0; }
body.page-inicio .carousel-slide:not(.is-active) { visibility: hidden; pointer-events: none; }
body.page-inicio .hero-case-heading { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 22px; }
body.page-inicio .hero-case-label { margin: 0; color: #a8c6f5; font-size: 11px; line-height: 1.5; }
body.page-inicio .hero-case-sector { padding: 4px 10px; border: 1px solid #3b5477; border-radius: 30px; color: #c2d4ec; font-size: 11px; line-height: 1.5; }
body.page-inicio .hero-case h2 { margin: 0; min-height: 2.24em; color: #fff; font-size: clamp(28px,2.35vw,34px); line-height: 1.12; letter-spacing: -.035em; font-weight: 500; }
body.page-inicio .case-caption { margin: 8px 0 0; min-height: 3.1em; color: #b9cae0; font-size: 15px; line-height: 1.55; }
body.page-inicio .case-detail { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; margin-top: 14px; color: #e0eaff; font-size: 12px; text-decoration: none; }
body.page-inicio .case-detail:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
body.page-inicio .case-detail:focus-visible { outline: 2px solid #a8c6f5; outline-offset: 5px; border-radius: 2px; }
body.page-inicio .scene { position: relative; width: 100%; height: 192px; margin: 16px 0 10px; user-select: none; }
body.page-inicio .scene-products { max-width: 330px; align-self: center; }
body.page-inicio .product-tile { position: absolute; width: 42%; height: 148px; border: 1px solid #3a5070; border-radius: 13px; background: #14243b; }
body.page-inicio .product-tile > svg { display: block; width: 92px; max-width: 86%; height: 100px; margin: 12px auto 0; fill: none; stroke: #c3d6ef; stroke-width: 1.5; stroke-linejoin: round; }
body.page-inicio .product-tile > span { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: #d3e1f3; font-size: 11px; }
body.page-inicio .product-tile > i { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #496487; border-radius: 50%; font-size: 16px; font-style: normal; color: #c8d8ee; }
body.page-inicio .product-missing { top: 22px; left: 8%; transform: rotate(-8deg); opacity: .48; }
body.page-inicio .product-option { top: 32px; left: 48%; transform: rotate(7deg); border-color: #7197f4; background: linear-gradient(145deg,#234799,#192c52); box-shadow: 0 12px 35px #0003; }
body.page-inicio .product-option > i { color: #fff; border-color: #7fa6ef; background: #315cd3; }
body.page-inicio .product-arc { position: absolute; top: 0; left: 22%; width: 62%; height: 40px; fill: none; stroke: #789add; stroke-width: 1; opacity: .6; }
body.page-inicio .scene-conversation { max-width: 350px; align-self: center; }
body.page-inicio .chat-question, body.page-inicio .chat-answer { position: absolute; display: flex; align-items: center; gap: 12px; border-radius: 14px; z-index: 1; }
body.page-inicio .chat-question { top: 22px; left: 2%; padding: 14px; background: #16273f; border: 1px solid #334d70; }
body.page-inicio .chat-question p, body.page-inicio .chat-answer p { margin: 0; color: #e3ecf9; font-size: 15px; line-height: 1.5; }
body.page-inicio .chat-avatar { display: grid; place-items: center; width: 28px; height: 28px; color: #9bb5da; }
body.page-inicio .chat-avatar svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.3; }
body.page-inicio .chat-answer { right: 1%; top: 100px; padding: 15px 19px; border: 1px solid #597fcf; background: linear-gradient(120deg,#244786,#1b3154); box-shadow: 0 12px 30px #0002; }
body.page-inicio .chat-answer small { display: block; margin-bottom: 3px; color: #9fbeff; font-size: 10px; }
body.page-inicio .chat-spark { color: #a9c7ff; font-size: 25px; }
body.page-inicio .conversation-orbit { position: absolute; top: 42px; left: 34%; width: 122px; height: 122px; border: 1px dashed #4e6d9b; border-radius: 50%; opacity: .35; }
body.page-inicio .machine-drawing { display: block; width: 100%; height: 185px; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
body.page-inicio .machine-shadow { stroke: #294262; }
body.page-inicio .machine-body { stroke: #849dbf; fill: #142a43; }
body.page-inicio .machine-soft { stroke: #4e6b91; }
body.page-inicio .machine-wheel { stroke: #a5c5f4; fill: #234376; }
body.page-inicio .machine-pipe { stroke: #6d8cb4; }
body.page-inicio .machine-focus { stroke: #739bff; fill: #1f3b6833; }
body.page-inicio .machine-alert { fill: #edb58e; stroke: #edb58e; }
body.page-inicio .machine-note { position: absolute; bottom: 3px; right: 1%; display: flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid #4c6da5; border-radius: 9px; background: #203657; color: #c4d8f4; font-size: 11px; }
body.page-inicio .machine-note svg { width: 19px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.2; }
body.page-inicio .scene-invoices { max-width: 310px; align-self: center; }
body.page-inicio .invoice { position: absolute; width: 44%; height: 151px; padding: 16px; border-radius: 7px; border: 1px solid #526f95; background: #1a2d48; }
body.page-inicio .invoice > span { color: #b5cae4; font-size: 10px; }
body.page-inicio .invoice b, body.page-inicio .invoice i, body.page-inicio .invoice em { display: block; height: 4px; border-radius: 2px; background: #597190; }
body.page-inicio .invoice b { width: 55%; margin: 18px 0 12px; }
body.page-inicio .invoice i { margin-top: 8px; }
body.page-inicio .invoice i:nth-of-type(2) { width: 75%; }
body.page-inicio .invoice em { height: 12px; margin-top: 14px; background: #416ac1; box-shadow: 0 0 0 3px #31538855; }
body.page-inicio .invoice-back { top: 17px; left: 45%; transform: rotate(10deg); background: #13253e; }
body.page-inicio .invoice-front { top: 6px; left: 13%; transform: rotate(-8deg); border-color: #7396c4; box-shadow: 0 12px 30px #0002; }
body.page-inicio .duplicate-flag { position: absolute; bottom: 3px; right: 3%; display: flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid #887564; border-radius: 9px; color: #f4c9a8; background: #253043; font-size: 11px; }
body.page-inicio .duplicate-flag > span { display: grid; place-items: center; border: 1px solid #a98d74; border-radius: 50%; width: 17px; height: 17px; font-size: 11px; }
@media (prefers-reduced-motion: no-preference) {
  body.page-inicio .carousel-slide.is-active { animation: case-arrives 300ms ease-out; }
  body.page-inicio .hero-case.is-playing .carousel-slide.is-active .product-option { animation: option-emphasis 2400ms ease-in-out 500ms both; }
  body.page-inicio .hero-case.is-playing .carousel-slide.is-active .chat-answer { animation: reply-emphasis 2200ms ease-in-out 700ms both; }
  body.page-inicio .hero-case.is-playing .carousel-slide.is-active .machine-focus { animation: focus-emphasis 2600ms ease-in-out 400ms both; }
  body.page-inicio .hero-case.is-playing .carousel-slide.is-active .duplicate-flag { animation: reply-emphasis 2400ms ease-in-out 600ms both; }
}
@keyframes case-arrives { from { opacity: .3; } to { opacity: 1; } }
@keyframes option-emphasis { 0%,100% { transform: rotate(7deg); } 45% { transform: translateY(-5px) rotate(3deg); box-shadow: 0 8px 35px #4578ff33; } }
@keyframes reply-emphasis { 0%,100% { transform: translateY(0); } 45% { transform: translateY(-4px); box-shadow: 0 8px 28px #4a75c933; } }
@keyframes focus-emphasis { 0%,100% { opacity: .65; } 50% { opacity: 1; stroke: #c4d6ff; } }
@media (prefers-reduced-motion: reduce) { body.page-inicio .flow-control { display: none; } }
@media (max-width: 1100px) {
  body.page-inicio .hero-case { padding: 24px; }
  body.page-inicio .hero-case h2 { font-size: 28px; }
  body.page-inicio .case-caption { font-size: 14px; }
}
@media (max-width: 800px) {
  body.page-inicio .hero-case { width: 100%; max-width: 520px; padding: 28px; }
  body.page-inicio .hero-case h2 { font-size: 32px; }
}
@media (max-width: 360px) {
  body.page-inicio .hero-case { padding: 22px 20px; }
  body.page-inicio .hero-case h2 { font-size: 27px; }
  body.page-inicio .hero-case-label, body.page-inicio .hero-case-sector { font-size: 10px; }
  body.page-inicio .chat-answer { padding: 13px; gap: 8px; }
  body.page-inicio .chat-question p, body.page-inicio .chat-answer p { font-size: 14px; }
}

/* Abertura institucional: o SVG aprovado permanece integral e sem alterações. */
body.page-inicio .carousel-brand { text-align: center; }
body.page-inicio .brand-eyebrow { margin: 2px 0 0; color: #b1c6e6; font-size: 11px; letter-spacing: .025em; line-height: 1.5; }
body.page-inicio .brand-scene { position: relative; display: grid; place-items: center; flex: 1; min-height: 286px; isolation: isolate; }
body.page-inicio .brand-atmosphere { position: absolute; inset: -15px -23px; z-index: -2; background: radial-gradient(ellipse at 50% 48%, #146cdd38 0%, #1263bf12 45%, transparent 70%); }
body.page-inicio .brand-halo { position: absolute; left: 50%; top: 50%; width: 278px; max-width: 100%; aspect-ratio: 1; border: 1px solid #628dd71c; border-radius: 50%; transform: translate(-50%, -50%); z-index: -1; }
body.page-inicio .brand-halo::after { content: ''; position: absolute; inset: 23px; border: 1px solid #79a6ed15; border-radius: 50%; }
body.page-inicio .brand-symbol { display: block; width: 184px; max-width: 58%; height: auto; }
body.page-inicio .brand-message { padding: 8px 0 22px; }
body.page-inicio .brand-message h2 { min-height: 0; font-size: clamp(20px, 1.75vw, 25px); line-height: 1.3; letter-spacing: -.035em; }
body.page-inicio .brand-message p { margin: 9px 0 0; font-size: 14px; color: #b9cae0; line-height: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  body.page-inicio .hero-case.is-playing .carousel-brand.is-active .brand-symbol { animation: brand-breathe 4400ms ease-in-out both; }
  body.page-inicio .hero-case.is-playing .carousel-brand.is-active .brand-atmosphere { animation: brand-light 4400ms ease-in-out both; }
  body.page-inicio .hero-case.is-playing .carousel-brand.is-active .brand-halo { animation: brand-halo 4400ms ease-in-out both; }
}
@keyframes brand-breathe { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes brand-light { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes brand-halo { 0%,100% { opacity: .45; transform: translate(-50%, -50%) scale(.96); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); } }
@media (max-width: 360px) {
  body.page-inicio .brand-scene { min-height: 275px; }
  body.page-inicio .brand-message h2 { font-size: 20px; }
  body.page-inicio .brand-message p { font-size: 13px; }
  body.page-inicio .brand-atmosphere { inset-inline: -19px; }
}

/* Controles discretos: ícones pequenos, com área de interação preservada. */
body.page-inicio .hero-case-light .carousel-controls { justify-content: flex-end; gap: 6px; margin-top: 18px; }
body.page-inicio .hero-case-light .carousel-navigation { gap: 1px; }
body.page-inicio .hero-case-light .carousel-arrow { width: 26px; height: 28px; border: 0; border-radius: 3px; color: #8fa4c2; }
body.page-inicio .hero-case-light .carousel-arrow svg { width: 12px; height: 12px; }
body.page-inicio .hero-case-light .carousel-count { min-width: 34px; color: #a9bad1; font-size: 10px; }
body.page-inicio .hero-case-light .carousel-count span { color: #8fa4c2; }
body.page-inicio .hero-case-light .carousel-controls .flow-control { position: relative; width: 28px; min-height: 28px; margin: 0; padding: 7px; border-radius: 3px; color: #8fa4c2; }
body.page-inicio .hero-case-light .flow-control svg { width: 12px; height: 12px; }
body.page-inicio .hero-case-light .flow-control span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.page-inicio .hero-case-light .carousel-arrow:hover,
body.page-inicio .hero-case-light .flow-control:hover { background: transparent; color: #e0eaff; }
body.page-inicio .hero-case-light .carousel-arrow:focus-visible,
body.page-inicio .hero-case-light .flow-control:focus-visible { outline: 1.5px solid #a8c6f5; outline-offset: 1px; }
@media (pointer: coarse) {
  body.page-inicio .hero-case-light .carousel-arrow,
  body.page-inicio .hero-case-light .carousel-controls .flow-control { width: 36px; min-height: 36px; }
}
