/* ============================================================
   Projet Detail
   ============================================================ */

.detail-wrapper { padding-top: 52px; }

.projet-detail-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  min-height: calc(100vh - 52px);
}

.projet-detail-left {
  padding: 40px 36px;
  border-right: 2px solid var(--white);
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}

.projet-detail-left .btn + .btn { margin-top: 0; }

/* Grand titre de page : "PROJET" */
.projet-page-title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(64px, 8vw, 100px);
  line-height: 0.88;
  text-transform: uppercase;
  color: var(--white);
}

/* Titre du projet — même taille que "Description :" */
.projet-name {
  font-family: var(--font-title);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.detail-section-title {
  font-family: var(--font-sub);
  font-size: 18px;
  font-weight: normal;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.detail-text {
  font-size: 12px;
  color: var(--gray-light);
  line-height: 1.8;
}

.projet-detail-right {
  padding: 40px 36px;
  overflow-y: auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bento-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #1a1a1a;
}

.bento-item.large {
  grid-column: 1 / -1;
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.bento-item.large img { height: auto; object-fit: unset; }
.bento-item img:hover { transform: scale(1.02); }

.video-wrapper {
  position: relative;
  cursor: pointer;
}

.video-wrapper video {
  width: 100%;
  display: block;
  border-radius: var(--radius-card);
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  border-radius: var(--radius-card);
  transition: opacity 0.2s;
}

.video-wrapper.playing .video-overlay { opacity: 0; pointer-events: none; }

.video-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.video-play-btn svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.video-wrapper:hover .video-play-btn { transform: scale(1.1); }

@media (max-width: 900px) {
  .projet-detail-layout { grid-template-columns: 1fr; }
  .projet-detail-left {
    border-right: none;
    border-bottom: 2px solid var(--white);
    padding: 28px 20px;
  }
  .projet-detail-right { padding: 28px 20px; }
  .bento-grid { columns: 1; }
}
