/* Importation des polices premium depuis Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* Reset de base & Variables */
:root {
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Palette Sombre Neo-Luxe (Grand Cru & Or Brossé) */
  --bg-primary: #120306; /* Fond Grand Cru abyssal sombre */
  --bg-secondary: #1a060b; /* Secondaire Grand Cru légèrement plus clair */
  --bg-card: rgba(35, 8, 14, 0.6); /* Verre bordeaux translucide */
  --border-color: rgba(228, 200, 118, 0.15); /* Or brossé discret */
  --border-hover: rgba(228, 200, 118, 0.45); /* Or brossé éclatant */
  
  --text-primary: #fff9f0; /* Fleur de Sel */
  --text-secondary: #e2dad0; /* Fleur de Sel poudrée */
  --text-muted: #8e817a; /* Gris chaud minéral */
  
  --color-gold: #e4c876; /* Or brossé Pantone 6002 C */
  --color-gold-hover: #eddca6;
  --color-gold-rgb: 228, 200, 118;
  
  --color-dark-brand: #1a060b;
  
  /* Couleurs de secteurs d'activité (Cabinet de design) */
  --color-environnement: #646f4b; /* Vert sauge */
  --color-finance: #084c61; /* Bleu pétrole */
  --color-immobilier: #dc3a34; /* Rouge terre */
  
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.9);
  --shadow-gold: 0 0 30px rgba(228, 200, 118, 0.12);
  --shadow-gold-heavy: 0 10px 30px rgba(228, 200, 118, 0.25);
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  
  --glass-bg: rgba(18, 3, 6, 0.85);
  --glass-border: rgba(228, 200, 118, 0.08);
}

/* Thème Clair Neo-Luxe (Fleur de Sel & Grand Cru) */
[data-theme="light"] {
  --bg-primary: #fff9f0; /* Fleur de Sel */
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --border-color: rgba(55, 14, 26, 0.12); /* Grand Cru discret */
  --border-hover: rgba(55, 14, 26, 0.4); /* Grand Cru marqué */
  
  --text-primary: #370e1a; /* Grand Cru */
  --text-secondary: #5c242f; /* Grand Cru adouci */
  --text-muted: #8a5a63; /* Bourgogne minéral */
  
  --color-gold: #8f6b15; /* Version bronze/or profond pour lisibilité et contraste maximal */
  --color-gold-hover: #72520a;
  --color-gold-rgb: 143, 107, 21;
  
  --color-dark-brand: #ffffff;
  
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 0 30px rgba(181, 144, 32, 0.08);
  --shadow-gold-heavy: 0 10px 30px rgba(181, 144, 32, 0.15);
  
  --glass-bg: rgba(255, 249, 240, 0.88);
  --glass-border: rgba(55, 14, 26, 0.06);
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
  transition: var(--transition-smooth);
  /* Trame de fond subtile et futuriste */
  background-image: radial-gradient(rgba(212, 175, 55, 0.015) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Typographie épurée */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* Animations d'entrée */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* En-tête / Barre de navigation ultra-pure */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
  padding: 8px 0;
}

header.scrolled {
  padding: 2px 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-badge-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Halo lumineux derrière le logo */
.logo-badge-container::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(var(--color-gold-rgb), 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-subtitle {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 800;
  margin-top: 4px;
  opacity: 0.9;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.logo-img {
  height: 60px;
  width: auto;
  transition: var(--transition-smooth);
}

header.scrolled .logo-img {
  height: 48px;
}

[data-theme="light"] .logo-img {
  content: url('../img/logo-lrdq-dark.svg');
}

@media (max-width: 768px) {
  .logo-img {
    height: 64px;
  }
  header.scrolled .logo-img {
    height: 52px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 54px;
  }
  header.scrolled .logo-img {
    height: 44px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 14px;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-link {
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--color-gold);
}

.nav-link:hover::after {
  width: 100%;
}

/* --- Menu Déroulant (Dropdown) --- */
.nav-item-dropdown {
  position: relative;
}

.chevron {
  font-size: 0.55rem;
  margin-left: 4px;
  vertical-align: middle;
  transition: var(--transition-fast);
  color: var(--color-gold);
  display: inline-block;
}

.nav-item-dropdown:hover .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  min-width: 240px;
  padding: 12px 0;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-left: 1px solid var(--border-color);
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(5px);
}

.dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 0.74rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.dropdown-link:hover {
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.04);
  padding-left: 24px;
}


.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Boutons épurés */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 100px; /* Boutons pill très modernes */
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-gold);
  color: #000000;
  box-shadow: 0 4px 15px rgba(var(--color-gold-rgb), 0.15);
}

.btn-primary:hover {
  background-color: var(--color-gold-hover);
  box-shadow: var(--shadow-gold-heavy);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background-color: rgba(var(--color-gold-rgb), 0.02);
  transform: translateY(-2px);
}

.btn-outline.active {
  background-color: var(--color-gold);
  color: #120306;
  border-color: var(--color-gold);
  box-shadow: 0 4px 15px rgba(var(--color-gold-rgb), 0.3);
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background-color: rgba(255, 255, 255, 0.02);
  transition: var(--transition-smooth);
}

.theme-toggle:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
  transform: scale(1.05);
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: var(--transition-fast);
  color: var(--text-primary);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.mobile-menu-btn:hover {
  border-color: var(--color-gold);
  background: rgba(var(--color-gold-rgb), 0.08);
}

.hamburger-box {
  width: 20px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  pointer-events: none;
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
  pointer-events: none;
}

.mobile-menu-btn.active .hamburger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background-color: var(--color-gold);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active .hamburger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background-color: var(--color-gold);
}

