/* SIP — página Institucional
   Carrega após style.css. Tudo abaixo é exclusivo desta página. */

.inner-hero {
   height: 50svh;
   min-height: 430px;
   max-height: 560px;
   position: relative;
   overflow: hidden;
   color: #fff
}

.inner-hero-bg {
   position: absolute;
   inset: -3%;
   background: url("imgs/hero2.webp?auto=format&fit=crop&w=2200&q=88") center 55%/cover;
   transform: scale(1.04)
}

.inner-hero-shade {
   position: absolute;
   inset: 0;
   background: linear-gradient(90deg, rgba(2, 31, 27, .96) 0%, rgba(2, 31, 27, .74) 52%, rgba(2, 31, 27, .24) 100%), linear-gradient(0deg, rgba(2, 28, 25, .4), transparent 60%)
}

.inner-hero-content {
   position: absolute;
   left: 7vw;
   top: 58%;
   transform: translateY(-50%);
   max-width: 850px;
   z-index: 2
}

.inner-hero h1 {

   font-weight: 300;
   line-height: 1.03;
   letter-spacing: -.045em;
   margin: 16px 0;
}

.inner-hero h1 em {
   font-style: normal;
   color: #d4a85c
}

.inner-hero p {
   max-width: 650px;
   color: rgba(255, 255, 255, .7);
   font-size: 13px;
   line-height: 1.8
}

.inner-hero-index {
   position: absolute;
   right: 6vw;
   bottom: 34px;
   z-index: 2;
   display: flex;
   align-items: center;
   gap: 14px;
   font-size: 8px;
   letter-spacing: .22em
}

.inner-hero-index span {
   color: #d4aa61;
   font-size: 16px
}

.inner-hero-index i {
   width: 52px;
   height: 1px;
   background: rgba(255, 255, 255, .28)
}

.section-nav a.active {
   box-shadow: inset 0 -2px #d4aa61
}

.institution-grid {
   display: grid;
   grid-template-columns: 1.08fr .92fr;
   gap: 8vw
}

.institution-copy {
   padding-top: 35px;
   color: #000;
   font-size: 14px;
   line-height: 1.9
}

.principles {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
   margin-top: 32px
}

.principles span {
   padding: 11px 14px;
   border: 1px solid #d4cec2;
   color: #8a6a39;
   font-size: 10px;
   font-weight: 600;
   letter-spacing: .13em;
   text-transform: uppercase
}

.institution-image {
   height: 460px;
   margin-top: 75px;
   position: relative;
   background: url("imgs/hero1.webp?auto=format&fit=crop&w=1900&q=88") center/cover
}

.institution-image:after {
   content: "";
   position: absolute;
   inset: 0;
   background: linear-gradient(0deg, rgba(3, 37, 33, .82), transparent 55%)
}

.image-caption {
   position: absolute;
   z-index: 2;
   left: 38px;
   bottom: 35px;
   color: #fff
}

.image-caption small {
   display: block;
   color: #f5c36e;
   font-size: 10px;
   font-weight: 600;
   letter-spacing: .2em;
   margin-bottom: 10px
}

.image-caption strong {
   font-size: 18px;
   font-weight: 400
}

.leadership-grid {
   display: grid;
   grid-template-columns: 1.1fr .9fr;
   gap: 9vw;
   align-items: center
}

.leadership-copy p {
   max-width: 670px;
   color: #FFF;
   font-size: 14px;
   line-height: 1.9
}

.leadership-panel {
   min-height: 430px;
   border: 1px solid rgba(255, 255, 255, .14);
   padding: 44px;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   background: linear-gradient(145deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02))
}

.panel-number {
   font-size: 72px;
   font-weight: 500;
   letter-spacing: -.06em;
   color: #d4aa61;
   opacity: .85
}

.leadership-panel small {
   display: block;
   font-size: 8px;
   letter-spacing: .22em;
   color: rgba(255, 255, 255, .48);
   margin-bottom: 18px
}

.leadership-panel strong {
   display: block;
   padding: 14px 0;
   border-top: 1px solid rgba(255, 255, 255, .12);
   font-size: 17px;
   font-weight: 300
}

