/* ==========================================================================
   ECN GROUP - SITE VITRINE OFFICIEL DE PRESTIGE
   Design System : Luxe Haute Horlogerie, Noir Obsidienne & Or 24K Métallique
   Mobile-First, Ergonomique & 100% Fluide
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & DESIGN TOKENS PRESTIGE
   -------------------------------------------------------------------------- */
:root {
  /* Palette Noir Obsidienne & Surfaces */
  --bg-deep: #050608;
  --bg-main: #07090e;
  --bg-surface-1: #0c0f17;
  --bg-surface-2: #121724;
  --bg-surface-3: #181f30;
  --bg-surface-card: rgba(14, 18, 28, 0.72);
  --bg-surface-hover: rgba(22, 28, 44, 0.88);
  --bg-glass: rgba(7, 9, 14, 0.82);
  --bg-glass-card: rgba(12, 15, 23, 0.68);

  /* Or Métallique & Nuances Royales */
  --gold-primary: #d4af37;
  --gold-light: #f6e29e;
  --gold-bright: #fff2c6;
  --gold-hover: #e5bf4e;
  --gold-dark: #8c6a1e;
  --gold-muted: rgba(212, 175, 55, 0.45);
  --gold-border: rgba(212, 175, 55, 0.22);
  --gold-border-bright: rgba(246, 226, 158, 0.5);
  --gold-border-glow: rgba(212, 175, 55, 0.7);

  /* Dégradés Métalliques Brossés */
  --gold-gradient: linear-gradient(135deg, #fbe8aa 0%, #d4af37 45%, #b38825 80%, #fbe8aa 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(251, 232, 170, 0.12) 0%, rgba(212, 175, 55, 0.03) 100%);
  --gold-gradient-card: linear-gradient(180deg, rgba(22, 28, 42, 0.75) 0%, rgba(10, 13, 20, 0.95) 100%);
  --gold-gradient-badge: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.06) 100%);

  /* Lueurs & Ombres Portées */
  --gold-glow-sm: 0 0 15px rgba(212, 175, 55, 0.2);
  --gold-glow-md: 0 0 30px rgba(212, 175, 55, 0.35);
  --gold-glow-lg: 0 0 50px rgba(212, 175, 55, 0.5);
  --shadow-card: 0 14px 40px rgba(0, 0, 0, 0.55);
  --shadow-elevated: 0 24px 60px rgba(0, 0, 0, 0.75);

  /* Typographie */
  --text-primary: #f8f9fc;
  --text-secondary: #9da4b6;
  --text-muted: #61687a;
  --text-gold: #f3d77d;
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cinzel', 'Playfair Display', Georgia, serif;

  /* Dimensions & Rayons */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Layout */
  --container-max: 1240px;
  --nav-height: 80px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. RESET & BASES TYPOGRAPHIQUES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-main);
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 10% 25%, rgba(18, 23, 36, 0.7) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(212, 175, 55, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(212, 175, 55, 0.07) 0%, transparent 40%);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 16px;
  position: relative;
}

/* Texture de fond subtile grille or et circuits */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(212, 175, 55, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

img, svg, picture {
  max-width: 100%;
  display: block;
  height: auto;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
}

button {
  cursor: pointer;
  border: none;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. INTRO ANIMÉE DE PRESTIGE (SPLASH SCREEN PRELOADER)
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-bg-glow {
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.05) 50%, transparent 70%);
  filter: blur(50px);
  animation: preloaderPulse 3s ease-in-out infinite alternate;
}

.preloader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-emblem-wrap {
  position: relative;
  margin-bottom: 28px;
}

.preloader-emblem {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.5));
  animation: preloaderScale 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.preloader-ring {
  position: absolute;
  inset: -10px;
  border: 1px solid var(--gold-primary);
  border-radius: 50%;
  opacity: 0.4;
  border-top-color: transparent;
  animation: spin 3s linear infinite;
}

.preloader-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 6px;
  color: #ffffff;
  margin-bottom: 6px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.preloader-sub {
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.preloader-motto {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-light);
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.preloader-motto span {
  opacity: 0.8;
}

.preloader-diamond {
  color: var(--gold-primary);
  font-size: 0.75rem;
}

.preloader-bar-wrap {
  width: 220px;
  height: 2px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out 0.7s both;
}

.preloader-bar {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold-gradient);
  box-shadow: 0 0 10px var(--gold-primary);
  animation: preloaderProgress 2s ease-in-out infinite;
}

