/* SIP · Projeto | estilos isolados da página */
.projeto-page {
  --pj-logo-offset: clamp(24px, 2.45vw, 42px);
  overflow: hidden
}

.pj-container {
  width: calc(90% - var(--pj-logo-offset));
  max-width: none;
  margin-left: calc(5% + var(--pj-logo-offset));
  margin-right: 5%
}

.pj-section {
  padding: clamp(64px, 7vw, 105px) 0
}

.pj-light {
  background: #f5f2eb;
  color: #12352f
}

.pj-dark {
  background: #0a332d;
  color: #fff
}

.pj-kicker {
  display: block;
  color: #c99e4b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  margin-bottom: 22px
}

.pj-section h2,
.pj-closing h2 {
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.055em;
  margin: 0;
}

.pj-section h2 em,
.pj-closing h2 em {
  color: #d5a653;
  font-style: normal
}

.pj-section-top {
  display: grid;
  grid-template-columns: 1fr .65fr;
  align-items: end;
  gap: 8%;
  margin-bottom: 42px
}

.pj-section-top>p {
  font-size: 16px;
  line-height: 1.8;
  max-width: 540px;
  margin: 0;
  color: inherit;
  opacity: .82
}

.pj-hero {
  min-height: 650px;
  height: 82vh;
  max-height: 950px;
  position: relative;
  background: #062d29;
  display: flex;
  align-items: center;
  color: white
}

.pj-hero-image {
  position: absolute;
  inset: 0;
  background: url("imgs/projeto-ilustrativo.jpeg") center 47%/cover no-repeat
}

.pj-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 35, 32, .97) 0%, rgba(4, 35, 32, .88) 35%, rgba(4, 35, 32, .17) 100%)
}

.pj-hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 0 50px
}

.pj-hero h1 {
  line-height: 1.04;
  letter-spacing: -.065em;
  font-weight: 300;
  margin: 0 0 30px;
}

.pj-hero h1 em {
  color: #d9ac60;
  font-style: normal
}

.pj-hero p {
  max-width: 540px;
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 34px
}

.pj-link {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid #d5a653;
  padding-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  color: inherit;
  text-decoration: none
}

.pj-link b {
  color: #d5a653;
  font-size: 18px
}

.pj-image-label {
  position: absolute;
  bottom: 24px;
  right: 5%;
  font-size: 9px;
  letter-spacing: .13em;
  color: #eee
}

.pj-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 8%
}

.pj-intro p {
  font-size: 16px;
  line-height: 1.9;
  margin: 0
}

.projeto-page .project-numbers {
  padding: 48px 5% 56px calc(5% + var(--pj-logo-offset))
}

.projeto-page .numbers-grid {
  max-width: none
}

.pj-units {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 36px;
  border: 1px solid #45685c
}

.pj-units article {
  padding: 32px 24px;
  border-right: 1px solid #45685c;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .3s
}

.pj-units article:last-child {
  border-right: 0
}

.pj-units article:hover {
  background: #174b40
}

.pj-units article span {
  font-size: 10px;
  letter-spacing: .12em;
  color: #d7b46d;
  font-weight: 700
}

.pj-units article strong {
  font-size: clamp(45px, 5vw, 76px);
  font-weight: 300;
  line-height: 1
}

.pj-units article small {
  font-size: 13px;
  color: #c7d8d2
}

.pj-fine {
  font-size: 14px;
  line-height: 1.7;
  opacity: .72;
  margin: 24px 0 0
}

.pj-engineering {
  display: grid;
  grid-template-columns: 1.45fr .75fr;
  gap: 6%;
  align-items: center
}

.pj-engineering figure {
  margin: 0
}

.pj-engineering img {
  display: block;
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  border-radius: 3px
}

.pj-engineering figcaption {
  font-size: 11px;
  margin-top: 12px;
  opacity: .72
}

.pj-engineering-facts>div {
  padding: 20px 0;
  border-bottom: 1px solid #d8d3c7;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.pj-engineering-facts strong {
  font-size: clamp(23px, 2.5vw, 34px);
  font-weight: 400
}

