/* =========================
  FONTS
========================= */
@font-face {
  font-family: 'KiRegular';
  src: url('fonts/Ki-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'KiBold';
  src: url('fonts/Ki-Bold.ttf') format('truetype');
}


@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.oficina-item {
  opacity: 0; 
  transform: translateY(20px);
  animation-fill-mode: forwards; 
}



/* =========================
  BODY & MAIN
========================= */
body.oficina {
  min-height: 100vh;      
  overflow-y: auto;
  position: relative;
  margin: 0;
  background-color: #fff;
}


body.oficina .page-title {
  position: absolute; 
  top: 1.5rem;
  left: 1.5rem;

  height: 2.4rem;
  padding: 0 0.5em;

  background-color: #85fca1;

  display: inline-flex;
  justify-content: center;
  align-items: center;

  font-family: 'KiRegular';
  font-size: 1.4rem;
  line-height: normal;
  padding-top: 0.1em;

  text-transform: uppercase;
  white-space: nowrap;

  pointer-events: none;
    border-radius: 8px; 
}



body.oficina .page-title span {
  display: block;
  transform: translateY(1px); 
  line-height: 1.2rem;
}


/* =========================
   MAIN CONTAINER
========================= */

.oficina-main {
  padding: 
    clamp(13rem, 10vw, 13rem)  
    clamp(2rem, 4vw, 6rem)     
    clamp(3rem, 5vw, 6rem);    
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
    gap: clamp(6rem, 5vw, 6rem);
}

/* =========================
   SOBRE SECTION
========================= */

.oficina-sobre {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; 
  align-items: center;
}

.sobre-title {
  padding: 0.5rem 0.8rem;  

  background-color: #D3D7FF;

  display: inline-flex;
  justify-content: center;
  align-items: center;

  font-family: 'KiBold';
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  line-height: 1.2;       
  text-transform: uppercase;
  white-space: normal;     
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  pointer-events: none;
  border-radius: 8px;

  width: fit-content;
  max-width: 100%;         
}

.sobre-title span {
  display: inline-block;
  padding-top: 0.1em; 
}




/* RIGHT COLUMN TEXT */
.sobre-description {
  font-family: 'KiRegular';
  font-size: 1.2rem;
  line-height: 1.5;
  max-width: 100%;
  margin-top: 0;
}

/* =========================
   GRID 
========================= */
.oficina-item {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 3rem;
  align-items: start;
}


.oficina-page-title {
  font-family: 'KiRegular';
  font-size: 2.8rem;     
  text-transform: uppercase;

  color: #000;
  padding: 0.4rem 0.4rem;  
  display: inline-block; 
  border-radius: 0.6rem; 
  margin-bottom: 3rem;  
}



/* =========================
   CARTAZ CONTAINER
========================= */
.oficina-cartaz {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;  
  border-radius: 1.2rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0; 

}


.oficina-cartaz::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(15px) brightness(0.7);
  z-index: 1;
  transition: transform 0.3s ease;
}


.oficina-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
}


.oficina-slider img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 85%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.oficina-slider img.show {
  opacity: 1;
}


/* =========================
   TEXTO + DESCRIÇAO
========================= */
.oficina-title {
  font-family: 'KiBold';
}

.oficina-title h1,
.oficina-title h2 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.oficina-description {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  opacity: 0.9;
  font-family: 'KiRegular';
}

.oficina-credits {
  font-size: 1.1rem;
  line-height: 1.4;
  opacity: 0.5;
  font-family: 'KiRegular';
}
    






/* =========================
   ARROWS INSIDE CARTAZ
========================= */

.oficina-cartaz {
  position: relative; 
}

.oficina-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  
  background: none;
  border: none;
  outline: none;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 3;
  opacity: 0.9;          
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.oficina-arrow:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}


.left-arrow { left: 1rem; }
.right-arrow { right: 1rem; }


.oficina-arrow svg {
  width: 3rem;      
  height: 3rem;
  display: block;
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);  
  stroke-width: 3;  
  pointer-events: none;
}


.oficina-slider {
  pointer-events: none;
}


.oficina-slider img {
  pointer-events: auto;
}


