html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background-image: url('https://cdn.pixabay.com/photo/2019/07/31/12/44/paint-4375137_1280.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  color: #6e4f3a;
  line-height: 1.6;
  scroll-behavior: smooth;
  cursor: default;
}

header {
  background-image: url('https://cdn.pixabay.com/photo/2022/04/04/16/41/technology-7111798_1280.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 100px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
  background-color: rgba(255, 255, 255, 0.75);
  display: inline-block;
  padding: 10px 30px;
  border-radius: 40px;
  max-width: 90%;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

nav {
  background-color: #6ec1e4;
  text-align: center;
  padding: 15px;
}

nav a {
  color: white;
  margin: 0 20px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

nav a:hover {
  text-decoration: underline;
}

section {
  max-width: 800px;
  margin: 100px auto;
  padding: 20px;
  background-color: rgba(243, 233, 220, 0.9);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

h2 {
  color: #6e4f3a;
  border-bottom: 2px solid #c7e8ca;
  padding-bottom: 10px;
}

ul {
  list-style-type: square;
  padding-left: 20px;
}

a.whatsapp,
.contact-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #c7e8ca;
  border-radius: 6px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.contact-btn:hover {
  background-color: #a3d6b4;
}

footer {
  background-color: #f3e9dc;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  margin-top: 40px;
}

.contact-buttons {
  margin-top: 20px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-fixe {
  position: fixed;
  top: 10px;
  left: 10px;
  width: 350px;
  height: auto;
  z-index: 1000;
  border-radius: 8px;
}

/* CURSEUR sur tous les éléments cliquables */
a, summary {
  cursor: pointer;
}

/* ✅ RESPONSIVE – uniquement mobile */
@media (max-width: 600px) {
  .logo-fixe {
    position: static;
    width: 80px;
    margin: 10px;
  }

  header {
    padding: 60px 10px;
  }

  .header-content {
    padding: 15px;
    border-radius: 20px;
    max-width: 100%;
  }

  nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  nav a {
    margin: 5px 0;
    font-size: 18px;
  }

  section {
    margin: 40px auto;
    padding: 15px;
  }

  .contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-btn {
    width: 100%;
    text-align: center;
  }
}
body {
  opacity: 0;
  animation: fadeInBody 1.5s ease-out forwards;
}

@keyframes fadeInBody {
  to {
    opacity: 1;
  }
/* Fond en fondu à l'ouverture */
#background-fade {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white; /* Ou autre couleur si tu veux un effet noir, beige, etc. */
  z-index: 9999;
  pointer-events: none;
  animation: fadeOutBackground 1.5s ease-out forwards;
}

@keyframes fadeOutBackground {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}