:root {
  --violet-fonce: #4A148C;
  --violet-clair: #B39DDB;
  --rose: #F8EAF6;
  --fond: #FFF8F5;
  --texte: #2B2B2B;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  background-color: var(--fond);
  color: var(--texte);
}

/* --- NAVBAR --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, var(--violet-fonce), var(--violet-clair));
  color: white;
  padding: 15px 40px;
}

.logo {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
}

.nav-links a {
  margin-left: 20px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.8;
}

/* --- HERO --- */
.hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.overlay h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 1.1rem;
  font-style: italic;
}

/* --- DESCRIPTION --- */
.description {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 60px 40px;
  flex-wrap: wrap;
}

.info {
  flex: 1 1 400px;
}

.info h2 {
  color: var(--violet-fonce);
  font-family: "Poppins", sans-serif;
  margin-bottom: 15px;
}

.info p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.details {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.details li {
  margin-bottom: 8px;
}

.play-btn {
  background: var(--violet-fonce);
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s ease;
}

.play-btn:hover {
  background: var(--violet-clair);
}

/* ---filière IMAGE --- */
.image-zoom-overlay::after {
  content: "© Shiramatsu - Interdit à la reproduction";
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  font-weight: 600;
  pointer-events: none;
}


/* --- POPUP IMAGE --- */
.image-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.image-popup-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.image-popup-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
  animation: zoomIn 0.3s ease;
  cursor: zoom-out;
  user-select: none;
  -webkit-user-drag: none;
}

.close-btn {
  position: absolute;
  top: 25px;
  right: 40px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.3s ease;
}

.close-btn:hover {
  opacity: 0.7;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* --- SÉCURITÉ ANTI-COPIE --- */
img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.gallery img {
  pointer-events: auto; /* clic JS autorisé pour zoom */
}

/* --- GALLERY --- */
.gallery {
  flex: 1 1 400px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* --- FOOTER GLOBAL --- */
.footer-global {
  background: linear-gradient(90deg, var(--violet-fonce), var(--violet-clair));
  color: white;
  padding: 50px 20px 20px;
  font-family: "Noto Sans JP", sans-serif;
}

.footer-content {
  display: flex;
  justify-content: center; 
  flex-wrap: wrap;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
}

.footer-section h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(255,255,255,0.3);
  padding-bottom: 5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin: 8px 0;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--rose);
}

/* --- RÉSEAUX --- */
.socials a {
  color: white;
  font-size: 1.6rem;
  margin: 0 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.socials a:hover {
  color: var(--rose);
  transform: scale(1.1);
}

/* --- BAS DE PAGE --- */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-bottom a {
  color: var(--rose);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/*filigrane semi-transparent*/

.image-zoom-overlay::after {
  content: "© Shiramatsu - Interdit à la reproduction";
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  font-weight: 600;
  pointer-events: none;
}


/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .description {
    flex-direction: column;
  }

  .hero {
    height: 300px;
  }

  .overlay h1 {
    font-size: 2rem;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}
