/* Review-only changes. Keep the approved client strip intact. */
body.site-v2.page-home.hp-home .journey-strip > .wrap { width:min(92vw,1440px); padding-inline:0; }
body.site-v2.page-home.hp-home .hp-performance-layout {
  grid-template-columns:minmax(300px,420px) minmax(0,1fr);
  gap:clamp(32px,3vw,48px);
}
body.site-v2.page-home.hp-home .hp-performance-intro > p { max-width:420px; }
body.site-v2.page-home.hp-home .hp-outcomes article { grid-template-columns:180px minmax(0,1fr); gap:24px; padding-block:25px; }
body.site-v2.page-home.hp-home .hp-outcome-name { font-size:20px; line-height:1.35; padding-top:2px; letter-spacing:-.02em; }
body.site-v2.page-home.hp-home .hp-outcomes h3 { font-size:clamp(23px,1.6vw,26px); line-height:1.3; }
body.site-v2.page-home.hp-home .hp-outcomes p { font-size:16px; line-height:1.65; }

/* Reintroduce the existing visual language in the consultation story. */
body.site-v2.page-home.hp-home #metodo.hp-consulting { background:#f3f7fc; }
body.site-v2.page-home.hp-home .hp-consulting-photo { border-radius:14px; }
body.site-v2.page-home.hp-home .hp-consulting-copy .hp-title { color:#11184f; }
body.site-v2.page-home.hp-home .hp-method li { grid-template-columns:44px 1fr; gap:17px; align-items:center; padding:15px 0; }
body.site-v2.page-home.hp-home .hp-method li > span { width:42px; height:42px; padding:0; display:grid; place-items:center; background:#e3efff; color:#0068dc; border-radius:50%; font-size:13px; }
body.site-v2.page-home.hp-home .hp-method li:nth-child(2) > span { background:#e2f2ec; color:#08736a; }
body.site-v2.page-home.hp-home .hp-method li:nth-child(3) > span { background:#ece7fb; color:#6845bd; }

/* Restore the four stages with the distinct colors reviewed in the old Home. */
body.site-v2.page-home.hp-home #servicos.hp-service-showcase { padding:38px 0 0; margin-top:42px; border-top:1px solid #d0deec; background:transparent; }
body.site-v2.page-home.hp-home .hp-service-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:30px; margin-bottom:24px; }
body.site-v2.page-home.hp-home .hp-service-heading .hp-kicker { margin-bottom:10px; }
body.site-v2.page-home.hp-home .hp-service-heading h3 { font-size:28px; font-weight:800; color:#11184f; line-height:1.2; text-wrap:initial; letter-spacing:-.025em; }
body.site-v2.page-home.hp-home .hp-service-heading > a { flex:none; }
body.site-v2.page-home.hp-home .hp-project-stages { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; list-style:none; margin:0; padding:0; }
body.site-v2.page-home.hp-home .hp-project-stage { --stage:#0b66cb; --wash:#e8f2ff; padding:22px 20px; border:0; border-top:4px solid var(--stage); border-radius:8px; background:var(--wash); min-width:0; }
body.site-v2.page-home.hp-home .hp-project-stage:nth-child(2) { --stage:#087b6b; --wash:#e4f3ee; }
body.site-v2.page-home.hp-home .hp-project-stage:nth-child(3) { --stage:#a46212; --wash:#fbf0db; }
body.site-v2.page-home.hp-home .hp-project-stage:nth-child(4) { --stage:#7050af; --wash:#eee8f8; }
body.site-v2.page-home.hp-home .hp-project-stage-top { display:flex; align-items:center; justify-content:space-between; gap:20px; color:var(--stage); margin-bottom:16px; }
body.site-v2.page-home.hp-home .hp-project-stage-top > span { font-size:30px; font-weight:800; letter-spacing:-.04em; line-height:1.2; }
body.site-v2.page-home.hp-home .hp-project-stage-top svg { width:28px; height:28px; flex:none; }
body.site-v2.page-home.hp-home .hp-project-stage h4 { color:#26333e; font-size:20px; font-weight:750; line-height:1.3; letter-spacing:-.025em; margin:0 0 10px; }
body.site-v2.page-home.hp-home .hp-project-stage p { color:#42505b; font-size:15px; line-height:1.55; margin:0; text-align:left; }

/* Restored sections use their existing components, widths and color treatment. */
body.site-v2.page-home.hp-home main > :is(.sap-portfolio-home,.industry-section,.industry-showcase,.home-ai,.home-differences,#ecossistema) > .wrap { width:min(92vw,1440px); }
body.site-v2.page-home.hp-home #caminho.sap-portfolio-home { padding-block:54px; }
body.site-v2.page-home.hp-home #caminho .sap-home-products { grid-template-columns:repeat(2,minmax(0,1fr)); }
body.site-v2.page-home.hp-home #setores:not(.hp-section) { padding-block:48px; }
body.site-v2.page-home.hp-home #ia-agentes.home-ai { padding-block:54px; }
body.site-v2.page-home.hp-home #ecossistema[data-ecosystem-visual="light"] { padding-block:48px; }
body.site-v2.page-home.hp-home #diferenciais.home-differences { padding-block:50px; }
body.site-v2.page-home.hp-home .hp-agenda { padding-block:16px; }

/* The presence heading has a single desktop line and the map regains scale. */
body.site-v2.page-home.hp-home .hp-presence .hp-section-heading { gap:30px; }
body.site-v2.page-home.hp-home .hp-presence .hp-title { text-wrap:initial; }
body.site-v2.page-home.hp-home .hp-presence .brazil-map { height:500px; max-height:500px; }
body.site-v2.page-home.hp-home .hp-presence .brazil-locations { column-gap:5%; }
body.site-v2.page-home.hp-home .hp-presence .headquarters { border-radius:10px; padding:28px; }
body.site-v2.page-home.hp-home #presenca.hp-section { padding-bottom:24px; }

/* Use the reviewed Connect / Services / Alliance cards with their original CTAs. */
body.site-v2.page-home.hp-home .hp-partners-restored { padding:28px 0 48px; background:white; }
body.site-v2.page-home.hp-home .hp-partners-restored .bpa-program { padding:0; margin:0; border:0; }
body.site-v2.page-home.hp-home .hp-partners-restored .bpa-card.bpa-connect { background:#f4effc; }
body.site-v2.page-home.hp-home .hp-partners-restored .bpa-program header { margin-bottom:24px; }
body.site-v2.page-home.hp-home .hp-partners-restored #bpa-title { font-size:clamp(29px,2.7vw,40px); line-height:1.2; color:#11184f; text-wrap:initial; margin-bottom:10px; }
body.site-v2.page-home.hp-home .hp-partners-restored .bpa-card p { font-size:15px; margin:0 0 16px; line-height:1.6; }
body.site-v2.page-home.hp-home .hp-partners-restored .bpa-alliance p { color:#e3eeff; }
body.site-v2.page-home.hp-home .hp-partners-restored .bpa-card h4 { color:inherit; }
body.site-v2.page-home.hp-home .hp-partners-restored .bpa-alliance h4 { color:white; }
body.site-v2.page-home.hp-home .hp-closing { background:radial-gradient(ellipse at 100% 0%,#075eae 0%,transparent 60%),linear-gradient(115deg,#09054c,#102d6a); }
body.site-v2.page-home.hp-home .hp-closing .hp-button-white { border-radius:5px; }

@media(min-width:1101px) {
  body.site-v2.page-home.hp-home .hp-presence .hp-title { white-space:nowrap; }
}
@media(max-width:1100px) {
  body.site-v2.page-home.hp-home .hp-performance-layout { grid-template-columns:.85fr 1.15fr; gap:32px; }
  body.site-v2.page-home.hp-home .hp-outcomes article { grid-template-columns:1fr; gap:10px; }
  body.site-v2.page-home.hp-home .hp-project-stages { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.site-v2.page-home.hp-home .hp-presence .hp-section-heading { align-items:flex-start; }
  body.site-v2.page-home.hp-home .hp-presence .brazil-map { height:450px; max-height:450px; }
}
@media(max-width:760px) {
  body.site-v2.page-home.hp-home .journey-strip > .wrap { width:calc(100% - 40px); }
  body.site-v2.page-home.hp-home .journey-strip .journey-title { font-size:17px; white-space:normal; }
  body.site-v2.page-home.hp-home .hp-performance-layout { grid-template-columns:1fr; gap:27px; }
  body.site-v2.page-home.hp-home .hp-outcomes h3 { font-size:22px; }
  body.site-v2.page-home.hp-home .hp-outcomes p { font-size:15px; }
  body.site-v2.page-home.hp-home .hp-consulting-photo { border-radius:10px; }
  body.site-v2.page-home.hp-home #servicos.hp-service-showcase { margin-top:30px; padding-top:28px; }
  body.site-v2.page-home.hp-home .hp-service-heading { display:block; margin-bottom:20px; }
  body.site-v2.page-home.hp-home .hp-service-heading h3 { font-size:25px; }
  body.site-v2.page-home.hp-home .hp-service-heading > a { margin-top:12px; }
  body.site-v2.page-home.hp-home .hp-project-stages { grid-template-columns:1fr; gap:12px; }
  body.site-v2.page-home.hp-home .hp-project-stage { padding:18px 20px; }
  body.site-v2.page-home.hp-home .hp-project-stage-top { margin-bottom:12px; }
  body.site-v2.page-home.hp-home .hp-project-stage-top > span { font-size:28px; }
  body.site-v2.page-home.hp-home .hp-project-stage h4 { font-size:20px; margin-bottom:8px; }
  body.site-v2.page-home.hp-home main > :is(.sap-portfolio-home,.industry-section,.industry-showcase,.home-ai,.home-differences,#ecossistema) > .wrap { width:calc(100% - 40px); }
  body.site-v2.page-home.hp-home #caminho.sap-portfolio-home,body.site-v2.page-home.hp-home #setores:not(.hp-section),body.site-v2.page-home.hp-home #ia-agentes.home-ai,body.site-v2.page-home.hp-home #ecossistema[data-ecosystem-visual="light"],body.site-v2.page-home.hp-home #diferenciais.home-differences { padding-block:36px; }
  body.site-v2.page-home.hp-home #caminho .sap-home-products { grid-template-columns:1fr; }
  body.site-v2.page-home.hp-home .hp-presence .brazil-map { height:auto; max-height:460px; }
  body.site-v2.page-home.hp-home .hp-presence .headquarters { padding:22px; }
  body.site-v2.page-home.hp-home .hp-partners-restored { padding-block:24px 36px; }
  body.site-v2.page-home.hp-home .hp-partners-restored #bpa-title { font-size:28px; }
}
@media(prefers-reduced-motion:reduce) {
  body.site-v2.page-home.hp-home .hp-service-tile { transition:none; }
}
