:root {
  --bg: #0b1220;
  --glass: rgba(15, 23, 42, 0.35);
  --card: rgba(255, 255, 255, .05);
  --line: rgba(255, 255, 255, 0.22);
  --text: rgba(255, 255, 255, .94);
  --muted: rgba(255, 255, 255, .82);
  --accent: #76b1c7;
  --accent-2: #f7bf8a;
  --shadow: 0 20px 60px rgba(0, 0, 0, .32);
  --overlay: rgba(3, 8, 18, .30);
  --radius: 20px;
  --radius2: 32px;
  --max: 1100px;
}

body.dark-theme,
body:not(.light-theme) {
  --bg: #0b1220;
  --glass: rgba(15, 23, 42, 0.35);
  --card: rgba(255, 255, 255, .05);
  --line: rgba(255, 255, 255, 0.22);
  --text: rgba(255, 255, 255, .94);
  --muted: rgba(255, 255, 255, .82);
  --accent: #76b1c7;
  --accent-2: #f7bf8a;
  --shadow: 0 20px 60px rgba(0, 0, 0, .32);
  --overlay: rgba(3, 8, 18, .30);
}

.theme-toggle-btn {
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid var(--line) !important;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

.theme-toggle-btn:hover {
  transform: scale(1.1) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

body.dark-theme .theme-toggle-btn i {
  color: #facc15 !important;
}

body.light-theme .theme-toggle-btn i {
  color: #0284c7 !important;
}

body.light-theme {
  --bg: #cbd5e1;
  --glass: rgba(255, 255, 255, 0.35);
  --card: rgba(255, 255, 255, 0.22);
  --line: rgba(255, 255, 255, 0.75);
  --text: #020617;
  --muted: #334155;
  --accent: #2563eb;
  --accent-2: #ff5500;
  --overlay: rgba(240, 246, 255, .05);
  --shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-size: 16px;
  line-height: 1.6;
}

body {
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background .4s ease, color .4s ease;
}

h1, h2, h3, h4, h5, h6,
.section h2,
.section-title,
.section-head h2,
.brand b,
.space-title,
.service-title,
.room-title,
.price {
  font-family: 'Outfit', 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif !important;
  letter-spacing: -0.02em !important;
}

.section-title,
.section h2 {
  font-size: clamp(24px, 3.2vw, 36px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin: 6px 0 4px !important;
  color: var(--text) !important;
}

.glass,
.card,
.heroCard,
.section,
.nav,
.menu,
.btn,
.map {
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease, color .4s ease;
}

.bg {
  position: fixed;
  inset: 0;
  background: url("assets/background.png") center center / cover no-repeat;
  z-index: -2;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
  transition: background .4s ease;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px 72px;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.nav {
  position: sticky;
  top: 12px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius2) !important;
  border: 1px solid var(--line) !important;
  background: var(--glass) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  box-shadow: var(--shadow) !important;
}

body.light-theme .nav {
  background: var(--glass) !important;
  box-shadow: var(--shadow) !important;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
}

.navActions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  object-fit: cover;
  border: 1.5px solid var(--line);
  flex-shrink: 0;
}

.brand b {
  letter-spacing: .4px;
  font-size: 14px;
  line-height: 1.25;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.menu a,
.menu button {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
}

.menu a:hover,
.menu button:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12);
}

#navToggle {
  display: none;
}

@media (max-width: 600px) {
  .wrap {
    padding: 12px 10px 60px;
  }

  .nav {
    padding: 8px 12px;
    top: 8px;
    gap: 8px;
    margin-bottom: 14px;
    border-radius: 18px !important;
  }

  .logo {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand b {
    font-size: 12px;
    line-height: 1.2;
  }

  .brand span {
    font-size: 11px !important;
    color: var(--muted);
  }

  #navToggle {
    display: inline-flex;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
  }

  .menu {
    position: absolute;
    top: 62px;
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--line);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.6);
    padding: 14px;
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35) !important;
  }

  body.light-theme .menu {
    background: rgba(255, 255, 255, 0.52) !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.98) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15) !important;
  }

  .menu.open {
    display: flex;
  }
}

.cta {
  background: linear-gradient(135deg, rgba(255, 211, 122, .95), rgba(125, 211, 252, .80));
  color: #08101f !important;
  border: none !important;
  font-weight: 700;
}

.hero {
  margin-top: 18px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: stretch;
}

.pill {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  max-width: 100%;
  box-sizing: border-box;
}

.pill span {
  color: var(--accent);
}

h1 {
  margin: 14px 0 10px;
  font-size: clamp(24px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: .4px;
  color: var(--text);
}

.sub {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 52ch;
}

.section h2 {
  color: var(--text);
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, .16);
  font-weight: 650;
  cursor: pointer;
  transition: transform .14s ease, background .14s ease, box-shadow .14s ease;
  user-select: none;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .24);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
}

.btn.primary {
  background: linear-gradient(135deg, #8bc1d8, #f6c68f) !important;
  color: #1b2b3a !important;
  border: none !important;
  font-weight: 700 !important;
}

.btn.outline {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .40);
  color: #e5f1ff;
}

.btn.reserve {
  background: linear-gradient(135deg, #f28564, #e8b877) !important;
  color: #1b2b3a !important;
  font-weight: 800 !important;
  border: none !important;
  letter-spacing: .7px;
  box-shadow: 0 12px 30px rgba(241, 132, 100, .50) !important;
  text-transform: uppercase;
}

.btn.reserve:hover,
.btn.primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 16px 24px rgba(241, 132, 100, .62) !important;
}

.btn.cta {
  background: linear-gradient(135deg, #8fc7d5, #ffd2a2) !important;
  color: #1b2b3a !important;
  border: none !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 22px rgba(108, 167, 187, .38) !important;
  text-transform: none;
  letter-spacing: .3px;
}

/* Theme-specific button tweaks */
body.light-theme .btn.outline {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, .18);
}

body.dark-theme .btn.reserve,
body.dark-theme .btn.primary {
  background: linear-gradient(135deg, #f28564, #e8b877) !important;
  color: #1b2b3a !important;
  border: none !important;
}

.cta:hover {
  box-shadow: 0 12px 20px rgba(108, 167, 187, .52);
  transform: translateY(-1px);
}

.heroCard {
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.info-card-image {
  margin: 10px 0;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 360px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
}

.info-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease, filter .5s ease;
}

.info-card-image:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) brightness(1.02);
}

@media (max-width: 600px) {
  .info-card-image {
    max-height: 300px;
    aspect-ratio: 2/3;
  }
}

