* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #222;
  background: #fafafa;
}

.home {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.home-header {
  text-align: center;
  margin-bottom: 2rem;
}

.home-header h1 {
  margin: 0;
  font-size: 2.5rem;
}

.home-subtitle {
  margin: 0.25rem 0 0;
  color: #666;
}

.home-content {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.home-poster {
  flex: 0 0 40%;
}

.home-poster figure {
  margin: 0;
}

.home-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
}

.home-links-label {
  font-weight: 600;
}

.home-links a {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: #222;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

.home-links a:hover {
  background: #555;
}

.home-poster img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.home-text {
  flex: 1;
  line-height: 1.6;
  align-self: stretch;
  border-left: 1px solid #d0d0d0;
  padding-left: 2.5rem;
}

.home-text h2 {
  margin-top: 0;
}

.home-footer {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.875rem;
  color: #888;
}

/* Mobile : l'affiche passe au-dessus du texte */
@media (max-width: 700px) {
  .home-content {
    flex-direction: column;
  }
  .home-poster {
    flex-basis: auto;
    width: 100%;
  }
  /* Sur mobile, la séparation devient horizontale */
  .home-text {
    align-self: auto;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #d0d0d0;
    padding-top: 1.5rem;
  }
}
