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

body {
  background: linear-gradient(135deg, #e8d8c0 0%, #d4c4a8 100%);
  font-family: "Georgia", "Times New Roman", serif;
  min-height: 100vh;
  padding: 40px 20px;
}

/* Conteneur principal */
.artwork-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #fffef7;
  border-radius: 24px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 5px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* Bouton retour */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2c2c2c;
  color: white;
  text-decoration: none;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-weight: 500;
  padding: 12px 24px;
  margin: 24px 0 0 24px;
  border-radius: 40px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.5px;
}

.back-button:hover {
  background: #1a1a1a;
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.back-button::before {
  content: "←";
  font-size: 1.2em;
  transition: transform 0.2s;
}

.back-button:hover::before {
  transform: translateX(-3px);
}

/* Grille contenu */
.artwork-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px;
}

/* Section image */
.image-section {
  background: #faf8f2;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.image-frame {
  width: 100%;
  display: flex;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  background: #e9e2d4;
}

.artwork-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.artwork-image:hover {
  transform: scale(1.02);
}

.image-caption {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #6b5a4e;
  font-style: italic;
  border-top: 1px solid #e0d6c8;
  padding-top: 16px;
  text-align: center;
}

/* Section informations */
.info-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.artwork-title {
  font-size: 2.8rem;
  font-weight: 400;
  color: #3a2c24;
  letter-spacing: -0.5px;
  border-left: 5px solid #b87c4f;
  padding-left: 20px;
  line-height: 1.2;
}

.artwork-subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #9b7b5c;
  font-weight: 500;
  font-family: "Segoe UI", sans-serif;
}

.description {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2c241e;
}

.description p {
  margin-bottom: 18px;
}

.description strong {
  color: #b87c4f;
  font-weight: 600;
}

.details-card {
  background: #f5efe6;
  border-radius: 20px;
  padding: 20px 24px;
  margin-top: 12px;
}

.details-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4a3729;
  margin-bottom: 12px;
  font-family: "Segoe UI", sans-serif;
  letter-spacing: 1px;
}

.details-card ul {
  list-style: none;
  padding: 0;
}

.details-card li {
  padding: 8px 0;
  border-bottom: 1px solid #e0cfbe;
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
}

.details-card li:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  min-width: 100px;
  color: #6b4c35;
}

.detail-value {
  color: #2c3e2b;
}

/* Responsive */
@media (max-width: 850px) {
  .artwork-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }

  .artwork-title {
    font-size: 2rem;
  }

  .back-button {
    margin: 20px 0 0 20px;
  }
}

@media (max-width: 550px) {
  .artwork-content {
    padding: 20px;
  }

  .artwork-title {
    font-size: 1.8rem;
  }

  .details-card li {
    flex-direction: column;
    gap: 4px;
  }

  .detail-label {
    min-width: auto;
  }
}

/* Pied de page */
.artwork-footer {
  border-top: 1px solid #e9dfd3;
  padding: 24px 48px;
  background: #fdfbf7;
  text-align: center;
  font-size: 0.8rem;
  color: #8a7a6a;
  font-family: "Segoe UI", sans-serif;
}
