:root {
  --sg-night: #020b17;
  --sg-navy: #061b31;
  --sg-blue: #1f72ed;
  --sg-cobalt: #0757d6;
  --sg-sky: #76b6ff;
  --sg-mint: #8aebc6;
  --sg-paper: #f2f3ef;
  --sg-white: #fff;
}

html { scroll-behavior: smooth; background: var(--sg-night); }
.page-segments-cinematic { color: #07182b; background: var(--sg-paper); }
.page-segments-cinematic .scroll-progress { position: fixed; z-index: 120; top: 0; left: 0; width: 0; height: 2px; background: var(--sg-mint); }
.page-segments-cinematic ::selection { color: #031323; background: var(--sg-mint); }
.sg-container { width: min(1180px,calc(100% - 48px)); margin-inline: auto; }
.sg-number { color: #54708c; font-size: .62rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.sg-overline { color: var(--sg-blue); font-size: .66rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.sg-section-head { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: clamp(34px,5vw,72px); align-items: start; margin-bottom: 58px; }
.sg-section-head > div { display: grid; gap: 15px; }
.sg-section-head h2 { max-width: 17ch; margin: 0; font-family: Archivo,sans-serif; font-size: clamp(3rem,5vw,4.85rem); line-height: .92; letter-spacing: -.062em; }
.sg-section-head h2 em { color: var(--sg-blue); font-style: normal; }
.lp-nav__links a[aria-current="page"] { color: #fff; }
.lp-nav__links a[aria-current="page"]::after { transform: scaleX(1); }

/* Hero */
.sg-hero { position: relative; isolation: isolate; overflow: hidden; min-height: 90svh; color: #fff; background: var(--sg-night); }
.sg-hero::before { content: ""; position: absolute; z-index: -3; inset: 0; background: url("../img/bg-corporativo-unsplash.jpg") center/cover no-repeat; transform: scale(1.025); }
.sg-hero::after { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg,rgba(1,8,18,.97) 0%,rgba(2,13,27,.88) 42%,rgba(2,13,27,.36) 73%,rgba(2,13,27,.22)),linear-gradient(180deg,rgba(1,7,15,.3),transparent 44%,rgba(1,7,15,.82)); }
.sg-hero__content { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; min-height: 90svh; padding: 140px 0 150px; }
.sg-hero h1 { max-width: 11.8ch; margin: 0; color: #fff; font-family: Archivo,sans-serif; font-size: clamp(4rem,7.4vw,7.35rem); font-weight: 800; line-height: .86; letter-spacing: -.072em; }
.sg-hero h1 em { color: var(--sg-sky); font-style: normal; }
.sg-hero__content > p { max-width: 58ch; margin: 28px 0 0; color: rgba(239,247,255,.72); font-size: .98rem; line-height: 1.7; }
.sg-hero__actions { display: flex; gap: 11px; margin-top: 33px; }
.sg-hero__rail { position: absolute; right: 24px; bottom: 24px; left: 24px; display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(255,255,255,.16); border-radius: 9px; background: rgba(2,12,25,.58); backdrop-filter: blur(16px); }
.sg-hero__rail span { padding: 16px 19px; color: rgba(255,255,255,.66); font-size: .63rem; font-weight: 750; }
.sg-hero__rail span + span { border-left: 1px solid rgba(255,255,255,.13); }
.sg-hero__rail b { margin-right: 9px; color: var(--sg-mint); font-size: .65rem; }

/* Índice */
.sg-index { padding: 104px 0 108px; background: #fff; scroll-margin-top: 90px; }
.sg-sector-index { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(7,24,43,.16); border-left: 1px solid rgba(7,24,43,.16); }
.sg-sector-index a { position: relative; display: flex; flex-direction: column; min-height: 190px; padding: 22px; border-right: 1px solid rgba(7,24,43,.16); border-bottom: 1px solid rgba(7,24,43,.16); color: #07182b; background: #fff; transition: color .25s ease,background .25s ease,transform .25s ease; }
.sg-sector-index span { color: var(--sg-blue); font-size: .59rem; font-weight: 850; }
.sg-sector-index strong { max-width: 9ch; margin-top: auto; font-family: Archivo,sans-serif; font-size: clamp(1.25rem,2vw,1.7rem); line-height: .95; letter-spacing: -.04em; }
.sg-sector-index b { position: absolute; right: 20px; top: 19px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(7,24,43,.14); border-radius: 50%; color: var(--sg-blue); font-size: .75rem; transition: transform .25s ease; }
.sg-sector-index a:hover { color: #fff; background: var(--sg-blue); transform: translateY(-3px); }
.sg-sector-index a:hover span,.sg-sector-index a:hover b { color: var(--sg-mint); }
.sg-sector-index a:hover b { border-color: rgba(255,255,255,.28); transform: rotate(-45deg); }

/* Hospitalar */
.sg-hospital { position: relative; padding: 112px 0; color: #fff; background: var(--sg-night); scroll-margin-top: 88px; }
.sg-hospital::before { content: ""; position: absolute; right: 5%; top: 3%; width: 460px; height: 460px; border: 1px solid rgba(138,235,198,.12); border-radius: 50%; box-shadow: 0 0 0 80px rgba(138,235,198,.025),0 0 0 160px rgba(138,235,198,.015); }
.sg-hospital:target { box-shadow: inset 0 4px 0 var(--sg-mint); }
.sg-hospital__layout { position: relative; display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: clamp(55px,7vw,95px); align-items: center; }
.sg-hospital__copy { display: flex; align-items: flex-start; flex-direction: column; }
.sg-hospital .sg-number { color: var(--sg-mint); }
.sg-hospital__tag { margin: 45px 0 16px; color: var(--sg-sky); font-size: .66rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.sg-hospital h2 { max-width: 11ch; margin: 0; color: #fff; font-family: Archivo,sans-serif; font-size: clamp(3.25rem,5.7vw,5.5rem); line-height: .89; letter-spacing: -.066em; }
.sg-hospital h2 em { color: var(--sg-mint); font-style: normal; }
.sg-hospital__copy > p { max-width: 54ch; margin: 27px 0 30px; color: rgba(238,247,255,.64); font-size: .86rem; line-height: 1.7; }
.sg-hospital dl { width: 100%; margin: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.sg-hospital dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.sg-hospital dt { color: var(--sg-mint); font-size: .58rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.sg-hospital dd { margin: 0; color: rgba(255,255,255,.72); font-size: .75rem; line-height: 1.55; }
.sg-text-link { display: inline-flex; align-items: center; gap: 13px; margin-top: 27px; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.55); color: #fff; font-size: .7rem; font-weight: 850; }
.sg-hospital__visual { position: relative; overflow: hidden; min-height: 650px; margin: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: #14304a; }
.sg-hospital__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 55%,rgba(1,9,19,.84)); }
.sg-hospital__visual img { width: 100%; height: 650px; object-fit: cover; }
.sg-hospital__visual figcaption { position: absolute; z-index: 2; right: 26px; bottom: 26px; left: 26px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.sg-hospital__visual figcaption span { color: var(--sg-mint); font-size: .57rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.sg-hospital__visual figcaption strong { max-width: 18ch; color: #fff; font-size: 1.2rem; line-height: 1.08; text-align: right; }

/* Operações */
.sg-operations { padding: 110px 0 118px; background: var(--sg-paper); }
.sg-section-head--operations { grid-template-columns: 190px minmax(0,1fr) minmax(240px,.52fr); align-items: end; }
.sg-section-head--operations > p { margin: 0 0 5px; color: #617181; font-size: .82rem; line-height: 1.68; }
.sg-operation-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.sg-operation { position: relative; display: flex; flex-direction: column; overflow: hidden; min-height: 440px; padding: 31px; border: 1px solid rgba(7,24,43,.11); border-radius: 14px; scroll-margin-top: 92px; transition: transform .3s ease,box-shadow .3s ease; }
.sg-operation::after { content: attr(id); position: absolute; right: -8px; bottom: -27px; max-width: 100%; overflow: hidden; opacity: .055; font-family: Archivo,sans-serif; font-size: clamp(5rem,9vw,8.2rem); font-weight: 900; letter-spacing: -.08em; text-transform: uppercase; white-space: nowrap; }
.sg-operation:target { box-shadow: 0 0 0 3px var(--sg-mint),0 24px 55px rgba(7,24,43,.18); transform: translateY(-5px); }
.sg-operation--blue { color: #fff; background: linear-gradient(135deg,#0a5de0,#06326f); }
.sg-operation--mint { color: #05281f; background: linear-gradient(135deg,#bff0dd,#edf3cf); }
.sg-operation--paper { color: #07182b; background: #fff; }
.sg-operation--night { color: #fff; background: linear-gradient(145deg,#071b30,#020b17); }
.sg-operation--sand { color: #2b2216; background: linear-gradient(135deg,#f3e8d2,#dfcfac); }
.sg-operation--cobalt { color: #fff; background: linear-gradient(135deg,#0e76eb,#392bd4); }
.sg-operation__top { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px; }
.sg-operation__top span,.sg-operation__top small { font-size: .58rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.sg-operation__top span { opacity: .65; }
.sg-operation h3 { position: relative; z-index: 2; max-width: 14ch; margin: auto 0 15px; color: inherit; font-family: Archivo,sans-serif; font-size: clamp(2rem,3.4vw,3.25rem); line-height: .92; letter-spacing: -.055em; }
.sg-operation > p { position: relative; z-index: 2; max-width: 52ch; margin: 0 0 25px; opacity: .68; font-size: .78rem; line-height: 1.62; }
.sg-operation dl { position: relative; z-index: 2; margin: 0; border-top: 1px solid color-mix(in srgb,currentColor 17%,transparent); }
.sg-operation dl > div { display: grid; grid-template-columns: 85px 1fr; gap: 18px; padding: 12px 0; border-bottom: 1px solid color-mix(in srgb,currentColor 17%,transparent); }
.sg-operation dt { opacity: .58; font-size: .54rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.sg-operation dd { margin: 0; font-size: .68rem; line-height: 1.5; }
.sg-operation > a { position: relative; z-index: 2; display: inline-flex; gap: 11px; width: fit-content; margin-top: 20px; padding-bottom: 5px; border-bottom: 1px solid currentColor; color: inherit; font-size: .66rem; font-weight: 850; }

/* Método */
.sg-method { padding: 106px 0 110px; color: #fff; background: #071a2d; }
.sg-method header { display: grid; grid-template-columns: 190px 1fr; gap: clamp(34px,5vw,72px); margin-bottom: 62px; }
.sg-method .sg-number { color: var(--sg-mint); }
.sg-method h2 { max-width: 13ch; margin: 0; color: #fff; font-family: Archivo,sans-serif; font-size: clamp(3rem,5.3vw,5rem); line-height: .9; letter-spacing: -.063em; }
.sg-method h2 em { color: var(--sg-sky); font-style: normal; }
.sg-method ol { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); list-style: none; }
.sg-method li { display: flex; flex-direction: column; min-height: 245px; padding: 22px; }
.sg-method li + li { border-left: 1px solid rgba(255,255,255,.16); }
.sg-method li span { color: var(--sg-mint); font-size: .58rem; font-weight: 850; }
.sg-method li strong { margin-top: auto; color: #fff; font-size: 1.25rem; }
.sg-method li p { margin: 9px 0 0; color: rgba(255,255,255,.58); font-size: .72rem; line-height: 1.55; }

/* CTA final */
.sg-final { position: relative; isolation: isolate; overflow: hidden; min-height: 76svh; padding: 105px 0 90px; color: #fff; background: linear-gradient(135deg,#0a5de0 0%,#073475 60%,#031324 100%); scroll-margin-top: 70px; }
.sg-final__orb { position: absolute; z-index: -1; right: -13%; top: -35%; width: 720px; height: 720px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.035),0 0 0 180px rgba(255,255,255,.02); }
.sg-final__content { display: flex; justify-content: center; flex-direction: column; min-height: calc(76svh - 195px); }
.sg-final h2 { max-width: 14ch; margin: 0; color: #fff; font-family: Archivo,sans-serif; font-size: clamp(3.7rem,7vw,7rem); line-height: .86; letter-spacing: -.07em; }
.sg-final h2 em { color: var(--sg-mint); font-style: normal; }
.sg-final__bottom { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 50px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); }
.sg-final__bottom p { max-width: 57ch; margin: 0; color: rgba(255,255,255,.68); font-size: .85rem; line-height: 1.68; }

@media (max-width: 980px) {
  .sg-section-head,.sg-method header { grid-template-columns: 150px 1fr; }
  .sg-section-head--operations { grid-template-columns: 150px 1fr; }
  .sg-section-head--operations > p { grid-column: 2; }
  .sg-sector-index { grid-template-columns: repeat(3,1fr); }
  .sg-hospital__layout { grid-template-columns: 1fr; }
  .sg-hospital__copy { max-width: 700px; }
  .sg-hospital__visual { min-height: 560px; }
  .sg-hospital__visual img { height: 560px; }
  .sg-operation { min-height: 420px; }
  .sg-method ol { grid-template-columns: repeat(2,1fr); }
  .sg-method li:nth-child(3) { border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .sg-method li:nth-child(4) { border-top: 1px solid rgba(255,255,255,.16); }
}

@media (max-width: 700px) {
  .sg-container { width: calc(100% - 38px); }
  .sg-hero { min-height: 820px; }
  .sg-hero::before { background-position: 62% center; }
  .sg-hero::after { background: linear-gradient(90deg,rgba(1,8,18,.96),rgba(2,13,27,.62)),linear-gradient(180deg,rgba(1,7,15,.2),transparent 36%,rgba(1,7,15,.9)); }
  .sg-hero__content { min-height: 820px; padding: 112px 0 190px; }
  .sg-hero h1 { font-size: clamp(3.45rem,15.5vw,5.2rem); }
  .sg-hero__content > p { font-size: .88rem; }
  .sg-hero__actions { align-items: stretch; flex-direction: column; width: 100%; }
  .sg-hero__rail { right: 10px; bottom: 10px; left: 10px; grid-template-columns: 1fr; }
  .sg-hero__rail span { padding: 10px 13px; }
  .sg-hero__rail span + span { border-top: 1px solid rgba(255,255,255,.13); border-left: 0; }
  .sg-index,.sg-hospital,.sg-operations,.sg-method { padding-top: 74px; padding-bottom: 76px; }
  .sg-section-head,.sg-section-head--operations,.sg-method header { grid-template-columns: 1fr; gap: 18px; margin-bottom: 38px; }
  .sg-section-head--operations > p { grid-column: 1; }
  .sg-section-head h2,.sg-method h2 { font-size: clamp(2.7rem,12vw,3.7rem); }
  .sg-sector-index { grid-template-columns: repeat(2,1fr); }
  .sg-sector-index a { min-height: 145px; padding: 17px; }
  .sg-sector-index a:last-child { grid-column: 1 / -1; }
  .sg-hospital__tag { margin-top: 34px; }
  .sg-hospital h2 { font-size: clamp(3rem,13vw,4.25rem); }
  .sg-hospital dl > div { grid-template-columns: 1fr; gap: 7px; }
  .sg-hospital__visual,.sg-hospital__visual img { min-height: 0; height: auto; aspect-ratio: 1/1.05; }
  .sg-hospital__visual figcaption { right: 17px; bottom: 17px; left: 17px; }
  .sg-operation-grid { grid-template-columns: 1fr; }
  .sg-operation { min-height: 400px; padding: 25px; }
  .sg-operation h3 { font-size: 2.55rem; }
  .sg-method ol { grid-template-columns: 1fr; }
  .sg-method li { min-height: 170px; padding: 20px 3px; }
  .sg-method li + li,.sg-method li:nth-child(3) { border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .sg-final { min-height: 720px; padding: 82px 0 78px; }
  .sg-final__content { min-height: 560px; }
  .sg-final h2 { font-size: clamp(3.35rem,14.5vw,4.8rem); }
  .sg-final__bottom { grid-template-columns: 1fr; gap: 27px; }
  .sg-final__bottom .lp-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sg-sector-index a,.sg-sector-index b,.sg-operation { transition: none; }
}
