@font-face {
  font-family: "Anton";
  src: url("/fonts/anton-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-400-600-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #890000;
  --ink: #111111;
  --text-2: #3a3a3a;
  --muted: #55554f;
  --grey: #efefed;
  --paper: #ffffff;
  --line: #cfcfcb;
  --radius: 4px;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --header-h: 72px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }

.container {
  width: 100%;
  max-width: 1280px; /* 1200 px de contenu + 2 × 40 px de marge */
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 20;
  padding: 12px 16px;
  color: var(--paper);
  background: var(--ink);
  border-radius: var(--radius);
}
.skip:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.band-dark :focus-visible { outline-color: #ffffff; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.logo { display: flex; align-items: center; min-height: 44px; }
.logo img { width: 170px; }

.site-header nav { display: flex; gap: 2px; margin: 0 -10px; font-size: 15px; font-weight: 600; }
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  text-decoration: none;
  border-radius: var(--radius);
}
.site-header nav a:hover { color: var(--red); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s;
}
.btn:hover { background: var(--text-2); }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* ---------- Accroche ---------- */
.hero { border-bottom: 2px solid var(--ink); }
.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.92;
  text-transform: uppercase;
}
.hero h1 span { color: var(--red); }
.hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hero-side p { font-size: 17px; font-weight: 500; color: var(--text-2); }

/* ---------- Bandes et titres de section ---------- */
.band { padding: 48px 0 56px; }
.band-dark { color: var(--paper); background: var(--ink); }
.band-grey { background: var(--grey); }

.title {
  margin-bottom: 28px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.05;
  text-transform: uppercase;
}
.title-red { color: var(--red); }

/* ---------- Prods ---------- */
.prods { display: grid; gap: 28px; }
.player { min-width: 0; }
.player-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.player-frame img,
.player-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover; /* rogne les bandes noires des vignettes YouTube (4/3) */
}
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 54px;
  transform: translate(-50%, -50%);
  background: var(--paper);
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent var(--ink);
}
.player-frame:hover .play { background: var(--grey); }
.player-note {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.player-note strong { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

.player-meta { margin-top: 16px; }
.player-meta h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  text-transform: uppercase;
}
.player-meta p { margin-top: 2px; font-size: 15px; color: #b8b8b8; }

/* La liste défile à l'intérieur de son cadre : la bande noire ne grandit pas quand on ajoute des vidéos. */
.playlist-wrap {
  position: relative;
  min-width: 0;
}
.playlist {
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* Téléphone : 5 lignes et demie visibles. La ligne coupée montre qu'on peut faire défiler. */
  max-height: calc(6px + 5 * 92px + 44px); /* marge du haut + 5 × (ligne 88 px + espace 4 px) + une demi-ligne */
  padding: 6px;
  list-style: none;
  background: #000; /* fond noir : la liste se distingue de la bande, comme sur YouTube */
  border-radius: var(--radius);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none; /* barre de défilement masquée (trop épaisse sur certains navigateurs) */
}
.playlist::-webkit-scrollbar { display: none; }
/* Dégradé en bas de la liste tant qu'il reste des vidéos plus bas (placé et affiché par app.js). */
.pl-more {
  position: absolute;
  left: 0;
  right: 0;
  height: 40px;
  pointer-events: none;
  background: linear-gradient(transparent, #000);
  border-radius: 0 0 var(--radius) var(--radius);
}
.pl-more[hidden] { display: none; }
.pl-item:focus-visible { outline-offset: -3px; }
.pl-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 7px;
  font: inherit;
  text-align: left;
  color: var(--paper);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
}
.pl-item:hover { background: #1c1c1c; }
.pl-item[aria-pressed="true"] { background: #262626; border-color: #5a5a5a; }
.pl-item img {
  flex: none;
  /* Hauteur 72 px, réduite jusqu'à 56 px par app.js sur ordinateur pour bien couper la dernière ligne. */
  width: calc(var(--thumb-h, 72px) * 16 / 9);
  height: var(--thumb-h, 72px);
  object-fit: cover;
  background: #000;
  border-radius: var(--radius);
}
.pl-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pl-name {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.2;
  text-transform: uppercase;
}
.pl-role { font-size: 13px; line-height: 1.35; color: #b8b8b8; }

/* ---------- Le studio ---------- */
.studio { display: grid; gap: 36px; }
.studio-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 19px;
  line-height: 1.5;
}
.services { display: flex; flex-direction: column; gap: 24px; }
.service { padding-top: 14px; border-top: 2px solid var(--ink); }
.service h3 {
  margin-bottom: 6px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  text-transform: uppercase;
}
.service p { color: var(--text-2); }

/* ---------- Presse ---------- */
.quotes { display: grid; gap: 32px 56px; }
.quote { display: flex; flex-direction: column; gap: 10px; }
.quote blockquote p { font-size: 17px; line-height: 1.5; }
.quote figcaption { font-size: 14px; color: var(--muted); }
.quote figcaption strong { font-weight: 600; color: var(--ink); }
.quote figcaption a { text-underline-offset: 3px; }
.quote figcaption a:hover { color: var(--red); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 32px; }
.contact-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact-intro .title { margin-bottom: 4px; }
.contact-intro p { max-width: 440px; font-size: 17px; }
.mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.mail:hover { color: var(--red); }

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
input, textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #6f6f6a;
  border-radius: var(--radius);
}
input { min-height: 48px; padding-top: 0; padding-bottom: 0; }
textarea { resize: vertical; min-height: 150px; }
input:focus, textarea:focus { outline: 3px solid var(--red); outline-offset: 2px; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b01515; background: #fff5f5; }

form .btn { align-self: flex-start; }

.form-status { font-size: 15px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { color: #1c6b2a; }
.form-status.error { color: #b01515; }

.turnstile { margin-bottom: 16px; }
.turnstile:empty { margin-bottom: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pied de page ---------- */
.site-footer { font-size: 14px; color: var(--text-2); border-top: 1px solid var(--ink); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--red); }

/* ---------- Page de texte (mentions légales) ---------- */
.page-text { max-width: 800px; padding-top: 48px; padding-bottom: 72px; }
.page-text h1 {
  margin-bottom: 32px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 48px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--red);
}
.page-text h2 {
  margin: 32px 0 8px;
  padding-top: 14px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  text-transform: uppercase;
  border-top: 2px solid var(--ink);
}
.page-text p { margin-bottom: 12px; }
.todo { padding: 1px 6px; font-weight: 600; background: #ffe58a; border-radius: 3px; }

/* ---------- Ordinateur ---------- */
@media (min-width: 900px) {
  :root { --header-h: 84px; }
  .container { padding: 0 40px; }
  .header-inner { padding-top: 14px; padding-bottom: 14px; }
  .logo img { width: 240px; }
  .site-header nav { gap: 8px; font-size: 16px; }
  .site-header nav a { padding: 0 14px; }

  .hero-inner { padding-top: 56px; padding-bottom: 56px; }
  .hero-side { align-items: flex-end; text-align: right; }
  .hero-side p { font-size: 18px; }

  .band { padding: 72px 0 80px; }
  .title { margin-bottom: 36px; }

  .prods { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
  /* Ordinateur : app.js donne à la liste la hauteur de la vidéo, en coupant la dernière ligne visible en deux. */
  .playlist { position: absolute; inset: 0; max-height: none; }
  .studio { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; }
  .studio-text { font-size: 21px; }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 72px; }
  .quote blockquote p { font-size: 19px; }
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
  form { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
