/* ============================= */
/* BASE */
/* ============================= */

.c-video-grid{
  position: relative;
  padding: clamp(80px, 10vh, 120px) 0;
}

.c-video-grid__container{
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============================= */
/* TITLE */
/* ============================= */

.c-video-grid__title{
  margin: 0 auto clamp(48px, 6vw, 72px);
  max-width: 720px;

  text-align: center;
  
  font-family: "Lexend Deca", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;

  color: #0A052D;
}

.c-video-grid__title strong{
  font-weight: 700;
}

.c-video-grid__title span{
  font-weight: 300;
  opacity: .9;
}

/* ============================= */
/* GRID */
/* ============================= */

.c-video-grid__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;

  width: 100%;
}

/* ============================= */
/* ITEM */
/* ============================= */

.c-video-grid__item{
  position: relative;
  transition: transform .35s ease, filter .35s ease;
}

/* ============================= */
/* VIDEO (ESTILO REEL) */
/* ============================= */

.c-video-grid__video{
  position: relative;
  width: 100%;

  aspect-ratio: 9 / 16;

  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

/* iframe FULL COVER */

.c-video-grid__video iframe{
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
}

/* ============================= */
/* OVERLAY */
/* ============================= */

.c-video-grid__video::after{
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    rgba(0,0,0,.35),
    rgba(0,0,0,.1)
  );

  pointer-events: none;
  transition: opacity .3s ease;
}

/* ============================= */
/* HOVER */
/* ============================= */

.c-video-grid__item:hover{
  transform: translateY(-6px) scale(1.02);
}

.c-video-grid__item:hover .c-video-grid__video::after{
  opacity: 0;
}

/* ============================= */
/* TABLET */
/* ============================= */

@media (max-width: 991px){

  .c-video-grid__container{
    width: calc(100% - 40px);
  }

  .c-video-grid__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 640px){

  .c-video-grid{
    padding: 64px 0;
  }

  .c-video-grid__container{
    width: calc(100% - 32px);
  }

  .c-video-grid__grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 👉 REEL centrado tipo feed */
  .c-video-grid__video{
    max-width: 360px;
    margin: 0 auto;
  }

  .c-video-grid__title{
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    line-height: 1.2;
  }

}