:root {
  --ink: #111214;
  --soft-ink: #5f6269;
  --paper: #f5f1ea;
  --paper-light: #fbfaf7;
  --orange: #ff6811;
  --line: rgba(17, 18, 20, .14);
}

.internal-page {
  overflow-x: clip;
  background: var(--paper-light);
  color: var(--ink);
}

.internal-page .site-header .site-nav a.is-active {
  color: #fff;
}

.internal-hero {
  position: relative;
  min-height: 780px;
  padding: 210px 0 110px;
  overflow: hidden;
  background: var(--paper);
}

.internal-hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(245, 241, 234, .98) 0%, rgba(245, 241, 234, .92) 44%, rgba(245, 241, 234, .2) 72%, transparent 100%);
  content: "";
  pointer-events: none;
}

.internal-hero__art {
  position: absolute;
  inset: 0 0 0 42%;
}

.internal-hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.internal-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 680px) 1fr;
  gap: 80px;
  align-items: center;
}

.internal-hero h1 {
  max-width: 760px;
  margin: 20px 0 26px;
  font-size: clamp(2.75rem, 3.35vw, 3.9rem);
  line-height: .97;
  letter-spacing: -.065em;
}

.internal-hero h1 em,
.internal-heading h2 em,
.story-quote em,
.solutions-intro h2 em {
  color: var(--orange);
  font-family: Kalam, "Segoe Print", cursive;
  font-style: normal;
  font-weight: 700;
}

.internal-hero__lead {
  max-width: 610px;
  color: var(--soft-ink);
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

.internal-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.internal-hero__meta {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
  color: #73767c;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.internal-hero__meta span + span::before {
  margin-right: 18px;
  color: var(--orange);
  content: "•";
}

.internal-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 64px;
}

.internal-heading h2,
.solutions-intro h2 {
  max-width: 850px;
  margin: 14px 0 0;
  font-size: clamp(2.5rem, 4.4vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.06em;
}

.internal-heading > p,
.solutions-intro > p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Quem somos */
.about-hero::after {
  background: linear-gradient(90deg, rgba(245, 241, 234, .99) 0%, rgba(245, 241, 234, .95) 48%, rgba(245, 241, 234, .25) 72%, transparent 100%);
}

.about-hero__portraits {
  position: absolute;
  inset: 180px max(5vw, 80px) 70px auto;
  z-index: 1;
  width: min(42vw, 700px);
}

.about-hero__portraits img {
  position: absolute;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 28px 80px rgba(17, 18, 20, .15);
}

.about-hero__portraits img:first-child {
  top: 90px;
  left: 0;
  width: 48%;
  aspect-ratio: 1 / 1;
  transform: rotate(-3deg);
}

.about-hero__portraits img:nth-child(2) {
  top: 0;
  right: 0;
  width: 56%;
  aspect-ratio: .77;
  filter: grayscale(1) contrast(1.06);
  transform: rotate(2deg);
}

.about-hero__portraits::after {
  position: absolute;
  right: -18px;
  bottom: 18px;
  width: 150px;
  height: 150px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  content: "";
}

.story-section {
  padding: 120px 0;
  background: #0b0c0d;
  color: #f7f4ef;
}

.story-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 110px;
}

.story-aside {
  color: #a5a6aa;
  font-size: .96rem;
  line-height: 1.75;
}

.story-aside strong {
  display: block;
  margin: 20px 0 5px;
  color: #fff;
  font-size: 1.2rem;
}

.story-quote {
  max-width: 920px;
  margin: 0 0 46px;
  font-size: clamp(2.55rem, 4.4vw, 5rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.06em;
}

.story-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  color: #b9babe;
  font-size: 1.02rem;
  line-height: 1.8;
}

.values-section {
  padding: 120px 0;
}

.values-list {
  border-top: 1px solid var(--line);
}

