/* SECTION FOND VAFM AVEC FORMES ABSTRAITES */
.fond-vafm {
  position: relative;
  background-color: #111;
  color: #fff;
  padding: 80px 20px;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
}

.contenu-vafm {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.fond-vafm h1 {
  font-size: 2.5em;
  color: #ff2a2a;
  margin-bottom: 20px;
}

.fond-vafm p {
  font-size: 1.2em;
  line-height: 1.6;
}

/* FORMES ABSTRAITES EN FOND */
.forme {
  position: absolute;
  border-radius: 50% 35% 40% 60% / 60% 40% 50% 35%;
  opacity: 0.3;
  z-index: 1;
  transform: rotate(45deg);
}

.forme-1 {
  width: 280px;
  height: 280px;
  background: #970A0A;
  top: -40px;
  left: -60px;
}

.forme-2 {
  width: 240px;
  height: 240px;
  background: #ff2a2a;
  bottom: -50px;
  right: -30px;
}

.forme-3 {
  width: 180px;
  height: 180px;
  background: #333;
  top: 45%;
  left: 55%;
}

/* SECTION MENTIONS LÉGALES */
.mentions-theme {
  background-color: #000;
  color: #fff;
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.mention-block {
  max-width: 900px;
  margin: auto;
}

.mention-block h2 {
  text-align: center;
  font-size: 2.5em;
  color: #ff2a2a;
  margin-bottom: 40px;
}

/* CARTES DE MENTIONS */
.mention-card {
  background: linear-gradient(135deg, #970A0A, #57081B);
  border-radius: 30px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mention-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.mention-card h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #fff;
}

.mention-card p {
  font-size: 1em;
  line-height: 1.6;
  margin: 0;
}

.mention-card a {
  color: #fff;
  text-decoration: underline;
}

.mention-card a:hover {
  color: #ffdddd;
}
.mentions-canva {
  background-color: #fff;
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.mentions-canva h1 {
  text-align: center;
  font-size: 2.5em;
  color: #970A0A;
  margin-bottom: 50px;
}

/* Bulles rouges façon Canva */
.mention-shape {
  background: linear-gradient(135deg, #ffdddd, #fff);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  border-left: 8px solid #970A0A;
}

.mention-shape:hover {
  transform: scale(1.02);
}

.mention-shape h2 {
  font-size: 1.4em;
  color: #970A0A;
  margin-bottom: 15px;
}

.mention-shape p {
  font-size: 1em;
  line-height: 1.6;
}

.mention-shape a {
  color: #970A0A;
  font-weight: bold;
  text-decoration: none;
}

.mention-shape a:hover {
  text-decoration: underline;
}

/* Bouton retour à l’accueil */
.back-home {
  text-align: center;
  margin-top: 50px;
}

.home-button {
  display: inline-block;
  background-color: #970A0A;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1em;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.home-button:hover {
  background-color: #57081B;
  transform: scale(1.05);
}
.home-top-button {
  position: fixed;
  top: 20px;
  left: 20px;
  background-color: #970A0A;
  color: white;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.home-top-button:hover {
  background-color: #57081B;
  transform: scale(1.05);
}

/* RESPONSIVE MOBILE */
@media screen and (max-width: 768px) {
  .fond-vafm {
    padding: 60px 15px;
  }

  .fond-vafm h1,
  .mention-block h2 {
    font-size: 2em;
  }

  .mention-card {
    padding: 20px;
    border-radius: 20px;
  }

  .mention-card h3 {
    font-size: 1.2em;
  }

  .mention-card p {
    font-size: 0.95em;
  }

  .forme-1,
  .forme-2,
  .forme-3 {
    display: none; /* Masquer les formes sur mobile si elles gênent */
  }
}
@media screen and (max-width: 600px) {
  .home-top-button {
    font-size: 0.9em;
    padding: 8px 14px;
    top: 15px;
    left: 15px;
  }
}

