.hero {
      position: relative;
      min-height: 100vh;
      min-height: 100svh;
      display: flex;
      align-items: center;
      padding: 72px 36px 0;
      overflow: hidden;
      background: #ffffff;
    }

.hero__bg {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: right bottom;
      animation: hero-zoom 1.8s var(--ease) both;
    }

.hero::before {
      /* garante leitura do texto sobre o céu claro */
      content: "";
      position: absolute;
      inset: 0;
      z-index: 1;
      background: linear-gradient(90deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .35) 55%, rgba(255, 255, 255, 0) 75%);
      pointer-events: none;
    }

.hero__content {
      position: relative;
      z-index: 2;
      max-width: 620px;
      margin-top: -6vh;
    }

.hero__content>* {
      animation: rise .9s var(--ease) both;
    }

.hero__content> :nth-child(2) {
      animation-delay: .1s;
    }

.hero__content> :nth-child(3) {
      animation-delay: .2s;
    }

.hero__content> :nth-child(4) {
      animation-delay: .3s;
    }

.hero__content> :nth-child(5) {
      animation-delay: .4s;
    }

.hero__eyebrow {
      display: flex;
      align-items: center;
      gap: 16px;
      font-size: .7rem;
      font-weight: 600;
      letter-spacing: .28em;
      text-transform: uppercase;
      margin-bottom: 28px;
    }

.hero__eyebrow::after {
      content: "";
      width: 48px;
      height: 1px;
      background: var(--black);
    }

.hero__title {
      font-size: clamp(2.6rem, 5.2vw, 4.8rem);
      font-weight: 500;
      letter-spacing: -.035em;
      line-height: 1.02;
      margin-bottom: 28px;
      text-wrap: balance;
    }

.hero__text {
      max-width: 400px;
      font-size: 1.05rem;
      font-weight: 400;
      line-height: 1.55;
      color: #3d3d3d;
      margin-bottom: 36px;
    }

.hero__ctas {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
    }

.hero__values {
      list-style: none;
      display: flex;
      margin-top: 44px;
      font-size: .68rem;
      font-weight: 600;
      letter-spacing: .28em;
      text-transform: uppercase;
    }

.hero__values li+li {
      margin-left: 22px;
      padding-left: 22px;
      border-left: 1px solid var(--black);
    }

@keyframes rise {
      from {
        opacity: 0;
        transform: translateY(18px);
      }
    }

@keyframes hero-zoom {
      from {
        transform: scale(1.05);
        opacity: 0;
      }
    }

.about {
      background: var(--bg);
      min-height: 100vh;
      min-height: 100svh;
      padding: 140px 36px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

.about__header {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 28px;
    }

.about__title {
      max-width: 16ch;
      font-size: clamp(2.6rem, 5.2vw, 4.8rem);
      font-weight: 500;
      letter-spacing: -.035em;
      line-height: 1.02;
      text-wrap: balance;
    }

.about__body {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 56px;
      width: 100%;
      max-width: 1200px;
      margin-top: 72px;
      text-align: left;
    }

.about__body p {
      padding-top: 24px;
      border-top: 1px solid var(--black);
      font-size: 1rem;
      font-weight: 400;
      line-height: 1.65;
      color: #4a4a4a;
    }

@media (max-width: 960px)  {
.about {
        padding: 120px 20px 96px;
      }
.about__body {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 48px;
      }
}

.projects {
      position: relative;
      min-height: calc(100vh - 72px);
      min-height: calc(100svh - 72px);
      padding: 32px 36px;
      display: grid;
      overflow: hidden;
      background: #ffffff;
    }

.projects__current {
      position: absolute;
      top: 32px;
      left: 36px;
      z-index: 2;
      transition: opacity .35s var(--ease), transform .35s var(--ease);
    }

.projects__current.is-changing {
      opacity: 0;
      transform: translateY(-6px);
    }

.projects__name {
      font-size: 1.5rem;
      font-weight: 500;
      letter-spacing: -.01em;
      line-height: 1.1;
    }

.projects__location {
      font-size: .85rem;
      font-weight: 500;
      margin-top: 4px;
    }

.projects__title {
      position: absolute;
      top: 36px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      font-size: .8rem;
      font-weight: 600;
      letter-spacing: .28em;
      text-transform: uppercase;
      white-space: nowrap;
    }

.projects__stage {
      position: absolute;
      inset: 100px 260px 120px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

.projects__image {
      width: 72%;
      height: 72%;
      object-fit: contain;
      display: block;
      transition: opacity .45s var(--ease), transform .6s var(--ease);
      /* Branco ajustado no arquivo de mídia, sem filtros em tempo real. */
      dynamic-range-limit: standard;
    }

.projects__image.is-changing {
      opacity: 0;
      transform: scale(.98);
    }

.projects__list {
      position: absolute;
      right: 36px;
      top: 50%;
      transform: translateY(-50%);
      z-index: 2;
    }

.projects__list ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 12px;
    }

.projects__item {
      position: relative;
      background: none;
      border: 0;
      cursor: pointer;
      font: inherit;
      font-size: .8rem;
      font-weight: 500;
      color: var(--muted);
      padding: 2px 0 4px 16px;
      transition: color .3s var(--ease), transform .3s var(--ease);
    }

.projects__item::before {
      /* indicador */
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--black);
      transform: translateY(-60%) scale(0);
      transition: transform .3s var(--ease);
    }