.operation-head {
   display: grid;
   grid-template-columns: 1.15fr .65fr;
   gap: 8vw;
   align-items: end
}

.operation-head p {
   font-size: 15px;
   line-height: 1.9;
   color: #000
}

.operation-flow {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   margin-top: 70px;
   border: 1px solid #d5d0c6
}

.operation-flow article {
   position: relative;
   min-height: 330px;
   padding: 34px 30px;
   border-right: 1px solid #d5d0c6;
   background-color: #fff;
   transition: .4s
}

.operation-flow article:last-child {
   border-right: 0
}

.operation-flow article>span {
   position: absolute;
   right: 24px;
   top: 22px;
   font-size: 8px;
   color: #b48a46
}

.flow-icon {
   font-size: 45px;
   font-weight: 300;
   color: #d1a45b;
   margin: 35px 0
}

.operation-flow h3 {
   font-size: 17px
}

.operation-flow p {
   font-size: 12px;
   line-height: 1.75;
   color: #333333
}

.operation-flow article:hover {
   background: #07332e;
   color: #fff;
   transform: translateY(-7px);
   box-shadow: 0 24px 48px rgba(5, 42, 38, .14)
}

.operation-flow article:hover p {
   color: rgba(255, 255, 255, .62)
}

.esg-feature {
   position: relative;
   color: #fff;
   overflow: hidden
}

.esg-feature-bg {
   position: absolute;
   inset: -8%;
   background: url("https://images.unsplash.com/photo-1473448912268-2022ce9509d8?auto=format&fit=crop&w=2200&q=88") center/cover fixed;
   z-index: -2
}

.esg-feature-shade {
   position: absolute;
   inset: 0;
   background: linear-gradient(90deg, rgba(2, 38, 33, .97), rgba(3, 48, 41, .86));
   z-index: -1
}

.esg-feature-grid {
   display: grid;
   grid-template-columns: 1.15fr .7fr;
   gap: 8vw;
   align-items: end
}

.esg-feature-grid p {
   font-size: 14px;
   line-height: 1.9;
   color: #fff
}

.esg-lines {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   margin-top: 70px;
   border-top: 1px solid rgba(255, 255, 255, .14);
   border-bottom: 1px solid rgba(255, 255, 255, .14)
}

.esg-lines article {
   display: grid;
   grid-template-columns: auto 1fr;
   gap: 24px;
   padding: 38px 30px;
   border-right: 1px solid rgba(255, 255, 255, .14)
}

.esg-lines article:last-child {
   border-right: 0
}

.esg-lines strong {
   font-size: 56px;
   font-weight: 400;
   color: #d4aa61
}

.esg-lines small {
   font-size: 10px;
   font-weight: 600;
   letter-spacing: .2em;
   color: #f0bf6a
}

.esg-lines p {
   font-size: 12px;
   line-height: 1.75;
   color: #fff
}

.responsibility-grid {
   display: grid;
   grid-template-columns: .9fr 1.2fr;
   gap: 6vw;
   align-items: center
}

.responsibility-visual {
   min-height: 430px;
   position: relative;
   overflow: hidden;
   color: #fff;
   background: #07332e;
}

