:root {
  --bg: #050607;
  --bg-soft: #0b0d10;
  --panel: #101318;
  --panel-light: #171b21;

  --text: #f7f7f5;
  --muted: #9ba1aa;

  --gold: #d6b56d;
  --gold-light: #f0d99d;
  --gold-dark: #8f733b;

  --border: rgba(255, 255, 255, 0.09);

  --header-height: 76px;
  --radius: 14px;
}
.video-row-wrapper {
  position: relative;
}

/* Rangée horizontale */
.video-row {
  display: flex;
  gap: 18px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;
  scroll-snap-type: x proximity;

  padding: 8px 50px 20px 4px;

  scrollbar-width: thin;
}

.video-row .video-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}


/* =========================================
   FLÈCHES
   ========================================= */

.video-scroll-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 46px;
  height: 90px;

  border: 0;
  border-radius: 12px;

  background: rgba(0, 0, 0, 0.78);
  color: white;

  font-size: 38px;
  line-height: 1;

  cursor: pointer;
  z-index: 20;

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

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.video-scroll-button:hover {
  background: rgba(0, 0, 0, 0.95);
  transform:
    translateY(-50%)
    scale(1.06);
}

.video-scroll-left {
  left: 8px;
}

.video-scroll-right {
  right: 8px;
}
.external-web-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}
.video-row {
  display: flex;
  gap: 18px;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-behavior: smooth;
  scroll-snap-type: x proximity;

  padding: 8px 4px 18px;

  -webkit-overflow-scrolling: touch;
}


/* Les cartes ne doivent plus se compresser */
.video-row .video-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}


/* Barre de défilement discrète */
.video-row::-webkit-scrollbar {
  height: 7px;
}

.video-row::-webkit-scrollbar-track {
  background: transparent;
}

.video-row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.20);
  border-radius: 999px;
}

.video-row::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

.external-web-player.hidden {
  display: none;
}
.youtube-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.youtube-player.hidden {
  display: none;
}
.video-upload-loader {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f3f4f6;
}

.video-upload-loader.hidden {
  display: none;
}

.video-upload-spinner {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(0, 0, 0, 0.12);
  border-top-color: #111827;
  border-radius: 50%;
  animation: videoUploadSpin 0.8s linear infinite;
}

.video-upload-status {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.video-upload-status strong {
  font-size: 14px;
}

.video-upload-status span {
  font-size: 13px;
  opacity: 0.65;
  font-variant-numeric: tabular-nums;
}

@keyframes videoUploadSpin {
  to {
    transform: rotate(360deg);
  }
}
.add-video-button {
  border: 1px solid rgba(212, 175, 55, 0.7);
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 700;
}
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;

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

  padding: 24px;
}

.video-modal.hidden {
  display: none !important;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.add-video-panel {
  position: relative;
  z-index: 2;

  width: min(680px, 92vw);
  max-height: calc(100vh - 48px);

  overflow-y: auto;

  background: #ffffff;
  color: #111827;

  border-radius: 24px;
  padding: 32px;

  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.30);
}
.add-video-button:hover {
  transform: translateY(-1px);
}

.add-video-panel {
  position: relative;
  width: min(680px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  color: #111827;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  z-index: 2;
}

.add-video-heading {
  margin-bottom: 28px;
}

.add-video-heading h2 {
  margin: 7px 0;
  font-size: 30px;
}

.video-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.video-form-field span {
  font-weight: 700;
}

.video-form-field input,
.video-form-field textarea,
.video-form-field select {
  width: 100%;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  background: #f8fafc;
  padding: 13px 14px;
  font: inherit;
  color: #111827;
}

.video-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.video-source-box {
  margin-top: 10px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #fafafa;
}

.video-source-box h3 {
  margin-top: 0;
}

.video-source-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.source-tab {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.source-tab.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.video-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.video-upload-zone span {
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
}

.selected-video-file {
  margin: 12px 0 20px;
  font-size: 14px;
  color: #475569;
}

.storage-quota {
  padding: 16px;
  background: #fff;
  border-radius: 14px;
}

.storage-quota-header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 10px;
}

.storage-progress {
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.storage-progress-bar {
  width: 0%;
  height: 100%;
  background: #111;
  transition: width 0.25s ease;
}

.storage-projection {
  margin-top: 10px;
  font-size: 13px;
  color: #64748b;
}

.storage-limit-warning {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #f1c27d;
  background: #fff7ed;
  border-radius: 14px;
}

.storage-limit-warning p {
  margin: 7px 0 12px;
  color: #7c2d12;
}

.storage-limit-warning button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: #111;
  color: #fff;
  cursor: pointer;
}

.external-source-info {
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.publish-video-button {
  width: 100%;
  margin-top: 24px;
  border: 0;
  border-radius: 999px;
  padding: 15px 20px;
  background: #111;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.publish-video-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 650px) {
  .video-form-grid {
    grid-template-columns: 1fr;
  }

  .add-video-panel {
    padding: 22px;
  }
}
/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 70% 0%,
      rgba(214, 181, 109, 0.08),
      transparent 30%
    ),
    #ffffff;



  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}


