/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

/* Plein écran */
html, body {
  height: 100%;
}

/* Image de fond */
body {
  background-image: url("fondecran.jpg"); /* ton image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  color: white;
}

/* Header */
header {
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  text-align: center;
}

h1{
	color: ##f5d7df;
}

/* Main prend l’espace restant */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Section hero */
.hero {
  background: rgba(0, 0, 0, 0.55);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 700px;
}

/* Titres */
.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Boutons */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-button {
  padding: 15px 30px;
  background-color: #f5d7df;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: transform 0.3s, background-color 0.3s;
}

.hero-button:hover {
  transform: scale(1.05);
  background-color: #eac1cc;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
  padding: 15px;
  color: #f5d7df;
}

/* Boutons sur ordinateur (comportement actuel) */
.hero-button{
  display: inline-block;
  margin: 10px;
}

/* Adaptation téléphone */
@media (max-width: 600px) {

  .hero-button{
    display: block;
    width: 80%;
    margin: 10px auto;
  }

}