@font-face {
  font-family: "Overlock SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/overlock-sc-latin-400-normal.woff2") format("woff2");
}

/* Bouton d’accès au catalogue dans le menu principal */
header a[href*="/videos"],
#sp-header a[href*="/videos"],
.sp-megamenu-parent a[href*="/videos"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 20px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #741022, #a91832) !important;
  border: 1px solid #d6ae65 !important;
  border-radius: 6px;
  box-shadow: 0 3px 14px rgba(143, 16, 38, .3);
  line-height: 1.2 !important;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

header a[href*="/videos"]:hover,
header a[href*="/videos"]:focus,
#sp-header a[href*="/videos"]:hover,
#sp-header a[href*="/videos"]:focus,
.sp-megamenu-parent a[href*="/videos"]:hover,
.sp-megamenu-parent a[href*="/videos"]:focus {
  color: #fff !important;
  background: linear-gradient(135deg, #94152c, #c12240) !important;
  border-color: #f0cc81 !important;
  transform: translateY(-1px);
}

html,
body,
.body-wrapper,
.body-innerwrapper,
#sp-main-body,
#sp-component,
main {
  background: #08090a !important;
}

#sp-main-body {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

#sp-main-body > .container,
#sp-main-body .container-inner,
#sp-component,
#sp-component > .sp-column {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.vv-page {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 18px;
  background: #08090a !important;
}

.vv-page h1,
.vv-page h2,
.vv-page h3,
.vv-hero h1,
.vv-premium h2,
.vv-card h3 {
  font-family: "Overlock SC", Georgia, serif !important;
  font-weight: 400 !important;
}

.vv-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
}

.vv-card {
  overflow: hidden;
  background: #101011;
  border: 1px solid #2a2a2d;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .32);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.vv-card:hover {
  transform: translateY(-4px);
  border-color: #5a4930;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .48);
}

.vv-card__image {
  aspect-ratio: 4 / 3 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.vv-card__image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(0,0,0,.58));
}

.vv-card__status,
.vv-card__quality {
  position: absolute;
  z-index: 2;
  top: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  border-radius: 22px;
}

.vv-card__status {
  left: 14px;
  background: linear-gradient(135deg, #b50f30, #ef1748);
}

.vv-card__quality {
  left: 112px;
  padding-left: 11px;
  padding-right: 11px;
  background: rgba(12, 8, 9, .82);
}

.vv-card .vv-duration {
  z-index: 2;
  top: 14px;
  right: 14px;
  bottom: auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  background: #e87528;
  border-radius: 22px;
}

.vv-card .vv-play {
  z-index: 2;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}

.vv-card:hover .vv-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.08);
}

.vv-card__content {
  padding: 17px 19px 20px;
}

.vv-card__content h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.15;
}

.vv-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  min-height: 22px;
  margin-bottom: 15px;
  color: #c7c7cb;
  font-size: .82rem;
}

.vv-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 10px 16px;
  color: #15120b !important;
  background: linear-gradient(135deg, #f1d263, #cda936);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(218, 181, 60, .22);
  font-weight: 800;
  text-align: center;
}

.vv-card__button:hover,
.vv-card__button:focus {
  color: #000 !important;
  background: linear-gradient(135deg, #ffe381, #dfbd48);
}

.vv-section {
  padding-top: 22px;
  padding-bottom: 18px;
}

.vv-section h1,
.vv-section h2 {
  margin-top: 0;
  margin-bottom: 18px;
}

.vv-premium {
  margin-top: 8px;
  margin-bottom: 8px;
}

.vv-hero {
  background: #08090a !important;
}

.vv-hero::after {
  opacity: 1;
  mask-image: none;
  background-image: linear-gradient(90deg,#08090a 4%,rgba(8,9,10,.84) 48%,rgba(8,9,10,.08)),var(--vv-hero-image);
}

/* Lecteur : taille confortable, format conservé et aucun recadrage */
.vv-watch .vv-player {
  width: min(100%, 1100px) !important;
  max-width: 1100px !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  margin: 0 auto !important;
  overflow: hidden;
  background: #000;
  border: 1px solid #202124;
  border-radius: 8px;
}

.vv-watch .vv-player video {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  background: #000;
}

@media (max-width: 767px) {
  .vv-watch {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .vv-watch .vv-player {
    width: 100% !important;
    border-radius: 5px;
  }
}

@media (max-width: 767px) {
  header a[href*="/videos"],
  #sp-header a[href*="/videos"],
  .sp-megamenu-parent a[href*="/videos"] {
    min-height: 36px;
    padding: 7px 14px !important;
  }
  #sp-main-body {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  .vv-section {
    padding-top: 16px;
    padding-bottom: 12px;
  }
  .vv-page {
    max-width: 100%;
  }
}

@media (max-width: 1199px) {
  .vv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 899px) {
  .vv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px !important; }
}

@media (max-width: 540px) {
  .vv-grid { grid-template-columns: 1fr !important; }
  .vv-card { border-radius: 16px; }
}

/* Modèles : catégorie -> modèles -> vidéos */
.vv-model-grid {
  display: grid !important;
  width: 100% !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

.vv-model-card {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  background: #111214;
  border: 1px solid #302a2d;
  border-radius: 18px;
  transition: transform .25s ease, border-color .25s ease;
}

.vv-model-card:hover {
  transform: translateY(-5px);
  border-color: #d6ae65;
}

.vv-model-card__photo {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #171719;
}

.vv-model-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.vv-model-card:hover .vv-model-card__photo img {
  transform: scale(1.04);
}

.vv-model-card__body {
  padding: 16px 18px 18px;
}

.vv-model-card h3 {
  margin: 0 0 4px;
  font-family: "Overlock SC", serif;
  font-size: 1.55rem;
}

.vv-model-card p {
  margin: 0 0 14px;
  color: #aaa5a0;
}

.vv-model-card span {
  display: block;
  padding: 11px 14px;
  color: #17110a;
  background: linear-gradient(135deg, #f1d263, #cda936);
  border-radius: 12px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 1199px) {
  .vv-model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (max-width: 899px) {
  .vv-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px !important; }
}

@media (max-width: 540px) {
  .vv-model-grid { grid-template-columns: 1fr !important; }
}
