/* JumperFour — estilos exclusivos: home. Carregado depois de global.css. */

.text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 39px;
  font-size: var(--fs-body);
}

.text-link__label {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
}

@media (hover: hover) and (pointer: fine) {
  .text-link:hover {
    color: #0b5a6a;
  }
  .solution:hover .solution__media img {
    transform: scale(1.06);
  }
}

/* ---------- Eyebrow (numeração das seções do layout) ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
}

.eyebrow__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border: 1px solid var(--c-accent);
  border-radius: 50%;
}

.eyebrow--accent {
  color: var(--c-accent);
}

.eyebrow--accent .eyebrow__num {
  color: var(--c-light);
}

@media (max-width: 1439px) {
  .js .site-nav__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    border-bottom: 1px solid rgb(3 43 52 / 0.12);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 654px;
  overflow: hidden;
  background: var(--c-primary);
  color: var(--c-light);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-hero-veil);
}

.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__shape {
  position: absolute; right: 0; bottom: 0;
}

.hero__shape--green {
  height: 100%; width: auto; aspect-ratio: 1;
}

.hero__shape--dark {
  height: 67.43%; width: auto; aspect-ratio: 432 / 441; transform: scaleX(-1);
}

.hero__inner {
  position: relative; padding-block: 60px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  max-width: 500px;
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: var(--lh);
}

.hero__title > span {
  display: block;
}

.hero__text {
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: var(--lh);
}

.hero__toggle {
  position: absolute;
  left: var(--gutter);
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(225 225 225 / 0.35);
  border-radius: 50%;
  background: rgb(3 43 52 / 0.35);
  color: var(--c-light);
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s ease;
}

.hero__toggle[hidden] {
  display: none;
}

.hero__toggle:hover,
.hero__toggle:focus-visible {
  opacity: 1;
}

/* ---------- Números ---------- */
.numbers {
  background: var(--c-primary);
  color: var(--c-light);
}

.numbers__list {
  display: flex;
}

.numbers__item {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 230px;
  padding: 24px 16px 24px clamp(24px, 3.125vw, 60px);
}

.numbers__item + .numbers__item {
  border-left: 1px solid var(--c-light);
}

.numbers__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 6px;
}

.numbers__value {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: var(--lh);
  color: var(--c-accent);
}

.numbers__label {
  font-size: var(--fs-title);
  font-weight: 600;
  line-height: var(--lh);
}

.numbers__desc {
  max-width: 300px;
  font-size: var(--fs-body);
  font-weight: 300;
}

.split {
  display: flex;
  align-items: center;
  gap: var(--space-60);
}

.split > * {
  flex: 1 1 0; min-width: 0;
}

.split__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-60);
}

.split__text > .eyebrow + .heading {
  margin-top: calc(var(--space-30) - var(--space-60));
}

/* exceção: título mais próximo do eyebrow */
.split__text > .heading + .lead {
  margin-top: calc(var(--space-30) - var(--space-60));
}

/* exceção: lead agrupado ao título */
/* Fotos sobrepostas por card */
.media-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.media-stack__photo {
  align-self: flex-end;
  width: 75.42%;            /* 626 / 830 */
  aspect-ratio: 626 / 550;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-media);
}

.media-stack__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: -185px;       /* exceção: sobreposição intencional do card sobre a foto */
  padding: clamp(32px, 3.125vw, 60px);
  background: var(--c-primary);
  color: var(--c-light);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}

.media-stack--about .media-stack__card {
  width: 55.18%;
}

/* 458 / 830 */
.media-stack--diff .media-stack__card {
  width: 69.16%;
}

/* 574 / 830 */
.media-stack__arrow {
  position: absolute;
  z-index: 1;
  top: 0;
  left: calc(100% - 39px);
  width: 195px;
  height: auto;
  pointer-events: none;
}

.card-title {
  font-size: var(--fs-title);
  font-weight: 600;
  line-height: var(--lh);
  color: var(--c-accent);
}

.card-text {
  font-size: var(--fs-lead);
  font-weight: 300;
  line-height: var(--lh);
}

/* ---------- Quem somos ---------- */
.pillars {
  display: flex;
  gap: 60px;
}

.pillar {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.pillar__num {
  padding-bottom: 1px; font-size: var(--fs-small); color: var(--c-muted);
}

.pillar__title {
  font-size: var(--fs-title); font-weight: 600; line-height: var(--lh);
}

.pillar__text {
  font-size: var(--fs-lead); font-weight: 300; line-height: var(--lh);
}

/* ---------- Soluções ---------- */
.solutions__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-60);
}

.solutions__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-60);
}

.solutions__heading {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  gap: 30px;
}

.solutions__intro {
  flex: 0 1 604px;
}

.solutions__cards {
  display: flex;
  align-items: flex-start;
  gap: var(--space-60);
}

.solution {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 30px;
  min-width: 0;
}

.solution__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 830 / 500;
  overflow: hidden;
  border-radius: var(--radius-media);
  isolation: isolate;
}

.solution__media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.solution__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-photo-veil);
}

.solution__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
}

