* {
  margin: 0;
  padding: 0;
  font-family: inter;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 40px);
  padding: 1rem 2rem;
  background-color: #01486e00;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
  gap: 2em; /* ajoute un peu d’espace entre les blocs */
}

.header--hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.header {
  transition: transform 0.3s ease; /* pour le retour fluide */
  z-index: 1000;
}

.logo-png {
  max-height: 90px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.logo-png:hover {
  transform: scale(1.3);
}

.header-nav-menu {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  align-items: center;
}

.header-nav-menu-link {
  margin-right: 2rem;
}

.header-nav-menu-link a {
  font-family: Inter;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.5em;
  color: aliceblue;
  position: relative;
  transition: transform 0.3s ease;
}

/* Effet au survol */
.header-nav-menu-link a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 2px;
  background-color: aliceblue;
  transition: transform 0.3s ease;
}

.header-nav-menu-link a:hover {
  transform: scale(1.05);
}

.header-nav-menu-link a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.header-burger {
  display: none;
}

.header-burger svg {
  stroke: aliceblue;
  width: 3em;
  height: 3em;
  margin-right: 2em;
}

.header-nav-close {
  display: none;
}

.first-look {
  min-height: 100vh;
  background-image: url(../imports/interieur2.jpg);
  background-size: cover; /* l'image couvre toute la section */
  background-position: center; /* l'image est centrée */
  background-repeat: no-repeat; /* pas de répétition */

  display: flex;
  justify-content: center; /* centre horizontalement */
  align-items: center; /* centre verticalement */
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5em;
  z-index: 2;
}

.cta1 {
  display: inline-block;
  padding: 1em 2em;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: aliceblue;
  background: linear-gradient(135deg, #0078b8, #036499);
  border: none;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.cta1.open {
  display: none;
}

.cta1:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #01486e, #03527c);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Bouton secondaire : clair avec bordure */
.cta2 {
  display: inline-block;
  padding: 1em 2em;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #e0e0e0;
  background: transparent;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.3s ease, color 0.3s ease;
}

.cta2.open {
  display: none;
}

.cta2:hover {
  transform: translateY(-3px);
  background-color: #e0e0e0;
  color: #2c2d36;
}

.header .reseaux {
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin-top: 0; /* supprime le margin-top */
}

.reseaux {
  display: flex;
  gap: 0.5em;
  margin-top: 2em;
  display: flex;
  justify-content: center; /* centre horizontalement */
  align-items: center;
}

.reseaux a img {
  width: 25px;
  height: 25px;
  transition: transform 0.3s ease;
}

.reseaux a img:hover {
  transform: scale(1.3);
}

.degradeblanc {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1) 0%,
    rgba(104, 118, 148, 0.212) 40%,
    rgba(39, 52, 63, 0.404) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.card {
  display: flex;
  flex-direction: column;
  background-color: #0078b8;
  padding: 1em;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.tarifs {
  padding: 2em;
  background-color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2em;
}

.tarifs p,
li,
h2 {
  color: #f7f7f7;
}

.card li {
  list-style: none;
}

.tarifs-title {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 0.5em;
  color: #333;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reseaux {
  display: flex;
  gap: 1em;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  flex: 1;
}

.header-nav {
  display: flex;
  gap: 1.5em;
  align-items: center;
}

/* Empêche que .reseaux passe au-dessus */
.logo {
  flex: 1;
}

.header-nav {
  flex: 1;
  justify-content: flex-end;
}

footer div {
  display: flex;
  justify-content: center;
  padding: 2em;
  background-color: #01486e;
}

footer div p,
a {
  color: aliceblue;
}

footer div a {
  margin-right: 2em;
  text-decoration: none;
  font-size: 1.2em;
}

.header-legal {
  background-color: #01486e;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legal-main {
  max-width: 800px;
  margin: 150px auto 40px auto;
  padding: 0 20px;
  min-height: 66vh;
}

form {
  background-color: #0078b8;
  border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.contact-div {
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2em 1em;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}

.contact-form label {
  font-weight: 500;
  margin-bottom: 0.3em;
  color: #ffffff;
}

.contact-form input {
  padding: 0.8em 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  background: white;
  color: #000;
  margin-top: 1em;
}

.contact-form input:focus {
  border-color: #000;
  outline: none;
}

.contact-form button {
  margin-top: 1em;
  padding: 1em;
  background-color: #000;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-form button:hover {
  background-color: #222;
}

@media (max-width: 500px) {
  .header-burger {
    display: block;
    cursor: pointer;
  }

  .header-burger.open {
    display: none;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background-color: rgba(58, 60, 78, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: 0.3s transform ease-in-out;
    display: none;
  }

  .header-nav.open {
    display: flex;
    animation: transformMenu 300ms ease-in-out forwards;
  }

  @keyframes transformMenu {
    0% {
      transform: translatex(100%);
    }

    100% {
      transform: initial;
    }
  }

  .header-nav-menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-nav-menu-link {
    margin-right: 0;
    margin-bottom: 2em;
  }

  .header-nav-close {
    display: block;
    cursor: pointer;
  }

  .header-nav-close svg {
    stroke: aliceblue;
    width: 3em;
    height: 3em;
    margin-right: 2em;
    position: absolute;
    top: 16px;
    right: 16px;
  }

  .overlay-menu-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 2;
  }

  .overlay-menu-mobile.open {
    display: block;
  }
}
