/* ════════════════════════════════════════════════════════════
   TRAITEUR EL MOUSSAOUI — Feuille de style principale
   Thème : Luxury Dark Gold Oriental
   ════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --gold:         #D4AF37;
  --gold-light:   #F0D060;
  --gold-dark:    #A07820;
  --gold-pale:    #FDF6E3;
  --dark:         #0D0D0D;
  --dark-2:       #151515;
  --dark-3:       #1E1E1E;
  --dark-card:    #1A1A1A;
  --white:        #FFFFFF;
  --cream:        #FAF0DC;
  --text-muted:   #888;
  --text-light:   #CCC;
  --border:       rgba(212,175,55,0.25);
  --shadow:       0 20px 60px rgba(0,0,0,0.4);
  --shadow-gold:  0 8px 32px rgba(212,175,55,0.25);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.35s cubic-bezier(0.4,0,0.2,1);
  --ff-display:   'Cormorant Garamond', Georgia, serif;
  --ff-body:      'Jost', sans-serif;
  --ff-arabic:    'Amiri', serif;
}

/* ══════════════════════════════════════════════════════════════
   LIGHT MODE — même identité (or + typographie + structure),
   surfaces et textes inversés pour un rendu clair et premium.
   Le Dark Mode ci-dessus reste la valeur par défaut du site.
══════════════════════════════════════════════════════════════ */
[data-theme="light"] {
  --gold:         #B8952E;
  --gold-light:   #D4AF37;
  --gold-dark:    #8A6D1F;
  --gold-pale:    #FFFDF6;
  --dark:         #FAF8F4;
  --dark-2:       #F2EEE4;
  --dark-3:       #FFFFFF;
  --dark-card:    #FFFFFF;
  --white:        #201C14;
  --cream:        #4A3F2A;
  --text-muted:   #6B6558;
  --text-light:   #3D382E;
  --border:       rgba(184,149,46,0.3);
  --shadow:       0 16px 44px rgba(120,100,50,0.10);
  --shadow-gold:  0 8px 26px rgba(184,149,46,0.18);
}
[data-theme="light"] body { background: var(--dark); }
[data-theme="light"] .whatsapp-float,
[data-theme="light"] .instagram-float,
[data-theme="light"] .facebook-float,
[data-theme="light"] .scroll-top { box-shadow: 0 6px 20px rgba(0,0,0,.15); }
[data-theme="light"] ::-webkit-scrollbar-track { background: #EFE9DC; }

/* ── Bouton de bascule de thème ────────────────────────────── */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--dark-3);
  color: var(--gold); cursor: pointer; display: flex;
  align-items: center; justify-content: center; font-size: .95rem;
  transition: var(--transition); flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--gold); transform: rotate(15deg); }
.theme-toggle .fa-sun { display: none; }
[data-theme="light"] .theme-toggle .fa-moon { display: none; }
[data-theme="light"] .theme-toggle .fa-sun { display: inline-block; }

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--ff-body);
  background: var(--dark);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── LOADER ─────────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; position: relative; }
.loader-ring {
  width: 90px; height: 90px;
  border: 2px solid rgba(212,175,55,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}
.loader-logo { color: var(--gold); }
.loader-em { display: block; font-family: var(--ff-display); font-size: 1.2rem; letter-spacing: 4px; }
.loader-moussaoui { display: block; font-size: 0.7rem; letter-spacing: 8px; color: var(--text-muted); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── NAVIGATION ─────────────────────────────────────────────── */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
[data-theme="light"] #header {
  background: rgba(250,248,244,0.92);
  box-shadow: 0 2px 16px rgba(120,100,50,0.08);
}
#header.scrolled {
  background: rgba(13,13,13,0.96);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
[data-theme="light"] #header.scrolled {
  background: rgba(250,248,244,0.96);
  box-shadow: 0 4px 24px rgba(120,100,50,0.12);
}
.navbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  max-width: 1400px; margin: 0 auto;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-traiteur { font-family: var(--ff-body); font-size: 0.6rem; letter-spacing: 5px; color: var(--text-muted); text-transform: uppercase; }
.logo-name { font-family: var(--ff-display); font-size: 1.4rem; color: var(--gold); font-weight: 700; letter-spacing: 1px; }
.logo-sub, .logo-ar { font-family: var(--ff-arabic); font-size: 0.75rem; color: var(--text-muted); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 0.82rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-light); padding: 8px 14px; border-radius: 6px;
  transition: var(--transition); position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 2px; left: 50%; right: 50%;
  height: 1px; background: var(--gold); transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { left: 14px; right: 14px; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius); min-width: 220px; padding: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: var(--transition); box-shadow: var(--shadow);
}
.dropdown::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-bottom-color: var(--border); border-top: 0;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; pointer-events: all; transform: translateX(-50%) translateY(0); }
.dropdown li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px; font-size: 0.85rem; color: var(--text-light);
}
.dropdown li a i { color: var(--gold); width: 16px; }
.dropdown li a:hover { background: rgba(212,175,55,0.08); color: var(--gold); }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-admin-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  font-size: 0.9rem; transition: var(--transition);
  border: 1px solid var(--border);
}
.nav-admin-icon.connected { color: var(--gold); border-color: var(--gold); }
.nav-admin-icon.disconnected { color: var(--text-muted); }
.nav-admin-icon:hover { background: rgba(212,175,55,0.1); color: var(--gold); border-color: var(--gold); }