.nav-backdrop {
  display: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-menu-header {
  display: none;
}

body.menu-open {
  overflow: hidden !important;
}

/* Section Hero (Luminescent) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 24px 100px 24px;
  background-image: linear-gradient(rgba(18, 3, 6, 0.60), rgba(18, 3, 6, 0.86)), url('../img/hero-facade-lrdq.jpg');
  background-size: cover;
  background-position: center 25%;
  background-attachment: fixed;
  text-align: center;
  overflow: hidden;
}

/* Aura dorée géante en arrière-plan */
.hero::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(var(--color-gold-rgb), 0.06) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.hero-subtitle {
  font-family: var(--font-sans);
  color: var(--color-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  margin-bottom: 35px;
  font-weight: 700;
  border: 1px solid var(--border-color);
  padding: 6px 18px;
  border-radius: 100px;
  background: rgba(var(--color-gold-rgb), 0.03);
  display: inline-block;
}

.hero-title {
  font-size: 4.2rem;
  line-height: 1.1;
  margin-bottom: 30px;
  color: var(--text-primary);
  font-weight: 500;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  background: linear-gradient(180deg, #ffffff 40%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 45px;
  font-weight: 300;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections Globales */
.main-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
}

.section-subtitle {
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 500;
  background: linear-gradient(180deg, var(--text-primary) 30%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--color-gold);
}

/* Conteneurs de Contrôles / Recherche */
.controls-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 35px;
  margin-bottom: 50px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.controls-container:hover {
  border-color: rgba(var(--color-gold-rgb), 0.2);
  box-shadow: var(--shadow-gold);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 20px;
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  padding: 18px 20px 18px 56px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition-smooth);
  outline: none;
}

.search-input:focus {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
  background-color: var(--bg-secondary);
}

.filters-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.select-custom select {
  width: 100%;
  padding: 16px 20px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: var(--transition-smooth);
}

.select-custom select:focus {
  border-color: var(--color-gold);
}

.select-custom::after {
  content: '▼';
  font-size: 0.65rem;
  color: var(--color-gold);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.8;
}

/* Cartes d'Annonces CHR Haute Couture */
.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}

@media (max-width: 768px) {
  .restaurants-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.restaurant-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
}

.restaurant-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.card-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.restaurant-card:hover .card-img {
  transform: scale(1.05);
}

.cuisine-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: rgba(6, 6, 8, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  padding: 6px 16px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 100px;
}

.price-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--color-gold) 0%, #a88225 100%);
  color: #000000;
  padding: 7px 16px;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 100px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.confidential-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(6, 6, 8, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--color-gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 3px 10px;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.04em;
  pointer-events: none;
  z-index: 2;
}

.card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.35;
}

.card-city-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.card-city {
  font-size: 0.8rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.card-specs {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-financials {
  background-color: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.financial-item {
  display: flex;
  flex-direction: column;
}

.financial-label {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.financial-value {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tag-badge {
  background-color: rgba(212, 175, 55, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.1);
  color: var(--text-secondary);
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 100px;
}

/* --- Bascule Mode Grille / Mode Liste pour les Annonces CHR --- */
.annonces-view-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 12px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  gap: 15px;
  flex-wrap: wrap;
}

.view-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.view-switch-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
  font-family: inherit;
}

.view-switch-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.view-switch-btn.active {
  background: var(--color-gold);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Mode Liste Haute Couture (Row Layout) */
.restaurants-grid.view-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
}

.restaurants-grid.view-list .restaurant-card {
  flex-direction: row !important;
  align-items: stretch !important;
  min-height: 220px;
}

.restaurants-grid.view-list .card-img-wrapper {
  width: 290px !important;
  min-width: 290px !important;
  max-width: 290px !important;
  height: auto !important;
  min-height: 100% !important;
  position: relative !important;
  flex-shrink: 0;
}

.restaurants-grid.view-list .card-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.restaurants-grid.view-list .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  justify-content: space-between;
}

.restaurants-grid.view-list .card-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.restaurants-grid.view-list .card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.restaurants-grid.view-list .card-financials {
  margin-bottom: 14px;
  padding: 10px 14px;
}

.restaurants-grid.view-list .card-tags {
  margin-bottom: 16px;
}

@media (max-width: 992px) {
  .restaurants-grid.view-list .restaurant-card {
    flex-direction: column !important;
  }
  .restaurants-grid.view-list .card-img-wrapper {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: 230px !important;
  }
  .restaurants-grid.view-list .card-content {
    padding: 20px;
  }
}

/* L'Argus du CHR (Section Simulateur Futuristic Panel) */
.argus-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 60px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

/* Décoration lumineuse dorée dans le coin */
.argus-container::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  top: -150px;
  right: -150px;
  background: radial-gradient(circle, rgba(var(--color-gold-rgb), 0.08) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .argus-container {
    padding: 28px 18px !important;
  }
}

.argus-form-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.argus-form-side h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 500;
}

.argus-form-side p {
  color: var(--text-secondary);
  margin-bottom: 35px;
  font-size: 1rem;
  font-weight: 300;
}

.argus-result-side {
  background: rgba(255, 255, 255, 0.01);
  border: 1px dashed var(--border-color);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 380px;
  transition: var(--transition-smooth);
}

.result-placeholder {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
}

.result-active {
  display: none;
  animation: fadeIn 0.5s ease forwards;
  width: 100%;
}

.result-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-bottom: 15px;
  font-weight: 700;
}

