/* ===== BANNER FIXO ===== */
.case-banner {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

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

.case-top-logo {
  position: relative;
  width: 100%;
  text-align: center;
  margin-top: -100px;
  margin-bottom: 60px;
  z-index: 10;
}

.case-top-logo img {
  max-width: 200px;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
 
.case-title,
.case-resumo {
  width: 1080px;
  margin: 0 auto;
  padding: 0; /* Remove o espaçamento extra */
  text-align: center;
}
.case-title,
.case-resumo {
  margin-bottom: 40px;
}
.case-title {
  font-size: 2rem; /* Ou o tamanho que quiser */
}


/* ===== CONTAINER FIXO ===== */
.case-container-fixo {
  width: 1080px;
  min-height: 520px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  justify-content: start;
  align-items: start;
  /*  border: 2px dashed red; /* VISUALIZAÇÃO DO CONTAINER */
}

/* ===== COLUNA ESQUERDA ===== */
.case-caixa-esquerda {
  width: 520px;
  min-height: 520px;
  /*  border: 2px dashed blue; /* VISUALIZAÇÃO DA COLUNA ESQUERDA */
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  box-sizing: border-box;
}

/* ===== COLUNA DIREITA ===== */
.case-caixa-direita {
  width: 520px; /* 1080 - 520 - 40 gap */
  min-height: 520px;
  /*  border: 2px dashed green; /* VISUALIZAÇÃO DA COLUNA DIREITA */
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
  box-sizing: border-box;
}

/* ===== TEXTO ===== */
.case-caixa-esquerda p,
.case-caixa-direita p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 15px;
}

/* ===== IMAGENS ===== */
.case-caixa-esquerda img {
  width: 520px;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

.case-caixa-direita img {
  width: 520px;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

/* ===== LEGENDA ===== */
.case-caixa-esquerda figcaption,
.case-caixa-direita figcaption {
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
  text-align: justify;
  padding-bottom: 20px;
}








.case-gallery {
  padding: 40px 0;
  max-width: 1080px;
  margin: 40px auto 0 auto;
}

.case-gallery h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-content: center;
}

.gallery-track img {
  width: 100%;
  aspect-ratio: 1 / 1; /* Faz as imagens ficarem quadradas */
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-track img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.gallery-track a img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-track a:hover img {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.gallery-track img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-track a:hover img {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