.value-row {
  display: grid;
  grid-template-columns: 80px minmax(220px, .62fr) 1fr;
  gap: 36px;
  align-items: start;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.value-row > span {
  color: var(--orange);
  font-weight: 800;
}

.value-row h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  letter-spacing: -.04em;
}

.value-row p {
  max-width: 700px;
  margin: 0;
  color: var(--soft-ink);
  line-height: 1.75;
}

.about-proof {
  padding: 120px 0;
  background: var(--orange);
  color: #111;
}

.about-proof .internal-heading > p {
  color: rgba(17, 18, 20, .7);
}

.about-logo-wall {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 28px;
  align-items: center;
  padding: 42px 0;
  border-top: 1px solid rgba(17, 18, 20, .25);
  border-bottom: 1px solid rgba(17, 18, 20, .25);
}

.about-logo-wall img {
  width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: brightness(0);
  opacity: .68;
}

.team-section {
  padding: 120px 0;
  background: var(--paper);
}

.team-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.team-person {
  display: grid;
  grid-template-columns: minmax(190px, .8fr) 1fr;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}

.team-person img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.team-person__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}

.team-person__copy small {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.team-person h3 {
  margin: 12px 0 18px;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.team-person p {
  margin: 0;
  color: var(--soft-ink);
  line-height: 1.7;
}

/* Soluções */
.solutions-hero .internal-hero__art {
  opacity: .9;
}

.solutions-hero h1 {
  max-width: 840px;
}

.solutions-index {
  position: relative;
  z-index: 3;
  margin-top: -34px;
}

.solutions-index__inner {
  display: flex;
  gap: 10px;
  padding: 12px;
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: #121315;
  box-shadow: 0 22px 50px rgba(17, 18, 20, .16);
}

.solutions-index a {
  flex: 1 0 auto;
  padding: 14px 20px;
  border-radius: 999px;
  color: #c8c9cc;
  font-size: .84rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.solutions-index a:hover {
  background: var(--orange);
  color: #111;
}

.solutions-main {
  padding: 140px 0 120px;
}

.solutions-intro {
  display: grid;
  grid-template-columns: 1fr minmax(280px, .48fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 70px;
}

.solution-row {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(240px, .65fr) 1fr 44px;
  gap: 38px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: padding .25s ease, color .25s ease;
}

.solution-row:last-child {
  border-bottom: 1px solid var(--line);
}

.solution-row::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .25s ease;
  content: "";
}

.solution-row:hover {
  padding-right: 24px;
  padding-left: 24px;
}

.solution-row:hover::before {
  transform: scaleY(1);
}

.solution-row__number {
  color: var(--orange);
  font-size: .85rem;
  font-weight: 800;
}

.solution-row:hover .solution-row__number {
  color: #111;
}

.solution-row h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.solution-row p {
  margin: 0;
  color: var(--soft-ink);
  line-height: 1.7;
}

.solution-row:hover p {
  color: rgba(17,18,20,.75);
}

.solution-row__arrow {
  font-size: 1.7rem;
  transition: transform .25s ease;
}

.solution-row:hover .solution-row__arrow {
  transform: translate(5px, -5px);
}

.complementary {
  padding: 120px 0;
  background: #0b0c0d;
  color: #f7f4ef;
}

.complementary .internal-heading > p {
  color: #9fa1a6;
}

.complementary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.13);
  border-left: 1px solid rgba(255,255,255,.13);
}

.complementary-card {
  min-height: 290px;
  padding: 32px;
  border-right: 1px solid rgba(255,255,255,.13);
  border-bottom: 1px solid rgba(255,255,255,.13);
  color: inherit;
  text-decoration: none;
  transition: background .25s ease;
}

.complementary-card:hover {
  background: rgba(255,104,17,.12);
}

.complementary-card small {
  color: var(--orange);
  font-weight: 800;
}

.complementary-card h3 {
  margin: 42px 0 14px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.complementary-card p {
  margin: 0;
  color: #9fa1a6;
  font-size: .94rem;
  line-height: 1.65;
}

.path-section {
  padding: 120px 0;
  background: var(--paper);
}

.path-grid {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) 1.22fr;
  gap: 90px;
  align-items: start;
}

.path-grid h2 {
  margin: 14px 0 24px;
  font-size: clamp(2.5rem, 4vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.06em;
}

.path-grid > div:first-child > p:not(.eyebrow) {
  color: var(--soft-ink);
  line-height: 1.75;
}

.path-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: path;
}

.path-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  counter-increment: path;
}