.result-value {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 0 0 25px rgba(var(--color-gold-rgb), 0.35);
  letter-spacing: -0.02em;
}

.result-coeff {
  font-size: 0.82rem;
  color: var(--color-gold);
  margin-bottom: 30px;
  background-color: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.15);
  padding: 6px 16px;
  border-radius: 100px;
  display: inline-block;
  font-weight: 600;
}

.result-lead-form {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  width: 100%;
}

.result-lead-form h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 500;
}

/* Centre de Ressources */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 35px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

/* Secteurs de la Charte pour les fiches ressources */
.resource-card[data-category="finance"],
.resource-card[data-category="juridique"] {
  border-top: 4px solid var(--color-finance);
}
.resource-card[data-id="guide-cession"] {
  border-top: 4px solid var(--color-immobilier) !important;
}
.resource-card[data-category="reglementaire"] {
  border-top: 4px solid var(--color-environnement);
}

.resource-card[data-category="finance"]:hover,
.resource-card[data-category="juridique"]:hover {
  box-shadow: 0 10px 30px rgba(8, 76, 97, 0.15) !important;
}
.resource-card[data-id="guide-cession"]:hover {
  box-shadow: 0 10px 30px rgba(220, 58, 52, 0.15) !important;
}
.resource-card[data-category="reglementaire"]:hover {
  box-shadow: 0 10px 30px rgba(100, 111, 75, 0.15) !important;
}

.resource-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-5px);
}

.resource-icon {
  font-size: 2.8rem;
  color: var(--color-gold);
  margin-bottom: 25px;
  display: block;
}

.resource-title {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.resource-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.6;
}

.resource-link {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  letter-spacing: 0.08em;
}

.resource-link:hover {
  color: var(--color-gold-hover);
}

/* Corner Partenaires */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
}

.partner-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 35px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.partner-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.partner-logo {
  font-size: 2.8rem;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(var(--color-gold-rgb), 0.1));
}

.partner-name {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-family: var(--font-serif);
}

.partner-service {
  font-size: 0.75rem;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  font-weight: 700;
}

.partner-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Newsletter & Matching (Widgets) */
.widgets-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 100px 24px;
}

.widgets-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

@media (max-width: 768px) {
  .widgets-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.widget-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.widget-card:hover {
  border-color: rgba(var(--color-gold-rgb), 0.2);
  box-shadow: var(--shadow-gold);
}

.widget-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 500;
}

.widget-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 30px;
  font-weight: 300;
}

.widget-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Modales Modernes */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(3, 3, 5, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.94);
  transition: var(--transition-smooth);
  position: relative;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 30px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.6rem;
  color: var(--text-primary);
  font-weight: 500;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--color-gold);
}

.modal-body {
  padding: 30px;
}

/* Formulaires épurés */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.form-input {
  width: 100%;
  padding: 16px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
  background-color: var(--bg-secondary);
}

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

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.modal-footer {
  padding: 0 30px 30px 30px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--bg-secondary);
  border: 1px solid var(--color-gold);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  border-radius: 8px;
  padding: 20px 30px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1010;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
  max-width: 420px;
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--color-gold);
  font-size: 1.4rem;
}

/* Footer épuré */
footer {
  background-color: #010102;
  border-top: 1px solid var(--border-color);
  padding: 80px 24px 40px 24px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand h4 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h5, .footer-contact h5 {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--color-gold);
  margin-bottom: 25px;
  font-weight: 700;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links-list a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links-list a:hover {
  color: var(--color-gold);
  padding-left: 6px;
}

.footer-contact p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(205, 162, 80, 0.08);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Logo badge transitions */
.logo-badge {
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.logo-badge:hover {
  transform: scale(1.08) rotate(-4deg);
  filter: drop-shadow(0 0 8px rgba(var(--color-gold-rgb), 0.3));
}

/* Responsiveness Navigation */
@media (max-width: 1024px) {
  .nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: rgba(10, 2, 4, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 86vw);
    height: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.7);
    padding: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
    -webkit-transition: -webkit-transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-menu.active {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  .nav-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(var(--color-gold-rgb), 0.04);
    flex-shrink: 0;
  }

  .nav-menu-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--color-gold);
    font-weight: 600;
  }

  .nav-menu-logo {
    height: 28px;
    width: auto;
  }

  .nav-close-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-fast);
  }

  .nav-close-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 40px 18px;
    padding-bottom: max(40px, env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1;
  }

  .nav-list li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  [data-theme="light"] .nav-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 8px;
    font-size: 0.84rem;
    letter-spacing: 0.06em;
    width: 100%;
  }

  .nav-link::after {
    display: none !important;
  }

  .nav-link.active {
    color: var(--color-gold);
    font-weight: 700;
  }

  /* Accordéon mobile pour Le Club */
  .nav-item-dropdown {
    position: relative;
    width: 100%;
  }

  .nav-item-dropdown .dropdown-toggle {
    cursor: pointer;
    user-select: none;
  }

  .nav-item-dropdown .chevron {
    display: inline-block;
    transition: transform 0.28s ease;
    font-size: 0.65rem;
    margin-left: auto;
    padding-left: 10px;
    color: var(--color-gold);
  }

  .nav-item-dropdown.open .chevron {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: rgba(0, 0, 0, 0.22) !important;
    border-radius: 8px !important;
    padding: 0 !important;
    margin: 0 0 8px 0 !important;
    min-width: 100% !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
    display: block !important;
  }

  [data-theme="light"] .dropdown-menu {
    background: rgba(0, 0, 0, 0.04) !important;
  }

  .nav-item-dropdown.open .dropdown-menu {
    max-height: 520px;
    opacity: 1 !important;
    pointer-events: all !important;
    padding: 6px 0 6px 10px !important;
  }

  .dropdown-menu::before {
    display: none !important;
  }

  .dropdown-link {
    padding: 10px 14px !important;
    font-size: 0.8rem !important;
    display: block;
    color: var(--text-secondary);
    border-left: 2px solid transparent;
    transition: var(--transition-fast);
  }

  .dropdown-link:hover, .dropdown-link.active {
    color: var(--color-gold);
    border-left-color: var(--color-gold);
    padding-left: 18px !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    z-index: 1005 !important;
  }

  .nav-actions {
    gap: 12px;
  }
}

