

.heros__film {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--encre2);
  text-decoration: none;
  
  animation: arrivee .8s cubic-bezier(.2, .75, .25, 1) .6s both;
}
.heros__film-rond {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--encre);
  color: var(--fond);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.heros__film-rond svg { margin-left: 2px; }

@media (max-width: 899.98px) {
  .heros__texte { --grille-fin: 78%; }
}

@media (min-width: 900px) {
  .heros__film { position: absolute; left: 0; top: 100%; margin-top: 4px; min-height: 32px; padding: 0 4px 0 0; }
}
@media (hover: hover) {
  .heros__film:hover { opacity: 1; color: var(--encre); }
  .heros__film:hover .heros__film-rond { background: var(--vert); }
}

.film { text-align: center; }
.film__tete { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.film__chapeau { font-size: clamp(15.5px, 1.2vw, 18px); line-height: 1.5; color: var(--encre2); max-width: 520px; }

.film__scene {
  flex: 1 1 0px;
  min-height: 240px;
  container-type: size;
  display: grid;
  place-items: center;
}

.film__cadre {
  position: relative;
  width: min(100%, 360px); 
  width: min(100cqw, 100cqh * 9 / 16);
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  background: #17140F;
  box-shadow: 0 24px 50px rgba(29, 24, 16, .22);
}

@media (min-width: 720px) {
  .film__cadre {
    width: 100%;
    width: min(100cqw, 100cqh * 16 / 9);
    aspect-ratio: 16 / 9;
    border-radius: 28px;
  }
}

.film__affiche, .film__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}
.film__affiche img { display: block; width: 100%; height: 100%; object-fit: cover; }
.film__video { object-fit: contain; background: #0A0806; }
.film__video[hidden], .film__affiche[hidden], .film__jouer[hidden] { display: none; }

.film__jouer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: radial-gradient(closest-side, rgba(10, 8, 6, .28), rgba(10, 8, 6, 0));
  color: var(--encre);
  cursor: pointer;
}
.film__rond {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--fond);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(251, 247, 238, .26), 0 16px 34px rgba(0, 0, 0, .35);
  transition: scale .3s cubic-bezier(.2, .75, .25, 1), box-shadow .3s;
}
.film__rond svg { margin-left: 3px; }
.film__poids {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(23, 20, 15, .8);
  color: #F3EDE0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
@media (min-width: 720px) {
  .film__rond { width: 92px; height: 92px; }
  .film__rond svg { width: 40px; height: 40px; }
  .film__poids { font-size: 15px; }
}
@media (hover: hover) {
  .film__jouer:hover .film__rond { scale: 1.07; box-shadow: 0 0 0 12px rgba(251, 247, 238, .32), 0 20px 40px rgba(0, 0, 0, .4); }
}

.film__jouer:focus-visible { outline: 3px solid var(--vert); outline-offset: 4px; border-radius: 24px; }
@media (min-width: 720px) {
  .film__jouer:focus-visible { border-radius: 28px; }
}

.film-regarde .bulle, .film-regarde .remonter { visibility: hidden; opacity: 0; }

.film__son {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(251, 247, 238, .35);
  border-radius: 999px;
  background: rgba(10, 8, 6, .62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #FBF7EE;
  font: inherit;
  font-size: 14.5px;
  font-weight: 750;
  cursor: pointer;
}
.film__son[hidden] { display: none; }
.film__son:focus-visible { outline: 3px solid var(--menthe); outline-offset: 3px; }
@media (hover: hover) { .film__son:hover { background: rgba(10, 8, 6, .8); } }

.film__erreur:empty { display: none; }
.film__erreur {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: min(86%, 380px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(23, 20, 15, .9);
  color: #F3EDE0;
  font-size: 15.5px;
  line-height: 1.45;
  font-weight: 600;
}

.film__sans-script {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: inherit;
  background: rgba(10, 8, 6, .45);
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 800;
}

@media (max-width: 719.98px) {
  #film { padding-top: 18px; padding-bottom: 22px; gap: 16px; }
  .film__tete { gap: 6px; }
}