.responsibility-photo {
   position: absolute;
   inset: 0;
   background: url("imgs/hero1.webp?auto=format&fit=crop&w=1500&q=88") center/cover no-repeat;
   transform: scale(1.02);
   transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.responsibility-overlay {
   position: absolute;
   inset: 0;
   background: linear-gradient(0deg, rgba(2, 39, 34, .96) 0%, rgba(2, 39, 34, .56) 55%, rgba(2, 39, 34, .18) 100%);
}

.responsibility-no {
   position: absolute;
   z-index: 2;
   top: 24px;
   right: 25px;
   color: #d4aa61;
   font-size: 9px;
   letter-spacing: .16em;
}

.responsibility-visual-copy {
   position: absolute;
   z-index: 2;
   left: 34px;
   right: 34px;
   bottom: 34px;
   transition: transform .5s;
}

.responsibility-visual-copy small {
   display: block;
   margin-bottom: 14px;
   color: #d4aa61;
   font-size: 8px;
   font-weight: 600;
   letter-spacing: .20em;
}

.responsibility-visual-copy strong {
   display: block;
   color: #fff;
   font-size: 16px;
   font-weight: 300;
   line-height: 1.35;
}

.responsibility-visual:hover .responsibility-photo {
   transform: scale(1.06);
}

.responsibility-visual:hover .responsibility-visual-copy {
   transform: translateY(-5px);
}

.responsibility-grid p {
   color: #000;
   font-size: 15px;
   line-height: 1.9
}

.inner-cta {
   height: 520px;
   position: relative;
   color: #fff;
   overflow: hidden
}

.inner-cta-bg {
   position: absolute;
   inset: -5%;
   background: url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=2200&q=88") center/cover;
   z-index: -2
}

.inner-cta-shade {
   position: absolute;
   inset: 0;
   background: rgba(3, 35, 31, .9);
   z-index: -1
}

.inner-cta-content {
   height: 100%;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   text-align: center;
   padding: 30px
}

.inner-cta h2 {

   font-weight: 300;
   line-height: 1.04;
   letter-spacing: -.045em;
   margin: 18px 0 30px;
}

.inner-cta h2 em {
   font-style: normal;
   color: #d4a85c
}

@media(max-width:900px) {

   .institution-grid,
   .leadership-grid,
   .operation-head,
   .esg-feature-grid,
   .responsibility-grid {
      grid-template-columns: 1fr;
      gap: 28px
   }

   .institution-copy {
      padding-top: 0
   }

   .institution-image {
      height: 340px;
      margin-top: 50px
   }

   .leadership-panel {
      min-height: 340px
   }

   .panel-number {
      font-size: 58px
   }

   .operation-flow {
      grid-template-columns: 1fr 1fr
   }

   .operation-flow article:nth-child(2) {
      border-right: 0
   }

   .operation-flow article {
      border-bottom: 1px solid #d5d0c6
   }

   .operation-flow article:nth-child(3),
   .operation-flow article:nth-child(4) {
      border-bottom: 0
   }

   .esg-feature-bg {
      background-attachment: scroll
   }

   .esg-lines {
      grid-template-columns: 1fr
   }

   .esg-lines article {
      border-right: 0;
      border-bottom: 1px solid rgba(255, 255, 255, .14)
   }

   .esg-lines article:last-child {
      border-bottom: 0
   }

   .responsibility-visual {
      min-height: 360px
   }

   .responsibility-visual-copy {
      left: 28px;
      right: 28px;
      bottom: 28px
   }

   .inner-cta {
      height: 460px
   }
}

@media(max-width:560px) {
   .responsibility-visual {
      min-height: 330px;
   }

   .responsibility-visual-copy {
      left: 24px;
      right: 24px;
      bottom: 24px;
   }

   .responsibility-visual-copy strong {
      font-size: 20px;
   }

   .inner-hero-index {
      display: none;
   }

   .operation-flow {
      grid-template-columns: 1fr
   }

   .operation-flow article {
      border-right: 0 !important;
      border-bottom: 1px solid #d5d0c6 !important
   }

   .operation-flow article:last-child {
      border-bottom: 0 !important
   }

   .image-caption {
      left: 24px;
      right: 24px;
      bottom: 24px
   }

   .image-caption strong {
      font-size: 15px
   }

   .leadership-panel {
      padding: 30px
   }

   .esg-lines article {
      grid-template-columns: 58px 1fr;
      padding: 30px 20px
   }

   .esg-lines strong {
      font-size: 46px
   }
}

/* =========================================================
   INSTITUCIONAL V2 — navegação principal + mobile
   ========================================================= */

/* Esta página possui mais itens no header que a HOME. */
#nav {
   gap: 24px;
}

#nav a {
   font-size: 12px;
}