@media (max-width: 480px) {
  .info-card-image {
    max-height: 240px;
    aspect-ratio: 4/5;
  }
}

.info-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.4));
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 12px;
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
  text-shadow: 0 0 10px rgba(0, 0, 0, .35);
}

.info-card-overlay span {
  font-size: 0.92rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.stat {
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
}

.stat b {
  display: block;
  font-size: 18px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

section {
  margin-top: 18px;
}

.section {
  padding: 20px;
}

.section h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: .3px;
}

.section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

/* Spécifique à la section espaces : 2 colonnes pour que les cartes occupent tout l'espace */
#espaces .grid {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  padding: 16px;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  outline: none;
  position: relative;
  transform: translateZ(0);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  background-color: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22) !important;
}

body.light-theme .card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

body.light-theme .card:hover {
  background-color: rgba(255, 255, 255, 0.65) !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12) !important;
}

/* Protection spécifique pour les cartes avec image de fond (Infos rapides, Aperçu, Pourquoi nous choisir) */
.card-image,
.card[style*="background-image"] {
  position: relative;
  overflow: hidden;
}

.card-image::before,
.card[style*="background-image"]::before {
  display: none !important;
  content: none !important;
}

.card-image:hover,
.card[style*="background-image"]:hover {
  background-color: transparent !important;
  transform: translateY(-3px);
  filter: brightness(1.04);
}

.tag {
  width: max-content;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  color: var(--muted);
}

.price {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .2px;
}

.small {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.cardActions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* --- SECTION RESTAURANT INSPIRED DESIGN --- */
.restaurant-section {
  position: relative;
  padding: 40px 30px;
}

.text-center {
  text-align: center;
  margin-bottom: 40px;
}

.menu-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
  /* Légèrement moins d'espace avec choose-us-area */
  background: rgba(15, 23, 42, 0.5);
  /* Moins opaque que le reste */
  padding: 30px;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

body.light-theme .menu-container {
  background: rgba(255, 255, 255, 0.4);
  /* Réduction du blanc pour l'effet verre */
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-left: 1px solid rgba(255, 255, 255, 0.9);
}

.food-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.food-item:hover {
  transform: translateX(5px);
}

.food-img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--line);
}

.food-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.food-info {
  flex: 1;
}

.food-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.food-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text);
}

.food-line {
  flex: 1;
  border-bottom: 1px dashed var(--line);
  position: relative;
  top: -4px;
}

.food-price {
  font-weight: 800;
  color: var(--accent-2);
  font-size: 16px;
}

.food-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}

.choose-us-area {
  padding-top: 0;
}

/* Supprime l'espace supérieur */
.image-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  /* Positionnement plus naturel en haut à gauche */
  background: var(--accent-2);
  color: #000;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 15;
  /* S'assure de rester au-dessus du filtre blanc (index 5) */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* Désactivation spécifique du survol pour l'image de gauche du restaurant */
#restauration .card.card-image {
  cursor: default;
  transform: none !important;
  border: none !important;
  /* Supprime le trait/bordure */
  background-color: transparent !important;
  overflow: hidden;
}

#restauration .card.card-image::before {
  display: none !important;
  /* Supprime le filtre blanc au survol */
}

/* Désactivation du survol pour les images décoratives */
#restauration .card.card-image {
  cursor: default;
  transform: none !important;
}

#restauration .card.card-image::before {
  display: none !important;
}

/* Système de commande "Panier" dans le formulaire */
.order-builder {
  margin-top: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.order-item:last-child {
  border: none;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.choose-list {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.choose-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.c-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.c-text b {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
  color: var(--text);
}

.c-text span {
  font-size: 13px;
  color: var(--muted);
  display: block;
  line-height: 1.4;
}

/* --- HARMONISATION GLASSMORPHISM DE LA MODALE CARTE RESTAURANT COMPLET --- */
.menu-cat {
  margin: 28px 0 16px;
  color: var(--accent-2) !important;
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-bottom: 1.5px solid var(--accent-2);
  padding-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-cat:first-of-type {
  margin-top: 8px;
}

.full-menu-content {
  padding: 4px 0;
}

.full-menu-content .food-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: var(--glass) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

body.light-theme .full-menu-content .food-item {
  background: rgba(255, 255, 255, 0.55) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.85) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
}

.full-menu-content .food-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

.full-menu-content .food-img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.full-menu-content .food-info {
  flex: 1;
  min-width: 0;
}

.full-menu-content .food-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.full-menu-content .food-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text) !important;
}

.full-menu-content .food-line {
  display: none;
}

.full-menu-content .food-price {
  font-weight: 800;
  color: var(--accent-2) !important;
  font-size: 16px;
  white-space: nowrap;
}

.full-menu-content .food-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .full-menu-content .food-item {
    padding: 12px;
    gap: 12px;
  }

  .full-menu-content .food-img {
    width: 58px;
    height: 58px;
  }

  .full-menu-content .food-title {
    font-size: 14.5px;
  }

  .full-menu-content .food-price {
    font-size: 14.5px;
  }
}

.favorite-section {
  margin-top: 24px;
}

.favorite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Cartes des plats favoris : transparentes au repos -> deviennent blanches au survol */
.favorite-item {
  position: relative;
  flex-direction: row !important;
  align-items: center;
  gap: 16px;
  min-height: 140px;
  padding: 16px;
  overflow: hidden;
  background: var(--glass) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: var(--radius2) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.favorite-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #ffffff !important;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 5;
  pointer-events: none;
}

.favorite-item:hover::before {
  opacity: 0.95 !important;
}

.favorite-item>* {
  position: relative;
  z-index: 10;
}

.favorite-item h4 {
  margin: 6px 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  transition: color 0.35s ease;
}

.favorite-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  transition: color 0.35s ease;
}

.favorite-item:hover h4,
.favorite-item:hover p {
  color: #0f172a !important;
}

.favorite-thumb {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.favorite-thumb img,
.favorite-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.favorite-thumb img {
  object-fit: cover;
}

.favorite-thumb-placeholder {
  color: var(--accent);
  font-size: 28px;
  background: rgba(118, 177, 199, 0.12);
}

.favorite-body {
  flex: 1;
  min-width: 0;
}

.favorite-tags-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.favorite-type-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(118, 177, 199, 0.15);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(118, 177, 199, 0.3);
}

.favorite-item:hover .favorite-type-pill {
  background: #e0f2fe !important;
  color: #0369a1 !important;
  border-color: #bae6fd !important;
}