.pj-engineering-facts span,
.pj-engineering-facts p {
  font-size: 13px;
  line-height: 1.7
}

.pj-timeline-section {
  background: #e9e4d8;
  color: #15362e
}

.pj-timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 80px 0 42px;
  border-top: 2px solid #c79c4d
}

.pj-milestone {
  position: relative;
  padding: 26px 16px 5px 0;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.pj-milestone:before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border: 3px solid #c79c4d;
  border-radius: 50%;
  background: #e9e4d8;
  top: -8px;
  left: 0
}

.pj-date {
  font-size: 11px;
  font-weight: 700;
  color: #a57a32;
  letter-spacing: .06em
}

.pj-milestone b {
  font-size: 15px;
  line-height: 1.4
}

.pj-milestone small {
  font-size: 12px;
  line-height: 1.5;
  opacity: .7
}

.pj-estimate:before {
  background: #c79c4d
}

.pj-phase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.pj-phase>div {
  padding: 22px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.pj-phase span {
  color: #aa7c32;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em
}

.pj-phase b {
  font-size: 16px;
  font-weight: 500
}

.pj-disclaimer {
  border-left: 2px solid #d7a757;
  padding: 12px 18px;
  margin-top: 35px;
  font-size: 13px;
  line-height: 1.8;
  color: #d7e1dc
}

.pj-sustain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #d9d4ca;
  background: white
}

.pj-sustain article {
  padding: 34px 24px;
  border-right: 1px solid #d9d4ca;
  transition: background .3s
}

.pj-sustain article:last-child {
  border-right: 0
}

.pj-sustain article:hover {
  background: #eae3d4
}

.pj-sustain article>span {
  color: #bd8d3e;
  font-size: 30px
}

.pj-sustain h3 {
  margin: 26px 0 14px
}

.pj-closing {
  background: #062b27;
  color: #fff;
  text-align: center;
  padding: 105px 0
}

.pj-closing .pj-link {
  margin-top: 36px
}

@media(max-width:1100px) {
  .pj-units {
    grid-template-columns: repeat(2, 1fr)
  }

  .pj-units article:nth-child(2) {
    border-right: 0
  }

  .pj-units article:nth-child(-n

    /**/
    +2) {
    border-bottom: 1px solid #42655b
  }

  .pj-timeline {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 20px
  }

  .pj-sustain {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:700px) {
  .pj-container {
    width: 90%;
    margin-inline: auto
  }

  .pj-section {
    padding: 62px 0
  }

  .pj-hero {
    height: auto;
    min-height: 620px
  }

  .pj-hero-overlay {
    background: linear-gradient(90deg, rgba(4, 35, 32, .94), rgba(4, 35, 32, .6))
  }

  .pj-hero h1 {}

  .pj-section-top,
  .pj-intro,
  .pj-engineering {
    grid-template-columns: 1fr;
    gap: 22px
  }

  .pj-section-top {
    margin-bottom: 28px
  }

  .pj-intro p {
    font-size: 14px
  }

  .pj-units,
  .pj-sustain {
    grid-template-columns: 1fr 1fr
  }

  .pj-timeline {
    display: block;
    border-top: 0;
    border-left: 2px solid #c79c4d;
    margin: 35px 0 35px
  }

  .pj-milestone {
    padding: 0 0 28px 25px
  }

  .pj-milestone:before {
    left: -8px;
    top: 0
  }

  .pj-phase {
    grid-template-columns: 1fr
  }

  .pj-image-label {
    font-size: 8px;
    left: 6%;
    right: 6%
  }
}

@media(max-width:440px) {

  .pj-units,
  .pj-sustain {
    grid-template-columns: 1fr
  }

  .pj-units article,
  .pj-sustain article {
    border-right: 0;
    border-bottom: 1px solid #42655b
  }

  .pj-sustain article {
    border-bottom-color: #d9d4ca
  }

  .pj-hero h1 {}

  .pj-service-grid article {
    min-height: 0
  }
}

/* SIP Projeto V7 — refinamentos consolidados, escopo exclusivo da página */
.projeto-page #visao .pj-section-top {
  display: block;
  max-width: 1050px
}

