:root {
  --accent: #e50914;
  --bg: #08080a;
  --surface: #111115;
  --surface-2: #18181e;
  --text: #f3f3f5;
  --muted: #8a8a96;
  --border: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #ebebef;
  --text: #111115;
  --muted: #5d5d68;
  --border: rgba(0, 0, 0, 0.09);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s, color 0.2s;
}
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* TOPBAR */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 8, 10, 0.82); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .topbar { background: rgba(245, 245, 247, 0.88); }
.topbar-inner { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 0.96rem; letter-spacing: 0.14em; }
.brand img { width: 26px; height: 26px; border-radius: 6px; }
.nav { display: flex; gap: 24px; font-size: 0.86rem; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--text); }
.topbar-right { display: flex; align-items: center; gap: 10px; }

.seg-lang { display: flex; background: var(--surface); border: 1px solid var(--border); padding: 2px; border-radius: 7px; }
.lang-btn { background: transparent; border: none; color: var(--muted); font-size: 0.72rem; font-weight: 700; padding: 4px 8px; border-radius: 5px; cursor: pointer; }
.lang-btn.active { background: var(--surface-2); color: var(--text); }

.theme-btn { width: 32px; height: 32px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.theme-btn svg { width: 15px; height: 15px; }
.dl-btn-sm { background: var(--text); color: var(--bg); font-size: 0.8rem; font-weight: 700; padding: 7px 14px; border-radius: 7px; }

/* HERO ASYMÉTRIQUE + MUR D'AFFICHES */
.hero { padding: 70px 0 60px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.tag-line { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 14px; }
.hero-copy h1 { font-size: clamp(2.2rem, 4.2vw, 3.35rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 18px; }
.lead { font-size: 1.02rem; color: var(--muted); line-height: 1.6; margin-bottom: 28px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.btn-solid { background: var(--text); color: var(--bg); font-weight: 700; font-size: 0.9rem; padding: 12px 22px; border-radius: 8px; transition: opacity 0.15s; }
.btn-solid:hover { opacity: 0.9; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); font-weight: 600; font-size: 0.9rem; padding: 12px 20px; border-radius: 8px; cursor: pointer; }
.btn-ghost:hover { background: var(--surface); }
.btn-sm { padding: 8px 14px; font-size: 0.82rem; }
.micro-note { font-size: 0.78rem; color: var(--muted); }

.poster-wall {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; height: 490px; overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 84%, transparent 100%);
}
.wall-col { overflow: hidden; height: 100%; }
.wall-track { display: flex; flex-direction: column; will-change: transform; }
.wall-group { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; }
.wall-group img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 9px; border: 1px solid rgba(255,255,255,0.1); background: var(--surface); display: block; }

.col-a .wall-track { animation: scrollDown 24s linear infinite; }
.col-b .wall-track { animation: scrollDown 32s linear infinite; }
.col-c .wall-track { animation: scrollDown 27s linear infinite; }
.poster-wall:hover .wall-track { animation-play-state: paused; }

@keyframes scrollDown {
  0% { transform: translate3d(0, -50%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* SHOWCASE INTERACTIF */
.showcase-sec { padding: 40px 0 80px; }
.sec-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.sec-bar h2 { font-size: 1.55rem; font-weight: 800; margin-bottom: 4px; }
.sec-bar p { color: var(--muted); font-size: 0.9rem; }

.app-frame { background: #0a0a0d; border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; overflow: hidden; box-shadow: 0 28px 70px rgba(0,0,0,0.55); color: #f3f3f5; }
.frame-bar { height: 34px; background: #121217; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.traffic { display: flex; gap: 6px; }
.traffic span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.frame-title { font-size: 0.74rem; font-weight: 600; color: #8a8a96; }

.app-body { position: relative; padding-bottom: 26px; }
.intro-overlay {
  position: absolute; inset: 0; z-index: 20; background: #050507;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.intro-overlay svg { width: 88px; height: 100px; animation: zPop 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.intro-overlay span { font-size: 1.25rem; font-weight: 800; letter-spacing: 0.4em; padding-left: 0.4em; }
@keyframes zPop { from { opacity: 0; transform: scale(0.84); } to { opacity: 1; transform: scale(1); } }

.z-topbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.78rem; }
.z-brand { font-weight: 800; letter-spacing: 0.14em; color: #e50914; }
.z-brand span { color: #fff; margin-left: 4px; }
.z-tabs { display: flex; gap: 16px; color: #8a8a96; }
.z-tabs .active { color: #fff; font-weight: 600; }
.z-user { background: #16161c; padding: 4px 10px; border-radius: 999px; font-weight: 600; }

.z-hero { position: relative; min-height: 290px; display: flex; align-items: center; padding: 26px 28px; overflow: hidden; }
.z-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 20%; filter: blur(26px) brightness(0.35); transform: scale(1.1); transition: background-image 0.35s; }
.z-hero-grad { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, #0a0a0d 98%), linear-gradient(90deg, #0a0a0d 10%, transparent 70%); }
.z-hero-inner { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.z-hero-info { max-width: 660px; }
.z-meta { font-size: 0.72rem; font-weight: 700; color: #e50914; letter-spacing: 0.06em; margin-bottom: 6px; }
.z-hero-info h3 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.z-hero-info p { font-size: 0.86rem; color: #b4b4be; line-height: 1.5; margin-bottom: 16px; }
.z-hero-poster { width: 145px; aspect-ratio: 2/3; object-fit: cover; border-radius: 9px; box-shadow: 0 18px 40px rgba(0,0,0,0.65); border: 1px solid rgba(255,255,255,0.14); flex-shrink: 0; }

.z-cast-strip { display: flex; gap: 12px; flex-wrap: wrap; }
.z-actor { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); padding: 4px 10px 4px 4px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.z-actor img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.z-cast-text { font-size: 0.8rem; color: #8a8a96; }

.z-row-label { padding: 14px 28px 10px; font-size: 0.84rem; font-weight: 700; color: #e4e4e7; }
.z-posters { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; padding: 0 28px 10px; }
.z-item { background: transparent; border: none; text-align: left; color: #a1a1aa; cursor: pointer; transition: transform 0.15s, color 0.15s; }
.z-item:hover { transform: translateY(-3px); color: #fff; }
.z-item img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 7px; display: block; border: 2px solid transparent; background: #16161c; }
.z-item.active img { border-color: #ffffff; }
.z-item span { display: block; font-size: 0.72rem; font-weight: 600; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* SPECS ÉDITORIALES */
.specs-sec { padding: 56px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.spec-num { display: block; font-size: 0.75rem; font-weight: 800; color: var(--accent); margin-bottom: 10px; font-family: monospace; }
.spec-col h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.spec-col p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

/* INSTALL */
.install-sec { padding: 68px 0; }
.install-box { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.install-box h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.install-box p { color: var(--muted); font-size: 0.94rem; margin-bottom: 22px; }
pre { background: #0c0c10; color: #e4e4e7; border: 1px solid var(--border); padding: 20px; border-radius: 12px; font-size: 0.85rem; line-height: 1.65; overflow-x: auto; }

.footer { padding: 28px 0; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }

@media (max-width: 900px) {
  .hero-grid, .specs-grid, .install-box { grid-template-columns: 1fr; }
  .z-posters { grid-template-columns: repeat(3, 1fr); }
  .z-hero-poster, .nav, .z-tabs { display: none; }
}