/* Section Communauté */
.communaute-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.communaute-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.value-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .communaute-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

@media (max-width: 580px) {
  .communaute-values {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --- Nouveaux Composants Multi-Pages --- */

/* Mise en page latérale (Filtres + Contenu) */
.grid-side-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .grid-side-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Tiroir de lecture latéral (Drawer) */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(3, 3, 5, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 90%;
  max-width: 480px;
  height: 100%;
  background-color: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  z-index: 1001;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
  padding: 40px 30px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 25px;
}

.drawer-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  font-family: var(--font-serif);
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.drawer-close:hover {
  color: var(--color-gold);
}

.drawer-body {
  flex-grow: 1;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Onglets (Tabs) */
.tab-container {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 30px;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.tab-btn.active {
  background-color: rgba(212, 175, 55, 0.08);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* Formulaire dépôt d'annonce (Conteneur floating) */
.submit-ad-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

/* Sélection multiple partenaires */
.partner-select-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.partner-select-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.partner-select-item:hover {
  border-color: var(--border-hover);
  background: var(--bg-secondary);
}

.partner-select-item input[type="checkbox"] {
  accent-color: var(--color-gold);
  width: 18px;
  height: 18px;
}

.partner-select-details {
  display: flex;
  flex-direction: column;
}

.partner-select-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.partner-select-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- Styles Espace Vidéo --- */
.video-card-play:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1.1) !important;
  border-color: var(--color-gold-hover) !important;
  box-shadow: 0 0 25px rgba(var(--color-gold-rgb), 0.5);
  background: rgba(3, 3, 5, 0.9) !important;
}

.video-card-play:hover .card-img {
  transform: scale(1.04);
}

/* --- Styles Espace Membre (Dashboard) --- */
#dashboard-header-btn {
  padding: 10px 20px !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.1em !important;
  white-space: nowrap !important;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.timeline {
  border-left: 2px solid var(--border-color);
  padding-left: 25px;
  margin-left: 10px;
}

/* Animation de pulsation or */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--color-gold-rgb), 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(var(--color-gold-rgb), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--color-gold-rgb), 0);
  }
}

/* --- Styles du Réseau & Carte Interactive --- */
.map-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .map-layout {
    grid-template-columns: 1fr;
  }
}

.map-container-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.france-vector-map {
  width: 100%;
  max-height: 480px;
  background: #050508;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.02);
  padding: 10px;
}

.map-region-path {
  fill: #0c0e12;
  stroke: rgba(212, 175, 55, 0.15);
  stroke-width: 2.5;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.map-region-path:hover {
  fill: rgba(212, 175, 55, 0.15);
  stroke: var(--color-gold);
}
.map-region-path.active {
  fill: rgba(212, 175, 55, 0.25);
  stroke: var(--color-gold);
  stroke-width: 3.5;
}

.map-city-marker {
  fill: var(--color-gold);
  stroke: #000;
  stroke-width: 1.5;
  cursor: pointer;
  transition: var(--transition-fast);
}
.map-city-marker:hover {
  transform: scale(1.4);
  fill: #fff;
}

.members-grid-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 8px;
}
.members-grid-container::-webkit-scrollbar {
  width: 6px;
}
.members-grid-container::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.members-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  height: 100%;
}

.member-card-premium {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: var(--transition-fast);
}
.member-card-premium:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.audit-matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
@media (max-width: 600px) {
  .audit-matrix-grid {
    grid-template-columns: 1fr;
  }
}

.audit-metric-card {
  padding: 12px;
  background: rgba(255,255,255,0.01);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.03);
}
.audit-metric-title {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 5px;
}
.audit-progress-bar-container {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  height: 6px;
  overflow: hidden;
}
.audit-progress-bar {
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-hover) 100%);
  height: 100%;
  border-radius: 4px;
  transition: width 0.8s ease-in-out;
}
.audit-metric-val {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gold);
  display: block;
  margin-top: 4px;
  text-align: right;
}