.projeto-page #visao .pj-section-top h2 {
  max-width: 1000px;
  text-align: left
}

.projeto-page .pj-structure {
  position: relative;
  isolation: isolate;
  background: #082e28
}

.projeto-page .pj-structure:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(2, 39, 34, .86), rgba(2, 39, 34, .9)), url("imgs/projeto-ilustrativo.jpeg") center/cover fixed no-repeat
}

.projeto-page .pj-units article strong {
  font-size: clamp(40px, 4.3vw, 62px);
  font-weight: 600
}

.projeto-page .pj-engineering-overlay {
  grid-template-columns: 1.5fr .72fr;
  gap: 4%;
  align-items: stretch
}

.projeto-page .pj-engineering-visual {
  position: relative;
  min-height: 550px;
  overflow: hidden;
  background: #08342e
}

.projeto-page .pj-engineering-visual img {
  height: 100%;
  min-height: 550px;
  aspect-ratio: auto;
  object-fit: cover;
  transition: transform .8s ease
}

.projeto-page .pj-engineering-visual:hover img {
  transform: scale(1.035)
}

.projeto-page .pj-engineering-caption {
  position: absolute;
  top: 32px;
  left: 32px;
  width: min(72%, 610px);
  background: rgba(5, 43, 37, .66);
  backdrop-filter: blur(8px);
  padding: clamp(22px, 3vw, 42px);
  color: #fff
}

.projeto-page .pj-engineering-caption h2 {
  line-height: 1.15;
}

.projeto-page .pj-engineering-caption p {
  font-size: 14px;
  line-height: 1.8;
  margin: 18px 0 0;
  color: #e2eae5
}

.projeto-page .pj-engineering-visual figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  background: rgba(3, 36, 31, .85);
  padding: 10px 15px;
  color: #fff;
  font-size: 10px
}

.projeto-page .pj-timeline {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 90px
}

.projeto-page .pj-milestone {
  padding: 28px 12px 8px 0;
  gap: 9px
}

.projeto-page .pj-milestone-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 80px
}

.projeto-page .pj-milestone-icon {
  width: 31px;
  height: 31px;
  color: #16453d;
  flex: none
}

.projeto-page .pj-milestone b {
  font-size: 14px
}

.projeto-page #servicos .pj-section-top {
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .65fr);
  gap: 5%;
  align-items: center
}

.projeto-page #servicos .pj-section-top h2 {
  letter-spacing: -.05em;
  max-width: 100%;
  text-wrap: balance;
}

.projeto-page .pj-service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  border: 0
}

.projeto-page .pj-service-card {
  height: 410px;
  min-height: 0;
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #062c27;
  color: #fff
}

.projeto-page .pj-service-bg,
.projeto-page .pj-service-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

.projeto-page .pj-service-bg {
  object-fit: cover;
  transition: transform .85s cubic-bezier(.2, .7, .2, 1), filter .6s
}

.projeto-page .pj-service-shade {
  background: linear-gradient(0deg, rgba(2, 39, 34, .97) 0%, rgba(2, 39, 34, .7) 46%, rgba(2, 39, 34, .14) 100%);
  transition: background .45s
}

.projeto-page .pj-service-no {
  position: absolute;
  top: 25px;
  right: 27px;
  color: #d9ab5b;
  font-size: 11px;
  letter-spacing: .12em
}

.projeto-page .pj-service-content {
  position: absolute;
  bottom: 20px;
  left: 17px;
  right: 17px;
  transition: transform .5s
}

.projeto-page .pj-service-content small {
  font-size: 10px;
  color: #d8ad61;
  letter-spacing: .17em;
  font-weight: 600
}

.projeto-page .pj-service-content h3 {
  font-size: clamp(17px, 1.5vw, 24px);
  font-weight: 300;
  line-height: 1.18;
  margin: 14px 0 18px
}

.projeto-page .pj-service-content p {
  font-size: 11px;
  line-height: 1.65;
  min-height: 0;
  color: #fff
}

.projeto-page .pj-service-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: 9px;
  letter-spacing: .13em;
  font-weight: 700
}

