/* Page de livraison : sombre comme le carton d'ouverture des videos, rouge du club */
:root {
  --bg: #0f1013; --panel: #17191e; --line: #262930; --ink: #f2f2f3; --muted: #9a9ca3; --red: #cd2122;
  --display: "Barlow Condensed", "Bahnschrift", "DIN Alternate", sans-serif;
  --text: "Barlow", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--text); }
a { color: inherit; }

.hero { text-align: center; padding: 48px 16px 40px;
        background: radial-gradient(ellipse at 50% 0%, #2a2d35 0%, var(--bg) 70%); }
.logo { width: 120px; }
.lead { margin: 26px 0 0; font: 600 18px var(--display); letter-spacing: .3em; text-transform: uppercase; color: #dcdce0; }
h1 { margin: 2px 0 0; font: 700 clamp(56px, 14vw, 120px)/1 var(--display); letter-spacing: .03em; }
.bar { display: block; width: 64px; height: 5px; margin: 18px auto; background: var(--red); }
.meta { margin: 0; color: var(--muted); font: 500 15px var(--display); letter-spacing: .15em; text-transform: uppercase; }
.meta b { color: var(--red); font-weight: 600; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 8px 16px 40px; }
section { margin: 34px 0; }
h2 { margin: 0 0 14px; font: 600 24px var(--display); letter-spacing: .06em; text-transform: uppercase; }
.count { color: var(--muted); font-weight: 500; margin-left: 6px; }
.head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.head h2 { margin: 0; }

.player { display: block; width: 100%; max-height: 70vh; background: #000; border-radius: 12px; }
.btn { display: inline-block; margin-top: 14px; padding: 12px 22px; border-radius: 999px; background: var(--red); color: #fff;
       text-decoration: none; font: 600 16px var(--display); letter-spacing: .08em; text-transform: uppercase; }
.head .btn { margin-top: 0; }
.btn:hover { background: #a91a1b; }
.btn-alt { background: transparent; color: var(--red); box-shadow: inset 0 0 0 2px var(--red); }
.btn-alt:hover { background: var(--red); color: #fff; }
/* sous la video : telecharger a gauche, achat des rushs a droite (passe dessous sur mobile) */
.actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 18px; }
.offer { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 0 14px; margin-left: auto; }
.offer .hint { margin-top: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--panel); }
.grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.grid a:hover img { transform: scale(1.05); }

.files { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.files li { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.files span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.files em { color: var(--muted); font-style: normal; font-size: 14px; }
.files a { color: var(--red); font: 600 15px var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }

.sale .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.card { padding: 18px 20px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 10px; background: var(--panel); }
.card b { display: block; font: 600 20px var(--display); letter-spacing: .04em; }
.card span { color: var(--muted); font-size: 14px; }
.hint { color: var(--muted); font-size: 14px; }
.teaser .player { margin-bottom: 4px; }
.teaser .hint { margin-top: 10px; }
.notice.paid { color: inherit; padding: 24px 0; }
.login-form select { width: 100%; font: inherit; padding: 12px 14px; border-radius: 10px; }
.notice { text-align: center; color: var(--muted); padding: 60px 0; font-size: 18px; }
footer { text-align: center; color: #5d6068; font-size: 13px; padding: 26px 16px 40px; border-top: 1px solid var(--line); }

/* connexion par e-mail */
.hero.login { padding-bottom: 20px; }
.narrow { max-width: 460px; }
.login-form label { display: block; margin: 20px 0 8px; color: var(--muted); font-size: 15px; }
.login-form input { width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line);
                    background: var(--panel); color: var(--ink); font: 17px var(--text); }
.login-form input:focus { outline: none; border-color: var(--red); }
.login-form .btn { width: 100%; border: 0; cursor: pointer; margin-top: 16px; font-size: 18px; padding: 14px; }
.err { color: #ff8a8a; margin: 10px 0 0; }
.devlinks { margin-top: 10px; padding: 16px 18px; border: 1px dashed #555; border-radius: 10px; color: var(--muted); font-size: 14px; }
.devlinks a { display: block; margin-top: 8px; color: var(--ink); }

/* visionneuse des photos */
.viewer { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: rgba(8, 9, 11, .96);
          padding: 56px 12px 84px; }
.viewer[hidden] { display: none; }
.viewer img { max-width: calc(100vw - 24px); max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px;
              transition: opacity .15s; }
.viewer.loading img { opacity: .35; }
.v-close, .v-nav { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(0, 0, 0, .55);
                   border-radius: 50%; display: grid; place-items: center; font-family: var(--display); line-height: 1; }
.v-close:hover, .v-nav:hover { background: var(--red); }
.v-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 26px; }
.v-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 34px; padding-bottom: 5px; }
.v-prev { left: 12px; }
.v-next { right: 12px; }
.v-bar { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; align-items: center; justify-content: center;
         gap: 18px; }
.v-bar span { color: var(--muted); font: 500 15px var(--display); letter-spacing: .12em; }
.v-bar .btn { margin: 0; padding: 10px 20px; font-size: 15px; }
@media (max-width: 640px) {
  .viewer { padding: 52px 0 78px; }
  .viewer img { max-width: 100vw; border-radius: 0; }
  .v-nav { width: 40px; height: 40px; font-size: 28px; }
  .v-prev { left: 6px; }
  .v-next { right: 6px; }
}