.preloader-skip {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-top: 10px;
  animation: fadeInUp 1s ease-out 0.9s both;
}

.preloader-skip:hover {
  color: var(--gold-light);
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
}

@keyframes preloaderScale {
  0% { transform: scale(0.7); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes preloaderPulse {
  0% { transform: scale(0.9); opacity: 0.4; }
  100% { transform: scale(1.15); opacity: 0.85; }
}

@keyframes preloaderProgress {
  0% { left: -100%; }
  50% { left: 0%; }
  100% { left: 100%; }
}

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

/* --------------------------------------------------------------------------
   4. LAYOUT, CONTENEUR & GRILLES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .container {
    padding-left: 36px;
    padding-right: 36px;
  }
}

.section {
  padding-top: clamp(65px, 8vw, 110px);
  padding-bottom: clamp(65px, 8vw, 110px);
  position: relative;
  z-index: 1;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), rgba(212, 175, 55, 0.4), var(--gold-border), transparent);
  margin: 0 auto;
  position: relative;
}

.section-divider::after {
  content: '♦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--gold-primary);
  background: var(--bg-deep);
  padding: 0 10px;
  font-size: 0.75rem;
}

/* En-têtes de sections */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(36px, 5vw, 64px) auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: var(--gold-gradient-badge);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 18px;
}

.section-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
}

.section-description {
  font-size: clamp(0.95rem, 1.8vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   5. COMPOSANTS BOUTONS & BADGES DE LUXE
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.925rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-align: center;
  min-height: 48px;
  position: relative;
  overflow: hidden;
}

/* Effet Shimmer lumineux sur bouton */
.btn-primary {
  background: var(--gold-gradient);
  color: #06070a;
  box-shadow: 0 4px 22px rgba(212, 175, 55, 0.35);
  font-weight: 700;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    60deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: btnShimmer 4s infinite;
}

@keyframes btnShimmer {
  0% { left: -70%; }
  35% { left: 140%; }
  100% { left: 140%; }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(212, 175, 55, 0.55);
  background: linear-gradient(135deg, #fff0c2 0%, #e0b842 50%, #c4962c 100%);
}

.btn-secondary {
  background: var(--bg-surface-card);
  color: #ffffff;
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  color: var(--gold-light);
  box-shadow: var(--gold-glow-sm);
}

.btn-outline {
  background: rgba(18, 23, 36, 0.85);
  color: var(--gold-light);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-primary);
  color: #ffffff;
  box-shadow: var(--gold-glow-sm);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.16);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.28);
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.35);
  transform: translateY(-2px);
}

.btn-success {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   6. BARRE DE NAVIGATION FLOTTANTE & BURGER
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(5, 6, 8, 0.94);
  border-bottom: 1px solid var(--gold-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

@media (max-width: 480px) {
  .brand-logo-img {
    height: 38px;
    max-width: 160px;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
  padding: 8px 0;
  letter-spacing: 0.2px;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--transition-fast);
}

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

.nav-actions {
  display: none;
  align-items: center;
  gap: 16px;
}

/* Bouton Burger Mobile */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger-line {
  width: 100%;
  height: 2.2px;
  background: var(--gold-light);
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.burger-btn.active .burger-line:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.burger-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.active .burger-line:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

@media (min-width: 992px) {
  .nav-links, .nav-actions {
    display: flex;
  }
  .burger-btn {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   7. NAVIGATION MOBILE ERGONOMIQUE (DRAWER REDESSINÉ SANS SUPERPOSITION)
   -------------------------------------------------------------------------- */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  z-index: 2000;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 88%;
  max-width: 370px;
  height: 100vh;
  height: 100dvh;
  background: #090c13;
  border-left: 1px solid var(--gold-border);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2010;
  overflow: hidden;
}

.mobile-nav-drawer.open {
  right: 0;
}

/* En-tête du volet mobile */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  background: rgba(12, 15, 23, 0.95);
  flex-shrink: 0;
}

.mobile-nav-header .brand-logo-img {
  height: 38px;
}

.mobile-nav-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-nav-close-btn:hover {
  background: var(--gold-primary);
  color: #050608;
  border-color: var(--gold-light);
}

/* Zone scrollable autonome - Empêche strictement toute superposition */
.mobile-nav-scroll-area {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-scroll-area::-webkit-scrollbar {
  width: 4px;
}

.mobile-nav-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.2);
  border-radius: 4px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.mobile-nav-list li {
  flex-shrink: 0;
  width: 100%;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  line-height: 1.35;
  width: 100%;
  box-sizing: border-box;
}

.mobile-nav-link-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  opacity: 0.8;
  letter-spacing: 0.5px;
}

.mobile-nav-chevron {
  color: var(--gold-muted);
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.mobile-nav-link:hover .mobile-nav-chevron, .mobile-nav-link.active .mobile-nav-chevron {
  color: var(--gold-light);
  transform: translateX(3px);
}

/* Pied du volet mobile */
.mobile-nav-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  background: rgba(10, 13, 20, 0.98);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-motto {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-align: center;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8. SECTION HERO (ACCROCHE & PRÉSENTATION MAJESTUEUSE)
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 30px);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(320px, 65vw, 800px);
  height: clamp(320px, 65vw, 800px);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.03) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
  }
}