.projects__item::after {
      /* sublinhado */
      content: "";
      position: absolute;
      left: 16px;
      right: 0;
      bottom: 0;
      height: 1px;
      background: var(--black);
      transform: scaleX(0);
      transform-origin: right;
      transition: transform .4s var(--ease);
    }

.projects__item:hover {
      color: var(--black);
      transform: translateX(-4px);
    }

.projects__item:hover::after {
      transform: scaleX(1);
      transform-origin: left;
    }

.projects__item.is-active {
      color: var(--black);
      font-weight: 600;
    }

.projects__item.is-active::before {
      transform: translateY(-60%) scale(1);
    }

.projects__item.is-active::after {
      transform: scaleX(1);
    }

.projects__item:focus-visible {
      outline: 2px solid var(--black);
      outline-offset: 4px;
    }

.projects__hint {
      position: absolute;
      right: 36px;
      bottom: 32px;
      font-size: .8rem;
      font-weight: 600;
      z-index: 2;
    }

@media (max-width: 800px)  {
.hero {
        align-items: flex-start;
        padding: 120px 20px 0;
      }
.hero__bg {
        object-position: 78% bottom;
      }
.hero__content {
        margin-top: 0;
      }
.hero__values {
        flex-wrap: wrap;
        row-gap: 10px;
        font-size: .6rem;
      }
.projects {
        padding: 24px 20px;
      }
.projects__current {
        top: 24px;
        left: 20px;
      }
.projects__title {
        top: 80px;
        font-size: .65rem;
      }
.projects__stage {
        inset: 120px 0 130px;
      }
.projects__list {
        top: auto;
        bottom: 64px;
        right: 20px;
        transform: none;
      }
.projects__list ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 14px;
      }
.projects__hint {
        right: 20px;
        bottom: 24px;
      }
}

.advantages {
      background: var(--bg);
      padding: 120px 36px;
    }

.advantages__header {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 20px;
      margin-bottom: 96px;
    }

.advantages__title {
      max-width: 20ch;
      font-size: clamp(2rem, 3.6vw, 3.2rem);
      font-weight: 500;
      letter-spacing: -.035em;
      line-height: 1.08;
      text-wrap: balance;
    }

.advantages__grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      max-width: 1360px;
      margin: 0 auto;
    }

.adv-card {
      display: flex;
      flex-direction: column;
      padding: 0 36px;
      border-left: 1px solid rgba(10, 10, 10, .1);
    }

.adv-card:first-child {
      border-left: none;
    }

.adv-card__inner {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

.adv-card__video-wrap {
      width: 100%;
      aspect-ratio: 16 / 10;
      margin-bottom: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--bg);
    }

.adv-card__video {
      dynamic-range-limit: standard;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

.adv-card__num {
      display: block;
      font-size: .7rem;
      font-weight: 600;
      letter-spacing: .28em;
      margin-bottom: 14px;
    }

.adv-card__title {
      font-size: 1.3rem;
      font-weight: 500;
      letter-spacing: -.02em;
      line-height: 1.2;
      min-height: 2.4em;
      margin-bottom: 16px;
    }

.adv-card__text {
      font-size: .95rem;
      line-height: 1.65;
      color: #4a4a4a;
    }

@media (max-width: 960px)  {
.advantages {
        padding: 80px 20px;
      }
.advantages__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 56px;
      }
.adv-card {
        border-left: none;
        border-top: 1px solid rgba(10, 10, 10, .1);
        padding: 40px 0 0;
      }
.adv-card:first-child {
        border-top: none;
        padding-top: 0;
      }
.adv-card__video-wrap {
        height: 200px;
      }
}

