* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #111827;
  color:#212121;
}

/* Centre tout verticalement au milieu de la page */
.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 720px;
  width: 100%;
  margin: 24px;
}

/* HERO IMAGE EN HAUT */

.hero {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.hero-photo {
  max-width: 700px;
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* CARTES GÉNÉRALES */

.card {
  background: #ffffff;
  padding: 20px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
}

.description-card {
  text-align: center;
}

.description-card h1 {
  margin: 0 0 8px;
}

.description-card p {
  margin: 4px 0;
}

.description-card .small {
  font-size: 0.9rem;
  color: #6b7280;
}

.description-list {
  list-style-type: disc;       /* puces classiques */
  padding-left: 24px;          /* indentation propre */
  margin: 10px 0;
  text-align: left !important;            /* aligne le texte à gauche */
  line-height: 1.5;
}

.description-list li {
  margin-bottom: 6px;
  font-size: 1rem;
}
/* FORMULAIRE */

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 16px;
  margin-bottom: 12px;
}

button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  background: #ef4444;
  color: #ffffff;
}

button:hover {
  background: #dc2626;
}

#message {
  min-height: 24px;
  margin-top: 4px;
  text-align: center;
}

/* RÉSULTAT */

.result {
  margin-top: 16px;
  text-align: center;
}

.result img {
  margin-top: 12px;
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#cible-nom {
    color:#ffffff;
}
.hidden {
  display: none;
}
