html {
  height: 100%; /* Assure que le HTML prend toute la hauteur */
  scrollbar-gutter: stable; /* Évite le décalage du header entre pages */
}

body {
  margin: 0;
  min-height: 100vh; /* s'assure que ça couvre toujours la hauteur de l'écran */
  background: linear-gradient(to bottom, #cde4f5, #f8d7e3);
  background-attachment: fixed; /* Empêche le dégradé de se répéter en scroll */
  background-repeat: no-repeat;
  background-size: cover;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
  align-items: center;
}

header {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid #add8e6;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
  background-color: #ffd1dc; /* Light Pink */
  color: #000;
}

.hero {
  text-align: center;
  padding: 80px 20px;
  background-color: rgba(255, 255, 255, 0.7);
  margin-top: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border: 2px solid #ffd1dc;
}

.hero h1 {
  font-size: 3.5em;
  color: #333;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: 1.3em;
  color: #555;
  max-width: 700px;
  margin: 0 auto 30px;
}

.hero img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #add8e6; /* Light Blue */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}

.button {
  display: inline-block;
  background-color: #ffd1dc; /* Light Pink */
  color: #333;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.button:hover {
  background-color: #add8e6; /* Light Blue */
  transform: translateY(-2px);
}

main {
  flex-grow: 1; /* Permet au contenu principal de prendre l'espace disponible */
}

footer {
  text-align: center;
  padding: 20px;
  /* margin-top: 50px; */ /* Supprimé car flex-grow gère l'espacement */
  background-color: rgba(255, 255, 255, 0.8);
  border-top: 2px solid #add8e6;
  color: #555;
}

.button-image {
  display: inline-flex;
  gap: 10px;
  background-color: #ffd1dc;
  color: #333;
  padding: 12px 25px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
}

.button-image img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 50%;
}

.button-image:hover {
  background-color: #add8e6;
  transform: translateY(-2px);
}