.favorite-meta {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.favorite-price-tag {
  color: var(--accent-2);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: color 0.35s ease;
}

.favorite-item:hover .favorite-price-tag {
  color: #ea580c !important;
}

.favorite-empty {
  padding: 22px;
  background: #ffffff !important;
  border: 1px dashed rgba(0, 0, 0, 0.15) !important;
  border-radius: var(--radius2);
  color: #475569 !important;
  text-align: center;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

@media (max-width: 1024px) {
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .package-grid {
    grid-template-columns: 1fr;
  }
}

.package-card {
  min-height: 220px;
  justify-content: space-between;
}

.package-card .price {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-2);
}

.package-card ul {
  list-style: none;
  margin: 12px 0 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
}

.package-card li::before {
  content: "✓";
  color: var(--accent-2);
  margin-right: 6px;
  font-weight: 800;
}

.package-card:hover ul,
.package-card:hover li,
.package-card:hover li::before {
  color: #000000 !important;
}

.floating-shape {
  position: absolute;
  z-index: -1;
  opacity: 0.05;
  pointer-events: none;
}

.s1 {
  top: 5%;
  right: 5%;
  width: 150px;
}

@media (max-width: 600px) {
  .menu-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .restaurant-section {
    padding: 25px 15px;
  }

  .food-title {
    font-size: 15px;
  }

  #restauration .card-image {
    min-height: 220px;
  }

  /* Hauteur réduite pour mobile */
  .image-badge {
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 9px;
  }

  /* Badge plus petit sur smartphone */
  .choose-us-area {
    padding-top: 5px;
  }
}

/* --- EFFET TRANSPARENT AU REPOS -> BLANC AU SURVOL (SANS GROSSISSEMENT) --- */
#services .card,
#espaces .card,
#restauration .card:not(.card-image),
#chambres .card,
.choose-content,
.package-special-card,
.menu-pdf-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  outline: none;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Voile blanc au survol */
#services .card::before,
#espaces .card::before,
#restauration .card:not(.card-image)::before,
#chambres .card::before,
.choose-content::before,
.package-special-card::before,
.menu-pdf-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #ffffff;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 5;
  pointer-events: none;
}

#services .card:hover::before,
#espaces .card:hover::before,
#restauration .card:not(.card-image):hover::before,
#chambres .card:hover::before,
.choose-content:hover::before,
.package-special-card:hover::before,
.menu-pdf-card:hover::before {
  opacity: 0.92;
}

#services .card>*,
#espaces .card>*,
#restauration .card:not(.card-image)>*,
#chambres .card>*,
.choose-content>*,
.package-special-card>*,
.menu-pdf-card>* {
  position: relative;
  z-index: 10;
  transition: color 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

#services .card:hover *:not(.btn):not(.dish-slide-tag):not(.mechoui-badge-pill):not(.room-title),
#espaces .card:hover *:not(.btn):not(.dish-slide-tag):not(.mechoui-badge-pill):not(.room-title),
#restauration .card:not(.card-image):hover *:not(.btn):not(.dish-slide-tag):not(.mechoui-badge-pill):not(.room-title),
#chambres .card:hover *:not(.btn):not(.dish-slide-tag):not(.mechoui-badge-pill):not(.room-title),
.choose-content:hover *:not(.btn):not(.dish-slide-tag):not(.mechoui-badge-pill):not(.room-title),
.package-special-card:hover *:not(.btn):not(.dish-slide-tag):not(.mechoui-badge-pill):not(.room-title),
.menu-pdf-card:hover *:not(.btn):not(.dish-slide-tag):not(.mechoui-badge-pill):not(.room-title) {
  color: #0f172a !important;
}

/* Titres de chambres : restent toujours orange, même au survol blanc */
.card:hover .room-title,
#chambres .card:hover .room-title {
  color: var(--accent-2) !important;
}

/* Style des icones c-icon au survol */
.choose-content:hover .c-icon {
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(0, 0, 0, 0.25) !important;
}

/* Style des badges .tag au survol */
#services .card:hover .tag,
#espaces .card:hover .tag,
#restauration .card:not(.card-image):hover .tag,
#chambres .card:hover .tag,
.choose-content:hover .tag,
.package-special-card:hover .tag {
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(0, 0, 0, 0.3) !important;
  color: #000000 !important;
}

/* Boutons dans la carte lors du survol blanc de la carte */
.card:hover .btn.reserve,
.card:hover .btn.primary,
.card:hover .btn.cta,
.choose-content:hover .btn.reserve,
.choose-content:hover .btn.primary,
.choose-content:hover .btn.cta,
.package-special-card:hover .btn.reserve {
  background: linear-gradient(135deg, #f28564, #e8b877) !important;
  color: #1b2b3a !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(241, 132, 100, 0.4) !important;
}

.card:hover .btn.outline,
.choose-content:hover .btn.outline,
.package-special-card:hover .btn.outline {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
}

.outline {
  background: transparent;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

#apercu .split,
#chambres .split {
  margin-top: 14px;
}

/* Applique la marge uniquement là où c'est nécessaire */
.split-layout {
  grid-template-columns: 0.42fr 1fr;
  gap: 14px;
}

.card-image {
  min-height: 320px;
  padding: 0;
  border: none;
  border-radius: var(--radius2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .24);
  background-size: cover;
  background-position: center;
}

.card-details {
  padding: 16px;
}

.list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

/* --- CONFIGURATION GLOBALE GALERIE --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
  margin-top: 16px;
  overflow: hidden;
  /* évite les débordements des items spanés */
}

/* Photos masquées dans la grille principale */
.gallery-hidden {
  display: none !important;
}

.ph {
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background-color: var(--glass-solid, #0d1628);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.4s ease;
}

body.light-theme .ph {
  background-color: #f1f5f9;
}

.ph:hover {
  transform: scale(1.02);
  filter: brightness(1.08);
}

/* --- DISPOSITION GALERIE (scopé à #galleryGrid seulement) --- */
#galleryGrid .ph:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

#galleryGrid .ph:nth-child(5) {
  grid-column: span 2;
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 150px;
    gap: 10px;
  }

  #galleryGrid .ph:nth-child(1) {
    grid-column: span 2 !important;
    grid-row: span 1 !important;
  }

  #galleryGrid .ph:nth-child(5) {
    grid-column: span 1 !important;
  }
}

.map {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius2);
}

/* --- MODALE OVERLAY & LIGHTBOX RESPECTANT LE THÈME GLASS --- */
.modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 30, 0.50);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 2000;
}

