/* =========================================
   VARIABLES & GLOBALS
   ========================================= */
:root {
  --bg-main: #050505;
  --bg-surface: #0f0f0f;
  --accent-gold: #d4af37;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --border-subtle: rgba(255, 255, 255, 0.08);
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Correction : s'applique au main avec ou sans la classe landing-main */
main,
.landing-main {
  flex: 1;
  width: 100%;
  padding-top: 80px; /* Espace pour le header fixe */
}

/* =========================================
   STYLE GRAND MASTER (FOND & AMBIANCE)
   ========================================= */

/* Fond d'ambiance architectural */
.grand-master-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  background-image: radial-gradient(
    circle at 50% 0%,
    #1a1500 0%,
    var(--bg-main) 60%
  );
  pointer-events: none;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
  padding: 10rem 2rem 4rem;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.badge-pro {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent-gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 8px 20px;
  margin-bottom: 2rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.1),
    transparent
  );
  display: inline-block;
}

.hero-section h1 {
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
  letter-spacing: -1px;
}

/* Effet Or Métallique sur le texte */
.text-gradient-gold {
  background: linear-gradient(to bottom, #fcf6ba, #d4af37, #aa8a29);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #888;
  max-width: 600px;
  margin: 0 auto 4rem;
  font-weight: 300;
  line-height: 1.8;
}

/* --- Barre de Stats --- */
.hero-stats-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 3rem;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  margin: 0 auto 4rem auto;
  max-width: fit-content;
}

.strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.strip-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  line-height: 1;
}

.strip-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-gold);
  margin-top: 5px;
}

.strip-sep {
  width: 1px;
  height: 30px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

/* --- Scroll Mouse Animation --- */
.hero-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.scroll-down-btn {
  display: block;
  opacity: 0.7;
  transition: opacity 0.3s;
  cursor: pointer;
  border: none;
  background: none;
  padding: 10px;
}

.scroll-down-btn:hover {
  opacity: 1;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  display: block;
  position: relative;
  margin: 0 auto;
}

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

@keyframes scroll {
  0% {
    top: 8px;
    opacity: 1;
  }
  100% {
    top: 24px;
    opacity: 0;
  }
}

/* =========================================
   CARTES MODES (PREMIUM GRID)
   ========================================= */
.modes-section {
  padding: 4rem 2rem 8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title-wrap h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.gold-accent {
  color: var(--accent-gold);
  font-style: italic;
}

.section-title-wrap p {
  color: #666;
  font-size: 1rem;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

/* Style de base de la carte */
.mode-card {
  position: relative;
  background: linear-gradient(145deg, #0f0f0f, #050505);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 2rem;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
  border-radius: 4px;
}

/* Numéro en fond */
.card-bg-number {
  position: absolute;
  top: -20px;
  right: -20px;
  font-family: var(--font-heading);
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.02);
  transition: all 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.card-content {
  position: relative;
  z-index: 1;
}

/* Icônes */
.card-icon {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #444;
  transition: all 0.4s ease;
}

.mode-card h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.mode-card p {
  color: #888;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  transition: color 0.3s;
}

/* Bouton action */
.card-action {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

/* --- Hover Effects --- */
.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(212, 175, 55, 0.15),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.mode-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  background: linear-gradient(145deg, #12100b, #050505);
}

.mode-card:hover .card-glow {
  opacity: 1;
}

.mode-card:hover .card-icon {
  color: var(--accent-gold);
  transform: scale(1.1);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.mode-card:hover h3 {
  color: var(--accent-gold);
}

.mode-card:hover p {
  color: #bbb;
}

.mode-card:hover .card-bg-number {
  color: rgba(212, 175, 55, 0.05);
  transform: translate(-10px, 10px);
}

.mode-card:hover .card-action {
  opacity: 1;
  color: var(--accent-gold);
  gap: 1.5rem;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 2rem;
  background: var(--bg-main);
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-brand {
  max-width: 300px;
}

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

.footer-brand .dot {
  color: var(--accent-gold);
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-style: italic;
}

.footer-nav-group {
  display: flex;
  gap: 4rem;
}

.footer-col h5 {
  color: var(--accent-gold);
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-block;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--text-primary);
  transform: translateX(5px);
}

.footer-copy {
  width: 100%;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  margin-top: 1rem;
  color: #444;
  font-size: 0.8rem;
  text-align: center;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 3rem;
  }

  .hero-stats-strip {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    width: 80%;
  }

  .strip-sep {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
  }

  .mouse {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav-group {
    justify-content: center;
    width: 100%;
    gap: 2rem;
  }
}