.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-pill);
  color: var(--gold-light);
  font-size: clamp(0.725rem, 2.5vw, 0.825rem);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.8vw, 4.4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title .gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  width: 100%;
}

@media (min-width: 580px) {
  .hero-cta-group {
    flex-direction: row;
    align-items: center;
    width: auto;
  }
  .hero-cta-group .btn {
    width: auto;
  }
}

/* Statistiques du Hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

@media (min-width: 600px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Visuel Hero avec effet de lévitation */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-preview {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-surface-2);
  border: 1px solid var(--gold-border-bright);
  box-shadow: var(--shadow-elevated), var(--gold-glow-md);
  max-width: 480px;
  width: 100%;
  animation: floatCard 6s ease-in-out infinite alternate;
}

@keyframes floatCard {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.hero-card-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(5, 6, 8, 0.96) 0%, rgba(5, 6, 8, 0.5) 70%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-card-info h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  font-weight: 700;
}

.hero-card-info p {
  font-size: 0.8rem;
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   9. SYNTHÈSE EXÉCUTIVE DU PROJET (COMPRÉHENSION IMMÉDIATE)
   -------------------------------------------------------------------------- */
.executive-summary-banner {
  margin-top: 50px;
  background: var(--gold-gradient-card);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  position: relative;
  box-shadow: var(--shadow-card);
}

.executive-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.executive-summary-header h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.summary-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .summary-pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.summary-pillar-box {
  background: rgba(12, 15, 23, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition-normal);
}

.summary-pillar-box:hover {
  border-color: var(--gold-primary);
  background: rgba(18, 23, 36, 0.85);
  transform: translateY(-3px);
}

.summary-pillar-box h4 {
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.summary-pillar-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. SECTION À PROPOS & RÈGLES DU JEU ÉCONOMIQUE
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 50px;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
  }
}

.about-card {
  background: var(--bg-surface-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  position: relative;
  backdrop-filter: blur(16px);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 18px;
  color: #ffffff;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-highlight-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--gold-gradient-soft);
  border-left: 4px solid var(--gold-primary);
  font-style: italic;
  color: var(--gold-light);
  font-size: 0.95rem;
}

/* 6 Règles du Jeu Économique */
.rules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .rules-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rule-card {
  background: var(--bg-surface-1);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.rule-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--gold-glow-sm);
  background: var(--bg-surface-2);
}

.rule-number {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rule-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.rule-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. ARCHITECTURE : LES 3 PILIERS FONDATEURS
   -------------------------------------------------------------------------- */
.pillars-overview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .pillars-overview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-overview-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 3.5vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pillar-overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.pillar-overview-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-elevated), var(--gold-glow-md);
  background: var(--bg-surface-2);
}

.pillar-overview-card:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--gold-gradient-soft);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 22px;
}

.pillar-overview-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.pillar-overview-card p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.875rem;
  transition: gap var(--transition-fast);
}

.pillar-link:hover {
  gap: 12px;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   12. PILIER I : CATALOGUE DES 140+ FORMATIONS (5 PÔLES)
   -------------------------------------------------------------------------- */
.formations-tabs {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 30px;
  scrollbar-width: none;
}

.formations-tabs::-webkit-scrollbar {
  display: none;
}

.formation-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-2);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