/* Âncoras compensam o header fixo ao navegar pela página. */
#institucional,
#diretoria,
#atuacao,
#sustentabilidade,
#responsabilidades {
   scroll-margin-top: 92px;
}

/* Item da seção institucional atualmente em leitura. */
#nav a[data-section].active {
   color: #d4aa61;
}

#nav a[data-section].active:after {
   transform: scaleX(1);
}

@media(max-width:1100px) and (min-width:901px) {
   #nav {
      gap: 15px;
   }

   #nav a {
      font-size: 8px;
      letter-spacing: .09em;
   }
}

@media(max-width:900px) {

   html,
   body {
      width: 100%;
      max-width: 100%;
      overflow-x: clip;
   }

   .inner-hero {
      height: 50svh;
      min-height: 430px;
      max-height: 520px;
   }

   .inner-hero-content {
      left: 24px;
      right: 24px;
      top: 55%;
      max-width: 560px;
   }

   .inner-hero h1 {

      line-height: 1.04;
   }

   .inner-hero p {
      max-width: 520px;
      font-size: 11.5px;
      line-height: 1.75;
   }

   #nav {
      gap: 0;
   }

   #nav a {
      font-size: 19px;
   }

   #nav a[data-section].active {
      color: #d4aa61;
   }
}

@media(max-width:560px) {
   .inner-hero {
      height: 50svh;
      min-height: 410px;
      max-height: 480px;
   }

   .inner-hero-content {
      top: 54%;
   }

   .inner-hero h1 {}

   .inner-hero p {
      font-size: 11px;
   }
}

/* Institucional V4 — estilos consolidados das seções novas */
.sip-content-section {
   padding-top: 70px;
   padding-bottom: 70px;
   position: relative
}

.sip-light {
   background: #f5f2eb;
   color: #092d28
}

.sip-dark {
   background: #082f29;
   color: #fff
}

.sip-content-section>* {
   position: relative;
   z-index: 1
}

.sip-parallax {
   background: linear-gradient(90deg, rgba(3, 38, 33, .96), rgba(4, 49, 42, .88)), url("imgs/hero2.webp") center center / cover fixed
}

.sip-section-heading {
   display: grid;
   grid-template-columns: 1.05fr .95fr;
   gap: 5vw;
   align-items: start;
   margin: 20px 0 30px
}

.sip-section-heading h2 {
   font-weight: 300;
   line-height: 1.13;
   letter-spacing: -.045em;
   margin: 0 0 0;
}

.sip-section-heading h2 em {
   font-style: normal;
   color: #d4aa61
}

.sip-section-heading>p,
.sip-intro-copy p,
.sip-future-copy p {
   font-size: 14px;
   line-height: 1.85;
   margin: 0 0 14px
}

.sip-dark .sip-section-heading>p,
.sip-dark .sip-future-copy p {
   color: #fff
}

.sip-cards {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 1px;
   margin: 0;
   background: transparent
}

.sip-card {
   background: #fff;
   color: #092d28;
   padding: 30px;
   min-height: 245px;
   flex: 0 1 calc((100% - 2px)/3);
   box-sizing: border-box;
   position: relative;
   display: flex;
   flex-direction: column;
   border: 1px solid #d8d2c7;
   transition: background .25s, transform .25s
}

.sip-dark .sip-card {
   background: rgba(14, 60, 51, .93);
   border-color: #42675e;
   color: #fff
}

.sip-card-mark {
   font-size: 32px;
   line-height: 1;
   color: #cda45e;
   margin: 12px 0 22px;
   font-weight: 300
}

.sip-card h3 {
   font-size: 17px;
   line-height: 1.35;
   margin: 0 0 12px;
   font-weight: 600
}

.sip-card p {
   font-size: 13px;
   line-height: 1.8;
   margin: 0;
   color: #000
}

.sip-dark .sip-card p {
   color: #c6d2cd
}

.sip-card:hover {
   transform: translateY(-3px)
}

#visao-futuro .sip-section-heading {
   margin-bottom: 0
}

#visao-futuro .sip-future-copy p {
   font-size: 14px
}

