/* Vidéo de présentation : bouton du hero et fenêtre de lecture. */
.btn--play {
  border: 1px solid rgba(var(--fg-rgb), 0.3);
  color: inherit;
  background: transparent;
  gap: 12px;
  padding: 12px 22px 12px 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
}
.btn--play:hover { border-color: var(--accent); }
.btn--play__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn--play__icon svg { width: 12px; height: 12px; margin-left: 2px; fill: #fff; }
.btn--play__time { font-family: var(--font-mono); font-size: 12.5px; opacity: 0.6; letter-spacing: 0.04em; }

/* Largeur bornée aussi par la hauteur : la vidéo et le bouton de fermeture tiennent toujours à l'écran,
   y compris sur un téléphone en paysage. 110px = bouton de fermeture + marges. */
.pitch {
  width: min(1200px, 92vw, calc((100vh - 110px) * 16 / 9));
  width: min(1200px, 92vw, calc((100dvh - 110px) * 16 / 9));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  margin: auto;
}
.pitch::backdrop { background: rgba(18, 38, 46, 0.88); backdrop-filter: blur(6px); }
.pitch__frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 6px; overflow: hidden; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45); }
.pitch__frame video { display: block; width: 100%; height: 100%; }
.pitch__close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(246, 244, 241, 0.12);
  color: var(--paper);
  font-size: 22px;
  line-height: 36px;
  cursor: pointer;
}
.pitch__close:hover { background: var(--accent); }
.pitch__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.pitch__end {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 24px;
}
.pitch__end[hidden] { display: none; }
.pitch__end-kicker { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.pitch__end-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; }
.pitch__end .link-quiet { background: none; border: 0; border-bottom: 1px solid rgba(246, 244, 241, 0.3); color: inherit; font: inherit; font-size: 15px; cursor: pointer; }

@media (max-width: 720px) {
  .pitch { width: min(100vw, calc((100vh - 110px) * 16 / 9)); width: min(100vw, calc((100dvh - 110px) * 16 / 9)); }
  .pitch__end { gap: 14px; }
  .pitch__end-actions { gap: 12px; }
  .pitch__end .btn { padding: 12px 18px; font-size: 14px; }
  .pitch__frame { border-radius: 0; }
  .pitch__close { top: -44px; right: 12px; }
}
