/* École des Maîtres Dauphins - CSS COMPLET */

/* Variables - BON DORÉ */
:root {
  --gold: #C5A059;
  --gold-light: #D4B87A;
  --gold-dark: #A68946;
  --bg-dark: #070C1D;
  --bg-secondary: #0A1128;
  --blue-accent: #4C8AC8;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
  font-family: 'Inter', sans-serif; 
  background: var(--bg-dark);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
.font-cinzel { font-family: 'Cinzel', serif; }
.font-playfair { font-family: 'Playfair Display', serif; }

/* Animations */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: -1000px; } 100% { background-position: 1000px; } }
@keyframes pulse-gold { 0%, 100% { box-shadow: 0 0 20px rgba(197, 160, 89, 0.3); } 50% { box-shadow: 0 0 40px rgba(197, 160, 89, 0.6); } }

.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Glass morphism */
.glass-card {
  background: rgba(10, 17, 40, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 160, 89, 0.1);
  border-radius: 24px;
}

/* Buttons - BON DORÉ */
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-dark);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(197, 160, 89, 0.5);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-outline-gold:hover {
  background: rgba(197, 160, 89, 0.1);
  transform: translateY(-2px);
}

/* Cards */
.luxury-card {
  background: linear-gradient(135deg, rgba(10, 17, 40, 0.8) 0%, rgba(15, 25, 50, 0.6) 100%);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 24px;
  padding: 32px;
  transition: all 0.4s;
}
.luxury-card:hover {
  border-color: rgba(197, 160, 89, 0.5);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(197, 160, 89, 0.2);
}

/* Gradients */
.text-gold { color: var(--gold); }
.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Testimonials */
.testimonial-slide { display: none; opacity: 0; transition: opacity 0.6s; }
.testimonial-slide.active { display: block; opacity: 1; animation: fadeInUp 0.6s; }
.testimonial-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(197, 160, 89, 0.3);
  cursor: pointer; transition: all 0.3s;
}
.testimonial-dot.active {
  background: var(--gold);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.6);
}

/* FAQ */
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-content { max-height: 1000px; }
.faq-icon { transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(180deg); }

/* Video player */
.video-testimonial {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(197, 160, 89, 0.2);
}
.video-testimonial video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7, 12, 29, 0.8), transparent);
  transition: opacity 0.3s;
}
.video-testimonial.playing .video-overlay { opacity: 0; }
.play-button {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(197, 160, 89, 0.4);
}
.play-button:hover { transform: translate(-50%, -50%) scale(1.1); }
.video-testimonial.playing .play-button { opacity: 0; }

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.active { display: flex; }
.modal-content {
  background: var(--bg-secondary);
  border: 2px solid var(--gold);
  border-radius: 24px;
  padding: 40px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: fadeInUp 0.4s;
}

/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s;
}
#navbar.scrolled {
  background: rgba(7, 12, 29, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .luxury-card { padding: 24px; }
  .btn-gold, .btn-outline-gold { padding: 12px 24px; font-size: 14px; }
}

/* Backgrounds */
.bg-cosmic {
  background-image: radial-gradient(circle at 20% 50%, rgba(76, 138, 200, 0.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(197, 160, 89, 0.05) 0%, transparent 50%);
}
.bg-stellar {
  background-image: radial-gradient(circle at 50% 50%, rgba(197, 160, 89, 0.03) 0%, transparent 70%);
}