@media (min-width: 860px) {
  .formations-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.formation-tab-btn:hover {
  border-color: var(--gold-primary);
  color: #ffffff;
}

.formation-tab-btn.active {
  background: var(--gold-gradient);
  color: #06070a;
  border-color: var(--gold-primary);
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease-in-out forwards;
}

.tab-pane.active {
  display: block;
}

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

.pole-content-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 42px);
  position: relative;
  box-shadow: var(--shadow-card);
}

.pole-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

@media (min-width: 680px) {
  .pole-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.pole-title-wrapper h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #ffffff;
}

.pole-title-wrapper p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pole-topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .pole-topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .pole-topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.topic-item {
  background: var(--bg-surface-2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition-fast);
}

.topic-item:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
  background: rgba(22, 28, 44, 0.85);
}

.topic-item h4 {
  font-size: 1.025rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.topic-item p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   13. PILIER II : SÉCURITÉ NUMÉRIQUE & SOLUTIONS PHYSIQUES
   -------------------------------------------------------------------------- */
.products-showcase {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 70px);
}

.product-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  background: var(--bg-surface-1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 48px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

@media (min-width: 992px) {
  .product-item {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .product-item.reversed {
    grid-template-columns: 1fr 1fr;
  }
  .product-item.reversed .product-visual {
    order: 2;
  }
  .product-item.reversed .product-info {
    order: 1;
  }
}

.product-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  background: var(--bg-surface-2);
  box-shadow: var(--shadow-card);
  position: relative;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-item:hover .product-visual img {
  transform: scale(1.04);
}

.product-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
}

.product-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}

.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.product-feature-icon {
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.product-pricing-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-surface-2);
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-light);
}

.product-price span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   14. PILIER III : PARTENAIRES & ÉCONOMIE RÉELLE
   -------------------------------------------------------------------------- */
.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.partner-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.partner-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-elevated), var(--gold-glow-md);
}

.partner-card-media {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--bg-surface-2);
}

.partner-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.partner-card:hover .partner-card-media img {
  transform: scale(1.06);
}

.partner-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(5, 6, 8, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  font-size: 0.725rem;
  font-weight: 600;
  text-transform: uppercase;
}

.partner-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.partner-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.partner-card-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.partner-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.partner-tag {
  font-size: 0.75rem;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   15. VALEURS & CODE D'HONNEUR
   -------------------------------------------------------------------------- */
.values-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .values-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .values-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-box {
  background: var(--bg-surface-1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.value-box:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  background: var(--bg-surface-2);
  box-shadow: var(--gold-glow-sm);
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px auto;
  border-radius: 50%;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.value-box h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.value-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   16. SECTION PRÉSENTATION OFFICIELLE (DOUBLE MODE : DIAPORAMA 21 SLIDES & VIDÉO)
   -------------------------------------------------------------------------- */
.deck-view-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.deck-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-2);
  border: 1px solid var(--gold-border);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.deck-switch-btn:hover {
  color: #ffffff;
  border-color: var(--gold-primary);
}

.deck-switch-btn.active {
  background: var(--gold-gradient);
  color: #06070a;
  border-color: var(--gold-primary);
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.35);
}

/* Diaporama 21 Slides Interactif */
.deck-carousel-wrapper {
  background: var(--bg-surface-1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: clamp(16px, 3vw, 32px);
  box-shadow: var(--shadow-elevated), var(--gold-glow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.deck-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold-border-bright);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deck-current-slide {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
  user-select: none;
}

.deck-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(5, 6, 8, 0.85);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
  backdrop-filter: blur(8px);
}

.deck-nav-btn:hover {
  background: var(--gold-primary);
  color: #06070a;
  box-shadow: var(--gold-glow-sm);
  transform: translateY(-50%) scale(1.08);
}

.deck-nav-prev {
  left: 16px;
}

.deck-nav-next {
  right: 16px;
}

@media (max-width: 600px) {
  .deck-nav-btn {
    width: 38px;
    height: 38px;
  }
  .deck-nav-prev { left: 8px; }
  .deck-nav-next { right: 8px; }
}

.deck-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 20px;
  background: var(--bg-surface-2);
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.deck-slide-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.deck-counter-badge {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold-light);
  font-size: 0.95rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
}

.deck-slide-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.deck-action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Bande de vignettes */
.deck-thumbnails-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-border) transparent;
}

.deck-thumb-item {
  width: 76px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  cursor: pointer;
  opacity: 0.55;
  transition: all var(--transition-fast);
}