.projeto-page .pj-service-foot b {
  font-size: 18px;
  color: #d8ad61;
  transition: transform .3s
}

.projeto-page .pj-service-card:hover .pj-service-bg {
  transform: scale(1.065);
  filter: saturate(.85)
}

.projeto-page .pj-service-card:hover .pj-service-content {
  transform: translateY(-7px)
}

.projeto-page .pj-service-card:hover .pj-service-foot b {
  transform: translate(4px, -4px)
}

.projeto-page .pj-closing {
  position: relative;
  isolation: isolate;
  background: #082e28
}

.projeto-page .pj-closing:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(2, 38, 33, .88), rgba(2, 38, 33, .89)), url("imgs/hero2.webp") center/cover fixed no-repeat
}

/* Acessibilidade: conteúdo sempre visível sem JS; animação progressiva somente quando ativada */
.projeto-page.pj-animate .pj-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .2, 1)
}

.projeto-page.pj-animate .pj-reveal.pj-visible {
  opacity: 1;
  transform: none
}

@media(max-width:1250px) {
  .projeto-page .pj-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .projeto-page .pj-service-card {
    height: 430px
  }
}

@media(max-width:1100px) {
  .projeto-page .pj-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr))
  }

  .projeto-page .pj-engineering-overlay {
    grid-template-columns: 1fr
  }

  .projeto-page .pj-engineering-visual {
    min-height: 470px
  }
}

@media(max-width:700px) {
  .projeto-page #servicos .pj-section-top {
    grid-template-columns: 1fr;
    gap: 22px
  }

  .projeto-page #servicos .pj-section-top h2 {}

  .projeto-page .pj-structure:before,
  .projeto-page .pj-closing:before {
    background-attachment: scroll
  }

  .projeto-page .pj-engineering-caption {
    top: 16px;
    left: 16px;
    width: calc(100% - 32px);
    padding: 22px
  }

  .projeto-page .pj-engineering-visual,
  .projeto-page .pj-engineering-visual img {
    min-height: 490px
  }

  .projeto-page .pj-timeline {
    display: block
  }

  .projeto-page .pj-milestone-head {
    min-height: 0
  }

  .projeto-page .pj-milestone {
    padding: 0 0 28px 25px
  }

  .projeto-page .pj-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .projeto-page .pj-service-card {
    height: 420px
  }

  .projeto-page .pj-service-content {
    left: 20px;
    right: 20px;
    bottom: 20px
  }

  .projeto-page .pj-service-content p {
    min-height: 0
  }
}

@media(max-width:490px) {
  .projeto-page .pj-service-grid {
    grid-template-columns: 1fr
  }

  .projeto-page .pj-service-card {
    height: 460px
  }
}

@media(prefers-reduced-motion:reduce) {
  .projeto-page.pj-animate .pj-reveal {
    opacity: 1;
    transform: none;
    transition: none
  }

  .projeto-page .pj-service-bg,
  .projeto-page .pj-service-content {
    transition: none
  }
}

/* Hero sempre visível: não depende do observer de animações */
.projeto-page .pj-hero-content {
  opacity: 1;
  transform: none;
  visibility: visible
}


/* V11: alinhamento óptico ao início visível da marca no cabeçalho.
   O arquivo PNG da marca possui margem transparente interna,
   portanto alinhar apenas pelo padding do header não alinha visualmente. */
@media (max-width:700px) {
  .projeto-page {
    --pj-logo-offset: 0px
  }

  .projeto-page .pj-container {
    width: calc(100% - 44px);
    margin-inline: 22px
  }

  .projeto-page .project-numbers {
    padding-left: 22px;
    padding-right: 22px
  }
}

/* V12 · Características e localização — seção isolada, sem sobrescrever o layout existente */
.projeto-page .pj-location-section {
  background: #f5f2eb;
  color: #10372f
}

.projeto-page .pj-location-heading {
  margin-bottom: 34px
}

.projeto-page .pj-location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch
}

.projeto-page .pj-location-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start
}

