.setor9 {
  background-color: #fff;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Roboto', sans-serif;
}

.container-setor9 {
  display: flex;
  max-width: 1200px;
  width: 100%;
  height: 100%;
}

/* LADO ESQUERDO COM TEXTO, FADE DE IMAGENS E FLUTUANTES DIRETO NO HTML */

#cycler img {
  position: absolute;
  z-index: 1;
  background-color: white;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ou "contain", se quiser ver a imagem toda */
}



/* LADO DIREITO COM 4 BOXES */
.box-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.box1 { background: #b7b7b9; }
.box2 { background: #fdbd8d; }
.box3 { background: #fdbd8d; }
.box4 { background: #b7b7b9; }

.box h2 {
  margin: 0;
  font-size: 80px;
  color: transparent;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  font-weight: 300;
}

/* Efeito de desdobramento em 2 camadas */
.box h2 span:nth-child(1),
.box h2 span:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  transition: 0.5s;
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}

.box h2:hover span:nth-child(1) {
  transform: translateY(-40px);
}

.box h2 span:nth-child(2) {
  clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
}

.box h2:hover span:nth-child(2) {
  transform: translateY(40px);
}

/* TEXTO INTERNO (hover) expandido e centralizado */
.box h2 span:nth-child(3) {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) scaleY(0);
  width: 100%;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.05em;
  text-align: center;
  white-space: normal;
  line-height: 1.4;
  transition: 0.5s;
  padding: 12px 10px;
  text-transform: none;
}

/* Exibição ao hover */
.box h2:hover span:nth-child(3) {
  transform: translateY(-50%) scaleY(1);
}

/* PERSONALIZAÇÃO DOS TEXTOS INTERNOS */
.box1 h2 span:nth-child(3) {
  background: #b7b7b9;
  color: #f1f1f1;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-style: italic;
}

.box2 h2 span:nth-child(3) {
  background: #fdbd8d;
  color: #cb5d0b;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-style: italic;
}

.box3 h2 span:nth-child(3) {
  background: #fdbd8d;
  color: #cb5d0b;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-style: italic;
}

.box4 h2 span:nth-child(3) {
  background: #b7b7b9;
  color: #f1f1f1;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-style: italic;
}

/* CORES PERSONALIZADAS PARA O TEXTO PRINCIPAL DE CADA BOX */
.box1 h2 span:nth-child(1),
.box1 h2 span:nth-child(2) {
  color: #ffffff;
}

.box2 h2 span:nth-child(1),
.box2 h2 span:nth-child(2) {
  color: #954f1b;
}

.box3 h2 span:nth-child(1),
.box3 h2 span:nth-child(2) {
  color: #954f1b;
}

.box4 h2 span:nth-child(1),
.box4 h2 span:nth-child(2) {
  color: #ffffff;
}

/* FLUTUANTES */

.imagem-box-setor9 {
  position: relative;
  overflow: hidden;
}

/* Formas flutuantes (estilos base) */
.forma {
  position: absolute;
  pointer-events: none;
  z-index: 4;
  opacity: 0.8;
  animation: flutuar linear infinite;
}

/* Variações das formas */
.forma-inclinada,
.forma-inclinada-3 {
  width: 20px;
  height: 20px;
  background-color: #f47a1f;
  clip-path: polygon(0% 30%, 100% 0%, 100% 100%, 0% 100%);
}

.forma-inclinada-alta {
  width: 20px;
  height: 30px;
  background-color: #5a5a5a;
  clip-path: polygon(0% 30%, 100% 0%, 100% 100%, 0% 100%);
}

/* Animação de subida + rotação */
@keyframes flutuar {
  0% {
    transform: translateY(120%) rotate(0deg);
  }
  100% {
    transform: translateY(-1300%) rotate(360deg);
  }
}
