.page-projet-yeohoon-htg {
  background-color: white;
  color: black;
  font-family: 'Asap', sans-serif;
  font-weight: 300;
  padding: 2rem;
  margin: 0;
}

/* forcer le thème clair pour les éléments communs */
.page-projet-yeohoon-htg .site-name,
.page-projet-yeohoon-htg .burger,
.page-projet-yeohoon-htg .menu a,
.page-projet-yeohoon-htg .language-selector,
.page-projet-yeohoon-htg .language-selector a,
.page-projet-yeohoon-htg .copyright {
  color: black !important;
  background-color: transparent !important;
}
.page-projet-yeohoon-htg .burger { background-color: black !important; }
.page-projet-yeohoon-htg .menu {
  background: rgba(255,255,255,0.8);
  border: 1px solid black;
}
.page-projet-yeohoon-htg .menu a:hover {
  color: black;
  text-shadow: 0 0 6px rgba(0,0,0,.3);
}

.projet-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.projet-texte h1 {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
  font-weight: 700;
  text-transform: none;
}
.projet-texte h2 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 2rem;
}
.projet-texte p {
  margin-bottom: 1rem;
  line-height: 1.6;
  display: flex;
  gap: 1rem;
}
.projet-texte strong {
  font-weight: 700;
  display: inline-block;
  width: 80px;
}

/* Vidéo responsive (16:9) */
.video-block { margin-top: 1rem; }
.video-embed {
  position: relative;
  width: 60%;       /* ↓ au lieu de 100% */
  padding-top: 33.75%; /* 16:9 mais proportionnellement plus petit */
  margin: 0 auto;   /* centre horizontalement */
  overflow: hidden;
  background: #145B72;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: none;          /* on masque tant que pas autorisé */
}

.video-embed.video-embed--loaded iframe {
  display: block;         /* quand autorisé */
}

/* ← amélioration nécessaire pour RGPD */
.video-placeholder {
  position: absolute;     /* ABSOLU pour ne PAS agrandir le conteneur */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: white;
  font-size: 1.25rem;
  letter-spacing: .2px;
  padding: 20px;
  text-align: center;
  background: rgba(0,0,0,0.6); /* overlay */
}

.video-embed.video-embed--loaded .video-placeholder {
  display: none;
}

.video-consent-btn {
  margin-top: 10px;
  background: white;
  color: black;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

/* Images */
.image-block {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.projet-image {
  max-width: 80%;   /* l’image prend 80% de la largeur max */
  height: auto;     /* garde les proportions */
  display: block;
}

/* Galerie 4 photos */
.gallery-block {
  margin-top: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 85%;
  margin: 0 auto;
}

.gallery-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}




/* Bouton retour */
.retour-production { margin-top: 4rem; text-align: center; }
.btn-retour {
  display: inline-block;
  background-color: black;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background .3s ease, color .3s ease;
}
.btn-retour:hover { background-color: #333; color: white; }



.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 320px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: none;
  z-index: 9999;
  font-family: sans-serif;
}

.cookie-buttons {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.cookie-buttons button {
  padding: 8px 15px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

#cookie-accept {
  background: black;
  color: white;
}

#cookie-decline {
  background: #ddd;
}

/* Mobile */
@media (max-width: 768px) {
  .projet-wrapper { display: flex; flex-direction: column; }
  .projet-texte p { display: flex; flex-direction: column; gap: .2rem; }
  .projet-texte p strong { width: auto; }
  .video-embed { border-radius: 0; }

  /* vidéo youtube */
  .video-embed {
    width: 98%;          /* presque toute la largeur de l’écran */
    padding-top: 53.5%;  /* ratio 16:9, mais plus grand qu’avant */
  }

    .video-placeholder {
    font-size: 0.5rem; /* plus petit que sur desktop */
  }

  /* grande image sous la vidéo */
  .projet-image {
    max-width: 98%; /* plus large qu’avant */
  }



/* grille des 4 images sur mobile */
    .gallery-grid {
    max-width: 100%;   /* occupe vraiment toute la largeur */
    gap: 0.8rem;       /* un peu d’air entre elles */
    }

    .gallery-img {
    width: 100%;
    height: auto;      /* garde les proportions originales */
    }
}


/* Très grands écrans */
@media (min-width: 1600px) {
  body { font-size: 1.6rem; } /* augmente plus nettement */
  .projet-texte h1 { font-size: 3.2rem; }
  .projet-texte h2 { font-size: 1.8rem; }
  .projet-texte p {
    font-size: 1.5rem;
    line-height: 1.9;
    text-align: justify;
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 3rem;
  }
  .projet-texte p strong { white-space: nowrap; }
}