.deck-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deck-thumb-item:hover {
  opacity: 0.85;
  border-color: var(--gold-hover);
}

.deck-thumb-item.active {
  opacity: 1;
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
  transform: scale(1.05);
}

/* Mode Vidéo */
.video-presentation-wrapper {
  background: var(--bg-surface-1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: clamp(16px, 3vw, 32px);
  box-shadow: var(--shadow-elevated), var(--gold-glow-md);
  position: relative;
  overflow: hidden;
}

.video-container-responsive {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  background: #000;
  margin-bottom: 20px;
}

.video-container-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-meta-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

@media (min-width: 680px) {
  .video-meta-bar {
    flex-direction: row;
    align-items: center;
  }
}

.video-meta-info h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.video-meta-info p {
  font-size: 0.85rem;
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   17. GRILLE D'ADHÉSION & TARIFS (PRICING AVEC CARTE GOLDEN EN SURBRILLANCE)
   -------------------------------------------------------------------------- */
.pricing-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
}

.pricing-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.pricing-label.active {
  color: var(--gold-light);
}

.pricing-toggle {
  width: 54px;
  height: 28px;
  background: var(--bg-surface-3);
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-border);
  position: relative;
  cursor: pointer;
}

.pricing-toggle-dot {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--gold-primary);
  border-radius: 50%;
  transition: transform var(--transition-normal);
  box-shadow: 0 0 8px var(--gold-primary);
}

.pricing-toggle.monthly .pricing-toggle-dot {
  transform: translateX(26px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (min-width: 992px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.pricing-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-elevated), var(--gold-glow-sm);
}

/* Carte Membre Golden Card VIP */
.pricing-card.featured {
  background: linear-gradient(180deg, #151a28 0%, #0c0f17 100%);
  border: 2px solid var(--gold-primary);
  box-shadow: var(--shadow-elevated), var(--gold-glow-md);
  transform: scale(1.02);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translateY(-6px);
  box-shadow: var(--shadow-elevated), var(--gold-glow-lg);
}

.pricing-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: #06070a;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  white-space: nowrap;
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.pricing-tagline {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 42px;
  line-height: 1.5;
}

.pricing-amount-box {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.pricing-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.pricing-feature-icon {
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   18. PARCOURS D'ADHÉSION EN 3 ÉTAPES CLAIRES
   -------------------------------------------------------------------------- */
.steps-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .steps-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: var(--gold-glow-sm);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-muted);
  line-height: 1;
  margin-bottom: 14px;
}

.step-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   19. ACCORDÉON FAQ PRESTIGE (RÉPONSES CLAIRES AUX QUESTIONS)
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface-1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.open {
  border-color: var(--gold-primary);
  background: var(--bg-surface-2);
  box-shadow: var(--gold-glow-sm);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--gold-primary);
  color: #06070a;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px 24px;
}

/* --------------------------------------------------------------------------
   20. CANDIDATURE & CONTACT OFFICIEL
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
  }
}

.contact-info-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.contact-info-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient-soft);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.contact-detail-text span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-detail-text a, .contact-detail-text strong {
  font-size: 1rem;
  color: #ffffff;
}

.contact-form-card {
  background: var(--bg-surface-1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-surface-2);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.28);
  background: var(--bg-surface-3);
}

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

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* Cadre Juridique */
.disclaimer-box {
  background: rgba(10, 13, 20, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: var(--radius-md);
  padding: 24px;
}

.disclaimer-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.disclaimer-box p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   21. FOOTER OFFICIEL & BOUTON RETOUR EN HAUT
   -------------------------------------------------------------------------- */
.site-footer {
  background: #030406;
  border-top: 1px solid var(--gold-border);
  padding: 65px 0 32px 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (min-width: 600px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Bouton Retour en haut */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-2);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 900;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top-btn:hover {
  background: var(--gold-primary);
  color: #050608;
  transform: translateY(-4px);
  box-shadow: var(--gold-glow-sm);
}

/* Modale de confirmation */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  z-index: 3000;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--bg-surface-1);
  border: 1px solid var(--gold-border-bright);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 44px);
  max-width: 480px;
  width: 100%;
  text-align: center;
  transform: scale(0.92);
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-elevated), var(--gold-glow-md);
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

.modal-icon-success {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-gradient-soft);
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: var(--gold-light);
}

.modal-dialog h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.modal-dialog p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

/* Animations au Scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

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