/* ══════════════════════════════════════════════
   PROHABITAT35 — Navigation
   ══════════════════════════════════════════════ */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5vw;
  background: #1a1f2e;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
nav.scrolled { border-bottom-color: rgba(255,255,255,0.12); }

.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem; font-weight: 700; letter-spacing: 0.08em;
  color: #c2c7cc; text-decoration: none; text-transform: uppercase;
}
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--warm-gray); text-decoration: none; transition: color 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--gold); color: #1a1f2e !important;
  padding: 0.55rem 1.4rem; border-radius: 4px;
  transition: background 0.3s !important; font-weight: 700;
}
.nav-cta:hover { background: var(--gold-light) !important; color: #1a1f2e !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  width: 24px; height: 1.5px;
  background: #c2c7cc;
  transition: var(--transition); display: block;
}

.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: #1a1f2e; flex-direction: column;
  align-items: center; justify-content: center; gap: 2.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem; color: #c2c7cc;
  text-decoration: none; letter-spacing: 0.05em;
}
.mobile-nav a:hover { color: var(--gold); }

/* Progress bar (page réalisations) */
.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 300;
  height: 2px; background: var(--gold);
  width: 0%; transition: width 0.1s linear;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ══════════════════════════════════════════════
   IS-MOBILE — NAV
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

body.is-mobile nav {
  padding: 0 4vw;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

body.is-mobile .nav-logo {
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
body.is-mobile .nav-logo svg { width: 22px; height: 18px; }

body.is-mobile .nav-links { display: none; }

body.is-mobile .nav-actions {
  display: flex !important;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* Bouton téléphone → icône bleue */
body.is-mobile .nav-btn-phone {
  width: 40px; height: 40px;
  padding: 0;
  border-radius: 8px;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
body.is-mobile .nav-btn-phone svg { width: 16px; height: 16px; margin: 0; flex-shrink: 0; }
body.is-mobile .nav-btn-phone::after { content: none; }
/* Cache le texte du bouton phone */
body.is-mobile .nav-btn-phone {
  font-size: 0;
  letter-spacing: 0;
  gap: 0;
}

/* Bouton contact → icône avec bordure */
body.is-mobile .nav-btn-contact {
  width: 40px; height: 40px;
  padding: 0;
  border-radius: 8px;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0;
  letter-spacing: 0;
  gap: 0;
}
body.is-mobile .nav-btn-contact svg { width: 16px; height: 16px; margin: 0; }

body.is-mobile .hamburger {
  display: flex;
  flex-shrink: 0;
  padding: 6px;
  margin-left: 0.2rem;
}

body.is-mobile .mobile-nav a { font-size: 1.5rem; }