* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: #222;
  line-height: 1.5;
  padding: 2rem 1.5rem 3rem;
}

/* En-tête */

header {
  text-align: center;
  margin-bottom: 1.8rem;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.subtitle {
  font-size: 0.95rem;
  color: #666;
}

/* Bouton retour */

.back-portfolio {
  text-align: left;
  margin-bottom: 1.8rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.back-portfolio a {
  font-size: 0.9rem;
  text-decoration: none;
  color: #3a3a3c;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #e5e5e5;
  background-color: #ffffff;
  transition: background 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease, color 0.2s ease;
}

.back-portfolio a:hover {
  background-color: #f3f4f6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
  color: #111;
}

/* Conteneur principal */

.page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.intro-text {
  margin-bottom: 1.8rem;
  font-size: 0.98rem;
  color: #444;
}

/* Vidéo centrée */

.video-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.video-wrapper {
  background-color: #fafafa;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  border: 1px solid #e5e5e5;
  width: 100%;
  max-width: 900px;
}

video {
  width: 100%;
  border-radius: 14px;
  display: block;
}

/* Boutons d'interaction */

.video-controls {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.video-controls button {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid #d9b6cf;
  background: #ffffff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: #7a5c75;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: background 0.2s ease, transform 0.15s ease,
    box-shadow 0.2s ease;
}

.video-controls button:hover {
  background: #f9e9f3;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.video-controls button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* Panneau d'information */

.info-panel {
  max-width: 900px;
  margin: 2rem auto 0;
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #e5e5e5;
  padding: 1rem 1.2rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
  color: #555;
}

.info-panel strong {
  color: #c47cb0;
  font-weight: 600;
}

@media (max-width: 640px) {
  body {
    padding: 1.5rem 1rem 2.5rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  .video-controls button {
    width: 100%;
    justify-content: center;
  }
}
