body.project-page {
    background-image: url('assets/projets/background-projets.png');
    background-repeat: repeat;
    background-position: center;
    background-attachment: local;
    background-size: contain;
}

header {
  position: fixed;
  background: rgba(40,58,81,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.article-wrap {
  max-width: 1200px;
  width: calc(100% - 100px);
  margin: 0 auto;
  padding: 0px 80px 80px;
  background-color: rgba(255, 255, 255, 0.2);
}

.project-hero {
    margin-top: 100px; 
    width: 100%;
}

.project-hero img {
    width: 100%;
    height: auto; 
    display: block;
    margin: 0 auto; 
    max-width: 1900px;
}

.project-info {
  text-align: center;
  padding: 50px 50px 40px;
}

.project-title {
  font-size: 70px;
  font-weight: 900;
  margin-bottom: 0;
  font-family: 'Fusain-regular', sans-serif;
  color: white;
  letter-spacing: 1px;
}

.project-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.6);
  margin: 22px auto;
}

.project-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  margin-top: 10px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.meta-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.meta-value {
  font-size: 16px;
  color: white;
  font-weight: 300;
  text-align: center;
}

.meta-divider {
  color: rgba(255,255,255,0.6);
  font-size: 25px;
  font-weight: 300;
}   

.project-info::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.6);
  margin: 22px auto;
}

.project-grid {
  padding: 0 40px 0px 40px;
}

.grid-row {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  opacity:0; transform:translateY(24px); transition:opacity 0.6s ease, transform 0.6s ease;
}

.grid-row.visible { opacity:1; transform:translateY(0); }

.grid-left, .grid-right {
  flex: 1; 
  color: white;
}

.grid-left img, .grid-right img {
  width: 100%;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 10px;
}

.grid-left video, .grid-right video {
  width:100%;
  height:auto;
  display:block;
  margin-bottom:20px;
  border-radius: 10px;
}

.grid-right a {
  font-weight: 700;
}

.titre {
  font-weight: 700;
  margin-bottom: 20px;
}

.grid-left figure,
.grid-right figure {
  margin: 0;
}

.grid-left figure img,
.grid-right figure img {
  margin-bottom: 8px;
}

figcaption {
  text-align: right;
  font-size: 11px;
  font-weight: 200;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255);
  margin-bottom: 20px;
}

@media(max-width:1024px) {
  .grid-row { flex-direction: column; }
  .project-info { padding: 35px 20px; }
  .project-title { font-size: 60px; }
  .project-meta { gap: 16px; }
  .meta-value { font-size: 12px; }
  .project-hero { margin-top: 95px; width: 100%; }
}

@media(max-width:600px) {
  .project-title { font-size: 40px; }
  .project-info { padding: 25px 15px; }
  .project-meta { gap: 12px; }
  .meta-label { font-size: 9px; }
  .meta-value { font-size: 11px; }
  .grid-left img, .grid-right img { margin-bottom: 15px; }
  .project-hero { margin-top: 60px; width: 100%; }
  p { font-size: 12px; margin: 0; }
}