.projeto-page .pj-location-stat {
  display: flex;
  gap: 15px;
  align-items: center;
  min-height: 134px;
  background: #fff;
  border: 1px solid #e5ddcd;
  padding: 22px;
  transition: transform .3s ease, box-shadow .3s ease
}

.projeto-page .pj-location-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(8, 46, 40, .09)
}

.projeto-page .pj-location-icon {
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  color: #b78a45;
  min-width: 38px;
  text-align: center
}

.projeto-page .pj-location-stat div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0
}

.projeto-page .pj-location-stat div span {
  font-size: 12px;
  line-height: 1.5;
  color: #586a64
}

.projeto-page .pj-location-stat strong {
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.2
}

.projeto-page .pj-location-summary {
  grid-column: 1/-1;
  background: #0a352e;
  color: white;
  padding: 26px 30px;
  align-self: stretch
}

.projeto-page .pj-location-summary-kicker {
  color: #d7ac62;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em
}

.projeto-page .pj-location-summary h3 {
  font-size: clamp(23px, 2vw, 33px);
  font-weight: 400;
  margin: 12px 0
}

.projeto-page .pj-location-summary h3 span {
  color: #d7ac62
}

.projeto-page .pj-location-summary p {
  font-size: 13px;
  line-height: 1.8;
  color: #d5e3dd;
  max-width: 530px;
  margin: 0
}

.projeto-page .pj-location-map {
  margin: 0;
  position: relative;
  height: 477px;
  min-height: 0;
  overflow: hidden;
  background: #10372f
}

.projeto-page .pj-location-map>img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 25%;
  filter: saturate(.8)
}

.projeto-page .pj-location-map:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 36, 32, .8), transparent 46%);
  pointer-events: none
}

.projeto-page .pj-location-map-overlay {
  position: absolute;
  left: 30px;
  bottom: 52px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: white
}

.projeto-page .pj-location-map-overlay>span {
  color: #d7ac62;
  font-size: 10px;
  letter-spacing: .2em;
  font-weight: 700
}

.projeto-page .pj-location-map-overlay strong {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 400
}

.projeto-page .pj-location-pin {
  color: #d7ac62
}

.projeto-page .pj-location-map figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 12px 30px;
  background: rgba(2, 31, 28, .82);
  color: #e5ece7;
  font-size: 10px;
  line-height: 1.5
}

@media(max-width:1050px) {
  .projeto-page .pj-location-layout {
    grid-template-columns: 1fr
  }

  .projeto-page .pj-location-map {
    height: 390px;
    min-height: 0
  }

  .projeto-page .pj-location-map>img {
    height: 100%;
    min-height: 0;
    object-position: 50% 24%
  }
}

@media(max-width:560px) {
  .projeto-page .pj-location-stats {
    grid-template-columns: 1fr 1fr;
    gap: 9px
  }

  .projeto-page .pj-location-stat {
    padding: 14px 12px;
    min-height: 120px;
    gap: 7px;
    flex-direction: column;
    align-items: flex-start
  }

  .projeto-page .pj-location-icon {
    font-size: 23px;
    min-width: 0
  }

  .projeto-page .pj-location-stat strong {
    font-size: 18px
  }

  .projeto-page .pj-location-summary {
    padding: 24px
  }

  .projeto-page .pj-location-map {
    height: 330px
  }

  .projeto-page .pj-location-map>img {
    height: 100%;
    object-position: 50% 22%
  }

  .projeto-page .pj-location-map-overlay {
    left: 20px;
    bottom: 64px
  }

  .projeto-page .pj-location-map figcaption {
    padding: 10px 20px
  }
}
/* Visão geral — 100% / 50% + 50% / 100% (somente #visao) */
.projeto-page #visao .pj-visao-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.projeto-page #visao .pj-visao-layout p {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
}

.projeto-page #visao .pj-visao-half-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 5%;
}

.projeto-page #visao .pj-visao-half {
  min-width: 0;
}

@media (max-width: 700px) {
  .projeto-page #visao .pj-visao-layout {
    gap: 22px;
  }

  .projeto-page #visao .pj-visao-half-row {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }

  .projeto-page #visao .pj-visao-layout p {
    font-size: 14px;
  }
}
