:root {
  --night: #0c0c0e;
  --ink: #f2efe8;
  --muted: #a3a09a;
  --line: #3a3a3e;
  --accent: #ff4a3d;
  --gutter: clamp(1rem, 4vw, 3rem);
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a, button { color: inherit; font: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--gutter);
}

.back,
.lang {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  border: 1px solid var(--muted);
  background: none;
  cursor: pointer;
  text-decoration: none;
}

.lang { padding: 0 0.875rem; font-size: 0.875rem; }

.back svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

main {
  flex: 1;
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4rem) var(--gutter) 0;
}

.kicker {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0.5rem 0 clamp(1.5rem, 4vw, 2.5rem);
  font-size: clamp(2.25rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

/* Avant le clic : un cadre 16:9 sombre, une lueur et le bouton lecture. */
.player {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: radial-gradient(ellipse at 30% 40%, #2b2440 0%, #141218 55%, #08080a 100%);
  border: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
}

.player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.play {
  display: grid;
  place-items: center;
  width: clamp(3.5rem, 9vw, 5.5rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--night);
  transition: transform 200ms ease-out;
}

.play svg {
  width: 45%;
  fill: currentColor;
  margin-left: 8%;
}

.play-label {
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.text {
  max-width: 40rem;
  margin-top: clamp(2rem, 6vw, 3rem);
}

.text p + p { margin-top: 1em; }

.poster {
  max-width: 34rem;
  margin: clamp(2rem, 6vw, 4rem) auto 0;
}

.poster img {
  display: block;
  width: 100%;
  height: auto;
}

.more {
  margin-top: clamp(3rem, 8vw, 5rem);
}

.more h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.more .text { margin: 0.75rem 0 clamp(1.5rem, 4vw, 2rem); }

.end {
  display: flex;
  justify-content: center;
  padding: clamp(3rem, 8vw, 5rem) var(--gutter);
}

.end a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.5rem;
  border: 1px solid var(--muted);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .back:hover,
  .lang:hover,
  .end a:hover { border-color: var(--ink); }

  a.player:hover .play { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .play { transition: none; }
}

@media (forced-colors: active) {
  .play { border: 2px solid CanvasText; }
}
