/* ================================= */
/* WORK SECTION - BASE */
/* ================================= */
#work {
  position: relative;
  width: 100vw;
  height: 100svh;
  background-color: var(--primary-red);
  overflow: hidden;
}

/* Trilho horizontal */
.work-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  height: 100%;
  will-change: transform;
}

/* ================================= */
/* CARD WORK - TÍTULO DE ENTRADA */
/* ================================= */
.work-card--intro {
  background-color: var(--primary-red);
  justify-content: flex-end !important;
  padding-right: 5vw !important;
}

.work-intro-title {
  color: var(--neutral-white);
  text-align: center;
  font-family: "Neue Haas Grotesk Display Pro", sans-serif;
  font-size: 13.39713rem;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  letter-spacing: 0.134rem;
  text-transform: uppercase;
  margin: 0;
  transform-origin: center right;
}

/* ================================= */
/* CARDS DE PROJETO */
/* ================================= */
.work-card {
  flex: 0 0 auto;
  will-change: transform;
}

.work-card--project {
  cursor: pointer;
  transform-origin: center center;
  will-change: transform;
}

/* Área de imagem */
.work-card__image-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.work-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Tags */
.work-card__tag {
  color: #FFF;
  text-align: center;
  font-family: "Neue Haas Grotesk Display Pro", sans-serif;
  font-size: 1.525rem;
  font-style: normal;
  font-weight: 400;
  line-height: 2.5rem;
  letter-spacing: 0.1125rem;
  margin: 0;
}

/* Título do projeto */
.work-card__title {
  color: #FFF;
  text-align: center;
  text-transform: uppercase;
  font-family: "Neue Haas Grotesk Display Pro", sans-serif;
  font-size: 6.5rem;
  font-style: normal;
  font-weight: 900;
  line-height: 5rem;
  letter-spacing: 0.115rem;
  margin: 0;
  padding: 3rem;
}

/* Descrição do projeto */
.work-card__description {
  color: #FFF;
  text-align: center;
  font-family: "Neue Haas Grotesk Display Pro", sans-serif;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 100;
  line-height: normal;
  letter-spacing: 0.1875rem;
  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) {
  .work-card__tag {
  color: #FFF;
  text-align: center;
  font-family: "Neue Haas Grotesk Display Pro", sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 400;
  line-height: 2.5rem;
  letter-spacing: 0.1125rem;
  margin: 0;
}

/* Título do projeto */
.work-card__title {
  color: #FFF;
  text-align: center;
  text-transform: uppercase;
  font-family: "Neue Haas Grotesk Display Pro", sans-serif;
  font-size: 5.5rem;
  font-style: normal;
  font-weight: 900;
  line-height: 5rem;
  letter-spacing: 0.115rem;
  margin: 0;
  padding: 3rem;
}

.work-card__description {
  color: #FFF;
  text-align: center;
  font-family: "Neue Haas Grotesk Display Pro", sans-serif;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 100;
  line-height: normal;
  letter-spacing: 0.1875rem;
  margin: 0;
}
}

/* Laptop: 1024px - 1439px */
@media (min-width: 1024px) and (max-width: 1439px) {
  .work-intro-title {
    font-size: 11.58641rem;
    letter-spacing: 0.11586rem;
  }

  .work-card__tag {
    font-size: 0.6rem;
    line-height: 2.165rem;
    letter-spacing: 0.09735rem;
  }

  .work-card__title {
    font-size: 3.625rem;
    line-height: 4.135rem;
    letter-spacing: 0.0995rem;
  }

  .work-card__description {
    font-size: 1.2665rem;
    letter-spacing: 0.162rem;
    padding: 0 2.5rem;
  }
}

/* Tablet Landscape: 768px - 1023px */
@media (max-width: 1023px) and (min-width: 768px) {
  .work-intro-title {
    font-size: 7.77569rem;
    letter-spacing: 0.07775rem;
  }

  .work-card--project {
    flex-direction: column !important;
  }

  .work-card__image-section {
    width: 100% !important;
    height: 50vh !important;
  }

  .work-card__content-section {
    width: 100% !important;
    height: 50vh !important;
    padding: 4rem 0 !important;
  }

  .work-card__tag {
    font-size: 0.7875rem;
    line-height: 1.75rem;
    letter-spacing: 0.07875rem;
  }

  .work-card__title {
    font-size: 4.025rem;
    line-height: 3.5rem;
    letter-spacing: 0.0805rem;
  }

  .work-card__description {
    font-size: 1.3125rem;
    letter-spacing: 0.13125rem;
  }
}

