/* ========================================
   ZANA - Style Luxueux OR & NOIR 2025
   Palette: Or, Noir, Crème
   ======================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Montserrat:wght@300;400;600;700&display=swap');

/* ========================================
   VARIABLES CSS - PALETTE LUXUEUSE
   ======================================== */
:root {
  /* Couleurs principales */
  --or-principal: #D4AF37;
  --or-clair: #FFD700;
  --or-fonce: #B8860B;
  --noir: #1A1A1A;
  --noir-doux: #2C2C2C;
  --creme: #F5F5DC;
  --blanc-casse: #FAFAF0;
  --argent: #C0C0C0;
  --gris-texte: #3A3A3A;
  --gris-clair: #E8E8E8;
  
  /* Typographies */
  --font-titre: 'Playfair Display', serif;
  --font-texte: 'Montserrat', sans-serif;
  
  /* Transitions */
  --transition-rapide: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normale: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Ombres */
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.3);
  --shadow-dark: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-texte);
  background: linear-gradient(135deg, var(--blanc-casse) 0%, var(--creme) 50%, #F0E68C 100%);
  background-attachment: fixed;
  color: var(--gris-texte);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ========================================
   LOADER LUXUEUX
   ======================================== */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--noir), var(--noir-doux));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-container.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-modern {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: var(--or-principal);
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

.loader-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  border-top-color: var(--or-clair);
  animation-duration: 1.5s;
  animation-direction: reverse;
}

.loader-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  border-top-color: var(--or-fonce);
  animation-duration: 1s;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.loader-text {
  color: var(--or-principal);
  font-size: 18px;
  margin-top: 30px;
  font-weight: 600;
  letter-spacing: 2px;
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ========================================
   NAVIGATION LUXUEUSE
   ======================================== */
.nav-glass {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
  transition: all var(--transition-rapide);
  border-bottom: 2px solid var(--or-principal);
}

.nav-glass.scrolled {
  padding: 15px 5%;
  background: rgba(26, 26, 26, 0.98);
}

.nav-logo img {
  height: 60px;
  width: auto;
  transition: all var(--transition-rapide);
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.5));
}

.nav-logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.8));
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-link-modern {
  color: var(--creme);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  padding: 8px 0;
  transition: all var(--transition-rapide);
  letter-spacing: 0.5px;
}

.nav-link-modern::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--or-fonce), var(--or-clair));
  transition: width var(--transition-rapide);
}

.nav-link-modern:hover {
  color: var(--or-principal);
}

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

/* Menu burger */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.burger span {
  width: 28px;
  height: 3px;
  background: var(--or-principal);
  transition: all var(--transition-rapide);
  border-radius: 2px;
}

/* ========================================
   HERO SECTION LUXUEUSE
   ======================================== */
.hero-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 5% 80px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blanc-casse), var(--creme));
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-badge-3d {
  position: absolute;
  top: 100px;
  right: 5%;
  background: linear-gradient(135deg, var(--or-principal), var(--or-clair));
  color: var(--noir);
  padding: 18px 35px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
  box-shadow: var(--shadow-gold);
  animation: float 3s ease-in-out infinite;
  z-index: 10;
  letter-spacing: 2px;
  border: 2px solid var(--or-fonce);
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0);
  }
  50% { 
    transform: translateY(-15px);
  }
}

.hero-logo-3d {
  max-width: 300px;
  margin-bottom: 40px;
  animation: fadeInDown 1s ease;
  filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.4));
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title-modern {
  font-family: var(--font-titre);
  font-size: 72px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--noir);
  text-shadow: 2px 2px 4px rgba(212, 175, 55, 0.2);
}

.title-line {
  display: block;
  animation: fadeInUp 1s ease both;
}

.title-line:nth-child(2) {
  animation-delay: 0.2s;
  background: linear-gradient(135deg, var(--or-fonce), var(--or-clair));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle-modern {
  font-size: 28px;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease 0.4s both;
  color: var(--noir);
}

.gradient-text {
  background: linear-gradient(135deg, var(--or-fonce), var(--or-clair));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hero-description {
  font-size: 18px;
  color: var(--gris-texte);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.8s both;
}

/* ========================================
   BOUTONS LUXUEUX
   ======================================== */
.cta-button-3d {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 45px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-rapide);
  text-decoration: none;
  font-family: var(--font-texte);
  letter-spacing: 1px;
}

.cta-button-3d.primary {
  background: linear-gradient(135deg, var(--or-principal), var(--or-clair));
  color: var(--noir);
  box-shadow: var(--shadow-gold);
  border: 2px solid var(--or-fonce);
}

.cta-button-3d.secondary {
  background: var(--noir);
  color: var(--or-principal);
  border: 2px solid var(--or-principal);
  box-shadow: var(--shadow-dark);
}

.cta-button-3d:hover {
  transform: translateY(-5px) scale(1.05);
}

.cta-button-3d.primary:hover {
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.cta-button-3d.secondary:hover {
  background: var(--or-principal);
  color: var(--noir);
}

.button-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-rapide);
}

.cta-button-3d:hover .button-glow {
  opacity: 1;
}

/* ========================================
   SECTIONS
   ======================================== */
