/* 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 .hero-case { align-self: center; min-width: 0; padding: 30px; background: var(--navy); border: 1px solid #233a58; border-radius: var(--radius-section); color: #fff; }
body.page-inicio .hero-case-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }
body.page-inicio .hero-case-label { margin: 0; color: #a8c6f5; font-size: 11px; line-height: 1.5; font-weight: 500; letter-spacing: .025em; }
body.page-inicio .hero-case-sector { padding: 4px 10px; border: 1px solid #3b5477; border-radius: 30px; font-size: 11px; line-height: 1.5; color: #d1dff3; }
body.page-inicio .hero-case h2 { margin: 0; color: #fff; font-size: 34px; line-height: 1.16; letter-spacing: -.04em; text-wrap: balance; }
body.page-inicio .opportunity-map { margin-top: 28px; }
body.page-inicio .opportunity-request { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #3a465a; border-radius: 10px; background: #122034; }
body.page-inicio .opportunity-box { flex: 0 0 36px; width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; color: #97a8be; }
body.page-inicio .opportunity-request p { margin: 0; font-size: 11px; line-height: 1.5; color: #b9c6d8; }
body.page-inicio .opportunity-request strong { display: block; margin-top: 2px; color: #ffd0ae; font-size: 16px; font-weight: 500; }
body.page-inicio .opportunity-status { margin-left: auto; display: grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 50%; border: 1px solid #70533f; color: #ffd0ae; font-size: 20px; line-height: 1; }
body.page-inicio .opportunity-context { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 22px; }
body.page-inicio .opportunity-context span { text-align: center; padding: 7px 2px; border: 1px solid #3b5477; border-radius: 6px; color: #c2d4ed; font-size: 11px; line-height: 1.4; }
body.page-inicio .opportunity-engine { display: flex; flex-direction: column; align-items: center; }
body.page-inicio .opportunity-connectors { width: 100%; height: 42px; fill: none; stroke: #5f84b6; stroke-width: 1; }
body.page-inicio .opportunity-ai { display: flex; align-items: center; gap: 12px; position: relative; }
body.page-inicio .opportunity-ai-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #7498ff; border-radius: 12px; background: #244df1; color: #fff; font-size: 16px; font-weight: 600; box-shadow: 0 0 32px #244df144; }
body.page-inicio .opportunity-ai p { margin: 0; color: #dae6fa; font-size: 14px; line-height: 1.5; }
body.page-inicio .opportunity-arrow { width: 20px; height: 28px; fill: none; stroke: #7ba9ed; stroke-width: 1.2; }
body.page-inicio .opportunity-offer { display: flex; gap: 14px; align-items: center; border: 1px solid #507cc3; border-radius: 10px; padding: 18px 16px; background: linear-gradient(120deg,#173561,#152946); }
body.page-inicio .opportunity-offer .opportunity-box { color: #a1c7ff; }
body.page-inicio .opportunity-offer p { margin: 0; color: #c2d6f4; font-size: 11px; line-height: 1.5; }
body.page-inicio .opportunity-offer h3 { margin: 5px 0 8px; font-size: 20px; line-height: 1.25; letter-spacing: -.025em; font-weight: 500; color: #fff; }
body.page-inicio .opportunity-offer .opportunity-criteria { color: #aac8f5; font-size: 11px; }
body.page-inicio .hero-case-value { margin-top: 26px; padding-top: 22px; border-top: 1px solid #2c405c; }
body.page-inicio .hero-case-value > p:last-child { margin: 9px 0 0; font-size: 26px; line-height: 1.25; font-weight: 500; letter-spacing: -.035em; color: #fff; }
body.page-inicio .hero-case-value > p:last-child span { color: #a8c6f5; }
body.page-inicio .hero-case-value-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
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; }
body.page-inicio .hero-case .flow-signal { stroke: #b2d3ff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 12 88; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  body.page-inicio .hero-case.is-playing .carousel-slide.is-active .opportunity-context span { animation: context-arrives 850ms ease-out both; }
  body.page-inicio .hero-case.is-playing .carousel-slide.is-active .opportunity-context span:nth-child(2) { animation-delay: 180ms; }
  body.page-inicio .hero-case.is-playing .carousel-slide.is-active .opportunity-context span:nth-child(3) { animation-delay: 360ms; }
  body.page-inicio .hero-case.is-playing .carousel-slide.is-active .flow-signal-one { animation: information-travels 1400ms ease-in-out 450ms both; }
  body.page-inicio .hero-case.is-playing .carousel-slide.is-active .flow-signal-two { animation: information-travels 1250ms ease-in-out 650ms both; }
  body.page-inicio .hero-case.is-playing .carousel-slide.is-active .flow-signal-three { animation: information-travels 1200ms ease-in-out 800ms both; }
  body.page-inicio .hero-case.is-playing .carousel-slide.is-active .opportunity-ai-mark { animation: ai-connects 1000ms ease-in-out 1750ms both; }
  body.page-inicio .hero-case.is-playing .carousel-slide.is-active .flow-signal-result { animation: information-travels 650ms ease-in-out 2550ms both; }
  body.page-inicio .hero-case.is-playing .carousel-slide.is-active .opportunity-offer { animation: alternative-arrives 1000ms ease-out 3100ms both; }
}
@keyframes context-arrives {
  0%, 100% { border-color: #3b5477; background-color: transparent; }
  45% { border-color: #98bffa; background-color: #24476e; }
}
@keyframes information-travels {
  0% { stroke-dashoffset: 0; opacity: 0; }
  15%, 75% { opacity: .95; }
  100% { stroke-dashoffset: -100; opacity: 0; }
}
@keyframes ai-connects {
  0%, 100% { box-shadow: 0 0 32px #244df144; transform: scale(1); }
  45% { box-shadow: 0 0 24px #5689ff88, 0 0 0 5px #5689ff18; transform: scale(1.035); }
}
@keyframes alternative-arrives {
  0%, 100% { border-color: #507cc3; box-shadow: 0 0 0 0 #81b0ff00; }
  45% { border-color: #a1c7ff; box-shadow: 0 0 20px 0 #81b0ff22; }
}
@media (prefers-reduced-motion: reduce) {
  body.page-inicio .hero-case .flow-signal, body.page-inicio .flow-control { display: none; }
}
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; }
  body.page-inicio .hero-case { padding: 24px; }
  body.page-inicio .hero-case h2 { font-size: 29px; }
}
@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; }
  body.page-inicio .hero-case { width: 100%; padding: 30px; }
  body.page-inicio .hero-case h2 { max-width: 520px; font-size: 30px; }
}
@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 .hero-case { padding: 24px; }
  body.page-inicio .hero-case h2 { font-size: 28px; }
  body.page-inicio .evidence-copy .button { width: 100%; }
}
@media (max-width: 360px) {
  body.page-inicio .hero h1 { font-size: 36px; }
  body.page-inicio .hero-case { padding: 22px 20px; }
  body.page-inicio .hero-case h2 { font-size: 26px; }
  body.page-inicio .hero-case-heading { gap: 8px; }
  body.page-inicio .hero-case-label { font-size: 10px; }
  body.page-inicio .opportunity-context { gap: 5px; }
  body.page-inicio .opportunity-context span { font-size: 10px; }
  body.page-inicio .opportunity-offer { gap: 10px; padding: 16px 12px; }
  body.page-inicio .opportunity-offer h3 { font-size: 18px; }
  body.page-inicio .hero-case-value > p:last-child { font-size: 25px; }
}

/* Carrossel: os slides compartilham a mesma célula para evitar saltos de altura. */
body.page-inicio .carousel-slides { display: grid; }
body.page-inicio .carousel-slide { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; }
body.page-inicio .carousel-slide:not(.is-active) { visibility: hidden; pointer-events: none; }
body.page-inicio .carousel-slide .hero-case-value { margin-top: auto; }
body.page-inicio .carousel-slide .opportunity-map { margin-bottom: 26px; }
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; }
@media (prefers-reduced-motion: no-preference) {
  body.page-inicio .carousel-slide.is-active { animation: case-arrives 300ms ease-out; }
}
@keyframes case-arrives { from { opacity: .3; } to { opacity: 1; } }
