* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #FFF;
  color: #000;
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


/* Sélection de texte */
::selection {
  background-color: #b93452;
  color: white;
}


/* Liens */
a, a:visited, a:active {
  text-decoration: none;
  color: black;
  transition: color 0.3s ease; 
}

a:hover {
  color: #b93452;
  transition: color 0.3s ease; 
}


/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  position: relative;
}

.logo-gauche {
  width: 50px;
  height: auto;
}

/* Navigation */
nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-outline {
  border: 1px solid black;
  padding: 0.4rem 1rem;
  border-radius: 1rem;
  background-color: transparent;
  color: black;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
  border-color : #b93452;
  color: #b93452;
  transition: border-color 0.3s ease; 
}

.btn-fill {
  background-color: black;       /* ✅ noir par défaut */
  color: white;                /* ✅ texte magenta */
  padding: 0.4rem 1rem;
  border-radius: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-fill:hover {
  background-color: #b93452; 
  color: white;        /* ✅ fond magenta au survol */
}


/* Hamburger */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Main */
main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  gap: 1.5rem;
}

.logo-centre {
  width: 380px;
  height: auto;
}

h1 {
  font-size: 1.5rem;
}

p {
  max-width: 600px;
  line-height: 1.6;
}

/* Footer */
footer > * {
  align-self: center;
  display: inline-block;
  line-height: 1; /* Uniformise l’alignement vertical */
  margin: 0;
  padding: 0;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center; /* ✅ Ajoute ceci */
  gap: 1rem;
  padding: 1rem;
  font-size: 0.8rem;
}



.contact-form {
  max-width: 500px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.contact-form label {
  font-weight: bold;
  margin-bottom: 0.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.contact-form button {
  align-self: flex-start;
}

.confirmation {
  margin-top: 2rem;
  font-weight: bold;
  color: green;
}







/* Desktop menu - visible uniquement sur grands écrans */
.desktop-nav {
  display: flex;
}

/* Mobile menu - caché par défaut */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 20px;
  background-color: white;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 0.5rem;
  z-index: 10;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .desktop-nav {
    display: none;
  }

  /* Le menu mobile s'affiche uniquement quand la classe open est ajoutée */
  .mobile-nav.open {
    display: flex;
  }
}

@media (max-width: 600px) {
  .logo-centre {
    width: 200px;
  }
}