/* =========================================================
   HEADER
========================================================= */

.video-header {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 100;

  min-height: var(--header-height);

  padding: 0 4vw;

  display: flex;
  align-items: center;

  gap: 42px;

  background:
   linear-gradient(
  0deg,
  #ffffff 0%,
  rgba(255, 255, 255, 0.15) 18%,
  transparent 52%
)

  border-bottom:
    1px solid rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(18px);
}


/* LOGO */

.video-brand {
  flex-shrink: 0;

  display: flex;
  align-items: baseline;

  gap: 8px;

  letter-spacing: 0.08em;
}

.brand-city {
  font-weight: 800;
  font-size: 1.08rem;
}

.brand-video {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}


/* NAVIGATION */

.video-nav {
  display: flex;
  align-items: center;

  gap: 26px;

  flex: 1;
}

.video-nav a {
  position: relative;

  padding: 28px 0 25px;

  color: #aeb3ba;

  font-size: 0.91rem;
  font-weight: 500;

  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.video-nav a:hover,
.video-nav a.active {
  color: white;
}

.video-nav a.active::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 18px;

  height: 2px;

  background: var(--gold);
}


/* HEADER ACTIONS */

.header-actions {
  display: flex;
  align-items: center;

  gap: 17px;
}

.premium-button {
  border:
    1px solid rgba(214, 181, 109, 0.6);

  border-radius: 999px;

  padding: 9px 18px;

  color: var(--gold-light);

  background:
    rgba(214, 181, 109, 0.08);

  font-size: 0.82rem;
  font-weight: 700;

  transition: 0.2s ease;
}

.premium-button:hover {
  background:
    rgba(214, 181, 109, 0.16);

  border-color: var(--gold-light);
}

.session-state {
  color: var(--muted);

  font-size: 0.8rem;
}


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

.hero {
  position: relative;

  height: min(82vh, 820px);
  min-height: 620px;

  display: flex;
  align-items: flex-end;

  overflow: hidden;
}


/* IMAGE */

.hero-backdrop {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 72% 34%,
      rgba(214, 181, 109, 0.16),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #12171d,
      #060708 60%
    );

  background-size: cover;
  background-position: center;

  transform: scale(1.01);

  transition:
    background-image 0.6s ease,
    transform 8s ease;
}


/* CINEMATIC OVERLAY */