.journey {
      --j-progress: 0;
      background: var(--bg);
      padding: 140px 36px 160px;
    }

.journey__header {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 24px;
    }

.journey__title {
      max-width: 18ch;
      font-size: clamp(2.2rem, 4.2vw, 3.8rem);
      font-weight: 500;
      letter-spacing: -.035em;
      line-height: 1.05;
      text-wrap: balance;
    }

.journey__track {
      position: relative;
      list-style: none;
      max-width: 1120px;
      margin: 96px auto 0;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }

.journey__line {
      position: absolute;
      top: 5px;
      left: calc(100% / 6);
      right: calc(100% / 6);
      height: 1px;
      background: var(--black);
      transform-origin: left;
      transform: scaleX(var(--j-progress));
    }

.journey__step {
      position: relative;
      padding: 0 28px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      opacity: 0;
      transform: translateY(22px);
      transition: opacity .8s var(--ease), transform .8s var(--ease);
    }

.journey__step.is-visible {
      opacity: 1;
      transform: none;
    }

.journey__dot {
      width: 11px;
      height: 11px;
      border-radius: 50%;
      background: var(--black);
      margin-bottom: 36px;
    }

.journey__label {
      font-size: .7rem;
      font-weight: 600;
      letter-spacing: .28em;
      text-transform: uppercase;
      margin-bottom: 16px;
    }

.journey__text {
      max-width: 300px;
      font-size: 1rem;
      line-height: 1.6;
      color: #4a4a4a;
    }

@media (max-width: 800px)  {
.journey {
        padding: 96px 20px 100px;
      }
.journey__track {
        grid-template-columns: 1fr;
        margin-top: 56px;
        row-gap: 48px;
      }
.journey__line {
        top: 5px;
        bottom: 5px;
        left: 5px;
        right: auto;
        width: 1px;
        height: auto;
        transform-origin: top;
        transform: scaleY(var(--j-progress));
      }
.journey__step {
        padding: 0 0 0 40px;
        align-items: flex-start;
        text-align: left;
      }
.journey__dot {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
      }
}

@media (prefers-reduced-motion: reduce)  {
.journey__step {
        transform: none;
      }
}

.connect {
      background: var(--bg);
      padding: 120px 36px 140px;
      display: grid;
      grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
      gap: 96px;
      align-items: center;
      max-width: 1360px;
      margin: 0 auto;
    }

.connect__info {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 24px;
    }

.connect__title {
      max-width: 14ch;
      font-size: clamp(2.2rem, 4vw, 3.6rem);
      font-weight: 500;
      letter-spacing: -.035em;
      line-height: 1.05;
      text-wrap: balance;
    }

.connect__text {
      max-width: 400px;
      font-size: 1.05rem;
      line-height: 1.6;
      color: #4a4a4a;
      margin-bottom: 12px;
    }

.connect__feed-head {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 20px;
    }

.connect__feed-label {
      font-size: .7rem;
      font-weight: 600;
      letter-spacing: .28em;
      text-transform: uppercase;
    }

.connect__feed-link {
      font-size: .85rem;
      font-weight: 500;
      color: #6f6f6f;
      transition: color .3s var(--ease);
    }

.connect__feed-link:hover {
      color: var(--black);
    }

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

.ig-post {
      position: relative;
      display: block;
      aspect-ratio: 1;
      overflow: hidden;
      background: rgba(10, 10, 10, .06);
    }

.ig-post--empty {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 12px;
      text-align: center;
      background: var(--black);
      color: var(--white);
      font-size: .62rem;
      font-weight: 600;
      letter-spacing: .24em;
      text-transform: uppercase;
    }

.ig-post img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform .6s var(--ease);
    }

.ig-post::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(10, 10, 10, 0);
      transition: background .4s var(--ease);
    }

a.ig-post:hover img {
      transform: scale(1.05);
    }

a.ig-post:hover::after {
      background: rgba(10, 10, 10, .15);
    }

a.ig-post:focus-visible {
      outline: 2px solid var(--black);
      outline-offset: 3px;
    }

@media (max-width: 960px)  {
.connect {
        grid-template-columns: minmax(0, 1fr);
        gap: 56px;
        padding: 80px 20px 100px;
      }
.connect__info {
        align-items: center;
        text-align: center;
      }
.connect__feed-head {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 8px 16px;
      }
}