/* ── Sélecteur de langue FR/AR ──────────────────────────────── */
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: 20px; padding: 3px; flex-shrink: 0;
}
.lang-option {
  padding: 5px 12px; border-radius: 16px; font-size: 0.76rem;
  font-weight: 600; color: var(--text-muted); cursor: pointer;
  transition: var(--transition); user-select: none;
}
.lang-option.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
}
.lang-option:hover:not(.active) { color: var(--gold); }

/* ── Mode RTL (arabe) ───────────────────────────────────────── */
body.rtl-mode { direction: rtl; }
body.rtl-mode .navbar { flex-direction: row-reverse; }
body.rtl-mode .nav-links { flex-direction: row-reverse; }
body.rtl-mode .dropdown { text-align: right; }
body.rtl-mode .footer-grid { direction: rtl; }
body.rtl-mode .hero-cta,
body.rtl-mode .cta-actions,
body.rtl-mode .form-nav { flex-direction: row-reverse; }
body.rtl-mode .service-feature,
body.rtl-mode .why-feature,
body.rtl-mode .contact-item,
body.rtl-mode .activity-item { flex-direction: row-reverse; text-align: right; }
body.rtl-mode { font-family: 'Amiri', 'Jost', sans-serif; }

/* ── Correction RTL : empêche l'inversion des chiffres (téléphone, prix, dates) ── */
.ltr-numbers,
[dir="ltr"],
.nav-tel span,
.pkg-price,
.pkg-price span,
.pkg-price-big,
.pkg-price-big strong,
.pkg-price-big small,
.stat-num,
.stat-plus,
.stat-pct,
.recap-value,
.price-from,
.price-from strong,
.price-from small,
.amount-cell {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block;
}

/* Force tous les éléments avec dir=ltr à rester LTR même en mode RTL global */
body.rtl-mode [dir="ltr"],
body.rtl-mode .ltr-numbers,
body.rtl-mode .pkg-price,
body.rtl-mode .pkg-price-big,
body.rtl-mode .price-from,
body.rtl-mode .nav-tel span {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}



.nav-tel {
  display: flex; align-items: center; gap: 6px;
  color: var(--gold); font-size: 0.85rem; font-weight: 500;
}
.nav-tel i { font-size: 1rem; }
.btn-reservation {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark); padding: 10px 22px; border-radius: 30px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px;
  transition: var(--transition); box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}
.btn-reservation:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,175,55,0.5); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px;
}
.nav-toggle span { display: block; height: 2px; background: var(--gold); border-radius: 2px; transition: var(--transition); }

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: #0D0900;
}
[data-theme="light"] .hero-bg {
  background: #FBF6E8;
}

/* ════════════════════════════════════════════
   BANDES DIAGONALES — Hero EL MOUSSAOUI
════════════════════════════════════════════ */
.hero-diag-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* Chaque bande = un élément pseudo incliné */
.diag-band {
  position: absolute;
  top: -30%;
  bottom: -30%;
  width: 28%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: skewX(-18deg);
  opacity: 0;
  animation: bandFadeIn 1.2s ease forwards;
}

/* Décalage d'apparition pour chaque bande */
.band-1 { left: -6%;  animation-delay: 0.1s; }
.band-2 { left: 18%;  animation-delay: 0.25s; }
.band-3 { left: 38%;  animation-delay: 0.4s;   }
.band-4 { left: 58%;  animation-delay: 0.55s; }
.band-5 { left: 78%;  animation-delay: 0.7s;   }

/* Contour doré subtil sur chaque bande */
.diag-band::before {
  content: '';
  position: absolute;
  inset: 0;
  border-left: 1.5px solid rgba(212, 175, 55, 0.35);
  border-right: 1.5px solid rgba(212, 175, 55, 0.35);
}

/* Assombrir chaque bande pour garder le texte lisible */
.diag-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 0, 0.55);
}
[data-theme="light"] .diag-band::after {
  background: rgba(255, 248, 225, 0.72);
}

/* Animation d'apparition */
@keyframes bandFadeIn {
  from { opacity: 0; transform: skewX(-18deg) translateY(20px); }
  to   { opacity: 1; transform: skewX(-18deg) translateY(0); }
}

/* Animation de zoom lent sur les photos */
.diag-band {
  animation: bandFadeIn 1.2s ease forwards, bandZoom 15s ease-in-out infinite alternate;
}
@keyframes bandZoom {
  from { background-size: 100%; }
  to   { background-size: 115%; }
}