.hero-overlay {
  position: absolute;
  inset: 0;

background: linear-gradient( 90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 34%, rgba(255, 255, 255, 0.25) 68%, rgba(255, 255, 255, 0.18) 100% ), linear-gradient( 0deg, #fbfbfb 0%, rgba(255, 255, 255, 0.55) 18%, transparent 52% );
}


/* HERO TEXT */

.hero-content {
  position: relative;
  z-index: 2;

  width: min(670px, 90%);

  margin-left: 5vw;

  padding-bottom: 105px;
}

.hero-label,
.section-eyebrow,
.premium-eyebrow {
  color: var(--gold);

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 0.19em;
}

.hero h1 {
  margin:
    17px 0
    17px;

  max-width: 650px;

  font-size:
    clamp(
      3rem,
      6vw,
      6.2rem
    );

  line-height: 0.94;

  letter-spacing: -0.055em;

  font-weight: 750;
}

.hero-description {
  max-width: 580px;

  margin: 0;

  color: #d1d4d8;

  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  align-items: center;

  gap: 11px;

  margin-top: 22px;
}

.hero-meta span {
  padding: 5px 9px;

  border:
    1px solid rgba(255, 255, 255, 0.15);

  border-radius: 4px;

  color: #c6c9cd;

  font-size: 0.67rem;
  font-weight: 700;

  letter-spacing: 0.09em;
}

.hero-meta span:last-child {
  color: var(--gold-light);

  border-color:
    rgba(214, 181, 109, 0.36);
}


/* HERO BUTTONS */

.hero-actions {
  display: flex;
  align-items: center;

  gap: 12px;

  margin-top: 30px;
}

.play-button,
.info-button,
.subscribe-button {
  border: 0;

  border-radius: 7px;

  min-height: 48px;

  padding: 0 23px;

  font-weight: 700;

  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    background 0.18s ease;
}

.play-button {
  color: #080808;

  background: white;
}

.play-button:hover {
  transform: translateY(-2px);

  background: #e9e9e9;
}

.info-button {
  color: white;

  background:
    rgba(255, 255, 255, 0.13);

  backdrop-filter: blur(10px);
}

.info-button:hover {
  background:
    rgba(255, 255, 255, 0.2);
}


/* =========================================================
   CATALOGUE
========================================================= */

.catalogue {
  position: relative;
  z-index: 5;

  margin-top: -45px;

  padding-bottom: 100px;
}

.video-section {
  padding: 34px 0 18px;
}

.section-heading {
  padding: 0 4vw;

  margin-bottom: 17px;

  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.section-heading h2 {
  margin: 4px 0 0;

  font-size:
    clamp(
      1.3rem,
      2vw,
      1.85rem
    );

  letter-spacing: -0.025em;
}


/* =========================================================
   HORIZONTAL VIDEO ROW
========================================================= */

.video-row {
  display: flex;

  gap: 14px;

  padding:
    5px 4vw
    22px;

  overflow-x: auto;
  overflow-y: visible;

  scrollbar-width: thin;
  scrollbar-color:
    #363a40
    transparent;
}

.video-row::-webkit-scrollbar {
  height: 5px;
}

.video-row::-webkit-scrollbar-thumb {
  background: #363a40;

  border-radius: 99px;
}


/* =========================================================
   VIDEO CARD
   Ces classes seront créées par video.js
========================================================= */

.video-card {
  position: relative;

  flex:
    0 0
    clamp(
      230px,
      22vw,
      340px
    );

  min-width: 0;

  cursor: pointer;

  transition:
    transform 0.22s ease;
}

.video-card:hover {
  z-index: 5;

  transform:
    translateY(-7px)
    scale(1.025);
}

.video-card-image {
  position: relative;

  width: 100%;
  aspect-ratio: 16 / 9;

  overflow: hidden;

  border-radius: var(--radius);

  background:
    linear-gradient(
      135deg,
      #171b21,
      #0d0f12
    );

  border:
    1px solid var(--border);

  box-shadow:
    0 18px 40px
    rgba(0, 0, 0, 0.24);
}

.video-card-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition:
    transform 0.4s ease;
}

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

.video-card-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: flex-end;

  padding: 14px;

  opacity: 0;

  background:
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.88),
      transparent 70%
    );

  transition:
    opacity 0.2s ease;
}

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

.card-play {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border: 0;
  border-radius: 50%;

  color: black;
  background: white;

  font-size: 0.95rem;
}

.video-card-content {
  padding:
    12px 4px
    0;
}

.video-card-title {
  margin: 0;

  color: black;

  font-size: 0.97rem;
  font-weight: 650;

  overflow: hidden;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-card-meta {
  display: flex;
  align-items: center;

  gap: 8px;

  margin-top: 6px;

  color: var(--muted);

  font-size: 0.73rem;
}

.premium-badge {
  color: var(--gold-light);
}


/* WATCH PROGRESS */

.watch-progress {
  position: absolute;

  left: 10px;
  right: 10px;
  bottom: 7px;

  height: 3px;

  overflow: hidden;

  border-radius: 99px;

  background:
    rgba(255, 255, 255, 0.2);
}

.watch-progress-fill {
  height: 100%;

  background: var(--gold);

  border-radius: inherit;
}


/* =========================================================
   EMPTY / LOADING
========================================================= */

.loading-card,
.empty-row {
  width: 100%;

  min-height: 150px;

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

  border:
    1px solid var(--border);

  border-radius: var(--radius);

  color: var(--muted);

  background:
    rgba(255, 255, 255, 0.025);
}


/* =========================================================
   PREMIUM SECTION
========================================================= */

.premium-section {
  position: relative;

  width:
    min(
      1180px,
      92%
    );

  margin:
    80px auto
    10px;

  overflow: hidden;

  border-radius: 28px;

  border:
    1px solid
    rgba(214, 181, 109, 0.24);

  background:
    linear-gradient(
      120deg,
      #11100d,
      #090a0c 65%
    );

  box-shadow:
    0 30px 90px
    rgba(0, 0, 0, 0.42);
}

.premium-glow {
  position: absolute;

  width: 600px;
  height: 600px;

  top: -350px;
  right: -120px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(214, 181, 109, 0.25),
      transparent 67%
    );

  pointer-events: none;
}