#institucional,
#atuacao,
#iniciativas,
#visao-futuro,
#numeros-institucional {
   scroll-margin-top: 90px
}

@media(max-width:900px) {
   .sip-content-section {
      padding-top: 55px;
      padding-bottom: 55px
   }

   .sip-section-heading {
      grid-template-columns: 1fr;
      gap: 18px
   }

   .sip-card {
      flex-basis: calc((100% - 1px)/2)
   }

   .sip-parallax {
      background-attachment: scroll
   }
}

@media(max-width:600px) {
   .sip-content-section {
      padding-top: 42px;
      padding-bottom: 42px
   }

   .sip-card {
      flex-basis: 100%;
      min-height: 0;
      padding: 25px
   }

   .sip-section-heading h2 {}
}

/* V5 — cards em faixa única, seguindo a linguagem visual da HOME.
   Escopo restrito às seções Atuação e Iniciativas Estratégicas. */
#atuacao .sip-cards,
#iniciativas .sip-cards {
   display: grid;
   grid-template-columns: repeat(5, minmax(0, 1fr));
   gap: 0;
   align-items: stretch;
}

#atuacao .sip-card,
#iniciativas .sip-card {
   min-width: 0;
   min-height: 320px;
   padding: 30px 22px 28px;
   border-right: 0;
   transition: background-color .35s ease, color .35s ease, box-shadow .35s ease, transform .35s ease;
}

#atuacao .sip-card:last-child,
#iniciativas .sip-card:last-child {
   border-right: 1px solid #d8d2c7
}

#atuacao .sip-card:last-child {
   border-right-color: #42675e
}

#atuacao .sip-card-mark,
#iniciativas .sip-card-mark {
   font-size: 34px;
   margin: 18px 0 30px
}

#atuacao .sip-card h3,
#iniciativas .sip-card h3 {
   font-size: 15px;
   line-height: 1.4;
   overflow-wrap: break-word
}

#atuacao .sip-card p,
#iniciativas .sip-card p {
   font-size: 13px;
   line-height: 1.75
   color
}

#iniciativas .sip-card:hover,
#iniciativas .sip-card:focus-within {
   background: #07332e;
   color: #fff;
   transform: translateY(-5px);
   box-shadow: 0 20px 35px rgba(5, 42, 38, .15);
   z-index: 2;
}

#iniciativas .sip-card:hover p,
#iniciativas .sip-card:focus-within p {
   color: rgba(255, 255, 255, .78)
}

#atuacao .sip-card:hover,
#atuacao .sip-card:focus-within {
   background: #185247;
   transform: translateY(-5px);
   box-shadow: 0 20px 35px rgba(0, 0, 0, .18);
   z-index: 2;
}

@media(max-width:1200px) {

   #atuacao .sip-cards,
   #iniciativas .sip-cards {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px
   }

   #atuacao .sip-card,
   #iniciativas .sip-card {
      min-height: 260px;
      border-right: 1px solid
   }

   #atuacao .sip-card {
      border-color: #42675e
   }

   #iniciativas .sip-card {
      border-color: #d8d2c7
   }
}

@media(max-width:700px) {

   #atuacao .sip-cards,
   #iniciativas .sip-cards {
      grid-template-columns: repeat(2, minmax(0, 1fr))
   }

   #atuacao .sip-card,
   #iniciativas .sip-card {
      min-height: 240px;
      padding: 24px 20px
   }
}

@media(max-width:480px) {

   #atuacao .sip-cards,
   #iniciativas .sip-cards {
      grid-template-columns: 1fr;
      gap: 0
   }

   #atuacao .sip-card,
   #iniciativas .sip-card {
      min-height: 0;
      padding: 24px 26px;
      border-bottom: 0
   }

   #atuacao .sip-card:last-child,
   #iniciativas .sip-card:last-child {
      border-bottom: 1px solid
   }
}

@media(prefers-reduced-motion:reduce) {

   #atuacao .sip-card,
   #iniciativas .sip-card {
      transition: none
   }

   #atuacao .sip-card:hover,
   #iniciativas .sip-card:hover {
      transform: none
   }
}