/* ===== PAGE D'ACCUEIL ===== */
body.home {
  margin: 0;
  background: black;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 80%;
  display: flex;
  justify-content: space-between;
}

/* Fleurs interactives */
.flower {
  display: inline-block;
  cursor: pointer;
  transition: transform 0.3s;
}

.flower:hover {
  transform: scale(1.5);
}

/* CSS fleur rouge */
.flower.red .petal {
  position: absolute;
  width: 40px;
  height: 40px;
  background: red;
  border-radius: 50%;
  top: 30px;
  left: 30px;
  transform-origin: center;
}

.flower.red .petal:nth-child(1) { transform: rotate(0deg) translate(30px); }
.flower.red .petal:nth-child(2) { transform: rotate(72deg) translate(30px); }
.flower.red .petal:nth-child(3) { transform: rotate(144deg) translate(30px); }

.flower.red .center {
  position: absolute;
  width: 30px;
  height: 30px;
  background: darkred;
  border-radius: 50%;
  top: 35px;
  left: 35px;
}

/* CSS fleur blanche */
.flower.white .petal {
  position: absolute;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  top: 30px;
  left: 30px;
  transform-origin: center;
}

.flower.white .petal:nth-child(1) { transform: rotate(0deg) translate(30px); }
.flower.white .petal:nth-child(2) { transform: rotate(72deg) translate(30px); }
.flower.white .petal:nth-child(3) { transform: rotate(144deg) translate(30px); }

.flower.white .center {
  position: absolute;
  width: 30px;
  height: 30px;
  background: lightgray;
  border-radius: 50%;
  top: 35px;
  left: 35px;
}

/* ===== PAGES ROUGE ET BLANCHE ===== */
body.red {
  background: #1a0000;
  color: #ff4d4d;
  font-family: serif;
  padding: 40px;
}

body.white {
  background: #f5f5f5;
  color: black;
  font-family: sans-serif;
  padding: 40px;
}

header a {
  display: block;
  margin-bottom: 20px;
  text-decoration: none;
}

article {
  margin-bottom: 50px;
}

article img {
  display: block;
  margin: 20px 0;
}