.path-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.path-list li::before {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  font-weight: 800;
  content: counter(path);
}

.path-list h3 {
  margin: 3px 0 8px;
  font-size: 1.25rem;
}

.path-list p {
  margin: 0;
  color: var(--soft-ink);
  line-height: 1.65;
}

.internal-closing {
  padding: 110px 0;
  background: #fff;
}

.internal-closing__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .7fr;
  min-height: 560px;
  padding: 72px;
  overflow: hidden;
  border-radius: 32px;
  background: #0b0c0d;
  color: #fff;
}

.internal-closing__panel::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,9,10,.98), rgba(8,9,10,.82) 46%, rgba(8,9,10,.2)), url("hero-illustration-v1.png") 70% center / cover no-repeat;
  content: "";
}

.internal-closing__copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

.internal-closing h2 {
  max-width: 690px;
  margin: 16px 0 22px;
  font-size: clamp(2.35rem, 3.7vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.06em;
}

.internal-closing p:not(.eyebrow) {
  max-width: 600px;
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  line-height: 1.75;
}

.internal-closing .internal-hero__actions {
  margin-top: 30px;
}

@media (max-width: 1050px) {
  .internal-hero {
    min-height: 720px;
    padding-top: 190px;
  }

  .internal-hero__art {
    left: 48%;
  }

  .about-hero__portraits {
    right: 28px;
    width: 42vw;
  }

  .story-grid,
  .path-grid {
    gap: 56px;
  }

  .team-person {
    grid-template-columns: 1fr;
  }

  .team-person img {
    height: 320px;
  }

  .complementary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .internal-hero {
    min-height: auto;
    padding: 150px 0 80px;
  }

  .internal-hero::after {
    background: linear-gradient(180deg, rgba(245,241,234,.94), rgba(245,241,234,.99));
  }

  .internal-hero__art {
    inset: 0;
    opacity: .24;
  }

  .internal-hero__grid,
  .internal-heading,
  .solutions-intro,
  .story-grid,
  .story-copy,
  .path-grid,
  .team-editorial,
  .internal-closing__panel {
    grid-template-columns: 1fr;
  }

  .internal-hero h1 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  .about-hero__portraits {
    display: none;
  }

  .internal-heading,
  .solutions-intro {
    gap: 26px;
    margin-bottom: 42px;
  }

  .story-section,
  .values-section,
  .about-proof,
  .team-section,
  .complementary,
  .path-section,
  .internal-closing {
    padding: 82px 0;
  }

  .value-row {
    grid-template-columns: 44px 1fr;
    gap: 18px;
  }

  .value-row p {
    grid-column: 2;
  }

  .about-logo-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-person {
    min-height: 0;
  }

  .solution-row {
    grid-template-columns: 42px 1fr 32px;
    gap: 14px;
  }

  .solution-row p {
    grid-column: 2 / -1;
  }

  .solutions-index__inner {
    border-radius: 20px;
  }

  .complementary-grid {
    grid-template-columns: 1fr;
  }

  .complementary-card {
    min-height: 240px;
  }

  .internal-closing__panel {
    min-height: 580px;
    padding: 34px 26px;
  }

  .internal-closing__panel::before {
    background: linear-gradient(180deg, rgba(8,9,10,.97), rgba(8,9,10,.78)), url("hero-illustration-v1.png") 68% center / cover no-repeat;
  }
}