/* Modal details */
.member-detail-header-flex {
  display: flex;
  gap: 30px;
  align-items: center;
}
@media (max-width: 600px) {
  .member-detail-header-flex {
    flex-direction: column;
    text-align: center;
  }
}
.member-detail-hero-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
  box-shadow: var(--shadow-gold);
}
.member-detail-summary-info {
  flex: 1;
}

/* --- Styles Argus Pro & Tabs --- */
.argus-tabs {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}
.argus-grid-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  width: 100%;
}
@media (max-width: 900px) {
  .argus-grid-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* --- Styles Recrutement & Sourcing --- */
.job-card-premium {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  background: rgba(13, 14, 18, 0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: var(--transition-fast);
}
.job-card-premium:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) {
  .job-card-premium {
    flex-direction: column;
    align-items: flex-start;
  }
}

.sourcing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.supplier-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  min-height: 380px;
  transition: var(--transition-fast);
}
.supplier-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}
.supplier-card-img-wrapper {
  height: 160px;
  overflow: hidden;
  position: relative;
}
.supplier-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.supplier-card:hover .supplier-card-img {
  transform: scale(1.05);
}
.supplier-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--bg-primary);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.partner-select-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 6px;
}
.partner-select-list::-webkit-scrollbar {
  width: 5px;
}
.partner-select-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.partner-select-list::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 4px;
}
.partner-select-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255,255,255,0.01);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.partner-select-item:hover {
  background: rgba(212, 175, 55, 0.05);
  border-color: var(--border-hover);
}
.partner-select-item input[type="checkbox"] {
  accent-color: var(--color-gold);
  width: 18px;
  height: 18px;
}

/* Corner Partenaires - Dynamic Filter Bar */
.partners-content-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.partners-filter-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}

@media (min-width: 992px) {
  .partners-filter-bar {
    grid-template-columns: 280px 1fr;
    align-items: center;
  }
}

.partners-filter-bar .search-box {
  position: relative;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tab {
  background: rgba(var(--color-gold-rgb), 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.category-tab:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: rgba(var(--color-gold-rgb), 0.08);
}

.category-tab.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #000000;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

/* --- OPTIMISATIONS MOBILES ET LISIBILITÉ (MAX-WIDTH: 768PX) --- */
@media (max-width: 768px) {
  html {
    font-size: 15px; /* Équilibrage global des tailles de police */
  }

  /* Rendre les grands titres plus compacts et lisibles sans retour à la ligne forcé */
  h1.hero-title, 
  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.3 !important;
  }

  .section-title {
    font-size: 1.7rem !important;
    line-height: 1.3 !important;
  }

  /* Réduction des marges intérieures des cartes pour donner plus d'espace à la lecture sur mobile */
  .partner-card, 
  .widget-card, 
  .resource-card, 
  .restaurant-card {
    padding: 22px 16px !important;
  }

  .card-content {
    padding: 20px 14px !important;
  }

  /* Réduction des marges de sections pour éviter un défilement infini */
  .main-section {
    padding: 40px 16px !important;
  }

  /* Système d'onglets swipable (défilement horizontal au doigt) pour les filtres */
  .category-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 6px !important;
    gap: 8px !important;
    width: 100% !important;
    -ms-overflow-style: none !important; /* IE/Edge */
    scrollbar-width: none !important; /* Firefox */
  }
  
  .category-tabs::-webkit-scrollbar {
    display: none !important; /* Safari and Chrome */
  }

  .category-tab {
    flex-shrink: 0 !important;
  }

  /* Optimisation de la hauteur de la carte vectorielle pour les mobiles */
  .france-vector-map {
    max-height: 340px !important;
  }
}

/* --- RE-ORDONNANCEMENT DE LA GRILLE SUR MOBILE (MAX-WIDTH: 900PX) --- */
@media (max-width: 900px) {
  .grid-side-layout {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Le contenu principal de droite (grilles d'annonces, partenaires, ressources) passe au-dessus sur mobile */
  .partners-content-column,
  #view-search > section,
  #view-guides > section,
  .talents-content-column {
    order: 1 !important;
  }

  /* Le formulaire ou la barre de filtres passe en dessous */
  .grid-side-layout > .submit-ad-card,
  #view-search > aside,
  #view-guides > aside,
  .grid-side-layout > aside {
    order: 2 !important;
    width: 100% !important;
  }
}

/* --- RESOLUTION DU MENU HEADER SUR TABLETTE/MOBILE --- */
.mobile-only-member-btn {
  display: none !important;
}

@media (max-width: 1024px) {
  .mobile-only-member-btn {
    display: block !important;
  }

  /* Flexbox order adjustments inside header nav-container */
  .nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .logo {
    order: 1 !important;
  }

  .nav-actions {
    order: 2 !important;
    margin-left: auto !important; /* Pousse les actions à droite */
    margin-right: 20px !important; /* Marge avant le hamburger menu */
    gap: 16px !important;
  }

  .mobile-menu-btn {
    order: 3 !important;
    display: flex !important;
  }
}

@media (max-width: 900px) {
  /* Masquer le gros bouton Espace Membre dans la barre d'action du header */
  #dashboard-header-btn {
    display: none !important;
  }
  
  .nav-actions {
    margin-right: 15px !important;
  }
}

@media (max-width: 768px) {
  /* Redimensionner l'emblème SVG du logo pour gagner de la place */
  .logo-badge {
    width: 28px !important;
    height: 34px !important;
  }
  
  .logo {
    gap: 10px !important;
  }

  /* Titre du logo plus compact et masquage du sous-titre */
  .logo-text {
    font-size: 0.95rem !important;
    line-height: 1.1 !important;
  }
  
  .logo-text span:first-child {
    font-size: 0.85rem !important;
  }
  
  .logo-text span:nth-child(2) {
    font-size: 0.95rem !important;
  }
  
  .logo-subtitle {
    display: none !important;
  }
}

@media (max-width: 480px) {
  /* Ajustements pour les écrans très étroits (< 480px) */
  .nav-container {
    padding: 10px 12px !important; /* réduction du padding horizontal */
  }

  .logo-badge {
    width: 25px !important;
    height: 30px !important;
  }

  .logo {
    gap: 8px !important;
  }

  .logo-text span:first-child {
    font-size: 0.75rem !important;
  }

  .logo-text span:nth-child(2) {
    font-size: 0.88rem !important;
  }

  .nav-actions {
    margin-right: 10px !important;
    gap: 10px !important;
  }
  
  .mobile-menu-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
  }
}

