.solution-detail:has(> .boleto-hero) { padding-top: 0; }
.boleto-hero {
  --hero-top: calc(var(--topbar-h) + var(--nav-h));
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100svh;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
  padding: calc(var(--hero-top) + 54px) max(var(--pad), calc((100vw - 1400px) / 2)) 70px;
  color: #fff;
  background: linear-gradient(130deg,#105af9 0%,#136ce9 58%,#1557e7 100%);
}
.boleto-hero__image { position: absolute; z-index: -2; inset: var(--hero-top) 0 0; display: block; width: 100%; height: calc(100% - var(--hero-top)); object-fit: cover; object-position: center; }
.boleto-hero__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(270deg, rgba(8,53,172,.22) 0%, rgba(8,53,172,.08) 42%, transparent 72%); }
.boleto-hero__copy { position: relative; z-index: 1; width: min(46%, 620px); margin-left: auto; }
.boleto-hero__eyebrow { margin: 0 0 12px; color: #f3d27a; font-size: clamp(16px,1.35vw,21px); font-weight: 600; line-height: 1.4; }
.boleto-hero h1 { max-width: 720px; margin: 0; color: #fff; font-size: clamp(68px,8vw,112px); font-weight: 700; line-height: .9; letter-spacing: -.07em; text-wrap: balance; }
.boleto-hero h1 span, .boleto-hero h1 strong { display: block; }
.boleto-hero h1 span { font-size: .64em; }
.boleto-hero h1 strong { color: #c4f3ff; font-size: 1em; font-weight: 800; }
.boleto-hero__count { min-height: 1em; transform-origin: left center; transition: opacity .24s ease, transform .24s var(--ease); }
.boleto-hero__count.is-changing { opacity: 0; transform: translateY(.12em); }
.boleto-hero__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.boleto-hero h2 { max-width: 560px; margin: 18px 0 0; color: #fff; font-size: clamp(22px,2.2vw,32px); font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.boleto-hero__copy > p:not(.boleto-hero__eyebrow) { max-width: 500px; margin: 16px 0 25px; color: rgba(255,255,255,.94); font-size: clamp(15px,1.1vw,17px); line-height: 1.65; }
.boleto-hero__button { display: inline-flex; min-height: 54px; align-items: center; gap: 18px; padding: 0 22px; border-radius: 999px; color: var(--navy); background: #fff; font-size: 14px; font-weight: 700; transition: transform .2s ease-out, background-color .2s ease-out; }
.boleto-hero__button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.boleto-hero__button:focus-visible { outline: 3px solid #f3d27a; outline-offset: 4px; }
.boleto-hero__button:hover { transform: translateY(-1px); background: #f5f8ff; }
.boleto-hero__button:hover svg { transform: translateX(3px); }
#detalhes-boleto { scroll-margin-top: calc(var(--nav-h-scrolled) + 26px); }
.bg-partners-band { position: relative; overflow: hidden; background: #f5f8fc; }
.bg-partners-band > img { display: block; width: 100%; height: auto; }
.bg-partners-band__mobile-copy { display: none; }
.bg-partners-band__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.boleto-benefit-cards { padding: clamp(64px,8vw,112px) var(--pad) clamp(72px,9vw,124px); background: #fff; }
.boleto-benefit-cards__inner { width: min(100%,1320px); margin: 0 auto; }
.boleto-benefit-cards__header { max-width: 680px; margin: 0 auto clamp(30px,4vw,52px); text-align: center; }
.boleto-benefit-cards__header > p { margin: 0 0 10px; color: var(--navy); font-size: 14px; font-weight: 600; line-height: 1.5; }
.boleto-benefit-cards__header h2 { margin: 0; color: var(--navy); font-size: clamp(32px,4vw,52px); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.boleto-benefit-cards__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(14px,1.8vw,24px); align-items: start; }
.boleto-benefit-card { margin: 0; overflow: hidden; border: 1px solid rgba(14,34,87,.08); border-radius: 16px; background: #f3f7fc; box-shadow: 0 10px 30px rgba(14,34,87,.08); transition: transform .24s var(--ease), box-shadow .24s var(--ease); }
.boleto-benefit-card img { display: block; width: 100%; height: auto; aspect-ratio: 1122/1402; object-fit: cover; }
.boleto-benefit-card:hover { transform: translateY(-3px); box-shadow: 0 15px 36px rgba(14,34,87,.13); }
.boleto-process { padding: clamp(68px,8vw,108px) var(--pad) clamp(76px,9vw,116px); background: var(--ivory); }
.boleto-process__inner { width: min(100%,1180px); margin: 0 auto; }
.boleto-process__intro { max-width: 660px; margin-bottom: clamp(38px,5vw,62px); }
.boleto-process__intro h2 { margin: 0; color: var(--navy); font-size: clamp(34px,4.2vw,54px); font-weight: 700; line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
.boleto-process__intro > p { max-width: 56ch; margin: 16px 0 0; color: var(--text); font-size: 16px; line-height: 1.65; }
.boleto-process__steps { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(28px,4vw,56px); margin: 0; padding: 0; list-style: none; }
.boleto-process__steps::before { position: absolute; top: 20px; right: 0; left: 0; height: 1px; background: rgba(14,34,87,.18); content: ""; }
.boleto-process__steps li { position: relative; min-width: 0; padding-top: 58px; }
.boleto-process__step-number { position: absolute; z-index: 1; top: 0; left: 0; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(14,34,87,.22); border-radius: 50%; color: var(--navy); background: var(--ivory); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.boleto-process__steps h3 { margin: 0 0 10px; color: var(--navy); font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
.boleto-process__steps p { max-width: 38ch; margin: 0; color: var(--text); font-size: 15px; line-height: 1.65; }
.boleto-process__button { margin-top: 36px; }
@media (max-width: 900px) {
  .boleto-benefit-cards__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .boleto-process__steps { grid-template-columns: minmax(0,1fr); gap: 28px; padding-left: 1px; }
  .boleto-process__steps::before { top: 20px; bottom: 26px; left: 20px; width: 1px; height: auto; }
  .boleto-process__steps li { min-height: 42px; padding: 3px 0 0 64px; }
  .boleto-process__step-number { left: 0; }
  .boleto-process__steps p { max-width: 58ch; }
  .boleto-hero { min-height: 0; flex-direction: column; align-items: stretch; padding: calc(var(--hero-top) + 44px) 0 0; }
  .boleto-hero__copy { order: 1; width: 100%; max-width: none; margin-left: 0; padding: 0 var(--pad) 36px; background: linear-gradient(130deg,#105af9,#136ce9); }
  .boleto-hero__image { position: relative; z-index: -2; inset: auto; order: 2; width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; object-position: 34% center; }
  .boleto-hero__shade { display: none; }
  .boleto-hero h1 { font-size: clamp(58px,8vw,82px); }
}
@media (max-width: 719px) {
  .boleto-benefit-cards { padding: 50px var(--pad) 56px; }
  .boleto-benefit-cards__header { margin-bottom: 26px; text-align: left; }
  .boleto-benefit-cards__header > p { font-size: 13px; }
  .boleto-benefit-cards__header h2 { font-size: clamp(30px,8vw,40px); }
  .boleto-benefit-cards__grid { grid-template-columns: minmax(0,1fr); gap: 18px; width: min(100%,480px); margin: 0 auto; }
  .boleto-process { padding: 52px var(--pad) 58px; }
  .boleto-process__intro { margin-bottom: 34px; }
  .boleto-process__intro h2 { font-size: clamp(32px,8vw,40px); }
  .boleto-process__intro > p { margin-top: 12px; font-size: 15px; }
  .boleto-process__steps { gap: 25px; }
  .boleto-process__steps h3 { margin-bottom: 6px; font-size: 17px; }
  .boleto-process__steps p { font-size: 14px; }
  .boleto-process__button { margin-top: 30px; }
  .boleto-hero { padding-top: calc(var(--nav-h) + 34px); }
  .boleto-hero__copy { order: 1; width: 100%; max-width: none; padding: 16px var(--pad) 34px; background: linear-gradient(130deg,#105af9,#136ce9); }
  .boleto-hero__image { aspect-ratio: 1.2; object-position: 28% center; }
  .boleto-hero__shade { display: none; }
  .boleto-hero__eyebrow { margin-bottom: 9px; font-size: 14px; }
  .boleto-hero h1 { max-width: 100%; font-size: clamp(64px,15vw,84px); }
  .boleto-hero h2 { margin-top: 13px; font-size: 22px; }
  .boleto-hero__copy > p:not(.boleto-hero__eyebrow) { margin: 12px 0 20px; font-size: 14px; }
  .boleto-hero__button { min-height: 50px; font-size: 13px; }
  .bg-partners-band__mobile-copy { display: block; padding: 24px var(--pad) 30px; color: var(--navy); background: #fff; }
  .bg-partners-band__mobile-copy h2 { max-width: 18ch; margin: 0 0 10px; font-size: clamp(25px,7vw,34px); font-weight: 700; line-height: 1.08; letter-spacing: -.045em; }
  .bg-partners-band__mobile-copy p { max-width: 38ch; margin: 0; color: var(--text); font-size: 14px; line-height: 1.65; }
}
@media (prefers-reduced-motion: reduce) {
  .boleto-hero__button, .boleto-hero__button svg, .boleto-benefit-card { transition: none; }
  .boleto-hero__button:hover { transform: none; }
  .boleto-benefit-card:hover { transform: none; }
  .boleto-hero__count { transition: none; }
}
