/* Carte du bar — Wildness Paris — écran TV 1920 × 1080 */

@font-face { font-family: "Outfit"; src: url("assets/fonts/Outfit-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: block; }
@font-face { font-family: "Outfit"; src: url("assets/fonts/Outfit-Bold.ttf") format("truetype"); font-weight: 700; font-display: block; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: block; }

:root {
  --red: #d5251f;
  --ink: #0d0d0d;
  --surface: #161616;
  --line: #272727;
  --muted: #8b8984;
  --warm: #f5f4f2;
  --k: 1; /* échelle des lignes, ajustée par app.js si la carte déborde */
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #000; overflow: hidden; cursor: none; }
body { font-family: "Inter", system-ui, sans-serif; color: var(--warm); -webkit-font-smoothing: antialiased; }

/* ---------- Scène fixe 1920 × 1080 ---------- */
.stage {
  position: absolute; left: 50%; top: 50%;
  width: 1920px; height: 1080px;
  transform: translate(-50%, -50%) scale(var(--fit, 1));
  display: grid; grid-template-columns: 1fr 620px; grid-template-rows: 1080px;
  background:
    radial-gradient(ellipse 70% 90% at 30% 40%, rgba(255,255,255,.045), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.012) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #121212 0%, var(--ink) 55%, #090909 100%);
  overflow: hidden;
}
/* grain léger façon acier mat */
.stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Colonne carte ---------- */
.menu { position: relative; padding: 52px 56px 48px 80px; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }

.head { display: flex; align-items: center; gap: 24px; margin-bottom: 30px; }
.head__logo { width: 84px; height: 84px; object-fit: contain; }
.head__titles { border-left: 3px solid var(--red); padding-left: 28px; }
.head__kicker {
  margin: 0 0 6px; font: 700 20px/1 "Outfit", sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--red);
}
.head__title {
  margin: 0; font: 800 76px/.9 "Outfit", sans-serif; text-transform: uppercase; letter-spacing: -.01em;
}

.cols { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.col { min-height: 0; display: flex; flex-direction: column; gap: calc(34px * var(--k)); }

/* ---------- Catégorie ---------- */
.cat__head {
  display: flex; align-items: baseline; gap: 16px;
  padding-bottom: calc(12px * var(--k)); margin-bottom: calc(8px * var(--k));
  border-bottom: 2px solid var(--line); position: relative;
}
.cat__head::after { /* trait rouge sous le début du titre */
  content: ""; position: absolute; left: 0; bottom: -2px; width: 64px; height: 2px; background: var(--red);
}
.cat__num { font: 800 calc(22px * var(--k))/1 "Outfit", sans-serif; color: var(--red); letter-spacing: .04em; }
.cat__name { margin: 0; font: 800 calc(40px * var(--k))/1 "Outfit", sans-serif; text-transform: uppercase; flex: 1; white-space: nowrap; }
.cat__format, .cat__sizes span {
  font: 700 calc(19px * var(--k))/1 "Outfit", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.cat__sizes { display: flex; }
.cat__sizes span { width: calc(118px * var(--k)); text-align: right; }

/* ---------- Ligne produit ---------- */
.item {
  display: flex; align-items: center; gap: 18px;
  padding: calc(9px * var(--k)) 0;
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.item:last-child { border-bottom: 0; }
.item__main { flex: 1; min-width: 0; }
.item__name { display: block; font: 600 calc(31px * var(--k))/1.15 "Inter", sans-serif; letter-spacing: -.01em; }
.item__detail { display: block; margin-top: calc(4px * var(--k)); font: 400 max(17px, calc(20px * var(--k)))/1.25 "Inter", sans-serif; color: var(--muted); }
.item__format {
  flex: none; font: 700 calc(17px * var(--k))/1 "Outfit", sans-serif; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); border: 1px solid #333; border-radius: 999px; padding: 7px 12px 6px;
}
.item__prices { display: flex; flex: none; }
.price {
  font: 800 calc(38px * var(--k))/1 "Outfit", sans-serif; text-align: right; font-variant-numeric: tabular-nums;
}
.price small { font-size: .55em; font-weight: 700; margin-left: 3px; color: var(--red); vertical-align: .55em; }
.item__prices .price { width: calc(118px * var(--k)); }

.cat__note {
  margin: calc(10px * var(--k)) 0 0; font: 500 max(17px, calc(20px * var(--k)))/1 "Inter", sans-serif; color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.cat__note::before { content: ""; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); }

/* ---------- Colonne vidéo ---------- */
.side { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 56px 0 24px; }
.side::before { /* bande rouge verticale */
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 6px; background: var(--red);
}
.frame {
  position: relative; width: 540px; height: 960px; flex: none;
  background: var(--surface); border-radius: 18px; overflow: visible;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px #2a2a2a;
}
.frame--paysage { width: 540px; height: 304px; }
.frame video, .frame__fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 18px; object-fit: cover;
}
.frame video { opacity: 0; transition: opacity .6s; background: #000; }
.frame.is-playing video { opacity: 1; }
.frame.is-playing .frame__fallback { opacity: 0; }
.frame__fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; transition: opacity .6s;
  background:
    repeating-linear-gradient(135deg, rgba(213,37,31,.06) 0 22px, transparent 22px 44px),
    radial-gradient(ellipse at 50% 40%, #1d1d1d, #111 75%);
}
.frame__fallback img { width: 46%; opacity: .95; }
.frame__fallback span { font: 800 46px/1 "Outfit", sans-serif; text-transform: uppercase; letter-spacing: .2em; }
.frame__corner { position: absolute; width: 56px; height: 56px; border: 0 solid var(--red); pointer-events: none; }
.frame__corner--tl { top: -14px; left: -14px; border-top-width: 5px; border-left-width: 5px; }
.frame__corner--br { bottom: -14px; right: -14px; border-bottom-width: 5px; border-right-width: 5px; }

.masque { display: none !important; }
