
@font-face {
  font-family: 'COCO';
  src: url('assets/font/Cocoscaca-Regular.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ---------- PAGE ---------- */
.project-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px 140px;
}

/* ---------- HEADER ---------- */
.project-header {
  max-width: 720px;
  margin: 0 auto 100px;
  text-align: center;
}

.project-header h1 {
  font-family: 'COCO';
  font-size: 3rem;
  margin-bottom: 12px;
}

.project-meta {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  /*text-transform: uppercase;*/
  color: #777;
}

/* ---------- GALLERY ---------- */
.project-gallery {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.project-gallery img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- HERO VIDEO ---------- */
.project-hero {
  margin-top: 120px;
}

.project-hero video {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  background: black;
  display: block;
}

/* ---------- SCROLL TOP ---------- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: black;
  color: white;
  text-decoration: none;
  padding: 12px 16px;
  font-size: 1.2rem;
  border-radius: 50%;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .project-page {
    padding: 60px 20px 120px;
  }

  .project-header h1 {
    font-size: 2.3rem;
  }

  .project-hero video {
    max-height: 60vh;
  }
}
/* ---------- YOUTUBE RESPONSIVE ---------- */
.video-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9; /* clé du responsive */
  margin-top: 120px;
  background: black;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