/* ==========================================================================
   OPTIMISATIONS ET AMÉLIORATIONS VISUELLES DU THÈME CLAIR (Lisibilité et Contraste)
   ========================================================================== */

/* Suppression des dégradés de titres en thème clair pour une lisibilité maximale */
[data-theme="light"] .hero-title,
[data-theme="light"] .section-title {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: var(--text-primary) !important;
  text-shadow: none !important;
}

/* Adaptation lumineuse du Hero pour le thème clair (effet de voile ivoire/lin) */
[data-theme="light"] .hero {
  background-image: linear-gradient(rgba(251, 249, 246, 0.82), rgba(251, 249, 246, 0.94)), url('../img/hero-facade-lrdq.jpg') !important;
  background-attachment: fixed !important;
  background-position: center 25% !important;
}

/* Ajustement du badge de sous-titre du hero en thème clair */
[data-theme="light"] .hero-subtitle {
  background: rgba(179, 143, 29, 0.08) !important;
  border-color: rgba(179, 143, 29, 0.4) !important;
  color: var(--color-gold) !important;
}

/* Amélioration des boutons en thème clair (Lisibilité & Contraste Grand Cru) */
[data-theme="light"] .btn-outline {
  border: 1.5px solid rgba(55, 14, 26, 0.3) !important;
  color: #370e1a !important; /* Grand Cru profond, lisibilité parfaite */
  background-color: rgba(255, 255, 255, 0.75) !important;
}

[data-theme="light"] .btn-outline:hover {
  border-color: #370e1a !important;
  color: #ffffff !important;
  background-color: #370e1a !important;
  box-shadow: 0 4px 14px rgba(55, 14, 26, 0.2) !important;
}

[data-theme="light"] .btn-outline.active {
  border-color: #370e1a !important;
  color: #ffffff !important;
  background-color: #370e1a !important;
}

[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #c59b27 0%, #a47e17 100%) !important;
  color: #120306 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(143, 107, 21, 0.25) !important;
}

[data-theme="light"] .btn-primary:hover {
  background: linear-gradient(135deg, #a47e17 0%, #856110 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(133, 97, 16, 0.35) !important;
}

[data-theme="light"] .tab-btn {
  color: #5c242f !important;
}

[data-theme="light"] .tab-btn:hover {
  color: #370e1a !important;
  background: rgba(55, 14, 26, 0.05) !important;
}

[data-theme="light"] .tab-btn.active {
  background-color: #370e1a !important;
  border-color: #370e1a !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(55, 14, 26, 0.15) !important;
}

/* Boutons Héro & Médias en thème clair */
[data-theme="light"] #discover-hero-btn {
  color: #370e1a !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1.5px solid rgba(55, 14, 26, 0.35) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] #discover-hero-btn:hover {
  background: #370e1a !important;
  color: #ffffff !important;
  border-color: #370e1a !important;
}

[data-theme="light"] #hero-watch-film-btn {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1.5px solid #8f6b15 !important;
  color: #370e1a !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] #hero-watch-film-btn:hover {
  background: #370e1a !important;
  color: #ffffff !important;
  border-color: #370e1a !important;
}

/* Règle universelle pour tout bouton ayant un style inline var(--color-gold) */
[data-theme="light"] a.btn[style*="var(--color-gold)"],
[data-theme="light"] button.btn[style*="var(--color-gold)"] {
  color: #370e1a !important;
  border-color: rgba(55, 14, 26, 0.35) !important;
}

[data-theme="light"] a.btn[style*="var(--color-gold)"]:hover,
[data-theme="light"] button.btn[style*="var(--color-gold)"]:hover {
  background-color: #370e1a !important;
  color: #ffffff !important;
  border-color: #370e1a !important;
}

/* Adaptation des cartes d'annonces en thème clair */
[data-theme="light"] .card-financials {
  background-color: rgba(55, 14, 26, 0.03) !important;
  border: 1px solid rgba(55, 14, 26, 0.1) !important;
}
[data-theme="light"] .financial-label {
  color: #8a5a63 !important;
}
[data-theme="light"] .financial-value {
  color: #370e1a !important;
}
[data-theme="light"] .tag-badge {
  background-color: rgba(143, 107, 21, 0.07) !important;
  border: 1px solid rgba(143, 107, 21, 0.22) !important;
  color: #5c242f !important;
}