body.light-theme .modalOverlay {
  background: rgba(240, 245, 250, 0.50) !important;
}

.modal {
  width: min(760px, 100%);
  max-height: calc(100vh - 36px);
  overflow: visible;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  padding: 18px;
}

body.light-theme .modal {
  background: rgba(255, 255, 255, 0.70) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  color: #0f172a !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
}

.modalBody {
  overflow-y: auto;
  max-height: calc(100vh - 36px - 60px);
  padding-right: 2px;
}

.modalHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}



.lightboxContent {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightboxContent img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 600px) {
  .modalOverlay {
    align-items: flex-start;
    padding-top: 14px;
  }

  .modal {
    max-height: calc(100vh - 24px);
    width: calc(100% - 20px);
    padding: 14px;
    border-radius: 18px;
    overflow: visible;
  }

  .modalBody {
    max-height: calc(100vh - 24px - 60px);
  }

  .row {
    grid-template-columns: 1fr !important;
  }
}

.modalHead h3 {
  margin: 0;
  font-size: 18px;
}

.x {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
}

form {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .12);
  color: var(--text);
  outline: none;
}

/* Correction de la visibilité dans les champs pour le mode clair */
body.light-theme input,
body.light-theme select,
body.light-theme textarea {
  background: rgba(0, 0, 0, 0.05);
  color: #020617;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Assure la visibilité des options dans les menus déroulants en mode sombre */
select option {
  background-color: #0b1220;
  /* Couleur sombre correspondant au thème */
  color: white;
}

body.light-theme select option {
  background-color: white;
  color: #0f172a;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.note {
  font-size: 12px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.5;
}

.success {
  margin-top: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(125, 211, 252, .35);
  background: rgba(125, 211, 252, .12);
  color: rgba(255, 255, 255, .9);
}

body.light-theme .modal {
  background: rgba(255, 255, 255, .94);
  border-color: rgba(99, 102, 241, .2);
}

body.light-theme .modal input,
body.light-theme .modal select,
body.light-theme .modal textarea {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, .18);
}

body.light-theme .modal .x,
body.light-theme .modal .btn {
  color: #0f172a;
}

body.light-theme .success {
  border-color: rgba(34, 197, 94, .45);
  background: rgba(34, 197, 94, .15);
  color: #064e3b;
}

footer {
  margin-top: 24px;
  padding: 24px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 600px) {
  .wrap {
    padding: 10px 8px 60px;
  }

  .hero {
    grid-template-columns: 1fr;
    margin-top: 14px;
    padding: 16px 14px;
    gap: 14px;
  }

  .hero h1 {
    font-size: 22px;
    line-height: 1.18;
    margin: 10px 0 8px;
  }

  .hero .sub {
    font-size: 14px;
    line-height: 1.45;
  }

  .hero .pill {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    font-size: 11px;
    padding: 6px 10px;
    line-height: 1.3;
  }

  .heroActions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 14px;
  }

  .heroActions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 11px 14px;
    font-size: 14px;
  }

  .hero .list {
    padding-left: 18px;
    margin-top: 12px;
  }

  .hero .list li {
    font-size: 13px;
    line-height: 1.4;
    word-break: break-word;
  }

  .heroCard {
    padding: 12px;
  }

  .card {
    padding: 12px;
    min-height: auto;
  }

  .grid,
  #espaces .grid,
  .split,
  .gallery,
  .row,
  .favorite-grid {
    grid-template-columns: 1fr;
  }

  .menu {
    display: none;
  }

  .nav {
    flex-wrap: nowrap !important;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    top: 6px;
    margin-bottom: 14px;
  }

  .navActions {
    width: auto;
    justify-content: flex-end;
    gap: 6px;
    flex-shrink: 0;
  }

  .brand {
    gap: 8px;
    font-size: 12px;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }

  .brand b {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand span {
    font-size: 10px !important;
    white-space: nowrap;
  }

  .btn {
    padding: 8px 10px;
    font-size: 13px;
  }

  .map {
    height: 240px;
  }
}

/* Correction: la barre fixe ne masque plus le titre des rubriques */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

section[id],
main[id] {
  scroll-margin-top: 80px;
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 65px;
  }

  section[id],
  main[id] {
    scroll-margin-top: 65px;
  }
}

.pdf-menu-link {
  text-decoration: none;
}

.admin-link {
  opacity: .85;
  font-size: 12px;
}

/* Carte PDF du restaurant */
.menu-pdf-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
  margin-top: 20px;
  padding: 28px;
  overflow: hidden
}

.menu-pdf-copy h3 {
  font-size: clamp(22px, 3vw, 34px);
  margin: 12px 0
}

.menu-pdf-cover {
  display: block;
  max-width: 320px;
  justify-self: center;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
  transition: transform .2s ease
}

.menu-pdf-cover:hover {
  transform: translateY(-4px)
}

.menu-pdf-cover img {
  display: block;
  width: 100%;
  height: auto
}

@media(max-width:760px) {
  .menu-pdf-card {
    grid-template-columns: 1fr
  }

  .menu-pdf-cover {
    max-width: 240px
  }

  .menu-pdf-copy {
    text-align: center
  }

  .menu-pdf-copy .btn {
    justify-content: center
  }
}


/* Ajustements v3 : espacement restauration et navigation précise */
.choose-us-area {
  margin-top: 56px;
  padding-top: 6px
}

@media(max-width:760px) {
  .choose-us-area {
    margin-top: 38px
  }
}

.anchor-target-flash {
  animation: anchorFocus .55s ease
}

@keyframes anchorFocus {
  from {
    filter: brightness(1.08)
  }

  to {
    filter: none
  }
}

/* Grille de sélection des moyens de paiement dans les formulaires */
.pay-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.pay-option-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
  user-select: none;
}

.pay-option-card:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.pay-option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay-option-card.active,
.pay-option-card:has(input[type="radio"]:checked) {
  border-color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.2) !important;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.28) !important;
  transform: translateY(-2px);
}

body.light-theme .pay-option-card {
  border-color: rgba(0, 0, 0, 0.15);
  background: rgba(0, 0, 0, 0.03);
  color: #1e293b;
}

body.light-theme .pay-option-card:hover {
  border-color: rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.06);
}

body.light-theme .pay-option-card.active,
body.light-theme .pay-option-card:has(input[type="radio"]:checked) {
  border-color: #0284c7 !important;
  background: rgba(2, 132, 199, 0.15) !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2) !important;
  color: #0f172a !important;
}

