/* Interior pages share the Home's expansive scale, with bounded photography.
   Reading columns stay constrained; only the outer presentation grows. */
@media(min-width:1440px){
 .site-v2:not(.page-home){
  --interior-content-width:var(--banner-content-width,min(calc(100vw - 96px),max(1440px,86vw),1760px));
  --interior-stage-width:var(--banner-stage-width,min(96vw,1920px));
  --interior-stage-edge:calc((100% - var(--interior-stage-width))/2);
 }
 .site-v2:not(.page-home) main .wrap,
 .site-v2:not(.page-home).sap-detail .sap-hero>.wrap,
 .site-v2:not(.page-home) main .sap-entry-hero>.wrap,
 .site-v2:not(.page-home) main .b1-restored .container,
 .site-v2:not(.page-home) main .segments-directory-visual .wrap{
  width:var(--interior-content-width);max-width:1760px;padding-inline:0;margin-inline:auto;
 }
 .site-v2:not(.page-home) main .wrap .wrap{width:100%;max-width:100%}
 .site-v2:not(.page-home) .live-page{
  --wide-wrap-width:var(--interior-content-width);
  --wide-content-width:var(--interior-content-width);
  --wide-wrap-padding:0px;
  --wide-content-edge:calc((100% - var(--interior-content-width))/2);
 }

 /* The picture extends past the text grid and fades gently at its outer edge. */
 .site-v2:not(.page-home) .live-hero .live-photo{
  left:calc(var(--interior-stage-edge) + var(--interior-stage-width)*.37);
  right:var(--interior-stage-edge);
  -webkit-mask-image:linear-gradient(90deg,#000 96%,transparent 100%);
  mask-image:linear-gradient(90deg,#000 96%,transparent 100%);
 }
 .site-v2:not(.page-home) .live-hero::after{
  left:var(--interior-stage-edge);right:auto;width:var(--interior-stage-width);
  background:linear-gradient(90deg,#f2f6fa 0%,#f2f6fa 37%,#f2f6faf2 43%,#f2f6fa00 59%);
 }
 .site-v2:not(.page-home) :is(.live-hero,.sap-hero,.page-banner){min-height:clamp(570px,35vw,720px)}
 .site-v2:not(.page-home) .live-hero-copy{width:50%;max-width:860px;padding-block:44px}
 .site-v2:not(.page-home) :is(.live-hero,.sap-hero) h1{font-size:clamp(52px,3.2vw,68px);line-height:1.08}
 .site-v2:not(.page-home) :is(.live-hero-copy,.sap-hero-copy)>p{font-size:clamp(20px,1.2vw,23px);line-height:1.55;max-width:650px}
 .site-v2:not(.page-home) :is(.live-hero,.sap-hero,.page-banner,.segment-hero) .btn{font-size:17px;min-height:52px}
 .site-v2:not(.page-home) .live-photo img{object-position:65% 22%}
 .site-v2:not(.page-home) img[src$="sap-v72/b1.png"]{object-position:75% 25%}
 .site-v2:not(.page-home) img[src$="sap-v72/s4.png"]{object-position:65% 20%}
 .site-v2:not(.page-home) img[src$="sap-v72/ia.png"]{object-position:75% 15%}
 .site-v2:not(.page-home) img[src$="sap-v72/escolha.png"]{object-position:65% 15%}
 .site-v2:not(.page-home) img[src$="sap-v72/investimento.png"]{object-position:70% 22%}

 .site-v2:not(.page-home) .sap-hero-photo,
 .site-v2:not(.page-home) .page-banner .banner-photo{
  left:auto;right:var(--interior-stage-edge);width:calc(var(--interior-stage-width)*.6);
  -webkit-mask-image:linear-gradient(90deg,#000 96%,transparent 100%);
  mask-image:linear-gradient(90deg,#000 96%,transparent 100%);
 }
 .site-v2:not(.page-home) .page-banner::after{
  left:var(--interior-stage-edge);right:auto;width:var(--interior-stage-width);
  background:linear-gradient(90deg,#eef4fa 0%,#eef4fa 38%,#eef4faf2 44%,#eef4fa00 61%);
 }
 .site-v2:not(.page-home) .sap-hero-copy,
 .site-v2:not(.page-home) .page-banner .banner-copy{width:48%;max-width:820px}
 .site-v2:not(.page-home) .page-banner .banner-photo{object-position:65% 28%}
 .site-v2.page-consultoria .page-banner .banner-photo{object-position:75% 40%}

 /* Framed sector images keep their composition and grow with the text. */
 .site-v2:not(.page-home) .segment-page .segment-hero{min-height:clamp(570px,35vw,700px)}
 .site-v2:not(.page-home) .segment-page .segment-hero-photo{
  left:calc((100% - var(--interior-content-width))/2 + var(--interior-content-width)*.49);
  right:calc((100% - var(--interior-content-width))/2);top:32px;bottom:32px;
 }
 .site-v2:not(.page-home) .segment-page .segment-hero h1{font-size:clamp(48px,3vw,64px)}
 .site-v2:not(.page-home) .segment-page .segment-hero-copy>p{font-size:21px;max-width:650px}
 .site-v2:not(.page-home) .bo-institutional .bo-hero-image{height:auto;aspect-ratio:3/2}
 .site-v2:not(.page-home) .bo-institutional .bo-hero-copy>p{font-size:21px;max-width:650px}
 .site-v2:not(.page-home) :is(.b1-restored .sol-card,.live-card,.content-block,.sap-choice-card) p{font-size:18px;line-height:1.65}
 .site-v2:not(.page-home) .b1-restored :is(.sol-seg__img,.b1-plat__card>img:not(.b1-product-screen)){height:auto;aspect-ratio:16/10;object-fit:cover}
}
