#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245,240,232,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

#navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  height: 64px;
  /* Toute la largeur de l'écran (pas limité à max-width: 1200px comme .container),
     juste une petite marge de sécurité par rapport au bord réel de la fenêtre. */
  max-width: none;
  width: 100%;
  padding-left: 1cm;
  padding-right: 1cm;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.85;
}

.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

/* Contact — red button + dropdown */
.nav-contact {
  position: relative;
}

.nav-contact summary {
  list-style: none;
  cursor: pointer;
}

.nav-contact summary::-webkit-details-marker { display: none; }

.btn-contact {
  background: #c62828;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0.4rem 1rem;
  border-radius: var(--radius);
  display: inline-block;
  opacity: 0.85;
}

.btn-contact:hover { background: #a81f1f; opacity: 1; }

.nav-contact-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-h);
  padding: 8px;
  display: flex;
  flex-direction: column;
  min-width: 190px;
  z-index: 10;
}

.nav-contact-menu a {
  padding: 10px 12px;
  font-size: 0.88rem;
  color: var(--text);
  border-radius: 4px;
  white-space: nowrap;
}

.nav-contact-menu a:hover { background: var(--surface); color: var(--primary); }

@media (max-width: 768px) {
  .nav-logo-img { height: 36px; }
}