.section-title-modern {
  font-family: var(--font-titre);
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 60px;
  text-align: center;
  color: var(--noir);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.title-number {
  font-size: 100px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--or-principal), var(--or-clair));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
}

/* ========================================
   CARTES LUXUEUSES
   ======================================== */
.how-it-works-modern {
  padding: 100px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.steps-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.step-card-3d {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 25px;
  text-align: center;
  transition: all var(--transition-normale);
  border: 2px solid var(--or-principal);
  position: relative;
  overflow: hidden;
}

.step-card-3d:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-gold);
  background: rgba(255, 255, 255, 1);
}

.step-number {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--or-principal), var(--or-clair));
  color: var(--noir);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: var(--shadow-gold);
}

.step-icon-modern {
  font-size: 60px;
  margin-bottom: 20px;
}

.step-card-3d h3 {
  font-family: var(--font-titre);
  font-size: 26px;
  margin-bottom: 15px;
  color: var(--noir);
}

.step-card-3d p {
  color: var(--gris-texte);
  line-height: 1.8;
  font-size: 15px;
}

/* ========================================
   INFO BOX
   ======================================== */
.info-box-glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 3px solid var(--or-principal);
  border-radius: 25px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: var(--shadow-gold);
  animation: fadeInUp 1s ease;
}

.info-icon {
  font-size: 60px;
}

.info-content h3 {
  font-family: var(--font-titre);
  font-size: 28px;
  color: var(--noir);
  margin-bottom: 10px;
}

.info-content p {
  color: var(--gris-texte);
  font-size: 17px;
  line-height: 1.8;
}

/* ========================================
   TÉMOIGNAGES
   ======================================== */
.testimonials-modern {
  padding: 100px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.testimonial-card-modern {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 25px;
  border: 2px solid var(--or-principal);
  transition: all var(--transition-normale);
  position: relative;
}

.testimonial-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-gold);
}

.quote-icon {
  font-size: 80px;
  color: var(--or-principal);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: -20px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--gris-texte);
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--or-principal), var(--or-clair));
  color: var(--noir);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.author-info h4 {
  color: var(--noir);
  font-weight: 700;
  margin-bottom: 2px;
}

.author-info p {
  color: var(--gris-texte);
  font-size: 14px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section-modern {
  padding: 100px 5%;
  background: linear-gradient(135deg, var(--noir), var(--noir-doux));
  position: relative;
  overflow: hidden;
}

.cta-content-3d {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-titre);
  font-size: 52px;
  font-weight: 800;
  color: var(--or-principal);
  margin-bottom: 20px;
}

.cta-description {
  font-size: 20px;
  color: var(--creme);
  margin-bottom: 40px;
  line-height: 1.8;
}

/* ========================================
   FOOTER
   ======================================== */
.footer-modern {
  background: linear-gradient(135deg, var(--noir), var(--noir-doux));
  padding: 80px 5% 30px;
  border-top: 3px solid var(--or-principal);
  color: var(--creme);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand img {
  max-width: 150px;
  margin-bottom: 20px;
}

.footer-tagline {
  color: rgba(245, 245, 220, 0.8);
  line-height: 1.8;
  margin-top: 15px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-section h3 {
  font-family: var(--font-titre);
  font-size: 22px;
  margin-bottom: 20px;
  color: var(--or-principal);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(245, 245, 220, 0.9);
  text-decoration: none;
  transition: all var(--transition-rapide);
  display: inline-block;
}

.footer-section a:hover {
  color: var(--or-principal);
  transform: translateX(5px);
}

.social-links-modern {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-rapide);
  border: 2px solid var(--or-principal);
}

.social-icon svg {
  width: 22px;
  height: 22px;
  color: var(--or-principal);
}

.social-icon:hover {
  background: var(--or-principal);
  transform: translateY(-5px);
}

.social-icon:hover svg {
  color: var(--noir);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.copyright,
.founders {
  color: rgba(245, 245, 220, 0.7);
  font-size: 14px;
  margin: 5px 0;
}

/* ========================================
   SCROLL INDICATOR
   ======================================== */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.mouse {
  width: 30px;
  height: 50px;
  border: 3px solid var(--or-principal);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 6px;
  height: 10px;
  background: var(--or-principal);
  border-radius: 3px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    top: 10px;
  }
  100% {
    opacity: 0;
    top: 30px;
  }
}

.scroll-indicator p {
  color: var(--gris-texte);
  font-size: 14px;
  font-weight: 600;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    flex-direction: column;
    background: rgba(26, 26, 26, 0.98);
    width: 100%;
    padding: 40px;
    transition: right var(--transition-rapide);
    box-shadow: var(--shadow-gold);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .hero-title-modern {
    font-size: 42px;
  }
  
  .hero-badge-3d {
    top: 80px;
    right: 50%;
    transform: translateX(50%);
    font-size: 13px;
    padding: 14px 28px;
  }
  
  .section-title-modern {
    font-size: 36px;
  }
  
  .title-number {
    font-size: 60px;
  }
  
  .steps-grid-3d {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .cta-button-3d {
    width: 100%;
    justify-content: center;
  }
  
  .info-box-glass {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title-modern {
    font-size: 34px;
  }
  
  .hero-subtitle-modern {
    font-size: 20px;
  }
}