.pay-badge-wave {
  color: #1dc4ff;
}

.pay-badge-om {
  color: #f97316;
}

.pay-badge-moov {
  color: #eab308;
}

.pay-badge-mtn {
  color: #facc15;
}

.pay-badge-visa {
  color: #6366f1;
}

.pay-badge-cash {
  color: #10b981;
}

/* Débloquer le clic sur les sélecteurs de date */
#bookingForm input[type="date"],
#spaceForm input[type="date"],
#restaurantForm input[type="date"] {
  position: relative;
  cursor: pointer;
  -webkit-appearance: none;
  min-height: 42px;
}

/* Étend l'icône calendrier sur tout l'input pour déclencher l'ouverture au clic */
#bookingForm input[type="date"]::-webkit-calendar-picker-indicator,
#spaceForm input[type="date"]::-webkit-calendar-picker-indicator,
#restaurantForm input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Container de Notifications Toast Floatantes */
#toastContainer {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  width: calc(100vw - 40px);
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.3s ease, transform 0.3s ease;
  user-select: none;
}

.toast-item.toast-error {
  background: rgba(225, 29, 72, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-item.toast-success {
  background: rgba(16, 185, 129, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-item.toast-info {
  background: rgba(14, 165, 233, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-item.toast-warning {
  background: rgba(245, 158, 11, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-item .toast-close {
  font-size: 16px;
  opacity: 0.75;
  margin-left: auto;
}

.toast-item:hover .toast-close {
  opacity: 1;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }

  to {}

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.toast-out {
  opacity: 0 !important;
  transform: translateY(-15px) scale(0.9) !important;
}

/* ==========================================================================
   CARROUSSEL ET EFFET SPECTACULAIRE CARTE MENU
   ========================================================================== */
.menu-presentation-effect {
  position: relative;
  background: var(--glass) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-radius: var(--radius2) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4) !important;
}

.menu-pill-badge {
  background: rgba(242, 133, 100, 0.18) !important;
  border: 1px solid rgba(242, 133, 100, 0.45) !important;
  color: var(--accent-2) !important;
  font-weight: 800 !important;
  padding: 6px 18px !important;
}

.menu-highlight-btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  animation: pulseBtnGlow 3s infinite ease-in-out;
}

@keyframes pulseBtnGlow {

  0%,
  100% {
    box-shadow: 0 12px 35px rgba(242, 133, 100, 0.65);
  }

  50% {
    box-shadow: 0 16px 48px rgba(242, 133, 100, 0.95), 0 0 20px rgba(242, 133, 100, 0.5);
  }
}

.theme-icon {
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.theme-toggle-btn:hover .theme-icon {
  transform: rotate(18deg) scale(1.15);
}

.menu-pdf-card {
  position: relative;
  overflow: hidden;
  background: var(--glass) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--line) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: var(--radius2) !important;
  box-shadow: var(--shadow) !important;
}

.menu-pdf-card *,
.menu-pdf-card:hover *,
.menu-presentation-effect *,
.menu-presentation-effect:hover * {
  color: #ffffff !important;
}

.menu-carousel-frame {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 420px;
  justify-self: center;
  border-radius: var(--radius2) !important;
  overflow: hidden;
  box-shadow: var(--shadow) !important;
  border: 1px solid var(--line) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.6) !important;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: block;
}

.dish-carousel-header {
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 5;
}

.dish-carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.dish-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.dish-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.dish-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-slide-tag,
.card:hover .dish-slide-tag,
#restauration .card:hover .dish-slide-tag,
#restauration .card:hover .dish-slide-tag * {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.92) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.7) !important;
  letter-spacing: 0.02em;
}

/* =========================================
   BOUTONS CARROUSEL - CORRECTION POSITION
   ========================================= */

.menu-carousel-frame {
    position: relative !important;
    overflow: hidden !important;
}

/* Style commun aux deux boutons */
#dishCarousel .dish-carousel-prev,
#dishCarousel .dish-carousel-next {
    position: absolute !important;
    top: 50% !important;

    width: 48px !important;
    height: 48px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateY(-50%) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: rgba(0, 0, 0, 0.65) !important;
    color: #ffffff !important;

    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 50% !important;

    font-size: 28px !important;
    line-height: 1 !important;

    cursor: pointer !important;
    z-index: 100 !important;
}

/* BOUTON PRÉCÉDENT = GAUCHE */
#dishCarousel .dish-carousel-prev {
    left: 20px !important;
    right: auto !important;
}

/* BOUTON SUIVANT = DROITE */
#dishCarousel .dish-carousel-next {
    right: 20px !important;
    left: auto !important;
}

/* Mobile */
@media (max-width: 768px) {

    #dishCarousel .dish-carousel-prev,
    #dishCarousel .dish-carousel-next {
        width: 42px !important;
        height: 42px !important;
        font-size: 24px !important;
    }

    #dishCarousel .dish-carousel-prev {
        left: 10px !important;
        right: auto !important;
    }

    #dishCarousel .dish-carousel-next {
        right: 10px !important;
        left: auto !important;
    }
}

/* ==========================================================================
   PACKAGES & MISE EN VALEUR MÉCHOUI
   ========================================================================== */

/* Orange pimpant pour le thème clair sur les packages */
body.light-theme {
  --accent-2: #ff5500;
}

body.light-theme .package-card .price {
  color: #ff5500 !important;
  font-weight: 800 !important;
}

body.light-theme .package-card .tag {
  background: rgba(255, 85, 0, 0.15) !important;
  color: #ff5500 !important;
  border: 1px solid rgba(255, 85, 0, 0.4) !important;
  font-weight: 800 !important;
}

body.light-theme .package-card {
  border-color: rgba(255, 85, 0, 0.3) !important;
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .package-card:hover {
  background: #ffffff !important;
  border-color: #ff5500 !important;
  box-shadow: 0 16px 40px rgba(255, 85, 0, 0.2) !important;
}

body.light-theme .package-card ul li::before {
  color: #ff5500 !important;
}

/* Style de mise en valeur de la carte Méchoui / Choukouya */
.mechoui-showcase-card {
  background: var(--glass) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.35s ease, box-shadow 0.35s ease !important;
}

.mechoui-card-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  align-items: center;
}

@media (max-width: 768px) {
  .mechoui-card-grid {
    grid-template-columns: 1fr;
  }
}

.mechoui-card-media {
  position: relative;
  height: 100%;
  min-height: 230px;
  overflow: hidden;
}

