/* --- General Reset & Fonts are handled in style.css --- */

/* --- Culture Hero Section --- */
.culture-hero {
  position: relative;
  width: 100%;
  height: 190vh;
  display: flex;
  flex-direction: column;
  background-color: var(--cor-fundo);
}

.culture-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20%;
  width: 100%;
  height: 100vh;
  position: sticky;
  top: 0;
  z-index: 2;
  overflow: hidden;
}

.culture-word {
  font-size: 5rem;
  font-weight: bold;
  color: var(--cor-destaque);
  letter-spacing: -2px;
  margin: 0;
  z-index: 2;
  text-align: center;
  width: 100%;
  margin: auto 0;
}


.culture-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
  border-radius: 0; /* starts at 0, updated by JS */
  will-change: transform, border-radius;
}

.culture-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.culture-bottom {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  background: var(--cor-fundo);
}

.scattered-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.icon-p {
  position: absolute;
  font-size: 1.5rem;
}

.icon-p:nth-child(even) {
  animation-duration: 8s;
  animation-delay: 2s;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.culture-text-wrapper {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.culture-text {
  font-size: 2.3rem;
  color: var(--cor-texto);
  line-height: 1.2;
  
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

/* --- Workplace Values Section --- */
.workplace-section {
  padding: 120px 40px;
  background-color: var(--cor-branca);
  position: relative;
}

.workplace-container {
  display: flex;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

.workplace-values {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-top: 40px;
  position: sticky;
  top: 150px;
  height: fit-content;
}

.value-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  max-width: 500px;
  opacity: 0.2;
  transition: opacity 0.5s ease;
}

.value-item.active {
  opacity: 1;
}

.value-number {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cor-texto-secundario);
  min-width: 40px;
  margin-top: 5px;
}

.value-content h3 {
  font-size: 2rem;
  color: var(--cor-texto);
  margin-bottom: 20px;
  font-weight: 300;
}

.value-content p {
  font-size: 1.05rem;
  color: var(--cor-texto-secundario);
  line-height: 1.6;
}

.workplace-image-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.workspace-images-stacked {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
}

.workspace-images-container {
  position: relative;
  width: 100%;
}

.main-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}


/* --- Jobs Openings Section --- */
.jobs-section {
  background-color: var(--cor-azul);
  padding: 120px 40px;
  color: var(--cor-branca);
  margin-bottom: 300px;
}

.jobs-header {
  text-align: center;
  margin-bottom: 80px;
}

.jobs-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cor-destaque);
  display: block;
  margin-bottom: 15px;
}

.jobs-title {
  font-size: 3.5rem;
  font-weight: 300;
  margin: 0;
}

.jobs-list {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.job-row {
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.job-row:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.job-type {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.job-name {
  text-align: center;
  font-size: 4.5rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  transition:
    color 0.3s ease,
    font-weight 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: 15px;
}

.hover-img-wrapper {
  display: inline-flex;
  align-items: center;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    width 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.4s ease;
  margin: 0;
}

.hover-img-wrapper img {
  height: 80px;
  border-radius: 40px;
  object-fit: cover;
  margin: 0 15px;
  display: block;
}

.job-row:hover .job-name {
  color: var(--cor-branca);
  font-weight: 500;
}

.job-row:hover .hover-img-wrapper {
  width: 150px; /* Adjust based on image aspect ratio */
  opacity: 1;
}

.job-action {
  text-align: right;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cor-branca);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.job-row:hover .job-action {
  opacity: 1;
  transform: translateX(0);
}

/* --- Footer Image Section --- */
.footer-image-section {
  width: 100%;
  height: 70vh; /* Like a banner */
  overflow: hidden;
}

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

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .workplace-container {
    flex-direction: column;
    gap: 40px;
  }
  .workplace-values {
    position: relative;
    top: 0;
    padding-top: 0;
    gap: 40px;
  }
  .value-item {
    opacity: 1 !important; /* Em telas menores, desabilitamos o efeito de opacidade */
    max-width: 100%;
  }
  .workspace-label {
    position: relative;
    top: 0;
    padding-bottom: 20px;
  }
  .workplace-image-wrapper {
    position: relative;
    top: 0;
    width: 100%;
  }
  .main-img {
    height: 400px;
  }
  .culture-word {
    font-size: 3rem;
  }
  .culture-text {
    font-size: 1.5rem;
  }
  .job-name {
    font-size: 3rem;
  }
  .job-row {
    grid-template-columns: 80px 1fr 80px;
  }
}

@media (max-width: 768px) {
  .culture-top {
    flex-direction: column;
    padding: 120px 5% 60px; /* Dá espaço para o header em cima e afasta do fundo */
  }
  .culture-image-wrapper {
    width: 100vw; /* Garante que a imagem ocupe toda a tela no mobile */
    height: 100vh;
  }
  .culture-text-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 0 20px;
  }
  .jobs-title {
    font-size: 2.5rem;
  }
  .job-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
  }
  .job-action {
    text-align: center;
    opacity: 1;
    transform: none;
    color: var(--cor-destaque);
  }
  .job-name {
    font-size: 2rem;
  }
  .hover-img-wrapper img {
    height: 40px;
    border-radius: 20px;
  }
  .job-row:hover .hover-img-wrapper {
    width: 80px;
  }
}
