/* Page détail projet */
body.project-page {
  background: #000;
}

body.project-page .nav,
body.project-page [data-twostep-nav] {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200 !important;
}

body.project-page .project-hero {
  padding-top: 0;
}

.project-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent);
}

.project-topbar__back {
  color: rgba(255, 255, 255, 0.75);
  font-family: Barlow, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.project-topbar__back:hover {
  color: #fff;
}

.project-topbar__logo {
  width: 2.75rem;
  height: auto;
}

.project-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
}

.project-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.9) 100%);
}

.project-hero__content {
  position: relative;
  z-index: 2;
  padding: 6rem 2rem 3rem;
  max-width: 52rem;
}

.project-hero__meta {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-family: Barlow, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.project-hero__title {
  margin: 0 0 1rem;
  color: #fff;
  font-family: Barlow, sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: clamp(2.25rem, 8vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.project-hero__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-family: Barlow, sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.7;
  max-width: 40rem;
}

.project-body {
  padding: 3rem 2rem 5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.project-body__block {
  margin-bottom: 3.5rem;
}

.project-body__block h2 {
  margin: 0 0 0.75rem;
  color: var(--red, #dc2626);
  font-family: Barlow, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.project-body__block h3 {
  margin: 0 0 1rem;
  color: #fff;
  font-family: Barlow, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
}

.project-body__block p {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-family: Barlow, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
}

.project-video {
  width: 100%;
  border-radius: 0.35rem;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
}

.project-video video,
.project-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.project-video--portrait {
  aspect-ratio: 9 / 16;
  max-width: 22rem;
}

.project-backstage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.project-backstage img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.35rem;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  background: #111;
}

@media screen and (max-width: 767px) {
  .project-backstage {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .project-hero__content,
  .project-body {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* CTA bas de page projet */
.project-cta {
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-cta__title {
  margin: 0 0 1.5rem;
  font-family: Barlow, sans-serif;
  font-weight: 600;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff !important;
  line-height: 1.2;
}

.project-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: #fff;
  font-family: Barlow, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #050505 !important;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.25s ease, transform 0.25s ease;
}

.project-cta__btn:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

@media screen and (max-width: 767px) {
  .project-cta {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}