/* --- Styles Teaser Lock Box (Diagnostic de Marge) --- */
.teaser-blur-container {
  position: relative;
  width: 100%;
  min-height: 250px;
}

.blur-overlay {
  min-height: 250px;
}

.teaser-lock-box {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(8, 9, 13, 0.92) !important;
  border: 1px solid var(--color-gold) !important;
  border-radius: 12px;
  padding: 25px;
  box-shadow: var(--shadow-gold-heavy) !important;
  text-align: center;
  z-index: 5;
  transition: var(--transition-smooth);
}

.teaser-lock-box h4 {
  font-size: 0.95rem !important;
  color: var(--color-gold) !important;
  font-family: var(--font-sans) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 8px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.teaser-lock-box p {
  font-size: 0.78rem !important;
  color: var(--text-secondary) !important;
  margin-bottom: 15px !important;
  max-width: 320px !important;
  line-height: 1.4 !important;
  font-weight: 300 !important;
}

[data-theme="light"] .teaser-lock-box {
  background: rgba(251, 249, 246, 0.94) !important;
}

/* --- DÉCLINAISONS DE SECTEUR (CHARTE DESIGN) --- */
.sector-environnement {
  border-top: 4px solid var(--color-environnement) !important;
}
.sector-finance {
  border-top: 4px solid var(--color-finance) !important;
}
.sector-immobilier {
  border-top: 4px solid var(--color-immobilier) !important;
}

.partner-card.sector-environnement:hover {
  box-shadow: 0 10px 30px rgba(100, 111, 75, 0.15) !important;
}
.partner-card.sector-finance:hover {
  box-shadow: 0 10px 30px rgba(8, 76, 97, 0.15) !important;
}
.partner-card.sector-immobilier:hover {
  box-shadow: 0 10px 30px rgba(220, 58, 52, 0.15) !important;
}

.badge-environnement {
  background-color: rgba(100, 111, 75, 0.1) !important;
  color: var(--color-environnement) !important;
  border: 1px solid rgba(100, 111, 75, 0.25) !important;
}
.badge-finance {
  background-color: rgba(8, 76, 97, 0.1) !important;
  color: var(--color-finance) !important;
  border: 1px solid rgba(8, 76, 97, 0.25) !important;
}
.badge-immobilier {
  background-color: rgba(220, 58, 52, 0.1) !important;
  color: var(--color-immobilier) !important;
  border: 1px solid rgba(220, 58, 52, 0.25) !important;
}

/* --- OVERLAY D'INTRODUCTION VIDÉO (CABINET DE DESIGN) --- */
body.intro-active {
  overflow: hidden !important;
}

.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #09090d; /* Noir de jais profond */
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1);
}

.intro-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
}

.intro-overlay video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Conserve les proportions sans rogner l'animation */
  background-color: #09090d;
}

.skip-btn {
  position: absolute;
  bottom: 40px;
  right: 40px;
  background: rgba(18, 3, 6, 0.65);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 14px 28px;
  border-radius: 100px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease, background 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000000;
}

.skip-btn.show {
  opacity: 1;
  visibility: visible;
}

.skip-btn:hover {
  background: var(--color-gold);
  color: #000000;
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .skip-btn {
    bottom: 30px;
    right: 20px;
    left: 20px; /* Sur mobile, centré en bas */
    text-align: center;
    padding: 12px 20px;
    font-size: 0.68rem;
  }
}

/* Loader d'introduction (chargement de la vidéo lourde) */
.intro-loader {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 3px solid rgba(228, 200, 118, 0.1);
  border-radius: 50%;
  border-top-color: var(--color-gold); /* Or brossé */
  animation: intro-spin 1s ease-in-out infinite;
  z-index: 9999999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

@keyframes intro-spin {
  to { transform: rotate(360deg); }
}

.intro-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* --- MANIFESTE CONCEPT : L'ENTRAIDE À TABLE --- */
.manifesto-card {
  background: linear-gradient(135deg, #120306 0%, #1c070c 100%);
  border: 1px solid rgba(228, 200, 118, 0.25);
  border-radius: 12px;
  padding: 45px;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.manifesto-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-gold);
}

.manifesto-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--color-gold);
  margin-bottom: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-style: italic;
}

.manifesto-para {
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 0;
}

.manifesto-para + .manifesto-para {
  margin-top: 18px;
}

@media (max-width: 768px) {
  .manifesto-card {
    padding: 35px 22px;
    margin-bottom: 40px !important;
  }
  .manifesto-title {
    font-size: 1.45rem;
    margin-bottom: 18px;
  }
  .manifesto-para {
    font-size: 0.95rem;
    line-height: 1.75;
  }
}

/* --- SLIDER DU RÉSEAU DES CHEFS & ÉTABLISSEMENTS --- */
.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.slider-container {
  overflow: hidden;
  width: 100%;
  padding: 20px 0; /* Évite de rogner les box-shadows des cartes */
}

#home-members-grid {
  display: flex !important;
  gap: 0 !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  margin-bottom: 0 !important;
}