.solution__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: var(--lh);
  color: var(--c-accent);
}

.solution__summary {
  max-width: 684px;
  font-size: var(--fs-title);
  font-weight: 600;
  line-height: 1.16;
}

.solution__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  padding-inline: 30px;
}

.solution__subtitle {
  font-size: var(--fs-title);
  font-weight: 600;
  line-height: var(--lh);
  color: var(--c-accent);
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.checklist p {
  font-weight: 300; line-height: var(--lh);
}

/* ---------- Diferencial ---------- */
.differential {
  overflow: hidden;
}

.differential__shape {
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(80px, 9.375vw, 180px);
  height: auto;
  pointer-events: none;
}

.differential .split {
  position: relative;
}

.features {
  display: flex;
  gap: 60px;
}

.feature {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.feature__title {
  font-size: var(--fs-title); font-weight: 600; line-height: var(--lh);
}

.feature__text {
  font-size: var(--fs-lead); font-weight: 300; line-height: var(--lh);
}

.media-stack--diff .media-stack__card {
  gap: 0;
}

.media-stack--diff .card-text {
  margin-top: 16px;
}

/* exceção: espaçamentos distintos entre título, texto e lista */
.systems {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px; /* exceção: ver acima */
}

.systems__item {
  display: flex;
  flex: 0 0 calc((100% - 60px) / 3);
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.systems dt {
  font-size: var(--fs-lead); color: var(--c-accent);
}

.systems dd {
  font-size: var(--fs-body); font-weight: 300;
}

.site-footer__nav ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

@media (max-width: 1599px) {
  /* =========================================================
   Responsivo (adaptação inferida: o layout fornecido é só desktop)
   ========================================================= */
  .media-stack--about .media-stack__card {
    width: 68%;
  }
  .media-stack--diff .media-stack__card {
    width: 80%;
  }
  .solutions__header {
    flex-direction: column; align-items: flex-start; gap: 30px;
  }
  .solutions__intro {
    flex: none; max-width: 604px;
  }
}

@media (max-width: 1499px) {
  .numbers__list {
    flex-wrap: wrap;
  }
  .numbers__item {
    flex: 1 1 50%; min-height: 160px; padding: 32px 24px;
  }
  .numbers__item + .numbers__item {
    border-left: 0;
  }
  .numbers__item:nth-child(even) {
    border-left: 1px solid var(--c-light);
  }
  .numbers__item:nth-child(n + 3) {
    border-top: 1px solid var(--c-light);
  }
}

@media (max-width: 1099px) {
  .hero {
    min-height: 0; align-items: flex-start;
  }
  .hero__inner {
    padding-block: 72px 240px;
  }
  .hero__shape--green {
    height: 230px;
  }
  .hero__shape--dark {
    height: 155px;
  }
  .split {
    flex-direction: column; align-items: stretch;
  }
  .split > * {
    flex: none;
  }
  .solutions__cards {
    flex-direction: column;
  }
  .solution {
    flex: none; width: 100%;
  }
  .site-footer__inner > .logo {
    flex: 0 0 100%;
  }
}

@media (max-width: 899px) {
  /* 3 colunas ficam estreitas demais para os textos de 20px */
  .features {
    flex-direction: column; gap: 32px;
  }
  .feature {
    max-width: 560px;
  }
}

@media (max-width: 719px) {
  .hero__content {
    max-width: none;
  }
  .hero__inner {
    padding-block: 56px 200px;
  }
  .hero__shape--green {
    height: 190px;
  }
  .hero__shape--dark {
    height: 128px;
  }
  .numbers__item {
    flex-basis: 100%; min-height: 0; padding: 28px 0;
  }
  .numbers__item:nth-child(even) {
    border-left: 0;
  }
  .numbers__item + .numbers__item {
    border-top: 1px solid rgb(225 225 225 / 0.4);
  }
  .pillars,
  .features {
    flex-direction: column; gap: 32px;
  }
  .media-stack__photo {
    width: 100%;
  }
  .media-stack__card,
  .media-stack--about .media-stack__card,
  .media-stack--diff .media-stack__card {
    width: calc(100% - 24px);
    margin-top: -48px;
    padding: 32px 28px;
  }
  .media-stack__arrow {
    left: auto; right: -12px; width: 80px;
  }
  .systems__item {
    flex-basis: calc((100% - 30px) / 2);
  }
  .solution__media {
    aspect-ratio: auto; min-height: 380px;
  }
  .solution__intro {
    padding: 24px;
  }
  .solution__body {
    padding-inline: 0;
  }
}

.section-head > .heading {
  flex: 0 0 auto;
}

.reasons > .container {
  position: relative;
}

.cycle > .container {
  position: relative;
}

@media (max-width: 1279px) {
  .service-hero__title .heading__line {
    display: inline;
  }
}

.js .reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(1.5rem);
  transition:
  opacity var(--motion-reveal) var(--ease-reveal),
  filter var(--motion-reveal) var(--ease-reveal),
  transform var(--motion-reveal) var(--ease-reveal);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1; filter: none; transform: none;
  }
}