.mechoui-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.mechoui-showcase-card:hover .mechoui-img {
  transform: scale(1.04);
}

.mechoui-badge-pill,
.mechoui-showcase-card:hover .mechoui-badge-pill,
body.light-theme .mechoui-showcase-card:hover .mechoui-badge-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.92) !important;
  backdrop-filter: blur(8px);
  color: #ffaa00 !important;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 170, 0, 0.5) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.mechoui-card-content {
  padding: 24px 28px;
}

.mechoui-whatsapp-notice span {
  color: #10b981 !important;
  font-weight: 700 !important;
}

body.light-theme .mechoui-showcase-card {
  border-color: rgba(255, 85, 0, 0.3) !important;
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05) !important;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
}

body.light-theme .mechoui-showcase-card:hover {
  background: #ffffff !important;
  border-color: #ff5500 !important;
  box-shadow: 0 18px 45px rgba(255, 85, 0, 0.2) !important;
}

/* Titres et questions clés — mis en valeur en noir/bleu nuit selon le thème */
.orange-highlight {
  color: var(--text) !important;
  font-weight: 800;
}

/* Card-details : titres FAQ stylisés avec barre latérale */
.card-details b {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text) !important;
  font-size: 16px;
  font-weight: 800;
  margin-top: 14px;
  margin-bottom: 4px;
  padding-left: 10px;
  border-left: 3px solid var(--text);
  line-height: 1.3;
}

body.light-theme .orange-highlight {
  color: #0f172a !important;
}

body.light-theme .card-details b {
  color: #0f172a !important;
  border-left-color: #0f172a !important;
}

/* Badge Méchoui : toujours doré même au survol blanc de la carte */
.mechoui-badge-pill,
.mechoui-showcase-card:hover .mechoui-badge-pill,
body.light-theme .mechoui-showcase-card:hover .mechoui-badge-pill,
.package-special-card:hover .mechoui-badge-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.92) !important;
  backdrop-filter: blur(8px);
  color: #ffaa00 !important;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 170, 0, 0.5) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  z-index: 20;
}

/* --- OVERRIDES MODALE GALERIE & LIGHTBOX : ULTRA LIGHT & GLASS (GLASSMORPHISM) --- */
#galleryModal .modal {
  width: min(1000px, 94vw) !important;
  max-height: 88vh !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  border-radius: var(--radius2) !important;
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid var(--line) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.5) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: var(--shadow) !important;
  color: var(--text) !important;
}

body.light-theme #galleryModal .modal {
  background: rgba(255, 255, 255, 0.35) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.85) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.85) !important;
  color: #0f172a !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12) !important;
}

#galleryModal .modalHead {
  padding: 18px 24px;
  border-bottom: 1px solid var(--line) !important;
  margin-bottom: 0;
  flex-shrink: 0;
}

body.light-theme #galleryModal .modalHead {
  border-bottom-color: rgba(0, 0, 0, 0.1) !important;
}

#galleryModal .modalHead h3 {
  color: var(--text) !important;
}

body.light-theme #galleryModal .modalHead h3 {
  color: #0f172a !important;
}

#galleryModal .x {
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid var(--line) !important;
}

body.light-theme #galleryModal .x {
  color: #0f172a !important;
  background: rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

.modalOverlay {
  background: rgba(3, 8, 18, 0.40) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

body.light-theme .modalOverlay {
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

/* Lightbox : fond très translucide et léger pour apercevoir la plage/décor en arrière-plan */
#lightbox {
  background: rgba(3, 8, 18, 0.50) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

body.light-theme #lightbox {
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

/* Grandes flèches de navigation en verre dépoli (Glassmorphism bordures fines) */
#lightbox .lb-btn {
  width: 58px !important;
  height: 58px !important;
  border-radius: 50% !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  border-left: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  color: #0f172a !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
  cursor: pointer !important;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease !important;
  z-index: 3200 !important;
}

body.dark-theme #lightbox .lb-btn {
  background: rgba(15, 23, 42, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.75) !important;
  border-left: 1.5px solid rgba(255, 255, 255, 0.75) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
}

#lightbox .lb-btn:hover {
  transform: scale(1.14) !important;
  background: rgba(255, 255, 255, 0.85) !important;
  color: #0f172a !important;
}

body.dark-theme #lightbox .lb-btn:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
}

/* Bouton d'annulation / fermeture dans Lightbox */
#lightbox .lb-close {
  transform: none !important;
}

#lightbox .lb-close:hover {
  transform: scale(1.14) !important;
}

/* Cadre photo Lightbox avec contour en verre dépoli aux bordures très fines et légères */
.lb-img-wrap {
  position: relative !important;
  max-width: 88vw !important;
  max-height: 82vh !important;
  padding: 4px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.dark-theme .lb-img-wrap {
  background: rgba(15, 23, 42, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45) !important;
}

/* --- BOUTON DE RETOUR EN HAUT DANS CONTACT (FLÈCHE BLANCHE CIRCULAIRE GLASS) --- */
.btn-circle-glass {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-top: 1.5px solid rgba(255, 255, 255, 0.65);
  border-left: 1.5px solid rgba(255, 255, 255, 0.65);
  color: var(--text) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
}

body.light-theme .btn-circle-glass {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: 1.5px solid rgba(255, 255, 255, 0.95);
  border-left: 1.5px solid rgba(255, 255, 255, 0.95);
  color: #0f172a !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.btn-circle-glass:hover {
  transform: translateY(-3px) scale(1.08);
  background: rgba(255, 255, 255, 0.25);
}

/* Grille modale galerie : défilement garanti (min-height: 0) & espacements équilibrés */
#galleryModalGrid {
  overflow-y: auto !important;
  flex: 1 !important;
  min-height: 0 !important;
  /* CRUCIAL: Permet le défilement vertical dans la modale flex */
  padding: 24px !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-auto-rows: min-content !important;
  row-gap: 20px !important;
  column-gap: 20px !important;
  gap: 20px !important;
  align-content: start !important;
}

@media (max-width: 768px) {
  #galleryModalGrid {
    grid-template-columns: repeat(2, 1fr) !important;
    row-gap: 16px !important;
    column-gap: 16px !important;
    gap: 16px !important;
    padding: 18px !important;
  }
}

@media (max-width: 480px) {
  #galleryModalGrid {
    grid-template-columns: 1fr !important;
    row-gap: 14px !important;
    padding: 14px !important;
  }
}

