/* ===================== Header principal ===================== */
header {
    position: fixed;       /* fix en haut de la page */
   top: clamp(-12px, -0.5vw, -42px);
    left: 0;
    width: 100%;
     height: clamp(80px, 18vw, 132px);
    z-index: 1000;
    background-color: #FF8904;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    box-sizing: border-box;
}

.main-content {
    padding-top: 76px; /* même hauteur que le header */
}

/* Titre du header responsive */
.center-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.header-title {
  font-size: clamp(1.5rem, 5vw, 2.75rem);
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
  color: #2B1A10;
  text-align: center;
  flex: 1;
  margin-top: 0.1px;
  margin-bottom: 0.1px; /* espace léger sous le h1 */
}

.header-title-mail {
  font-size: clamp(0.7rem, 4vw, 1.5rem);
  font-family: "Pacifico", cursive;
  font-weight: 100;
  font-style:normal;
  color: #2B1A10;
  text-align: center;
  flex: 1;
  margin-top: 0; /* supprime l’espace au-dessus du h2 */
  line-height: 1; /* resserre la hauteur de ligne */
  
}

/* Liens desktop */
.nav-left,
.nav-right {
  font-size: 1.5rem;
  color: #2B1A10;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.nav-left { left: 16px; }
.nav-right { right: 16px; }

/* Burger button */
.burger {
  position: absolute;
  display: none;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  z-index: 1003;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.burger img {
  width: 32px;
  height: 32px;
}

/* Icône Instagram mobile */
.insta {
  display: none;           /* cachée par défaut */
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  z-index: 1002;
}

/* ===================== Mobile menu ===================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: #FF8904;
  display: flex;
  flex-direction: column;
  transition: left 0.4s ease-in-out;
  z-index: 800;
}

.mobile-menu.show {
  left: 0;
}

.mobile-menu-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  padding: 0 16px;
  box-sizing: border-box;
  background-color: #FF8904;
}

.mobile-menu-header h1 {
  font-size: clamp(1.5rem, 5vw, 2.75rem);
  margin: 0;
  font-weight: bold;
  color: #2B1A10;
  text-align: center;
}

.mobile-menu-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 24px;
    border-top: 1px solid #2B1A10;
}

.mobile-menu-links a {
  font-size: 2rem;
  color: #2B1A10;
  margin: 16px 0;
  text-decoration: none;
}

/* ===================== Responsive rules ===================== */
@media (max-width: 639px) {
  .nav-left, .nav-right {
    display: none;
  }

  .burger {
    display: inline-block;
  }

  .insta {
    display: inline-block;
  }
}

