/* =========================================================
   MASTERCLASS - CARDS DAS AULAS
   ========================================================= */

.vgk-masterclass-modulos {
  width: 100%;
  max-width: 1080px;
  margin: 55px auto 50px;
  box-sizing: border-box;
}

/* ---------------------------------------------------------
   TÍTULO
   --------------------------------------------------------- */

.vgk-masterclass-modulos-titulo {
  text-align: center;
  margin-bottom: 38px;
}

.vgk-masterclass-modulos-titulo h2 {
  margin: 0;
  padding: 0;

  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;

  text-align: center;
}

/* ---------------------------------------------------------
   GRID DOS CARDS
   --------------------------------------------------------- */

.vgk-masterclass-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;

  width: 100%;
  box-sizing: border-box;
}

/* ---------------------------------------------------------
   CARD
   --------------------------------------------------------- */

.vgk-masterclass-card {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* ---------------------------------------------------------
   IMAGEM / CAPA
   --------------------------------------------------------- */

.vgk-masterclass-capa {
  position: relative;

  width: 100%;
  aspect-ratio: 1 / 1;

  overflow: hidden;

  border: 1px solid #6f5a29;
  border-radius: 14px;

  background: #111;
}

.vgk-masterclass-capa img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.4s ease;
}

.vgk-masterclass-card:hover .vgk-masterclass-capa img {
  transform: scale(1.03);
}

/* ---------------------------------------------------------
   GRADIENTE SOBRE A IMAGEM
   --------------------------------------------------------- */

.vgk-masterclass-capa::after {
  content: "";

  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 48%;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0),
    rgba(0,0,0,0.88)
  );

  pointer-events: none;
}

/* ---------------------------------------------------------
   ETIQUETA "AULA 01"
   --------------------------------------------------------- */

.vgk-masterclass-numero {
  position: absolute;

  left: 20px;
  bottom: 50px;

  z-index: 2;

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

  padding: 5px 10px;

  background: rgba(20,20,20,0.88);

  border-radius: 14px;

  color: #ffffff;

  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;

  line-height: 1;
}

.vgk-masterclass-numero::before {
  content: "▣";

  margin-right: 7px;

  color: #c29c53;
  font-size: 11px;
}

/* ---------------------------------------------------------
   TÍTULO SOBRE A IMAGEM
   --------------------------------------------------------- */

.vgk-masterclass-capa-titulo {
  position: absolute;

  left: 24px;
  right: 15px;
  bottom: 20px;

  z-index: 2;

  color: #ffffff;

  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;

  line-height: 1.12;
  text-align: left;
}

/* ---------------------------------------------------------
   BOTÃO SAIBA MAIS
   --------------------------------------------------------- */

.vgk-masterclass-saiba {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;

  padding: 23px 12px 16px;

  box-sizing: border-box;

  cursor: pointer;

  border-bottom: 1px solid #8c6d2d;

  color: #ffffff;

  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;

  text-align: left;

  transition: all 0.25s ease;
}

.vgk-masterclass-saiba:hover {
  color: #e8dc8c;
}

.vgk-masterclass-seta {
  color: #dbd095;

  font-size: 27px;
  font-family: Arial, sans-serif;
  font-weight: normal;

  line-height: 1;

  transition: transform 0.3s ease;
}

/* quando aberto */

.vgk-masterclass-card.aberto .vgk-masterclass-seta {
  transform: rotate(-90deg);
}

/* ---------------------------------------------------------
   CONTEÚDO QUE ABRE
   --------------------------------------------------------- */

.vgk-masterclass-descricao {
  max-height: 0;
  overflow: hidden;

  opacity: 0;

  transition:
    max-height 0.45s ease,
    opacity 0.3s ease,
    padding 0.3s ease;
}

.vgk-masterclass-card.aberto .vgk-masterclass-descricao {
  max-height: 500px;

  opacity: 1;

  padding: 13px 12px 17px;
}

.vgk-masterclass-descricao p {
  margin: 0;

  color: #ffffff;

  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: normal;

  line-height: 1.45;

  text-align: left;
  text-indent: 0;
}

/* ---------------------------------------------------------
   DESTAQUE DA AULA AO VIVO
   --------------------------------------------------------- */

.vgk-masterclass-card-live .vgk-masterclass-capa {
  border-color: #dbd095;
}

.vgk-masterclass-card-live .vgk-masterclass-numero::before {
  content: "●";
  color: #dbd095;
}

/*aqui começa o box novo*/

/* =========================================================
   BOX HORIZONTAL - FOTO + TEXTO
   ========================================================= */