/* Mobile : bandes plus larges, moins inclinées */
@media (max-width: 768px) {
  .diag-band { width: 40%; transform: skewX(-10deg); }
  .band-1 { left: -8%; }
  .band-2 { left: 28%; }
  .band-3 { left: 64%; }
  .band-4, .band-5 { display: none; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 50%, rgba(212,175,55,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(212,175,55,0.05) 0%, transparent 60%);
}
/* Arabesque pattern overlay */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.03'%3E%3Cpath d='M30 0l8 8-8 8-8-8 8-8zm0 44l8 8-8 8-8-8 8-8zM0 30l8-8 8 8-8 8-8-8zm44 0l8-8 8 8-8 8-8-8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}
.particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute; width: 3px; height: 3px;
  background: var(--gold); border-radius: 50%; opacity: 0;
  animation: floatUp var(--dur, 8s) var(--delay, 0s) infinite ease-in-out;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}
.hero-content {
  position: relative; z-index: 1; text-align: center;
  padding: 120px 20px 60px; max-width: 900px;
}
.hero-badge {
  display: inline-block; border: 1px solid var(--border);
  border-radius: 30px; padding: 6px 20px; font-size: 0.75rem;
  letter-spacing: 3px; color: var(--gold); margin-bottom: 28px;
  background: rgba(212,175,55,0.05);
}
.hero-title { margin-bottom: 20px; }
.hero-title-line1 {
  display: block; font-family: var(--ff-body); font-size: 1rem;
  letter-spacing: 8px; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 8px;
}
.hero-title-line2 {
  display: block; font-family: var(--ff-display);
  font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 700;
  color: var(--gold); line-height: 1.05;
}
[data-theme="light"] .hero-title-line2 {
  color: #8A6D1F;
  text-shadow: 0 1px 3px rgba(255,255,255,.8);
}
[data-theme="light"] .hero-title-line1,
[data-theme="light"] .hero-subtitle,
[data-theme="light"] .hero-badge {
  text-shadow: 0 1px 2px rgba(255,255,255,.7);
}
.hero-title-ar {
  display: block; font-family: var(--ff-arabic);
  font-size: clamp(1.5rem, 3vw, 2.5rem); color: rgba(212,175,55,0.7);
  margin-top: 8px;
}
.hero-subtitle {
  font-size: 1.05rem; color: var(--text-muted); margin-bottom: 36px; line-height: 1.8;
}
.hero-sub-ar { font-family: var(--ff-arabic); font-size: 1rem; color: rgba(212,175,55,0.5); }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 0;
  border: 1px solid var(--border); border-radius: 50px; overflow: hidden;
  background: rgba(255,255,255,0.03); backdrop-filter: blur(10px);
  max-width: 500px; margin: 0 auto;
}
[data-theme="light"] .hero-stats {
  background: rgba(255,255,255,0.65);
}
.stat-item { padding: 16px 32px; text-align: center; }
.stat-num { font-family: var(--ff-display); font-size: 2rem; color: var(--gold); font-weight: 700; }
.stat-plus, .stat-pct { font-size: 1.2rem; color: var(--gold); }
.stat-label { display: block; font-size: 0.7rem; letter-spacing: 1px; color: var(--text-muted); margin-top: 2px; text-transform: uppercase; }
.stat-divider { width: 1px; height: 50px; background: var(--border); }
.hero-scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: 0.7rem; letter-spacing: 2px; z-index: 1;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{height:20px;opacity:0.3} 50%{height:40px;opacity:1} }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark); padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.5px;
  transition: var(--transition); box-shadow: 0 4px 20px rgba(212,175,55,0.35);
  border: none;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(212,175,55,0.5); }
.btn-primary.large { padding: 16px 40px; font-size: 1rem; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--gold); color: var(--gold);
  padding: 14px 32px; border-radius: 50px;
  font-weight: 500; font-size: 0.9rem; transition: var(--transition);
}
.btn-outline:hover { background: rgba(212,175,55,0.08); transform: translateY(-2px); }
.btn-outline.light { border-color: rgba(212,175,55,0.6); color: var(--gold); }
.btn-outline.light:hover { border-color: var(--gold); background: rgba(212,175,55,0.08); }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: white;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem; transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 10px 35px rgba(37,211,102,0.5); }
.btn-whatsapp.large { padding: 16px 40px; font-size: 1rem; }
.mt-2 { margin-top: 1.5rem; }

