/* =========================================================
   ZAPATA / PÁGINA DE OBRA
========================================================= */

.main-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* =========================================================
   SECCIONES GENERALES
========================================================= */

.section-block,
.content-block,
.video-block {
  max-width: 720px;
  margin: 0 auto 40px auto;
}

.section-block {
  margin-bottom: 72px;
}

.section-block h2 {
  margin: 0 0 16px 0;
  font-size: var(--text-title);
  font-weight: 400;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-small);
}

.section-block p,
.content-block p {
  max-width: 680px;
  margin: 0 auto;

  font-size: var(--text-base);
  font-weight: 300;
  line-height: var(--leading-base);
  letter-spacing: var(--tracking-base);

  text-align: justify;
  text-justify: inter-word;

  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;

  word-break: normal;
  overflow-wrap: normal;
}

.section-block strong,
.content-block strong,
.section-block b,
.content-block b {
  font-weight: 500;
}

/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  height: 120px;
  margin-bottom: 28px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.hero img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 420px;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
  padding: 24px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.2),
    transparent
  );
}

.hero-overlay h1 {
  margin: 0;
  color: #ffffff;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: var(--tracking-small);
}

/* =========================================================
   FRASES CENTRADAS
========================================================= */

.titulo-frase {
  display: block;
  text-align: center;

  font-size: var(--text-base);
  font-weight: 300;
  line-height: var(--leading-base);
  letter-spacing: var(--tracking-base);
}

.titulo-frase b,
.titulo-frase strong {
  font-weight: 500;
}

/* =========================================================
   VIDEO
========================================================= */

.video-block iframe {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  margin: 0 auto;
  border: none;
}

.video-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0;
}

.video-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.35);
  color: #ffffff;

  font-size: var(--text-caption);
  line-height: var(--leading-small);
  letter-spacing: var(--tracking-small);

  opacity: 0;
  transition: opacity 0.25s ease;
}

.video-card:hover img {
  transform: scale(1.04);
}

.video-card:hover .video-overlay {
  opacity: 1;
}

/* =========================================================
   BOTÓN TRAILER
========================================================= */

.btn-trailer {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  background-color: #6b6b6b;
  color: #ffffff;
  text-decoration: none;

  font-family: var(--font-main);
  font-size: var(--text-caption);
  font-weight: 300;
  line-height: var(--leading-small);
  letter-spacing: var(--tracking-small);

  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.btn-trailer:hover {
  background-color: #4f4f4f;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-trailer:active {
  transform: translateY(0);
  box-shadow: none;
}

/* =========================================================
   POSTER
========================================================= */

.poster-block {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.poster-img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* =========================================================
   CRÉDITOS
========================================================= */

.text-creditos {
  max-width: 680px;
  margin: 20px auto 0 auto;

  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: var(--tracking-small);

  color: rgba(0,0,0,0.58);

  text-align: justify;
  text-justify: inter-word;

  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;

  word-break: normal;
  overflow-wrap: normal;
}

.text-creditos strong,
.text-creditos b {
  font-weight: 500;
}

/* =========================================================
   TABLETA
========================================================= */

@media (max-width: 1024px) {
  .section-block h2 {
    font-size: var(--text-title);
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }
}

/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 768px) {
  .main-inner {
    padding: 0 16px;
  }

  .section-block {
    margin-bottom: 44px;
  }

  .section-block h2 {
    font-size: var(--text-base);
    margin-bottom: 12px;
  }

  .section-block p,
  .content-block p {
    max-width: 100%;

    font-size: var(--text-base);
    font-weight: 300;
    line-height: var(--leading-base);
    letter-spacing: var(--tracking-small);

    text-align: justify;
    text-justify: inter-word;

    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;

    word-break: normal;
    overflow-wrap: normal;
  }

  .hero {
    margin-bottom: 20px;
  }

  .hero-overlay {
    padding: 16px;
  }

  .hero-overlay h1 {
    font-size: 1.6rem;
  }

  .content-block,
  .video-block {
    margin-bottom: 30px;
  }

  .poster-img {
    max-width: 100%;
  }

  .titulo-frase {
    font-size: var(--text-base);
    line-height: var(--leading-base);
    letter-spacing: var(--tracking-small);
  }

  .text-creditos {
    font-size: 0.72rem;
    line-height: 1.2;
    letter-spacing: 0.004em;

    text-align: justify;
    text-justify: inter-word;

    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;

    word-break: normal;
    overflow-wrap: normal;
  }
}