@media (max-width: 800px)  {
.hero::before {
        background: linear-gradient(180deg, rgba(255, 255, 255, .4) 0%, rgba(255, 255, 255, 0) 38%);
      }
.hero__eyebrow {
        font-size: .6rem;
        gap: 12px;
        margin-bottom: 16px;
      }
.hero__eyebrow::after {
        width: 32px;
      }
.hero__title {
        font-size: clamp(1.9rem, 8.4vw, 2.4rem);
        line-height: 1.05;
        margin-bottom: 14px;
      }
.hero__text {
        max-width: 320px;
        font-size: .88rem;
        line-height: 1.5;
        margin-bottom: 22px;
      }
.hero__ctas {
        gap: 10px;
      }
.hero__ctas .btn {
        font-size: .78rem;
        padding: 11px 16px;
        gap: 10px;
      }
.hero__values {
        margin-top: 24px;
        font-size: .56rem;
        letter-spacing: .22em;
      }
.hero__bg {
        object-position: center bottom;
      }
}

@media (max-width: 800px)  {
.hero {
        flex-direction: row;
        align-items: flex-start;
        padding: 88px 24px 0;
        background: var(--bg);
      }
.hero::before {
        display: none;
      }
.hero__content {
        max-width: 340px;
        margin: 0;
        padding: 0;
      }
.hero__ctas,
      .hero__values,
      .hero__text {
        display: none;
      }
.hero__eyebrow {
        font-size: .6rem;
        gap: 12px;
        margin-bottom: 14px;
      }
.hero__eyebrow::after {
        width: 32px;
      }
.hero__title {
        font-size: clamp(2rem, 8.8vw, 2.5rem);
        line-height: 1.04;
        margin-bottom: 0;
      }
.hero__bg {
        object-position: center bottom;
        filter: saturate(.85);
      }
}

@media (max-width: 800px) and (min-height: 760px)  {
.hero__text {
        display: block;
        max-width: 300px;
        margin: 14px 0 0;
        font-size: .82rem;
        line-height: 1.5;
      }
}

@media (max-width: 800px)  {
.projects {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 112px 20px 28px;
      }
.projects__name {
        font-size: 1.3rem;
      }
.projects__location {
        font-size: .8rem;
        margin-top: 4px;
      }
.projects__stage {
        position: relative;
        inset: auto;
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
      }
.projects__image {
        width: 100%;
        height: auto;
        max-height: none;
      }
.projects__list {
        position: static;
        transform: none;
        margin-top: 24px;
      }
.projects__list ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 20px;
      }
.projects__item {
        font-size: .88rem;
        padding: 4px 0 6px 16px;
      }
}

.projects__image[hidden] { display: none !important; }

.projects__all {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: 64px;
      white-space: nowrap;
      z-index: 2;
    }

@media (max-width: 800px)  {
.projects__all {
        position: static;
        align-self: center;
        transform: none;
        margin-top: 18px;
      }
}

/* Mobile: ritmo vertical compacto, sem alterar o hero ou desktop. */
@media (max-width: 800px) {
  .about { min-height: 0; }
  .about, .advantages, .journey, .connect { padding: 48px 20px; }
  .about__body { margin-top: 32px; gap: 24px; }
  .advantages__header { margin-bottom: 64px; }
  .advantages__grid { gap: 32px; }
  .adv-card { padding-top: 28px; }
  .adv-card:first-child { padding-top: 0; }
  .journey__track { margin-top: 36px; row-gap: 32px; }
  .connect { gap: 32px; }
}

/* Galeria mobile: reserva a área da mídia durante toda a troca de projeto. */
@media (max-width: 800px) {
  .projects__stage {
    flex: 0 0 auto;
    /* Compensa o padding lateral de 20px da seção, sem cortar o vídeo. */
    width: calc(100% + 40px);
    margin-inline: -20px;
    height: max(38vh, 56.5vw);
    height: max(38svh, 56.5vw);
  }
  .projects__stage .projects__image {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }
}

/* Jade: dissolve apenas as bordas da mídia no branco da seção. */
#project-video[src$="jade.mp4" i] {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 91%, transparent 100%), linear-gradient(to right, transparent 0%, #000 2%, #000 98%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 91%, transparent 100%), linear-gradient(to right, transparent 0%, #000 2%, #000 98%, transparent 100%);
  mask-composite: intersect;
}