.premium-content {
  position: relative;

  padding:
    clamp(
      45px,
      7vw,
      90px
    );
}

.premium-content h2 {
  margin:
    16px 0
    18px;

  font-size:
    clamp(
      2.5rem,
      5vw,
      5rem
    );

  line-height: 1;

  letter-spacing: -0.05em;
}

.premium-content p {
  max-width: 560px;

  color: #b8bcc2;

  line-height: 1.7;
}

.premium-price {
  display: flex;
  align-items: baseline;

  gap: 7px;

  margin:
    30px 0
    24px;
}

.premium-price strong {
  font-size: 2rem;

  color: var(--gold-light);
}

.premium-price span {
  color: var(--muted);
}

.subscribe-button {
  color: #15110a;

  background:
    linear-gradient(
      135deg,
      var(--gold-light),
      var(--gold)
    );
}

.subscribe-button:hover {
  transform: translateY(-2px);

  box-shadow:
    0 10px 35px
    rgba(214, 181, 109, 0.2);
}


/* =========================================================
   PLAYER MODAL
========================================================= */

.player-modal,
.details-modal,
.premium-modal {
  position: fixed;

  inset: 0;

  z-index: 500;

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

  padding: 25px;

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

  backdrop-filter: blur(12px);
}

.player-shell {
  position: relative;

  width:
    min(
      1400px,
      96vw
    );

  max-height: 94vh;

  overflow: hidden;

  border-radius: 17px;

  background: black;

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  box-shadow:
    0 35px 100px
    rgba(0, 0, 0, 0.8);
}

#videoPlayer {
  display: block;

  width: 100%;

  max-height: 78vh;

  background: black;
}

.player-info {
  padding:
    16px 22px
    19px;

  background: #0b0c0e;
}

.player-info h2 {
  margin: 0;

  font-size: 1rem;
}

.close-player,
.close-details {
  position: absolute;

  z-index: 20;

  top: 14px;
  right: 14px;

  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border: 0;
  border-radius: 50%;

  color: white;

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

  font-size: 1.55rem;

  backdrop-filter: blur(8px);
}


/* =========================================================
   DETAILS MODAL
========================================================= */

.details-card {
  position: relative;

  width:
    min(
      850px,
      95vw
    );

  max-height: 90vh;

  overflow: auto;

  border-radius: 22px;

  background: #101216;

  border:
    1px solid var(--border);

  box-shadow:
    0 35px 100px
    rgba(0, 0, 0, 0.65);
}

.details-backdrop {
  height: 370px;

  background:
    linear-gradient(
      135deg,
      #222831,
      #090a0c
    );

  background-size: cover;
  background-position: center;
}

.details-content {
  position: relative;

  margin-top: -90px;

  padding:
    40px
    42px
    45px;

  background:
    linear-gradient(
      transparent,
      #101216 82px
    );
}

.details-content > span {
  color: var(--gold);

  font-size: 0.7rem;
  font-weight: 800;

  letter-spacing: 0.14em;
}

.details-content h2 {
  margin:
    12px 0
    16px;

  font-size:
    clamp(
      2rem,
      5vw,
      4rem
    );

  letter-spacing: -0.045em;
}

.details-content p {
  max-width: 680px;

  color: #c0c4ca;

  line-height: 1.7;
}


/* =========================================================
   PREMIUM MODAL
========================================================= */