/* ── SECTION BASE ───────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-dark { background: var(--dark-2); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; font-size: 0.72rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
  padding: 4px 16px; border: 1px solid var(--border); border-radius: 20px;
}
.section-tag.light { border-color: rgba(212,175,55,0.3); }
.section-title {
  font-family: var(--ff-display); font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--white); font-weight: 600; line-height: 1.2; margin-bottom: 16px;
}
.section-title.light { color: var(--cream); }
.section-desc { font-size: 1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.text-center { text-align: center; }

/* ── SERVICES GRID ──────────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--dark-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
  position: relative;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.service-card.featured { border-color: var(--gold); }
.service-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  background: var(--gold); color: var(--dark); font-size: 0.7rem;
  font-weight: 700; padding: 4px 12px; border-radius: 20px; letter-spacing: 1px;
}
.service-icon {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(212,175,55,0.15); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem; border: 1px solid rgba(212,175,55,0.3);
}
.service-img {
  height: 200px; background-size: cover; background-position: center;
  background-color: var(--dark-3); position: relative;
}
.service-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.7));
}
.service-body { padding: 24px; }
.service-body h3 { font-family: var(--ff-display); font-size: 1.5rem; color: var(--white); margin-bottom: 10px; }
.service-body p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; margin-bottom: 16px; }
.service-link { color: var(--gold); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.5px; display: inline-flex; align-items: center; gap: 6px; }
.service-link:hover { gap: 10px; }

/* ── WHY US ─────────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-img-frame { position: relative; }
.why-img {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background-size: cover; background-position: center;
  background-color: var(--dark-3);
  border: 1px solid var(--border);
}
.why-img-deco {
  position: absolute; inset: -15px; border-radius: 24px;
  border: 1px solid rgba(212,175,55,0.15); z-index: -1;
}
.why-badge-float {
  position: absolute; bottom: 30px; right: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark); padding: 16px 22px; border-radius: 14px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-gold);
}
.why-badge-float i { font-size: 1.8rem; }
.why-badge-float span { font-size: 0.8rem; font-weight: 700; line-height: 1.4; }
.why-desc { color: var(--text-muted); margin-bottom: 32px; line-height: 1.8; }
.why-features { display: flex; flex-direction: column; gap: 20px; }
.why-feature { display: flex; gap: 16px; align-items: flex-start; }
.why-icon {
  width: 46px; height: 46px; min-width: 46px; border-radius: 12px;
  background: rgba(212,175,55,0.1); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem;
}
.why-feature h4 { font-size: 0.95rem; color: var(--white); margin-bottom: 4px; }
.why-feature p { font-size: 0.85rem; color: var(--text-muted); }

/* ── PACKAGES ───────────────────────────────────────────────── */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 30px; }
.pkg-card {
  background: var(--dark-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
  position: relative;
}
.pkg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.pkg-card.featured { border-color: var(--gold); transform: scale(1.02); }
.pkg-card.featured:hover { transform: scale(1.02) translateY(-6px); }
.pkg-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--dark); font-size: 0.7rem;
  font-weight: 700; padding: 5px 20px; border-radius: 0 0 12px 12px;
  letter-spacing: 1px; z-index: 2;
}
.pkg-header { padding: 32px 24px 24px; text-align: center; }
.pkg-header.bronze { background: linear-gradient(135deg, #3D2000, #1A0D00); }
.pkg-header.gold   { background: linear-gradient(135deg, #2D2000, #1A1400); }
.pkg-header.platinum { background: linear-gradient(135deg, #1A1A2E, #0D0D1A); }
[data-theme="light"] .pkg-header.bronze { background: linear-gradient(135deg, #F5E3CC, #EAD1A8); }
[data-theme="light"] .pkg-header.gold   { background: linear-gradient(135deg, #FBF0D2, #F3E0A8); }
[data-theme="light"] .pkg-header.platinum { background: linear-gradient(135deg, #E8E8F0, #D8D8E8); }
.pkg-icon { font-size: 2rem; margin-bottom: 12px; }
.pkg-header.bronze .pkg-icon { color: #CD7F32; }
.pkg-header.gold   .pkg-icon { color: var(--gold); }
.pkg-header.platinum .pkg-icon { color: #C0C0C0; }
.pkg-header h3 { font-family: var(--ff-display); font-size: 1.8rem; color: var(--white); margin-bottom: 10px; }
.pkg-price { font-size: 1rem; margin-bottom: 4px; }
.pkg-price span { font-family: var(--ff-display); font-size: 2.2rem; color: var(--gold); font-weight: 700; }
.pkg-header p { font-size: 0.8rem; color: var(--text-muted); }
.pkg-features { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.pkg-features li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-light); }
.pkg-features li i.fa-check { color: var(--gold); }
.pkg-features li.disabled { color: var(--text-muted); }
.pkg-features li.disabled i.fa-times { color: #555; }
.btn-pkg {
  display: block; margin: 0 24px 24px; padding: 12px;
  border: 1.5px solid var(--border); border-radius: 30px; text-align: center;
  color: var(--gold); font-weight: 600; font-size: 0.85rem;
  transition: var(--transition);
}
.btn-pkg:hover, .btn-pkg.gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--dark); border-color: var(--gold); }
.packages-note {
  text-align: center; padding: 16px 24px; border-radius: 12px;
  background: rgba(212,175,55,0.05); border: 1px dashed var(--border);
  color: var(--text-muted); font-size: 0.88rem;
}
.packages-note i { color: var(--gold); margin-right: 6px; }
.packages-note a { color: var(--gold); font-weight: 600; }

/* ── GALERIE MOSAIQUE ───────────────────────────────────────── */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 12px; margin-bottom: 40px;
}
.gallery-item {
  border-radius: 12px; overflow: hidden; background-size: cover;
  background-position: center; background-color: var(--dark-3);
  position: relative; cursor: pointer;
}
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item.tall  { grid-row: span 2; }
.gallery-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--gold); font-family: var(--ff-display); font-size: 1.1rem; font-style: italic; }

/* ── TÉMOIGNAGES ────────────────────────────────────────────── */
.testimonials-slider { position: relative; overflow: hidden; }
.testimonial-track {
  display: flex; gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-card {
  min-width: calc(33.333% - 16px); background: var(--dark-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; flex-shrink: 0;
}
.testi-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark); display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 1.3rem; font-weight: 700;
}
.testi-author strong { display: block; color: var(--white); font-size: 0.9rem; }
.testi-author span { font-size: 0.78rem; color: var(--text-muted); }
.testi-controls {
  display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px;
}
.testi-prev, .testi-next {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: var(--transition);
}
.testi-prev:hover, .testi-next:hover { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: var(--transition);
}
.testi-dot.active { background: var(--gold); width: 24px; border-radius: 4px; }

/* ── CTA SECTION ────────────────────────────────────────────── */
.section-cta {
  position: relative; padding: 100px 0; text-align: center; overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, #1A1000 0%, #0D0900 50%, #1A1000 100%);
}
[data-theme="light"] .cta-bg {
  background:
    linear-gradient(135deg, #FBF6E8 0%, #F3E7C4 50%, #FBF6E8 100%);
}
.cta-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(212,175,55,0.1), transparent);
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-family: var(--ff-display); font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white); margin-bottom: 16px; line-height: 1.25;
}
.cta-content p { color: var(--text-muted); font-size: 1rem; margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ─────────────────────────────────────────────────── */
#footer { background: var(--dark-2); border-top: 1px solid var(--border); }
.footer-top { padding: 70px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; }
.footer-brand .footer-logo { margin-bottom: 18px; }
.footer-brand .logo-name { font-size: 1.5rem; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.9rem; transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,175,55,0.08); }
.footer-col h4 { font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: var(--text-muted); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 12px; }
.footer-contact li i { color: var(--gold); margin-top: 3px; min-width: 14px; }
.footer-contact li a:hover { color: var(--gold); }
.footer-bottom {
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); transition: var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ── FLOATING BUTTONS ───────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 90px; right: 24px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 8px 30px rgba(37,211,102,0.6); }
.instagram-float {
  position: fixed; bottom: 156px; right: 24px; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; box-shadow: 0 4px 20px rgba(214,36,159,0.4);
  transition: var(--transition);
}
.instagram-float:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 8px 30px rgba(214,36,159,0.6); }
.facebook-float {
  position: fixed; bottom: 216px; right: 24px; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%;
  background: #1877F2; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; box-shadow: 0 4px 20px rgba(24,119,242,0.4);
  transition: var(--transition);
}
.facebook-float:hover { transform: scale(1.1) translateY(-3px); box-shadow: 0 8px 30px rgba(24,119,242,0.6); }
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark); display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; box-shadow: var(--shadow-gold);
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); }
@media(max-width:480px) {
  .whatsapp-float { bottom: 80px; right: 16px; width: 50px; height: 50px; font-size: 1.3rem; }
  .instagram-float { bottom: 138px; right: 18px; width: 46px; height: 46px; font-size: 1.15rem; }
  .facebook-float { bottom: 192px; right: 18px; width: 46px; height: 46px; font-size: 1.15rem; }
  .scroll-top { bottom: 20px; right: 18px; width: 40px; height: 40px; }
}

/* ══════════════════════════════════════════════════════════════
   PAGE : RÉSERVATION / DEVIS
══════════════════════════════════════════════════════════════ */
.page-hero {
  padding: 140px 0 60px; text-align: center;
  background: linear-gradient(135deg, #0D0D0D, #1A1400, #0D0D0D);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .page-hero {
  background: linear-gradient(135deg, #FBF6E8, #F3E7C4, #FBF6E8);
}
.page-hero h1 {
  font-family: var(--ff-display); font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white); margin-bottom: 12px;
}
.page-hero p { color: var(--text-muted); font-size: 1rem; }

/* Form Steps */
.form-stepper { padding: 60px 0; }
.steps-nav { display: flex; justify-content: center; margin-bottom: 50px; gap: 0; }
.step-item {
  display: flex; align-items: center; gap: 10px;
}
.step-item:not(:last-child)::after {
  content: ''; width: 60px; height: 1px;
  background: var(--border); margin: 0 4px;
}
.step-dot {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--dark-card);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; color: var(--text-muted); font-weight: 600;
  transition: var(--transition);
}
.step-item.active .step-dot { border-color: var(--gold); background: var(--gold); color: var(--dark); }
.step-item.done .step-dot { border-color: var(--gold); color: var(--gold); }
.step-label { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.5px; }
.step-item.active .step-label { color: var(--gold); }
.step-panel { display: none; animation: fadeInUp 0.4s ease; }
.step-panel.active { display: block; }
@keyframes fadeInUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

/* Form Styles */
.form-card {
  background: var(--dark-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px; max-width: 700px; margin: 0 auto;
}
.form-card h3 { font-family: var(--ff-display); font-size: 1.8rem; color: var(--white); margin-bottom: 8px; }
.form-card .step-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.8rem; letter-spacing: 0.5px; color: var(--text-muted); text-transform: uppercase; }
.form-group label span { color: var(--gold); }
.form-control {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: 10px; padding: 13px 16px; color: var(--white);
  font-family: var(--ff-body); font-size: 0.9rem; transition: var(--transition);
  outline: none; width: 100%;
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.1); }
.form-control::placeholder { color: #555; }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { appearance: none; cursor: pointer; }
.event-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.event-option {
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 20px 14px; text-align: center; cursor: pointer;
  transition: var(--transition); background: var(--dark-3);
}
.event-option:hover { border-color: var(--gold); }
.event-option.selected { border-color: var(--gold); background: rgba(212,175,55,0.08); }
.event-option i { font-size: 1.6rem; color: var(--gold); margin-bottom: 8px; display: block; }
.event-option span { font-size: 0.82rem; color: var(--text-light); }
.service-checkboxes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-checkbox-item {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: 10px; padding: 12px;
  cursor: pointer; transition: var(--transition);
}
.service-checkbox-item:hover { border-color: var(--gold); background: rgba(212,175,55,0.05); }
.service-checkbox-item input[type="checkbox"] { accent-color: var(--gold); width: 16px; height: 16px; }
.service-checkbox-item label { font-size: 0.85rem; color: var(--text-light); cursor: pointer; }
.form-nav { display: flex; justify-content: space-between; margin-top: 32px; gap: 12px; }
.btn-prev-step {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); color: var(--text-muted);
  padding: 12px 24px; border-radius: 30px; font-size: 0.88rem;
  transition: var(--transition); background: none; font-family: var(--ff-body);
}
.btn-prev-step:hover { border-color: var(--gold); color: var(--gold); }
.btn-next-step {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark); padding: 12px 32px; border-radius: 30px;
  font-size: 0.88rem; font-weight: 700; transition: var(--transition);
  font-family: var(--ff-body); border: none; cursor: pointer;
}
.btn-next-step:hover { box-shadow: var(--shadow-gold); transform: translateY(-2px); }
/* Summary */
.recap-section { margin-bottom: 20px; }
.recap-section h4 { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.recap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.recap-item { background: var(--dark-3); border-radius: 10px; padding: 12px 16px; }
.recap-item .recap-label { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 4px; }
.recap-item .recap-value { font-size: 0.9rem; color: var(--white); font-weight: 500; }
.success-msg {
  text-align: center; padding: 40px;
}
.success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(212,175,55,0.1); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; font-size: 2rem; color: var(--gold);
}
.success-msg h3 { font-family: var(--ff-display); font-size: 2rem; color: var(--white); margin-bottom: 12px; }
.success-msg p { color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════════
   PAGE : ADMIN LOGIN
══════════════════════════════════════════════════════════════ */
.admin-login-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #050505 0%, #0D0900 50%, #050505 100%);
  display: flex; align-items: center; justify-content: center;
}
.login-card {
  background: var(--dark-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 48px 44px; width: 100%; max-width: 440px;
  box-shadow: var(--shadow);
}
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo .logo-name { font-size: 1.8rem; }
.login-logo p { color: var(--text-muted); font-size: 0.82rem; margin-top: 6px; }
.login-title { font-family: var(--ff-display); font-size: 1.5rem; color: var(--white); margin-bottom: 6px; }
.login-sub { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 28px; }
.login-footer { text-align: center; margin-top: 20px; }
.login-footer a { color: var(--gold); font-size: 0.82rem; }

/* ══════════════════════════════════════════════════════════════
   PAGE : ADMIN DASHBOARD
══════════════════════════════════════════════════════════════ */
.admin-layout { display: flex; min-height: 100vh; background: var(--dark); }
/* Sidebar */
.sidebar {
  width: 260px; min-width: 260px; background: var(--dark-2);
  border-right: 1px solid var(--border); display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(212,175,55,.25) transparent;
}
.sidebar::-webkit-scrollbar { width: 5px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(212,175,55,.25); border-radius: 10px; }
.sidebar-header {
  padding: 16px 20px; border-bottom: 1px solid var(--border); text-align: center;
}
.sidebar-nav { padding: 10px 12px; flex: 1; }
.sidebar-label {
  font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text-muted); padding: 10px 10px 4px;
}
.sidebar-link {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 14px; border-radius: 10px; color: var(--text-muted);
  font-size: 0.86rem; transition: var(--transition); margin-bottom: 1px;
}
.sidebar-link i { width: 18px; font-size: 0.95rem; }
.sidebar-link:hover { background: rgba(212,175,55,0.07); color: var(--gold); }
.sidebar-link.active { background: rgba(212,175,55,0.12); color: var(--gold); border-left: 3px solid var(--gold); }
.sidebar-badge {
  margin-left: auto; background: var(--gold); color: var(--dark);
  font-size: 0.65rem; font-weight: 700; padding: 2px 7px; border-radius: 10px;
}
.sidebar-footer { padding: 16px; border-top: 1px solid var(--border); }
/* Main admin content */
.admin-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.admin-topbar {
  padding: 16px 32px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--dark-2); position: sticky; top: 0; z-index: 100;
}
.topbar-title h2 { font-size: 1.1rem; color: var(--white); }
.topbar-title p { font-size: 0.8rem; color: var(--text-muted); }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.topbar-btn {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--dark-card);
  color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: var(--transition); position: relative;
}
.topbar-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ── Topbar admin : version compacte sur mobile ──────────────
   Corrige le débordement horizontal (titre qui pousse les
   boutons hors écran) présent sur toutes les pages admin. */