/* Tablet Portrait: 600px - 767px */
@media (max-width: 767px) {
  #work {
    height: auto !important;
    overflow: visible !important;
  }

  .work-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .work-intro-title {
    font-size: 7.77569rem;
    letter-spacing: 0.07775rem;
  }

  .work-card {
    width: 100%;
    max-width: none;
    height: 100vh;
  }

  .work-card--project {
    flex-direction: column !important;
  }

  .work-card__image-section {
    width: 100% !important;
    height: 50vh !important;
  }

  .work-card__content-section {
    width: 100% !important;
    height: 50vh !important;
    padding: 4rem 0 !important;
  }

  .work-card__tags {
    display: flex !important;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    gap: 0.5rem 1.5rem !important;
    align-self: stretch;
    flex-wrap: wrap;
  }

  .work-card__tag {
    font-size: 0.5625rem;
    line-height: 1.25rem;
    letter-spacing: 0.05625rem;
  }

  .work-card__title {
    font-size: 2.875rem;
    line-height: 2.5rem;
    letter-spacing: 0.0575rem;
  }

  .work-card__description {
    font-size: 0.9375rem;
    letter-spacing: 0.09375rem;
  }
}

/* Mobile Large: 480px - 599px */
@media (max-width: 599px) {
  #work {
    height: auto !important;
    overflow: visible !important;
  }

  .work-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .work-intro-title {
    font-size: 7.77569rem;
    letter-spacing: 0.07775rem;
  }

  .work-card {
    width: 100%;
    max-width: none;
    height: 100vh;
  }

  .work-card--project {
    flex-direction: column !important;
  }

  .work-card__image-section {
    width: 100% !important;
    height: 50vh !important;
  }

  .work-card__content-section {
    width: 100% !important;
    height: 50vh !important;
    padding: 4rem 0 !important;
  }

  .work-card__tags {
    display: flex !important;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    gap: 0.5rem 1.5rem !important;
    align-self: stretch;
    flex-wrap: wrap;
  }

  .work-card__tag {
    font-size: 0.5625rem;
    line-height: 1.25rem;
    letter-spacing: 0.05625rem;
  }

  .work-card__title {
    font-size: 2.875rem;
    line-height: 2.5rem;
    letter-spacing: 0.0575rem;
  }

  .work-card__description {
    font-size: 0.9375rem;
    letter-spacing: 0.09375rem;
  }
}

/* Mobile Padrão: 360px - 479px */
@media (max-width: 479px) {
  #work {
    height: auto !important;
    overflow: visible !important;
  }

  .work-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .work-intro-title {
    font-size: 7.0rem;
    letter-spacing: 0.07775rem;
  }

  .work-card {
    width: 100%;
    max-width: none;
    height: 100vh;
  }

  .work-card--project {
    flex-direction: column !important;
  }

  .work-card__image-section {
    width: 100% !important;
    height: 50vh !important;
  }

  .work-card__content-section {
    width: 100% !important;
    height: 50vh !important;
    padding: 4rem 0 !important;
  }

  .work-card__tags {
    display: flex !important;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    gap: 0.5rem 1.5rem !important;
    align-self: stretch;
    flex-wrap: wrap;
  }

  .work-card__tag {
    font-size: 0.6rem;
    line-height: 1.25rem;
    letter-spacing: 0.05625rem;
  }

  .work-card__title {
    font-size: 2.875rem;
    line-height: 2.5rem;
    letter-spacing: 0.0575rem;
  }

  .work-card__description {
    font-size: 0.9375rem;
    letter-spacing: 0.09375rem;
    padding: 0 1rem;
  }
}

/* Mobile Small: 375px e abaixo */
@media (max-width: 375px) {
  #work {
    height: auto !important;
    overflow: visible !important;
  }

  .work-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .work-intro-title {
    font-size: 5.77569rem;
    letter-spacing: 0.07775rem;
  }

  .work-card {
    width: 100%;
    max-width: none;
    height: 100vh;
  }

  .work-card--project {
    flex-direction: column !important;
  }

  .work-card__image-section {
    width: 100% !important;
    height: 50vh !important;
  }

  .work-card__content-section {
    width: 100% !important;
    height: 50vh !important;
    padding: 4rem 0 !important;
  }

  .work-card__tags {
    display: flex !important;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    gap: 0.5rem 1.5rem !important;
    align-self: stretch;
    flex-wrap: wrap;
  }

  .work-card__tag {
    font-size: 0.5625rem;
    line-height: 1.25rem;
    letter-spacing: 0.05625rem;
  }

  .work-card__title {
    font-size: 2.3rem;
    line-height: 2.0rem;
    letter-spacing: 0.0575rem;
  }

  .work-card__description {
    font-size: 0.9375rem;
    letter-spacing: 0.09375rem;
  }
}
