.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.nav--scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

/* ── Bouton Horaires & RDV ── */
.nav__rdv {
  position: relative;
  flex-shrink: 0;
}

.nav__rdv-btn {
  background: var(--color-primary);
  color: var(--color-cream);
  border-color: var(--color-primary);
  font-size: var(--fs-xs);
  padding: var(--space-2) var(--space-4);
  min-height: 36px;
  white-space: nowrap;
}
.nav__rdv-btn:hover {
  background: var(--color-primary-soft);
  border-color: var(--color-primary-soft);
}

.nav__rdv-panel {
  position: absolute;
  top: calc(100% + var(--space-3));
  right: 0;
  width: 300px;
  background: #001828;
  border: 1px solid rgba(228,211,189,0.08);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  padding: 20px;
  z-index: 200;
}
.nav__rdv-panel[hidden] { display: none; }

/* Bannière note globale — glow statique doux + point pulsant (halo dé-animé le 2026-07-01) */
.nav__rdv-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  padding: 11px 12px;
  background: rgba(130,65,37,0.16);
  border: 1px solid rgba(154,85,58,0.45);
  border-radius: 8px;
  box-sizing: border-box;
  width: 100%;
  box-shadow: 0 0 10px -2px rgba(212,134,90,0.22);
}
.nav__rdv-banner-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: #D4865A;
}
.nav__rdv-banner-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.nav__rdv-banner-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #D4865A;
  margin-bottom: 3px;
}
.nav__rdv-banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #D4865A;
  flex-shrink: 0;
  animation: nav-rdv-banner-dot 1.6s ease-in-out infinite;
}
.nav__rdv-banner-msg {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(228,211,189,0.92);
  overflow-wrap: break-word;
  word-break: break-word;
}

@keyframes nav-rdv-banner-dot {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%      { transform: scale(1.6); opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
  .nav__rdv-banner-dot { animation: none !important; }
}

.nav__rdv-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9A553A;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__rdv-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(130,65,37,0.30);
}

/* Liste des jours */
.nav__rdv-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav__rdv-list li {
  padding: 7px 8px;
  border-radius: 6px;
  border-left: 2px solid transparent;
}

/* Ligne "aujourd'hui" */
.nav__rdv-li--today {
  background: rgba(130,65,37,0.18);
  border-left-color: #9A553A !important;
}

/* Ligne supérieure : nom du jour + badge */
.nav__rdv-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nav__rdv-list li strong {
  color: rgba(228,211,189,0.88);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}
.nav__rdv-li--today strong {
  color: #E4D3BD;
  font-size: 0.92rem;
}

/* Horaires */
.nav__rdv-hours {
  margin-top: 3px;
  font-size: 0.74rem;
  font-weight: 400;
  color: rgba(228,211,189,0.45);
  white-space: nowrap;
  padding-left: 2px;
}
.nav__rdv-li--today .nav__rdv-hours {
  color: rgba(228,211,189,0.72);
  font-size: 0.76rem;
}
.nav__rdv-hours--ferme {
  font-style: italic;
  color: rgba(228,211,189,0.28) !important;
}
.nav__rdv-hours--sub {
  color: rgba(228,211,189,0.32) !important;
  font-size: 0.70rem !important;
}

/* Note par jour (ex : réservation lundi, note admin) */
.nav__rdv-note-jour {
  margin-top: 2px;
  padding-left: 2px;
  font-size: 0.70rem;
  color: rgba(130,180,200,0.70);
  font-style: italic;
  line-height: 1.4;
}

/* Badges */
.nav__rdv-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 3px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__rdv-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.7;
}
.nav__rdv-badge--today {
  color: #D4865A;
  background: rgba(130,65,37,0.25);
  border: 1px solid rgba(154,85,58,0.50);
}
.nav__rdv-badge--ferme {
  color: rgba(228,211,189,0.45);
  background: rgba(228,211,189,0.06);
  border: 1px solid rgba(228,211,189,0.12);
}
.nav__rdv-badge--ferie {
  color: #7CB8C8;
  background: rgba(100,180,200,0.12);
  border: 1px solid rgba(100,180,200,0.25);
}
.nav__rdv-badge--special {
  color: #7BBF8E;
  background: rgba(80,160,100,0.12);
  border: 1px solid rgba(80,160,100,0.28);
}

/* Note de bas de panel */
.nav__rdv-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(228,211,189,0.09);
  font-size: 0.67rem;
  color: rgba(228,211,189,0.30);
  font-style: italic;
}

@media (max-width: 767px) {
  .nav__rdv { display: none; }
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--ff-sans);
  font-weight: var(--fw-bold);
  font-size: var(--fs-2xl);
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.nav__brand-logo {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-on-bg-soft);
  letter-spacing: 0.02em;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.nav__toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  position: relative;
  transition: background var(--transition-fast);
}

.nav__toggle-bar::before,
.nav__toggle-bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  transition: transform var(--transition-base);
}

.nav__toggle-bar::before { top: -7px; }
.nav__toggle-bar::after { top: 7px; }

@media (max-width: 1023px) {
  .nav__links {
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-8) var(--space-6);
    background: var(--color-bg);
    transform: translateX(100%);
    transition: transform var(--transition-base);
  }
  .nav__links--open { transform: translateX(0); }
  .nav__toggle { display: inline-flex; }
  .nav__rdv { display: none; }
}

main {
  padding-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
}

.footer {
  background: var(--color-primary);
  color: var(--color-on-dark);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: var(--space-12);
}

@media (max-width: 767px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__brand-logo {
  width: 64px;
  height: 64px;
}

.footer__tagline {
  color: var(--color-on-dark-soft);
  font-size: var(--fs-sm);
  max-width: 320px;
}

.footer__title {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-cream);
  margin-bottom: var(--space-5);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__list a {
  font-size: var(--fs-sm);
  color: var(--color-on-dark-soft);
}

.footer__list a:hover {
  color: var(--color-cream);
}

.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-on-dark);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--color-on-dark-muted);
}
