/* ========== VARIABLES OPTIMISÉES ========== */
:root {
  --gold-light: #FFD700;
  --gold-dark: #D4AF37;
  --gold-gradient: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-dark) 100%);
  --gold-text-gradient: linear-gradient(135deg, #F9D423 0%, var(--gold-light) 50%, #D4AF37 100%);
  
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #0f3460;
  
  --text-light: #f8f9fa;
  --text-dark: #212529;
  --text-muted: #6c757d;
  
  --bg-body: #f8f9fa;
  --bg-card: #ffffff;
  
  --border-radius: 10px;
  --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.35s cubic-bezier(0.16, 0.85, 0.36, 1);
}

[data-bs-theme="dark"] {
  --bg-body: #121212;
  --bg-card: #1e1e1e;
  --text-dark: #f8f9fa;
  --text-muted: #adb5bd;
  --primary: #0d0d1a;
  --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

/* ========== BASE OPTIMISÉE ========== */
body {
  font-family: 'Cormorant Garamond', serif;
  background-color: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.8;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

/* ========== NAVBAR LUXE ========== */
.navbar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  padding: 0.8rem 2rem;
  position: relative;
  z-index: 1000;
}

.navbar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(212, 175, 55, 0.6) 50%, 
    transparent 100%);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.6rem;
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex;
  align-items: center;
  letter-spacing: 0.05em;
}

.navbar-brand i {
  margin-right: 12px;
  font-size: 1.8rem;
}

/* ========== CARTES PRÉMIUM ========== */
.card {
  border: none; 
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  background-color: var(--bg-card);
  transition: var(--transition);
  margin-bottom: 2rem;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.1);
  font-size: 1.2rem;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: rgba(212, 175, 55, 0.2);
}

.card-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========== BOUTONS LUXE ========== */
.btn {
  border-radius: var(--border-radius);
  font-weight: 600;
  padding: 0.8rem 2rem;
  transition: var(--transition);
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #1a1a1a;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%);
  transition: all 0.6s ease;
}

.btn-gold:hover::after {
  left: 100%;
}

/* ========== FOOTER PRÉMIUM ========== */
.footer {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
}

.footer h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

/* ========== EFFETS SPÉCIAUX ========== */
.text-gold {
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  display: inline-block;
}

.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--gold-light) 50%, 
    transparent 100%);
  margin: 2rem 0;
  opacity: 0.6;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .navbar {
    padding: 0.8rem 1.5rem;
  }
  
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.4rem;
  }
  
  .card {
    margin-bottom: 1.5rem;
  }
}