/* Cartes photos avec effet Glassmorphism authentique aux bordures très fines */
.gallery-modal-item {
  position: relative !important;
  overflow: hidden !important;
  border-radius: var(--radius) !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
  cursor: pointer !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
  background: var(--card) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  margin-bottom: 0 !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease !important;
}

body.light-theme .gallery-modal-item {
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.75) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
}

.gallery-modal-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: calc(var(--radius) - 1px) !important;
  transition: transform 0.35s ease !important;
}

.gallery-modal-item:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35) !important;
  border-top-color: rgba(255, 255, 255, 0.95) !important;
}

/* --- SERVICE CARDS MODERN DESIGN & ANIMATIONS --- */
.service-card {
  position: relative !important;
  min-height: 360px !important;
  border-radius: var(--radius2) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 26px !important;
  border: 1px solid var(--line) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.6) !important;
  background: rgba(15, 23, 42, 0.45) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.45s cubic-bezier(0.25, 1, 0.5, 1), 
              border-color 0.45s ease !important;
  cursor: pointer !important;
  z-index: 1 !important;
}

.service-card .service-bg {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease !important;
  z-index: 1 !important;
}

.service-card .service-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(11, 18, 32, 0.65) 0%, rgba(11, 18, 32, 0.2) 55%, transparent 100%) !important;
  transition: background 0.45s ease, opacity 0.45s ease !important;
  z-index: 2 !important;
}

body.light-theme .service-card .service-overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.15) 55%, transparent 100%) !important;
}

.service-card .service-content {
  position: relative !important;
  z-index: 10 !important;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.service-card .service-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  color: var(--accent-2) !important;
  font-size: 20px !important;
  margin-bottom: 14px !important;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
}

.service-card b.service-title {
  display: block !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7) !important;
  margin-bottom: 8px !important;
  transition: color 0.35s ease, transform 0.35s ease !important;
}

.service-card .small {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7) !important;
  line-height: 1.55 !important;
  transition: color 0.35s ease !important;
}

/* Service Card Hover Animations */
.service-card:hover {
  transform: translateY(-10px) scale(1.02) !important;
  border-color: rgba(247, 191, 138, 0.8) !important;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.55), 
              0 0 35px rgba(247, 191, 138, 0.35) !important;
}

body.light-theme .service-card:hover {
  border-color: rgba(37, 99, 235, 0.7) !important;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.25), 
              0 0 35px rgba(37, 99, 235, 0.3) !important;
}

.service-card:hover .service-bg {
  transform: scale(1.14) !important;
  filter: brightness(1.08) !important;
}

.service-card:hover .service-overlay {
  background: linear-gradient(to top, rgba(11, 18, 32, 0.97) 0%, rgba(11, 18, 32, 0.6) 60%, rgba(11, 18, 32, 0.25) 100%) !important;
}

.service-card:hover .service-content {
  transform: translateY(-6px) !important;
}

.service-card:hover .service-icon {
  transform: scale(1.18) rotate(-8deg) !important;
  background: var(--accent-2) !important;
  color: #0b1220 !important;
  border-color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(247, 191, 138, 0.6) !important;
}

.service-card:hover b.service-title {
  color: var(--accent-2) !important;
}

.service-card:hover b.service-title {
  color: var(--accent-2) !important;
}

.service-card:hover b.service-title {
  color: var(--accent-2) !important;
}

/* --- UIVERSE-INSPIRED SPACE CARDS CURTAIN SLIDE ANIMATION --- */
.space-card {
  position: relative !important;
  min-height: 350px !important;
  border-radius: var(--radius2) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 28px !important;
  border: 1px solid var(--line) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.6) !important;
  background: rgba(15, 23, 42, 0.48) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.45s cubic-bezier(0.25, 1, 0.5, 1) !important;
  cursor: pointer !important;
  z-index: 1 !important;
}

/* Background curtain layer that slides from top (-100%) to bottom (0) on hover */
.space-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: #ffffff !important;
  opacity: 0.95 !important;
  transform: translateY(-100%) !important;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 5 !important;
  pointer-events: none !important;
  border-radius: var(--radius2) !important;
}

body.light-theme .space-card::after {
  background: #ffffff !important;
  opacity: 0.96 !important;
}

.space-card .space-bg {
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease !important;
  z-index: 1 !important;
}

.space-card .space-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 18, 32, 0.25) 50%, rgba(11, 18, 32, 0.65) 100%) !important;
  transition: opacity 0.5s ease !important;
  z-index: 2 !important;
}

.space-card .space-content {
  position: relative !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.space-card b.space-title {
  display: block !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7) !important;
  margin-top: 4px !important;
  margin-bottom: 2px !important;
  transition: color 0.4s ease, transform 0.4s ease !important;
}

.space-card .price {
  font-family: 'Outfit', sans-serif !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--accent-2) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7) !important;
  transition: color 0.4s ease, text-shadow 0.4s ease, transform 0.4s ease !important;
}

.space-card .small {
  font-size: 14px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7) !important;
  line-height: 1.5 !important;
  transition: color 0.4s ease !important;
}

.space-card .tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  transition: all 0.4s ease !important;
}

/* HOVER STATES - WHITE CURTAIN SLIDES DOWN AND TEXT ADAPTS */
.space-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 25px 55px -10px rgba(0, 0, 0, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
}

/* The Uiverse white curtain slides into view from top to 0 */
.space-card:hover::after {
  transform: translateY(0) !important;
}

.space-card:hover .space-bg {
  transform: scale(1.06) !important;
}

.space-card:hover .space-content {
  transform: translateY(-4px) !important;
}

.space-card:hover b.space-title {
  color: #0f172a !important;
  text-shadow: none !important;
}

.space-card:hover .price {
  color: var(--accent-2) !important;
  text-shadow: none !important;
  transform: translateY(-2px) !important;
}

.space-card:hover .price .small {
  color: #475569 !important;
}

.space-card:hover .small {
  color: #334155 !important;
}

.space-card:hover .tag {
  background: rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(0, 0, 0, 0.25) !important;
  color: #0f172a !important;
}

/* ==========================================================================
   AGRANDISSEMENT DESKTOP (STYLE & THÈME PRÉSERVÉS)
   ========================================================================== */