.premium-modal-card {
  position: relative;

  width:
    min(
      600px,
      94vw
    );

  padding:
    clamp(
      38px,
      6vw,
      65px
    );

  border-radius: 25px;

  text-align: center;

  border:
    1px solid
    rgba(214, 181, 109, 0.3);

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(214, 181, 109, 0.13),
      transparent 40%
    ),
    #0d0e10;

  box-shadow:
    0 35px 100px
    rgba(0, 0, 0, 0.7);
}

.premium-modal-card h2 {
  margin:
    18px 0;

  font-size:
    clamp(
      1.8rem,
      4vw,
      3rem
    );

  line-height: 1.1;

  letter-spacing: -0.04em;
}

.premium-modal-card p {
  color: var(--muted);

  line-height: 1.7;
}

.premium-modal-card
.premium-price {
  justify-content: center;
}


/* =========================================================
   FOOTER
========================================================= */

.video-footer {
  min-height: 180px;

  padding:
    50px 5vw;

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

  gap: 30px;

  border-top:
    1px solid var(--border);

  background: #040505;
}

.video-footer strong {
  letter-spacing: 0.1em;
}

.video-footer p {
  margin:
    8px 0
    0;

  color: var(--muted);

  font-size: 0.8rem;
}

.footer-links {
  display: flex;

  gap: 22px;

  color: var(--muted);

  font-size: 0.8rem;
}

.footer-links a:hover {
  color: white;
}


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

@media (max-width: 950px) {

  .video-header {
    gap: 20px;
  }

  .video-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    height: 720px;
  }

  .hero-content {
    margin-left: 6vw;

    padding-bottom: 90px;
  }

  .video-card {
    flex-basis: 280px;
  }

}


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

@media (max-width: 620px) {

  :root {
    --header-height: 66px;
  }

  .video-header {
    padding: 0 18px;
  }

  .brand-city {
    font-size: 0.92rem;
  }

  .brand-video {
    font-size: 0.68rem;
  }

  .session-state {
    display: none;
  }

  .premium-button {
    padding:
      7px 12px;

    font-size: 0.7rem;
  }


  /* HERO */

  .hero {
    height: 660px;
    min-height: 660px;

    align-items: flex-end;
  }

  .hero-overlay {
  background:
    linear-gradient(
      0deg,
      #ffffff 0%,
      rgba(5, 6, 7, 0.70) 38%,
      rgba(5, 6, 7, 0.25) 100%
    );
}

  .hero-content {
    width: auto;

    margin: 0;

    padding:
      0 22px
      80px;
  }

  .hero h1 {
    font-size:
      clamp(
        2.8rem,
        14vw,
        4.3rem
      );
  }

  .hero-description {
    font-size: 0.92rem;

    line-height: 1.55;
  }

  .hero-actions {
    align-items: stretch;
  }

  .play-button,
  .info-button {
    padding:
      0 16px;

    font-size: 0.84rem;
  }


  /* CATALOGUE */

  .catalogue {
    margin-top: -30px;
  }

  .section-heading {
    padding:
      0 20px;
  }

  .video-row {
    padding:
      5px 20px
      20px;

    gap: 11px;
  }

  .video-card {
    flex-basis: 245px;
  }

  .video-card:hover {
    transform: none;
  }


  /* PREMIUM */

  .premium-section {
    width:
      calc(
        100% - 32px
      );

    margin-top: 55px;

    border-radius: 20px;
  }

  .premium-content {
    padding:
      45px 28px;
  }


  /* MODALS */

  .player-modal,
  .details-modal,
  .premium-modal {
    padding: 10px;
  }

  .details-backdrop {
    height: 250px;
  }

  .details-content {
    padding:
      30px 23px
      32px;
  }
.catalogue {
  background: #ffffff;
}

.video-section {
  background: #ffffff;
}

.section-heading h2 {
  color: #111318;
}

.loading-card,
.empty-row {
  color: #69707a;
  background: #f6f7f8;
  border-color: #e3e5e8;
}

/* Les cartes restent sombres */

.video-card {
  color: #111318;
}

.video-card-title {
  color: #111318;
}

.video-card-meta {
  color: #747b84;
}

/* La section Premium reste volontairement sombre */

.premium-section {
  color: #ffffff;
}

  

  /* FOOTER */

  .video-footer {
    padding:
      40px 22px;

    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
  }

}