#home-members-grid .restaurant-card {
  flex: 0 0 calc(25% - 24px) !important; /* 4 par page sur desktop */
  margin: 0 12px !important;
  box-sizing: border-box;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(18, 3, 6, 0.85); /* Grand Cru sombre */
  border: 1px solid var(--border-color);
  color: var(--color-gold);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.slider-nav-btn:hover:not(:disabled) {
  background: var(--color-gold);
  color: #000000;
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold-heavy);
  transform: translateY(-50%) scale(1.08);
}

.slider-nav-btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.95);
}

.slider-nav-btn:disabled {
  opacity: 0.15;
  cursor: not-allowed;
}

.slider-nav-btn.prev-btn {
  left: -27px;
}

.slider-nav-btn.next-btn {
  right: -27px;
}

/* Dots de navigation */
.slider-dots {
  position: relative;
  z-index: 15;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  pointer-events: auto !important;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto !important;
}

.slider-dots .dot:hover {
  background: rgba(228, 200, 118, 0.5);
}

.slider-dots .dot.active {
  background: var(--color-gold);
  width: 26px;
  border-radius: 100px;
}

/* Adaptabilité responsive */
@media (max-width: 1200px) {
  .slider-nav-btn.prev-btn {
    left: 8px;
  }
  .slider-nav-btn.next-btn {
    right: 8px;
  }
}

@media (max-width: 1024px) {
  #home-members-grid .restaurant-card {
    flex: 0 0 calc(33.333% - 20px) !important; /* 3 par page sur tablette landscape */
    margin: 0 10px !important;
  }
}

@media (max-width: 768px) {
  #home-members-grid .restaurant-card {
    flex: 0 0 calc(50% - 16px) !important; /* 2 par page sur tablette portrait */
    margin: 0 8px !important;
  }
  .slider-nav-btn {
    display: none; /* Swipe/Touch sur mobile, navigation via dots */
  }
}

@media (max-width: 600px) {
  #home-members-grid .restaurant-card {
    flex: 0 0 calc(100% - 16px) !important; /* 1 par page sur smartphone */
    margin: 0 8px !important;
  }
}

/* ===================================================
   SECTION VIDÉO SHOWCASE CINÉMA — L'ESPRIT LRDQ
   =================================================== */
.video-showcase-section {
  position: relative;
  padding: 100px 24px 90px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(35, 8, 14, 0.45) 50%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

[data-theme="light"] .video-showcase-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(228, 200, 118, 0.12) 50%, var(--bg-primary) 100%);
}

.video-showcase-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.video-showcase-header {
  margin-bottom: 35px;
}

.video-showcase-header .section-desc {
  max-width: 680px;
  margin: 12px auto 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 300;
}

.video-player-wrapper {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.video-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(228, 200, 118, 0.25) 0%, rgba(35, 8, 14, 0.35) 60%, transparent 80%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

[data-theme="light"] .video-ambient-glow {
  background: radial-gradient(circle, rgba(181, 144, 32, 0.2) 0%, rgba(228, 200, 118, 0.15) 60%, transparent 80%);
}

.video-frame {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(228, 200, 118, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(228, 200, 118, 0.15);
  background: #000;
  aspect-ratio: 1 / 1;
  max-width: 600px;
  margin: 0 auto;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Badges overlay haut */
.video-overlay-top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 4;
  pointer-events: none;
}

.video-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(18, 3, 6, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(228, 200, 118, 0.4);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.video-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.video-duration-pill {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-gold);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: monospace;
  font-weight: 700;
}

/* Barre de contrôles bas */
.video-controls-bar {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 4;
  gap: 12px;
}

.video-control-btn {
  background: rgba(18, 3, 6, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(228, 200, 118, 0.4);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.video-control-btn:hover {
  background: var(--color-gold);
  color: #120306;
  border-color: var(--color-gold);
  transform: scale(1.08);
}

.video-sound-pill {
  background: rgba(18, 3, 6, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  padding: 8px 18px;
  border-radius: 25px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.video-sound-pill:hover {
  background: var(--color-gold);
  color: #120306;
  box-shadow: 0 6px 20px rgba(228, 200, 118, 0.4);
  transform: translateY(-2px);
}

.video-sound-pill.sound-active {
  background: linear-gradient(135deg, var(--color-gold) 0%, #b89c4a 100%);
  color: #120306;
  border-color: #fff;
}

/* Bouton héro vers le film */
.btn-video-watch:hover {
  background: var(--color-gold) !important;
  color: #120306 !important;
  border-color: var(--color-gold) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(228, 200, 118, 0.4);
}

/* Badges de secteur confidentiel non-trompeurs sur les cartes */
.sector-badge-container {
  background: transparent !important;
  border: none !important;
}

.map-sector-capsule {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(18, 3, 6, 0.94);
  color: #FFFFFF;
  border: 1.5px solid rgba(228, 200, 118, 0.75);
  border-radius: 9999px;
  padding: 5px 13px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 10px rgba(139, 30, 63, 0.3);
  transform: translate(-50%, -50%);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
}

.map-sector-capsule:hover {
  transform: translate(-50%, -50%) scale(1.08);
  border-color: #FFFFFF;
  background: rgba(35, 8, 14, 0.98);
  box-shadow: 0 6px 22px rgba(228, 200, 118, 0.5), 0 0 14px rgba(228, 200, 118, 0.3);
}

.map-sector-capsule .sector-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}




