/* ============================================================
   CHEZ OMER v2 — Styles communs (toutes les pages)
============================================================ */

/* ─── Base ─── */
body {
  background-color: #FDFBF9;
  color: #1C1512;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html { scroll-behavior: smooth; }
::selection { background-color: #DC4C3E; color: white; }

/* ─── Scrollbar ─── */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ─── Navbar ─── */
.glass-nav {
  background: rgba(253, 251, 249, 0.82);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(28, 21, 18, 0.04);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.glass-nav.scrolled {
  background: rgba(253, 251, 249, 0.97);
  box-shadow: 0 4px 32px rgba(28, 21, 18, 0.06);
}

/* Liens navbar — underline slide */
.nav-link {
  position: relative;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: #6B5A54;
  padding-bottom: 3px;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background-color: #DC4C3E;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover { color: #1C1512; }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: #1C1512; font-weight: 500; }

/* Burger — animation vers X */
.burger-bar {
  display: block;
  height: 1.5px;
  background-color: #1C1512;
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
#burger.open .burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#burger.open .burger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
#burger.open .burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 24px; }

/* Mobile menu full overlay */
#mobile-menu {
  transition: opacity 0.4s ease, visibility 0.4s ease;
  opacity: 0;
  visibility: hidden;
}
#mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-link {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #1C1512;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}
.mobile-link:hover { color: #DC4C3E; transform: translateX(8px); }

/* ─── Glassmorphism ─── */
.glass-premium {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 40px -8px rgba(28, 21, 18, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-premium:hover {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 56px -8px rgba(28, 21, 18, 0.10);
  transform: translateY(-4px);
}
.glass-dark {
  background: rgba(28, 21, 18, 0.55);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ─── Bouton coral shimmer ─── */
.btn-coral {
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}
.btn-coral::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.55s ease;
}
.btn-coral:hover::before { left: 100%; }

/* ─── Animations ─── */
@keyframes fadeUpIn {
  0%   { opacity: 0; transform: translateY(36px); filter: blur(3px); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0);   }
}
.fade-up { opacity: 0; animation: fadeUpIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.38s; }
.delay-4 { animation-delay: 0.52s; }

/* ─── Images ─── */
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
.img-zoom:hover img { transform: scale(1.06); }

/* ─── Décoratif ─── */
.line-decor {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(197,154,101,0.55), transparent);
  margin: 0 auto;
}

/* ─── Pulse (badge statut) ─── */
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0   rgba(74, 222, 128, 0.6); }
  60%       { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0);   }
}
.pulse-green {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse-dot 2s infinite;
}

/* ─── Scroll hint ─── */
@keyframes bounce-down {
  0%, 100% { transform: translateY(0);   }
  50%       { transform: translateY(6px); }
}
.bounce-down { animation: bounce-down 1.8s ease-in-out infinite; }

/* ─── Étoiles ─── */
.star-fill { fill: #C59A65; color: #C59A65; }

/* ─── Footer — ligne accent dorée (miroir navbar) ─── */
footer {
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 154, 101, 0.28), transparent);
}