.vgk-foto-texto-lista {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  box-sizing: border-box;
}


/* BOX PRINCIPAL */

.vgk-foto-texto-box {
  width: 100%;
  min-height: 250px;

  display: flex;
  align-items: center;

  margin-bottom: 32px;
  padding: 38px 45px;

  box-sizing: border-box;

  background: rgba(0, 0, 0, 0.68);

  border: 1px solid #6f5a29;
  border-radius: 18px;

  overflow: hidden;
}


/* ---------------------------------------------------------
   FOTO
   --------------------------------------------------------- */

.vgk-foto-texto-imagem {
  width: 46%;
  flex: 0 0 46%;

  border-radius: 15px;
  overflow: hidden;

  background: #111;
}

.vgk-foto-texto-imagem img {
  display: block;

  width: 100%;
  height: 190px;

  object-fit: cover;

  transition: transform 0.4s ease;
}

.vgk-foto-texto-box:hover .vgk-foto-texto-imagem img {
  transform: scale(1.025);
}


/* ---------------------------------------------------------
   CONTEÚDO
   --------------------------------------------------------- */

.vgk-foto-texto-conteudo {
  flex: 1;

  padding-left: 38px;

  box-sizing: border-box;

  text-align: left;
}


/* BOX INVERTIDO */

.vgk-foto-texto-box.invertido {
  flex-direction: row-reverse;
}

.vgk-foto-texto-box.invertido .vgk-foto-texto-conteudo {
  padding-left: 0;
  padding-right: 38px;
}


/* ---------------------------------------------------------
   NÚMERO
   --------------------------------------------------------- */

.vgk-foto-texto-numero {
  display: block;

  margin-bottom: 5px;

  color: #c29c53;

  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;

  letter-spacing: 1px;
}


/* ---------------------------------------------------------
   TÍTULO
   --------------------------------------------------------- */

.vgk-foto-texto-conteudo h3 {
  margin: 0 0 10px;

  color: #e8dc8c;

  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;

  line-height: 1.25;

  text-align: left;
}


/* ---------------------------------------------------------
   TEXTO
   --------------------------------------------------------- */

.vgk-foto-texto-conteudo p {
  margin: 0;

  color: #ffffff;

  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: normal;

  line-height: 1.6;

  text-align: left;
  text-indent: 0;
}

/*aqui termina o box novo */

/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

  .vgk-masterclass-modulos {
    width: 94%;
  }

  .vgk-masterclass-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

}

/* ---------------------------------------------------------
   CELULAR
   --------------------------------------------------------- */

@media (max-width: 600px) {

  .vgk-masterclass-modulos {
    width: 92%;
    margin-top: 40px;
  }

  .vgk-masterclass-modulos-titulo {
    margin-bottom: 28px;
  }

  .vgk-masterclass-modulos-titulo h2 {
    font-size: 30px;
  }

  .vgk-masterclass-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .vgk-masterclass-capa-titulo {
    font-size: 22px;
  }

  .vgk-masterclass-descricao p {
    font-size: 13px;
  }
.vgk-masterclass-numero {
  position: absolute;

  left: 24px;
  bottom: 80px;

  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;

}

/* aqui celular box novo*/

@media (max-width: 900px) {

  .vgk-foto-texto-lista {
    width: 94%;
  }

  .vgk-foto-texto-box {
    padding: 30px;
  }

  .vgk-foto-texto-conteudo {
    padding-left: 28px;
  }

  .vgk-foto-texto-box.invertido .vgk-foto-texto-conteudo {
    padding-right: 28px;
  }

}


/* ---------------------------------------------------------
   CELULAR
   --------------------------------------------------------- */

@media (max-width: 600px) {

  .vgk-foto-texto-lista {
    width: 92%;
    margin: 30px auto;
  }

  .vgk-foto-texto-box,
  .vgk-foto-texto-box.invertido {
    display: flex;
    flex-direction: column;

    padding: 18px;

    border-radius: 15px;

    margin-bottom: 25px;
  }

  .vgk-foto-texto-imagem {
    width: 100%;
    flex: none;
  }

  .vgk-foto-texto-imagem img {
    height: 210px;
  }

  .vgk-foto-texto-conteudo,
  .vgk-foto-texto-box.invertido .vgk-foto-texto-conteudo {
    width: 100%;

    padding: 22px 5px 5px;

    text-align: left;
  }

  .vgk-foto-texto-numero {
    font-size: 13px;
  }

  .vgk-foto-texto-conteudo h3 {
    font-size: 19px;
  }

  .vgk-foto-texto-conteudo p {
    font-size: 13px;
    line-height: 1.6;
  }

}