/* What We Do Section Styles */
#what-we-do {
  background-color: var(--primary-red);
  position: relative;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  z-index: 1;
  align-items: flex-start;
}

.container-full {
  max-height: 100vh;
  overflow: hidden;
}

.what-we-do__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
  height: 100vh;
  max-height: 100vh;
  /* esconder scrollbar mantendo rolagem */
  -ms-overflow-style: none;
  padding-right: 20px;
  margin-right: -20px;
  box-sizing: content-box;
}

/* Chrome/Safari/WebKit */
.what-we-do__wrapper::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

/* Firefox */
@supports (scrollbar-width: none) {
  .what-we-do__wrapper { scrollbar-width: none; }
}

.what-we-do__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 var(--space-32) 0 var(--space-16);
  flex: 1;
  min-height: calc(100vh / 6);
  max-height: calc(100vh / 6);
  border-bottom: 2px solid var(--neutral-light);
  position: relative;
  overflow: hidden;

  /* performance/suavidade */
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.what-we-do__row::before {
  content: '';
  position: absolute;
  inset: 0 0 0 0;
  height: 100%;
  background-color: var(--primary-green);
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
  will-change: transform;
}

.what-we-do__row:hover::before {
  transform: translateY(0);
}

/* garantir conteúdo acima do overlay */
.what-we-do__title,
.what-we-do__description {
  position: relative;
  z-index: 1;
  transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: color;
}

/* contraste no hover */
.what-we-do__row:hover .what-we-do__title,
.what-we-do__row:hover .what-we-do__description {
  color: var(--neutral-normal);
}

.what-we-do__title {
  color: var(--neutral-light);
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-size: 7.75rem;
  font-weight: 900;
  letter-spacing: 0.155rem;
  text-transform: uppercase;
  margin: 0;
}

.what-we-do__description {
  color: var(--neutral-light);
  flex: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.05rem;
  margin: 0;
}

/* ================================= */
/* RESPONSIVE                        */
/* ================================= */

/* Desktop Large: 1920px+ */
@media (min-width: 1920px) {
  /* Mantém valores base - sem alterações necessárias */
}

/* Desktop Padrão: 1440px - 1919px */
@media (min-width: 1440px) and (max-width: 1919px) {
  .what-we-do__title {
  color: var(--neutral-light);
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-size: 7rem;
  font-weight: 900;
  letter-spacing: 0.155rem;
  text-transform: uppercase;
  margin: 0;
}

.what-we-do__description {
  color: var(--neutral-light);
  flex: 1;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.0rem;
  font-weight: 400;
  letter-spacing: 0.05rem;
  margin: 0;
}
}

/* Laptop: 1024px - 1439px */
@media (min-width: 1024px) and (max-width: 1439px) {
  .what-we-do__title {
    font-size: 5.5rem;
    letter-spacing: 0;
  }

  .what-we-do__description {
    font-size: 0.65rem;
    letter-spacing: 0.0475rem;
  }
}

/* Tablet Landscape: 835px - 1023px */
@media (min-width: 835px) and (max-width: 1023px) {
  .what-we-do__title {
    font-size: 4.15rem;
    letter-spacing: 0.115rem;
  }

  .what-we-do__description {
    font-size: 0.9rem;
    letter-spacing: 0.045rem;
  }
}

/* Tablet Portrait: 600px - 834px */
@media (max-width: 834px) {
  .what-we-do__row {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-8) var(--space-8);
  }

  .what-we-do__title {
    font-size: 4.75rem;
    line-height: 4.5rem;
    letter-spacing: 0.095rem;
  }

  .what-we-do__description {
    font-size: 1.0625rem;
    letter-spacing: 0.0425rem;
  }
}

/* Mobile Large: 480px - 599px */
@media (max-width: 599px) {
  .what-we-do__row {
    flex-direction: column;
    padding: var(--space-24) var(--space-16);
  }

  .what-we-do__title {
    font-size: 3.40625rem;
    letter-spacing: 0.068125rem;
  }

  .what-we-do__description {
    font-size: 1rem;
    letter-spacing: 0.04rem;
  }
}

/* Mobile Padrão: 376px - 479px */
@media (max-width: 479px) {
  .what-we-do__row {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-8) var(--space-8);
    gap: 0;
  }

  .what-we-do__title {
    font-size: 2.3rem;
    line-height: 3rem;
    letter-spacing: 0.05469rem;
  }

  .what-we-do__description {
    font-size: 0.85rem;
    letter-spacing: 0.03875rem;
  }
}

/* Mobile Small: 375px e abaixo */
@media (max-width: 375px) {
  .what-we-do__row {
    flex-direction: column;
    padding: var(--space-8) var(--space-8);
  }

  .what-we-do__title {
    font-size: 1.9rem;
    line-height: 2.2rem;
    letter-spacing: 0.04125rem;
  }

  .what-we-do__description {
    font-size: 0.65rem;
    letter-spacing: 0.0375rem;
  }
}