@media (min-width: 1024px) {
  :root {
    --max: 1220px;
  }

  html {
    font-size: 16.5px;
  }

  .wrap {
    padding: 18px 24px 80px;
  }

  .nav {
    padding: 10px 22px !important;
    gap: 16px !important;
    border-radius: 36px !important;
  }

  .logo {
    width: 66px !important;
    height: 66px !important;
    border-radius: 16px !important;
  }

  .brand b {
    font-size: 15px !important;
  }

  .menu a,
  .menu button {
    font-size: 14.5px !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
  }

  .section {
    margin-top: 24px !important;
    padding: 26px 32px !important;
    border-radius: 36px !important;
  }

  .hero {
    margin-top: 20px !important;
    padding: 26px 32px !important;
    gap: 24px !important;
    border-radius: 36px !important;
  }

  .heroCard {
    border-radius: 28px !important;
    padding: 20px !important;
  }

  .info-card-image {
    border-radius: 24px !important;
  }

  .stat {
    border-radius: 20px !important;
    padding: 14px !important;
  }

  .section-title,
  .section h2 {
    font-size: clamp(26px, 3.2vw, 36px) !important;
    margin: 6px 0 4px !important;
  }

  .btn {
    font-size: 15px !important;
    padding: 10px 20px !important;
    border-radius: 999px !important;
  }

  .card {
    padding: 20px 24px !important;
    border-radius: 24px !important;
  }

  .pill {
    padding: 8px 14px !important;
    font-size: 13.5px !important;
    border-radius: 999px !important;
  }

  .price {
    font-size: 24px !important;
  }

  .map {
    height: 420px !important;
    border-radius: 24px !important;
  }

  input, select, textarea, .input-field {
    font-size: 15px !important;
    padding: 12px 16px !important;
    border-radius: 14px !important;
  }
}

/* ==========================================================================
   STYLE SECTION AVIS ET COMMENTAIRES
   ========================================================================== */

.reviews-wrapper {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  align-items: start;
}

@media (max-width: 900px) {
  .reviews-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.review-form-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: fit-content;
}

.review-form-title {
  margin: 0 0 10px 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}

.star-rating-selector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  cursor: pointer;
  user-select: none;
}

.star-rating-selector .star-btn {
  font-size: 32px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.25);
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.15s ease, text-shadow 0.15s ease, filter 0.15s ease;
  user-select: none;
  display: inline-block;
  cursor: pointer;
  padding: 2px 4px;
}

body.light-theme .star-rating-selector .star-btn {
  color: rgba(0, 0, 0, 0.25);
}

.star-rating-selector .star-btn:hover {
  transform: scale(1.3);
}

.star-rating-selector .star-btn.active,
.star-rating-selector .star-btn.hover-active,
body.light-theme .star-rating-selector .star-btn.active,
body.light-theme .star-rating-selector .star-btn.hover-active {
  color: #fbbf24 !important;
  text-shadow: none !important;
  filter: none !important;
}

.reviews-feed-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
}

.reviews-stats-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.review-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.review-stat-pill.primary {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}

body.light-theme .review-stat-pill.primary {
  background: rgba(234, 179, 8, 0.15);
  color: #d97706;
}

.reviews-list-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px 18px !important;
  min-height: auto !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.review-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.review-author-name {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--text);
}

.review-stars {
  color: #fbbf24;
  font-size: 13px;
  letter-spacing: 1px;
  margin-top: 1px;
}

.review-date {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}

.review-body {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text);
  white-space: pre-line;
}

.review-card-footer {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.btn-like-review {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.light-theme .btn-like-review {
  background: rgba(0, 0, 0, 0.04);
}

.btn-like-review:hover {
  transform: scale(1.05);
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.btn-like-review.liked {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
}

.btn-like-review .heart-icon {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.btn-like-review:hover .heart-icon {
  transform: scale(1.3);
}

/* ==========================================================================
   LISIBILITÉ AMÉLIORÉE POUR CHAMPS & FORMULAIRES
   ========================================================================== */

input, select, textarea, .input-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--line);
  color: var(--text) !important;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 14px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

input:focus, select:focus, textarea:focus, .input-field:focus {
  border-color: var(--accent) !important;
  background: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 0 0 3px rgba(118, 177, 199, 0.25) !important;
}

body.light-theme input,
body.light-theme select,
body.light-theme textarea,
body.light-theme .input-field {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(0, 0, 0, 0.20) !important;
  color: #0f172a !important;
  font-weight: 500;
}

body.light-theme input:focus,
body.light-theme select:focus,
body.light-theme textarea:focus,
body.light-theme .input-field:focus {
  background: #ffffff !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2) !important;
}

input::placeholder, textarea::placeholder, .input-field::placeholder {
  color: var(--muted) !important;
  opacity: 0.75;
}

body.light-theme input::placeholder,
body.light-theme textarea::placeholder,
body.light-theme .input-field::placeholder {
  color: #64748b !important;
  opacity: 0.85;
}

/* STABILITÉ DU RENDU GRAPHIQUE AU DÉFILEMENT (ANTI GPU TEXTURE GLITCH) */
.glass,
.nav,
.section,
.card,
.modal {
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* STYLES RÉPONSES AUX AVIS */
.review-replies-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 10px;
  border-left: 2px solid var(--accent);
}

.review-reply-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12.5px;
}

body.light-theme .review-reply-item {
  background: rgba(0, 0, 0, 0.04);
}

.review-reply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 12px;
}

.review-reply-author {
  color: var(--accent);
}

.review-reply-date {
  font-size: 11px;
  color: var(--muted);
}

.review-reply-body {
  color: var(--text);
  line-height: 1.4;
}

.btn-reply-review {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reply-review:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.review-reply-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.btn-like-reply {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 11.5px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 12px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-like-reply:hover,
.btn-like-reply.liked {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
}

.btn-reply-sub {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 11.5px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 12px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-reply-sub:hover {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.12);
}

/* ==========================================
   CORRECTION DEFINITIVE FLECHES CARROUSEL
   ========================================== */

#dishCarousel {
    position: relative !important;
}

/* PRÉCÉDENT */
#dishPrevBtn {
    position: absolute !important;
    top: 50% !important;
    left: 15px !important;
    right: auto !important;

    transform: translateY(-50%) !important;

    width: 46px !important;
    height: 46px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 9999 !important;

    background: rgba(0, 0, 0, 0.70) !important;
    color: white !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    border-radius: 50% !important;

    font-size: 25px !important;
    line-height: 1 !important;
}

/* SUIVANT */
#dishNextBtn {
    position: absolute !important;
    top: 50% !important;

    left: auto !important;
    right: 15px !important;

    transform: translateY(-50%) !important;

    width: 46px !important;
    height: 46px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 9999 !important;

    background: rgba(0, 0, 0, 0.70) !important;
    color: white !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    border-radius: 50% !important;

    font-size: 25px !important;
    line-height: 1 !important;
}