@media (max-width: 768px) {
  .admin-topbar { padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  .topbar-title h2 { font-size: .95rem; }
  .topbar-title p { font-size: .72rem; }
  .topbar-actions { gap: 8px; }
  .topbar-actions .btn-primary { padding: 8px 12px !important; }
  .topbar-actions .btn-primary span { display: none; }
}
.notif-badge {
  position: absolute; top: -4px; right: -4px; width: 16px; height: 16px;
  background: var(--gold); color: var(--dark); border-radius: 50%;
  font-size: 0.6rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.admin-avatar {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark); display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 1.1rem; font-weight: 700; cursor: pointer;
}
.admin-content { padding: 32px; overflow-y: auto; flex: 1; }
/* Stats Cards */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card {
  background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: var(--transition);
}
.stat-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.stat-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.stat-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.stat-card-icon.gold  { background: rgba(212,175,55,0.15); color: var(--gold); }
.stat-card-icon.green { background: rgba(37,211,102,0.15); color: #25D366; }
.stat-card-icon.blue  { background: rgba(59,130,246,0.15); color: #60A5FA; }
.stat-card-icon.red   { background: rgba(239,68,68,0.15);  color: #F87171; }
.stat-card-trend {
  font-size: 0.75rem; padding: 3px 8px; border-radius: 20px; font-weight: 600;
}
.trend-up   { background: rgba(37,211,102,0.1); color: #25D366; }
.trend-down { background: rgba(239,68,68,0.1);  color: #F87171; }
.stat-card-value { font-family: var(--ff-display); font-size: 2.2rem; color: var(--white); font-weight: 700; margin-bottom: 4px; }
.stat-card-label { font-size: 0.78rem; color: var(--text-muted); }
/* Data Table */
.admin-table-wrap {
  background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 24px;
}
.table-header {
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.table-header h3 { font-size: 0.95rem; color: var(--white); }
.table-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 14px;
}
.table-search input {
  background: none; border: none; color: var(--white); outline: none; font-size: 0.85rem; width: 180px;
  font-family: var(--ff-body);
}
.table-search i { color: var(--text-muted); font-size: 0.85rem; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  padding: 13px 20px; text-align: left; font-size: 0.7rem;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted);
  border-bottom: 1px solid var(--border); font-weight: 500;
}
.data-table td { padding: 14px 20px; font-size: 0.87rem; color: var(--text-light); border-bottom: 1px solid rgba(255,255,255,0.04); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(212,175,55,0.03); }
.status-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px;
  border-radius: 20px; font-size: 0.72rem; font-weight: 600;
}
.status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-confirmee  { background: rgba(37,211,102,0.1);  color: #25D366; }
.status-en_attente { background: rgba(251,191,36,0.1);  color: #FBB724; }
.status-terminee   { background: rgba(59,130,246,0.1);  color: #60A5FA; }
.status-annulee    { background: rgba(239,68,68,0.1);   color: #F87171; }
.status-en_cours   { background: rgba(168,85,247,0.1);  color: #C084FC; }
.action-btns { display: flex; gap: 6px; }
.btn-action {
  width: 30px; height: 30px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; font-size: 0.78rem;
  transition: var(--transition);
}
.btn-action.view   { background: rgba(59,130,246,0.1);  color: #60A5FA; }
.btn-action.edit   { background: rgba(251,191,36,0.1);  color: #FBB724; }
.btn-action.delete { background: rgba(239,68,68,0.1);   color: #F87171; }
.btn-action:hover  { filter: brightness(1.3); transform: scale(1.1); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { gap: 40px; }
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: 1fr; }
  .pkg-card.featured { transform: none; }
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 200px); }
  .gallery-item.large { grid-column: span 1; grid-row: span 1; }
  .testimonial-track { flex-direction: column; }
  .testimonial-card { min-width: 100%; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
}
@media (max-width: 768px) {
  .navbar { padding: 12px 16px; flex-wrap: nowrap; }
  .nav-links { display: none; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; width: 280px; max-width: 80vw; background: var(--dark-2); border-left: 1px solid var(--border); padding: 80px 20px 30px; gap: 4px; transform: translateX(100%); transition: var(--transition); overflow-y: auto; z-index: 1001; }
  .nav-links.open { display: flex; transform: translateX(0); }
  /* En arabe (RTL), le panneau doit rester vertical (pas la ligne
     horizontale du bureau) et glisser depuis la GAUCHE, pas la droite. */
  body.rtl-mode .nav-links { flex-direction: column !important; right: auto; left: 0; border-left: none; border-right: 1px solid var(--border); transform: translateX(-100%); }
  body.rtl-mode .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; z-index: 1002; flex-shrink: 0; order: 99; }
  .nav-tel { display: none; }
  .hero-title-line2 { font-size: clamp(2.5rem, 10vw, 4.5rem); }
  .hero-stats { flex-direction: column; border-radius: var(--radius); }
  .stat-divider { width: 80px; height: 1px; }
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  /* Le panneau admin utilise aussi la classe .sidebar pour sa navigation
     latérale — on la réaffiche ici, chaque page admin gère elle-même
     son ouverture/fermeture mobile via sa propre règle .sidebar.open */
  .admin-layout .sidebar { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .event-options { grid-template-columns: repeat(2, 1fr); }
  .form-row.cols-2 { grid-template-columns: 1fr; }
  .service-checkboxes { grid-template-columns: 1fr; }

  /* ── Logo compact sur mobile (évite le retour à la ligne x3) ── */
  .nav-logo { min-width: 0; flex-shrink: 1; overflow: hidden; }
  .logo-text { line-height: 1.05; white-space: nowrap; }
  .logo-traiteur { font-size: 0.48rem; letter-spacing: 2px; }
  .logo-name { font-size: 1rem; }
  .logo-sub { display: none; }

  /* ── Actions à droite : tout se resserre pour laisser la place au ☰ ── */
  .nav-actions { gap: 6px; flex-shrink: 0; }
  .btn-reservation { padding: 8px 12px; font-size: 0.68rem; gap: 4px; white-space: nowrap; }
  .lang-switch { padding: 2px; }
  .lang-option { padding: 4px 8px; font-size: 0.66rem; }
  .nav-admin-icon { width: 30px; height: 30px; font-size: 0.78rem; }
}
@media (max-width: 400px) {
  .navbar { padding: 10px 12px; }
  .logo-traiteur { display: none; }
  .btn-reservation { padding: 7px 9px; font-size: 0.6rem; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .event-options { grid-template-columns: 1fr 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ══════════════════════════════════════════════════════════════
   REFONTE UI/UX — Accueil (index.php)
   Services (4 colonnes, plus spacieux), Packages simplifiés,
   Galerie preview, Barre d'actions flottante mobile.
══════════════════════════════════════════════════════════════ */

/* Services : 4 colonnes plus grandes et aérées */
.services-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.services-grid-4 .service-img { height: 220px; }
.services-grid-4 .service-icon { display: none; } /* icône redondante avec la photo, on l'enlève pour épurer */
@media (max-width: 1100px) { .services-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .services-grid-4 { grid-template-columns: 1fr; } }

/* Packages : version simplifiée sans la longue checklist */
.packages-grid-simple .pkg-card { padding-bottom: 28px; }
.pkg-summary {
  text-align: center; color: var(--text-muted); font-size: .9rem;
  line-height: 1.6; padding: 20px 24px 8px; margin: 0;
}

/* Hero : phrase qualitative de repli quand aucune statistique réelle n'est disponible */
.hero-qualitative {
  color: rgba(255,255,255,.55); font-size: .95rem; font-style: italic;
  max-width: 480px; margin: 0 auto;
}

/* Galerie : grille de vraies photos sur la page d'accueil */
.gallery-preview-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
  margin-top: 40px;
}
.gallery-preview-item {
  display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  position: relative;
}
.gallery-preview-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.gallery-preview-item:hover img { transform: scale(1.08); }
@media (max-width: 900px) { .gallery-preview-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Barre d'actions flottante mobile : WhatsApp | Instagram | Réserver */
.mobile-action-bar { display: none; }
@media (max-width: 768px) {
  .whatsapp-float { display: none; } /* remplacé par la barre ci-dessous sur mobile, lien WhatsApp toujours fonctionnel */
  .mobile-action-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
    background: rgba(10,10,15,.97); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(212,175,55,.2);
    padding: 8px max(8px, env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-bottom));
  }
  .mab-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 6px 4px; color: var(--text-muted); font-size: .65rem; font-weight: 600;
    text-decoration: none;
  }
  .mab-item i { font-size: 1.15rem; }
  .mab-whatsapp i { color: #25D366; }
  .mab-instagram i { color: #E1306C; }
  .mab-reserve { color: var(--gold); }
  .mab-reserve i { color: var(--gold); }
  /* Laisse de la place en bas de page pour ne pas cacher le contenu */
  body { padding-bottom: 62px; }
}
