/* Fond général */
body {
  background: url('/assets/svg/Hexagon.svg') no-repeat center center fixed;
  background-size: cover;
  background-color: #f3f6fa;
  color: #000000;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
}

/* Header blanc moderne */
.header-white {
  background: transparent;
  color: #1a252f;
  border-bottom: 1.5px solid #e0e8f5;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Logo SVG fondu dans la navbar */
.nav-container {
  position: relative;
  height: 70px;
  /* Hauteur fixe de la navbar */
  overflow: visible;
  /* Permet au logo de déborder */

}

.logo {
  position: absolute;
  top: 1px;
  /* Positionnement pour que le logo dépasse */
  left: 40px;
  z-index: 10;
}

.logo-img {
  height: 160px;
  /* Plus grand mais contrôlé */
  width: auto;
  display: block;
  border: none;
  background: transparent;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.2s ease;
  /* Centrage vertical pour débordement équilibré */
  transform: translateY(-10px);
}

.logo-img:hover {
  opacity: 1;
  transform: translateY(-10px) scale(1.05);
}

nav {
  flex: 1 1 auto;
  margin-left: 250px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li a {
  color: #1a252f;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.2s;
  padding: 6px 0;
}

.nav-links li a:hover {
  color: #ffb347;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #1a252f;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 12px;
}

.header-search-bar {
  display: flex;
  align-items: center;
  margin-left: 24px;
  background: #f3f6fa;
  border-radius: 30px;
  border: 1.5px solid #e0e8f5;
  padding: 4px 8px;
}

#header-search-input {
  border: none;
  background: transparent;
  padding: 8px 10px 8px 16px;
  border-radius: 30px 0 0 30px;
  font-size: 1rem;
  outline: none;
  min-width: 180px;
  color: #24344d;
}

.header-search-btn {
  background: none;
  border: none;
  color: #ffb347;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px 10px 4px 0;
  border-radius: 0 30px 30px 0;
  transition: color 0.2s;
}

.header-search-btn:hover {
  color: #24344d;
}

@media (max-width: 900px) {
  .nav-container {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 5vw;
  }

  .nav-links {
    flex-direction: column;
    background: #fff;
    position: absolute;
    right: 0;
    top: 60px;
    width: 200px;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(36, 52, 77, 0.13);
    border-radius: 0 0 10px 10px;
    z-index: 20;
  }

  .nav-links.open {
    max-height: 400px;
    padding: 18px 0;
  }

  .nav-toggle {
    display: block;
  }

  .header-search-bar {
    margin: 12px 0 0 0;
    width: 100%;
    justify-content: center;
  }

  nav {
    margin-left: auto;
  }
}

/* Footer */
footer {
  background: #24344d;
  color: #fff;
  text-align: center;
  padding: 28px 0 12px 0;
  margin-top: 60px;
}

/* Contact et formulaires */
.contact-section {
  max-width: 600px;
  margin: 60px auto;
  background: #f9fafb;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(36, 52, 77, 0.10);
  padding: 40px 24px 32px 24px;
  text-align: center;
}

.contact-details {
  margin-bottom: 32px;
  color: #444;
  font-size: 1.05rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.contact-form label {
  text-align: left;
  font-weight: 600;
  color: #1a252f;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #e0e8f5;
  font-size: 1rem;
  background: #f3f6fa;
}

.contact-form button {
  align-self: flex-end;
}

.retour-accueil {
  margin-top: 18px;
}