/* ============================================
   VARIABLES CSS & CONFIGURATION GLOBALE
   ============================================ */
:root {
    /* Palette de couleurs premium */
    --primary-gold: #D4AF37;
    --primary-dark: #1a1a2e;
    --primary-light: #16213e;
    --accent-blue: #0f3460;
    --accent-cyan: #00d4ff;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --bg-dark: #0a0a0f;
    --bg-card: #1e1e2f;
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 52, 96, 0.85) 100%);
    
    /* Typographie expressive */
    --font-primary: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Poppins', 'Open Sans', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    
    /* Espacements harmonieux (échelle 8px) */
    --space-xs: 0.5rem;   /* 8px */
    --space-sm: 1rem;     /* 16px */
    --space-md: 1.5rem;   /* 24px */
    --space-lg: 2.5rem;   /* 40px */
    --space-xl: 4rem;     /* 64px */
    --space-2xl: 6rem;    /* 96px */
    
    /* Animations fluides */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Ombres élégantes */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.3);
    
    /* Bordures arrondies */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    
}

body {
    font-family: var(--font-primary);
    background: var(--gradient-dark);
    color: var(--text-primary);
    line-height: 3;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* Sélection de texte */
::selection {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

::-moz-selection {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Typographie expressive */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--accent-cyan);
}
strong {
    font-weight: 600;
    color: var(--accent-light);
}

/* Texte gradient */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Conteneur principal avec espace négatif */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-wide {
    max-width: var(--container-wide);
}
/* ============================================
   TOP BAR - Élégante et discrète
   ============================================ */
.top-bar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: var(--space-xs) 0;
    font-size: 0.875rem;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.contact-info {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.contact-info span:hover {
    color: var(--primary-gold);
    transform: translateY(-2px);
}

.contact-info i {
    color: var(--primary-gold);
}

.language-selector select {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-primary);
}

.language-selector select:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* -----------------------------------------------------
   HEADER PREMIUM – pleine largeur, sans icônes
----------------------------------------------------- */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    background-image: linear-gradient(180deg, rgba(219, 216, 20, 0.02), transparent), var(--pgr-gold-soft);
    box-shadow: 0 6px 24px rgba(0,0,0,0.45), var(--pgr-gold-soft);
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--pgr-ease, var(--transition-fast)), box-shadow var(--transition-base), transform var(--transition-fast);
    will-change: transform, box-shadow;
    border-bottom: 3px solid rgba(212, 175, 55, 0.1);
    font-family: var(--font-display);

    /* ensure full-bleed across the viewport and avoid horizontal scroll issues */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header-content {
  display: flex;
  align-items: center;
  /* keep a global max-width but let elements span full available width */
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-lg);
  gap: var(--space-md);
  /* use flex-start so we can push items with auto margins */
  justify-content: flex-start;
}

/* make navigation stick to the far left */
.nav-menu {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  padding: 0;
  margin-right: auto; /* pushes nav to the left edge of the header-content */
}


/* ===== ANIMATION LOGOS HEADER ===== */
.entities-logos {
  overflow: hidden;
  width: 300px;
  height: auto
  
}
.entities-logos-wrapper {
  display: flex;
  gap: var(--space-lg);
  animation: scrollLogos 25s linear infinite;
  will-change: transform;
}

.entity-logo {
  height: 40px;
  width: auto;
  opacity: 0.85;
    flex-shrink: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  filter: grayscale(30%);
}

.entity-logo:hover {
  opacity: 1;
  transform: scale(1.05);
  filter: grayscale(0%);
}

/* Pause au survol */
.entities-logos-wrapper:hover {
  animation-play-state: paused;
}

/* Défilement infini */
@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Effet de fondu sur les bords */
.entities-logos {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

/* Respecte reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .entities-logos-wrapper {
    animation: none !important;
    flex-wrap: wrap;
    justify-content: center;
  }
  .entity-logo {
    filter: none;
  }
}

/* Ajustement mobile */
@media (max-width: 768px) {
  .entities-logos-wrapper {
    gap: 1.5rem;
  }
  .entity-logo {
    height: 32px;
  }
}
/* ----------  NAVIGATION  ---------- */
.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: color var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-gold);
}

/* bouton partenaires */
.btn-nav {
  background: transparent;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: background var(--transition-base), color var(--transition-base);
}

.btn-nav:hover {
  background: var(--primary-gold);
  color: var(--primary-dark);
}

/* Responsive tweak: keep same left/right behavior on small screens */
@media (max-width: 992px) {
  .nav-menu {
    margin-right: 0; /* mobile nav becomes stacked / overlay; reset */
  }
  .entities-logos {
    margin-left: 0;
  }
}

/* ----------  DROPDOWNS  ---------- */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(30, 30, 47, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-sm);
  padding: var(--space-xs) 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--transition-base), transform var(--transition-base);
  list-style: none;
  z-index: 100;
}

.has-dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: var(--space-xs) var(--space-md);
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}

.dropdown-menu li a:hover {
  color: var(--primary-gold);
}

.submenu {
  position: absolute;
  left: 100%;
  top: 0;
  background: rgba(30, 30, 47, 0.95);
  border: 1px solid rgb(99, 94, 80);
  border-radius: var(--radius-md);
  padding: var(--space-sm) ;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: opacity var(--transition-base), transform var(--transition-base);
  list-style: none;
}

.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ----------  BURGER  ---------- */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

/* ----------  RESPONSIVE  ---------- */
@media (max-width: 992px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: 70vw;
    max-width: 280px;
    background: var(--bg-dark);
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    transform: translateX(100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl);
    transition: transform var(--transition-base), opacity var(--transition-base);
    z-index: 999;
  }

  .nav.open {
    transform: translateX(0);
    opacity: 1;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    z-index: 998;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-menu {
    flex-direction: column;
    gap: var(--space-md);
  }

  /* dropdowns visibles en mobile */
  .has-dropdown:hover > .dropdown-menu,
  .has-submenu:hover > .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: var(--space-xs);
  }
}
/* ============================================
   HERO SECTION - Design immersif et captivant
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-2xl) var(--space-lg);
}

/* Background avec parallax */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: scale(1.1);
    transition: transform 0.5s ease-out;
}

.hero:hover .hero-background {
    transform: scale(1.05);
}

/* Overlay avec dégradé dynamique */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

/* Contenu hero avec espace négatif généreux */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Titre hero avec effet de typing */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    animation: titleGlow 3s ease-in-out infinite;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); 
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

/* Sous-titre hero */
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle strong {
    color: var(--primary-gold);
    font-weight: 600;
}

/* Boutons CTA - Design moderne et interactif */
.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    font-family: var(--font-display);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-light {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
}

.btn-light:hover {
    background: var(--text-primary);
    transform: translateY(-3px);
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.15rem;
}

/* Statistiques hero - Design moderne avec glassmorphism */
.hero-stats {
    position: absolute;
    bottom: var(--space-lg); /* Espacement depuis le bas */
    left: 25%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    max-width: 90%;
    background: rgba(30, 30, 47, 0.7);
    backdrop-filter: blur(20px);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-lg);
}

.hero-stat {
    text-align: center;
    padding: 0 var(--space-md);
    border-right: 1px solid rgba(212, 175, 55, 0.3);
    flex: 1 1 120px; /* Permet un ajustement fluide */
}

.hero-stat:last-child {
    border-right: none;
}

/* Nouveau: titre au dessus de la valeur dans chaque statistique */
.hero-stat-tittle {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-gold);
    letter-spacing: 0.02em;
    margin-bottom: calc(var(--space-xs) / 2);
    text-transform: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* valeur principale */
.hero-stat-value {
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 1000;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    margin-bottom: var(--space-xs);
}

.hero-stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-md);
}

.hero-entity-logo {
  width: clamp(120px, 12vw, 200px);
  height: auto;
  max-height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: transform var(--transition-base);
}

/* ✅ Responsive : centrage vertical ajusté sur petits écrans */
@media (max-width: 768px) {
    .hero-stats {
        bottom: var(--space-md);
        gap: var(--space-sm);
        padding: var(--space-sm) var(--space-md);
    }

    .hero-stat {
        flex: 1 1 100px;
        padding: 0 var(--space-sm);
    }

    .hero-stat-tittle {
        font-size: 0.85rem;
        margin-bottom: calc(var(--space-xs) / 3);
    }

    .hero-stat-value {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .hero-stat-label {
        font-size: 0.8rem;
    }
}
/* Indicateur de scroll animé */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--primary-gold);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: var(--transition-fast);
}

.scroll-indicator:hover {
    color: var(--accent-cyan);
    transform: translateX(-50%) scale(1.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   SECTIONS - Design avec espace négatif généreux
   ============================================ */
.section {
    padding: var(--space-2xl) 0;
    position: relative;
}

.section-header {
    margin-bottom: var(--space-xl);
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.8;
}

.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   WELCOME & IDENTITY - Design premium
   ============================================ */
.welcome-identity {
    background: var(--gradient-dark);
}

/* Engagements grid - Layout moderne */
.engagements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.engagement-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border-top: 4px solid var(--secondary-color);
    text-align: center;
}

.engagement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.engagement-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-gold);
}

.engagement-card:hover::before {
    transform: scaleX(1);
}

.engagement-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: var(--space-md);
    transition: var(--transition-bounce);
}

/* NOUVEAU : Style pour les logos dans les cartes d'engagement */
.engagement-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.engagement-card:hover .engagement-icon {
    transform: rotate(10deg) scale(1.1);
}

.engagement-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    line-height: 1.5;
}

/* Identity box - Design premium avec glassmorphism */
.identity-box, .regulatory-box {
    background: rgba(30, 30, 47, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.identity-title, .regulatory-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: var(--space-md);
}

.identity-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
}

.regulatory-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    list-style: none;
    margin-bottom: var(--space-md);
}

.regulatory-list li {
    padding: var(--space-sm);
    background: rgba(212, 175, 55, 0.05);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-gold);
    transition: var(--transition-fast);
}

.regulatory-list li:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(5px);
}

.regulatory-footnote {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-secondary);
}

/* ============================================
   CTA SECTION - Design impactant
   ============================================ */
.cta-section {
    background: var(--gradient-gold);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--gradient-dark); 
    margin-bottom: var(--space-sm);
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(26, 26, 46, 0.8);
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ============================================
   FORMULAIRE CONTACT - Design moderne
   ============================================ */
.contact-quick {
    background: var(--gradient-dark);
}

.contact-quick-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.form {
    background: var(--bg-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-sm);
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
    font-family: var(--font-primary);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    outline: none;
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.form-submit {
    text-align: right;
}
.form-submit .btn {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    font-weight: 600;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}
.form-submit .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-glow);
}
/* ============================================
   FOOTER CSS - MODERNE ET MINIMALISTE
   ============================================ */

.footer {
    background: var(--gradient-dark);
    color: #ffffff;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

/* Effet de dégradé subtil en arrière-plan */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffcc00, transparent);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== SECTION PRINCIPALE ========== */
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* ========== COLONNE INFORMATIONS ========== */
.footer-info {
    max-width: 350px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(1.2);
}

.footer-company-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffcc00;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

/* Contact */
.footer-contact-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

.footer-contact-list i {
    color: #ffcc00;
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Réseaux sociaux */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #ffcc00;
    border-color: #ffcc00;
    color: #003366;
    transform: translateY(-3px);
}

/* ========== COLONNES LIENS ========== */
.footer-col {
    .footer-col {
        padding: 0.6rem 0;
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        color: rgba(255, 255, 255, 0.92);
        font-size: 0.95rem;
        min-width: 180px;
        max-width: 320px;
        transition: transform 0.22s ease, opacity 0.22s ease;
        will-change: transform, opacity;
    }

    .footer-col:hover {
        transform: translateY(-6px);
        opacity: 1;
    }

    .footer-col .footer-links {
        margin-top: 0.25rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    /* Style par défaut */
}

.footer-col-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffcc00;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ffcc00;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffcc00;
    padding-left: 5px;
}

/* ========== NEWSLETTER ========== */
.footer-newsletter {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffcc00;
    margin-bottom: 0.5rem;
}

.footer-newsletter p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffcc00;
}

.newsletter-form button {
    padding: 0.75rem 1.25rem;
    background: #ffcc00;
    border: none;
    border-radius: 6px;
    color: #003366;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.newsletter-form button:hover {
    background: #ffd633;
    transform: scale(1.05);
}

/* ========== SÉPARATEUR ========== */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 2rem 0;
}

/* ========== CARROUSEL LOGOS ENTITÉS ========== */
.footer-logos-section {
    margin-bottom: 2rem;
}

.footer-logos-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffcc00;
    text-align: center;
    margin-bottom: 1.5rem;
}

.footer-logos-carousel {
    overflow: hidden;
    position: relative;
}

.footer-logos-wrapper {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    animation: scrollLogosFooter 30s linear infinite;
    padding: 1rem 0;
}

/* Pause animation au hover */
.footer-logos-carousel:hover .footer-logos-wrapper {
    animation-play-state: paused;
}

@keyframes scrollLogosFooter {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.footer-entity-logo {
    height: 45px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer-entity-logo:hover {
    filter: brightness(0) invert(1) opacity(1);
    transform: scale(1.15) translateY(-3px);
}

/* ========== COPYRIGHT ========== */
.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.footer-copyright strong {
    color: #ffcc00;
}

.footer-credits {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ========== BOUTON SCROLL TO TOP ========== */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #003366, #004d99);
    border: 2px solid #ffcc00;
    border-radius: 50%;
    color: #ffcc00;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    background: #ffcc00;
    color: #003366;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(255, 204, 0, 0.4);
}

/* ========== RESPONSIVE - TABLETTE ========== */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-info {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ========== RESPONSIVE - MOBILE ========== */
@media (max-width: 576px) {
    .footer {
        padding: 3rem 0 0;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-info,
    .footer-col {
        text-align: center;
    }
    
    .footer-contact-list li {
        justify-content: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .footer-entity-logo {
        height: 35px;
        max-width: 80px;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* ========== ANIMATIONS SUPPLÉMENTAIRES ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-col {
    animation: fadeIn 0.6s ease backwards;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }

/* Effet de brillance sur les liens */
.footer-links a {
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #ffcc00;
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 100%;
}
/* ============================================
   DESIGN INTERACTIF & ANIMATIONS
   ============================================ */

/* Effet de survol fluide sur les cartes */
.engagement-card,
.identity-box,
.regulatory-box,
.form {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.engagement-card:hover,
.identity-box:hover,
.regulatory-box:hover,
.form:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

/* Animation d'apparition au scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Bouton avec effet ripple (ondulation) */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

/* ============================================
   TYPOGRAPHIE EXPRESSIVE
   ============================================ */

/* Titres avec effet de soulignement animé */
h1, h2, h3 {
    position: relative;
    display: inline-block;
}

h1::after,
h2::after,
h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
}

h1:hover::after,
h2:hover::after,
h3:hover::after {
    width: 100%;
}

/* Texte avec effet de dégradé animé */
.gradient-text {
    background: var(--gradient-gold);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================
   ESPACE NÉGATIF & LAYOUT AÉRIEN
   ============================================ */

/* Sections avec espacement généreux */
.section {
    padding: var(--space-2xl) 0;
}

.section-header {
    margin-bottom: var(--space-xl);
    text-align: center;
}

/* Grille aérée et équilibrée */
.engagements-grid,
.regulatory-list,
.form-row {
    gap: var(--space-lg);
}

/* Cartes avec espacement interne confortable */
.engagement-card,
.identity-box,
.regulatory-box {
    padding: var(--space-xl);
}

/* Formulaire avec champs espacés */
.form-group {
    margin-bottom: var(--space-md);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    outline: none;
}

/* ============================================
   RESPONSIVE & ACCESSIBILITÉ
   ============================================ */

/* Mobile : ajustement de l'espace */
@media (max-width: 768px) {
    .section {
        padding: var(--space-xl) 0;
    }

    .hero {
        padding: var(--space-xl) var(--space-md);
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Accessibilité : focus visible */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* ============================================
   ASTUCES DESIGN SUBTILES
   ============================================ */

/* Effet de verre (glassmorphism) */
.glass {
    background: rgba(30, 30, 47, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Ligne séparateur dorée */
.divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    margin: var(--space-lg) auto;
    border-radius: var(--radius-full);
}

/* Petit effet de rotation au survol sur les icônes */
i {
    transition: transform var(--transition-fast);
}

a:hover i {
    transform: rotate(10deg) scale(1.1);
}

/* ============================================
   STYLES PAGE DOCUMENTATION
   ============================================ */

/* Barre de recherche documents */
.doc-search-bar {
    display: flex;
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.search-wrapper {
    flex: 1;
    position: relative;
}

.search-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-dark);
    font-size: 1.1rem;
}

.search-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid var(--gray-medium);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.search-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,51,102,0.1);
}

.filter-dropdown select {
    padding: 14px 40px 14px 16px;
    border: 2px solid var(--gray-medium);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background-color: var(--white);
    cursor: pointer;
    transition: all var(--transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23003366' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.filter-dropdown select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Catégories documents */
.doc-categories {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.doc-category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: var(--spacing-md);
    background-color: var(--white);
    border: 2px solid var(--gray-medium);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-width: 120px;
}

.doc-category-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.doc-category-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.doc-category-btn i {
    font-size: 1.8rem;
}

.doc-category-btn span {
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
}

/* Grille documents */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.doc-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    transition: all var(--transition-normal);
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.doc-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.doc-icon {
    font-size: 3rem;
    color: #ef4444;
}

.doc-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
}

.doc-badge.public {
    background-color: #d1fae5;
    color: #10b981;
}

.doc-badge.restricted {
    background-color: #fef3c7;
    color: #f59e0b;
}

.doc-title {
    font-size: 1.2rem;
    color: var(--primary-color);
}
.doc-description {
    font-size: 0.95rem;
    color: var(--gray-dark);
    flex-grow: 1;
}
.doc-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray-medium);
}
/* =========================================================
   AJOUTS POUR #qafholding-page
   ========================================================= */

#qafholding-page {
    --qaf-seal: #C9A227;
    --qaf-night: #0B0F1A;
    --qaf-ivory: #F7F5F0;
    --qaf-glow: 0 0 20px rgba(201, 162, 39, 0.4);
    --qaf-ease: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#qafholding-page * {
    box-sizing: border-box;
}

/* Hero : effet sceau d'État */
#qafholding-page .hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--qaf-seal);
}

#qafholding-page .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 320px;
    height: 320px;
    border: 2px solid var(--qaf-seal);
    border-radius: 50%;
    opacity: 0.15;
    transform: scale(0.8);
    animation: pulseSeal 4s ease-in-out infinite;
}

@keyframes pulseSeal {
    50% {
        transform: scale(1);
        opacity: 0.35;
    }
}

/* Cartes identité / réglementaire */
#qafholding-page .identity-box,
#qafholding-page .regulatory-box {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 16px;
    padding: 2.2rem 2.8rem 2.8rem;
    transition: var(--qaf-ease);
    margin-bottom: 2rem;
}

#qafholding-page .identity-box:hover,
#qafholding-page .regulatory-box:hover {
    border-color: var(--qaf-seal);
    box-shadow: var(--qaf-glow);
}

#qafholding-page .identity-box h3,
#qafholding-page .regulatory-box h3 {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.5rem;
    color: var(--qaf-seal);
    margin-bottom: 1.2rem;
}

#qafholding-page .identity-box h3 i,
#qafholding-page .regulatory-box h3 i {
    font-size: 1.3rem;
}


/* Bouton institutionnel */
#qafholding-page .btn-institutional {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: transparent;
    color: var(--qaf-night);
    border: 2px solid var(--qaf-seal);
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--qaf-ease);
    text-decoration: none;
}

#qafholding-page .btn-institutional:hover {
    background: var(--qaf-seal);
    color: var(--qaf-ivory);
    box-shadow: var(--qaf-night);
}

/* Responsive */
@media (max-width: 768px) {
    #qafholding-page .identity-box,
    #qafholding-page .regulatory-box {
        padding: 1.6rem;
    }

    #qafholding-page .hero::before {
        width: 200px;
        height: 200px;
    }
}
/* =========================================================
   PRIVATE GOLD RESERVE BANK – PAGE-SCOPE THEME
   (auto-triggered by #pgrbank-page wrapper)
   ========================================================= */

#pgrbank-page {
    /* 1. Palette OR PHYSIQUE – doré mat, onyx, ivoire cold */
    --pgr-gold: #D4AF37;            /* LBMA classic */
    --pgr-gold-soft: #C9A227;       /* hover / accents */
    --pgr-onyx: #0E0E0E;            /* presque noir métal */
    --pgr-ivory: #F6F4F0;           /* texte clair */
    --pgr-glow: 0 0 20px rgba(212,175,55,.45);
    --pgr-ease: .35s cubic-bezier(.4,0,.2,1);
}

/* 2. Micro-reset local */
#pgrbank-page * { box-sizing: border-box; }

/* 3. HERO – lingot animé */
#pgrbank-page .hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--pgr-gold);
}
#pgrbank-page .hero::before {               /* lingot central */
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 280px;
    height: 120px;
    background: var(--pgr-gold);
    border-radius: 12px 12px 8px 8px / 60px 60px 8px 8px; /* forme lingot */
    opacity: .08;
    filter: blur(1px);
    animation: bullionPulse 5s ease-in-out infinite;
}
@keyframes bullionPulse {
    50% { opacity: .18; transform: scale(1.03); }
}

/* 4. CARTES IDENTITAIRES – effet lingot brossé */
#pgrbank-page .identity-box,
#pgrbank-page .regulatory-box {
    background: linear-gradient(145deg, rgba(255,255,255,.03), rgba(212,175,55,.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212,175,55,.25);
    border-radius: 16px;
    padding: 2.4rem 3rem 3rem;
    transition: var(--pgr-ease);
}
#pgrbank-page .identity-box:hover,
#pgrbank-page .regulatory-box:hover {
    border-color: var(--pgr-gold);
    box-shadow: var(--pgr-glow);
}
#pgrbank-page .identity-box h3,
#pgrbank-page .regulatory-box h3 {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.5rem;
    color: var(--pgr-gold);
    margin-bottom: 1.2rem;
}
#pgrbank-page .identity-box h3 i,
#pgrbank-page .regulatory-box h3 i {
    font-size: 1.3rem;
}

/* 5. LISTES – pastille « grain d'or » */
#pgrbank-page .pgr-list {
    list-style: none;
    padding-left: 1.2rem;
}
#pgrbank-page .pgr-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: .9rem;
    line-height: 1.7;
}
#pgrbank-page .pgr-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .5em;
    width: 7px;
    height: 7px;
    background: var(--pgr-gold);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--pgr-gold);
}
#pgrbank-page .pgr-list li::after {   /* trait vertical */
    content: "";
    position: absolute;
    left: 3px;
    top: 1.3em;
    width: 1px;
    height: calc(100% + .4rem);
    background: rgba(212,175,55,.2);
}

/* 6. BOUTON CTA – lingot pressé */
#pgrbank-page .btn-bullion {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    background: var(--pgr-gold);
    color: var(--pgr-onyx);
    border: 2px solid var(--pgr-gold);
    padding: .9rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: .5px;
    transition: var(--pgr-ease);
    text-decoration: none;
}
#pgrbank-page .btn-bullion:hover {
    background: transparent;
    color: var(--pgr-gold);
    box-shadow: var(--pgr-glow);
}

/* 7. RESPONSIVE – lingot plus petit */
@media (max-width: 768px) {
    #pgrbank-page .identity-box,
    #pgrbank-page .regulatory-box { padding: 1.8rem; }
    #pgrbank-page .hero::before { width: 200px; height: 85px; }
}

/* 8. PRINT – dorure en creux */
@media print {
    #pgrbank-page .identity-box,
    #pgrbank-page .regulatory-box {
        background: none;
        border: 2px solid var(--pgr-gold);
        box-shadow: none;
    }
    #pgrbank-page .hero::before,
    #pgrbank-page .pgr-glow { display: none; }
}
/* 9. CTA SECTION – lingot doré flottant */
#pgrbank-page .cta-section {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #c1c418 100%);
    position: relative;
    overflow: hidden;
}
#pgrbank-page .cta-section::after {   /* brillant or défile */  
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(209, 198, 162, 0.18) 0%, transparent 40%);
    
}
@keyframes shimmer {
    0%   { transform: translateX(-50%) translateY(-50%) rotate(0deg); }
    100% { transform: translateX(-50%) translateY(-50%) rotate(360deg); }
}

/* 10. ICÔNES OR – rotation lente */
#pgrbank-page .icon-gold {
    display: inline-block;
    font-size: 2.2rem;
    color: var(--pgr-gold);
    filter: drop-shadow(0 0 6px var(--pgr-gold));
    animation: spinGold 12s linear infinite;
}
@keyframes spinGold {
    0%  { transform: rotate(0deg);   }
    100%{ transform: rotate(360deg); }
}
/* Listes à puce souveraines */
#pgrbank-page .qaf-list {
    list-style: none;
    padding-left: 1.2rem;
}

#pgrbank-page .qaf-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.9rem;
    line-height: 1.7;
}

#pgrbank-page .qaf-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--qaf-seal);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--qaf-seal);
}


/* 11. TABLEAU COURS – style LBMA */
#pgrbank-page .pgr-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.2rem;
    font-variant-numeric: tabular-nums;
}
#pgrbank-page .pgr-table thead {
    background: rgba(212,175,55,.12);
    color: var(--pgr-gold);
}
#pgrbank-page .pgr-table th,
#pgrbank-page .pgr-table td {
    padding: .75rem 1rem;
    border-bottom: 1px solid rgba(212,175,55,.15);
    text-align: left;
}
#pgrbank-page .pgr-table tbody tr:nth-child(even) {
    background: rgba(255,255,255,.03);
}
#pgrbank-page .pgr-table tbody tr:hover {
    background: rgba(212,175,55,.07);
    transition: background .2s;
}

/* 12. PRIX EN TEMPS RÉEL (simulation) */
#pgrbank-page .live-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4rem;
    color: var(--pgr-gold);
    letter-spacing: 1px;
}
#pgrbank-page .live-price::after {
    content: " AUD/oz";
    font-size: .9rem;
    opacity: 10;
}

/* 13. MICRO-INTERACTIONS – bouton lingot pressé */
#pgrbank-page .btn-bullion:active {
    transform: translateY(2px);
    box-shadow: inset 0 4px 12px rgba(0,0,0,.4), 0 0 8px var(--pgr-gold);
}

/* 14. BADGE OR – pastille dorée */
#pgrbank-page .badge-gold {
    display: inline-block;
    background: var(--pgr-gold);
    color: var(--pgr-onyx);
    padding: .25rem .6rem;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* 15. SCROLLBAR OR (Webkit) */
#pgrbank-page ::-webkit-scrollbar {
    width: 8px;
}
#pgrbank-page ::-webkit-scrollbar-track {
    background: var(--pgr-onyx);
}
#pgrbank-page ::-webkit-scrollbar-thumb {
    background: var(--pgr-gold);
    border-radius: 4px;
}
/* =========================================================
   PAGE PROJETS – Styles cohérents avec le design global
========================================================== */

/* En-tête de page */
.page-header {
    padding: var(--space-2xl) 0;
    background: var(--gradient-dark);
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-sm);
}

.page-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Statistiques globales */
.global-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.global-stat-card {
    background: rgba(30, 30, 47, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    transition: var(--transition-base);
}

.global-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-gold);
}

.global-stat-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: var(--space-sm);
}

.global-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.global-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* Filtres */
.filters-container {
    background: rgba(30, 30, 47, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.filters-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.filter-section {
    flex: 1 1 250px;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: var(--space-sm);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.filter-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-gold);
    color: var(--primary-dark);
    border-color: var(--primary-gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

/* Grille des projets */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.project-card {
    background: rgba(30, 30, 47, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-gold);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.project-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-active   { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.status-planning { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.status-completed{ background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }

.project-entity {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.project-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    filter: saturate(0.8) brightness(0.9);
    transition: var(--transition-base);
}

.project-card:hover .project-image {
    filter: saturate(1) brightness(1);
}

.project-body {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.project-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
    flex: 1;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.tag {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-footer {
    padding: 0 var(--space-md) var(--space-md);
    text-align: right;
}

.btn-outline {
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

.btn-small {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.85rem;
}

/* Message "aucun projet" */
#no-projects-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

#no-projects-message i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* CTA section */
.cta-section {
    background: var(--gradient-gold);
    padding: var(--space-2xl) 0;
    text-align: center;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--primary-dark);
    margin-bottom: var(--space-sm);
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(26, 26, 46, 0.8);
    max-width: 600px;
}

.btn-light {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-light:hover {
    background: var(--text-primary);
    transform: translateY(-3px);
}

/* =========================================================
   RESPONSIVE – TABLETTE & MOBILE
========================================================== */
@media (max-width: 768px) {
    .filters-group {
        flex-direction: column;
        gap: var(--space-md);
    }

    .filter-buttons {
        justify-content: flex-start;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .global-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }

    .cta-content {
        text-align: center;
        padding: 0 var(--space-md);
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: var(--space-xl) var(--space-md);
    }

    .filters-container {
        padding: var(--space-md);
    }

    .project-card {
        margin: 0 var(--space-xs);
    }

    .global-stat-card {
        padding: var(--space-md);
    }

    .global-stat-number {
        font-size: 1.8rem;
    }

    .tag {
        font-size: 0.7rem;
    }
}

/* =========================================================
   ACCESSIBILITÉ – FOCUS VISIBLE
========================================================== */
.filter-btn:focus,
.btn-outline:focus,
.btn-light:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* =========================================================
   MODE SOMBRE – RESPECT DU THEME
========================================================== */
@media (prefers-color-scheme: dark) {
    .project-card {
        background: rgba(30, 30, 47, 0.8);
        border-color: rgba(212, 175, 55, 0.2);
    }

    .filter-btn {
        border-color: rgba(212, 175, 55, 0.3);
        color: var(--text-secondary);
    }

    .filter-btn:hover,
    .filter-btn.active {
        background: var(--primary-gold);
        color: var(--primary-dark);
    }
}

/* =========================================================
   IMPRESSION – VERSION PAPIER
========================================================== */
@media print {
    /* Base print adjustments */
    html, body {
        background: #fff !important;
        color: #000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        font-size: 12pt;
        line-height: 1.3;
    }

    /* Hide interactive / decorative UI that shouldn't appear on paper */
    .top-bar,
    .header,
    .nav,
    .burger,
    .nav-overlay,
    .scroll-to-top,
    .scroll-indicator,
    .footer,
    .newsletter-form,
    .footer-logos-carousel,
    .cta-section,
    .filters-container,
    .filter-buttons,
    .btn,
    .btn-nav,
    .btn-outline,
    .btn-bullion,
    .btn-institutional,
    .footer-social,
    .hero-background,
    .hero-overlay,
    .hero-stats {
        display: none !important;
    }

    /* Project card print layout */
    .project-card {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
        border: 1px solid #d0d0d0 !important;
        break-inside: avoid;
        page-break-inside: avoid;
        margin: 0 0 12pt 0;
        padding: 10pt !important;
    }

    .project-image {
        display: none !important;
    }

    .project-title {
        color: #000 !important;
        font-size: 13pt;
        margin-bottom: 4pt;
    }

    .project-description,
    .project-meta,
    .project-entity,
    .project-tags,
    .tag {
        color: #222 !important;
        font-size: 10.5pt;
    }

    /* Ensure links print their href next to the link text */
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #444;
        text-decoration: none;
    }

    /* Simplify lists and tables for print */
    .pgr-table,
    .pgr-table th,
    .pgr-table td {
        color: #000 !important;
        background: transparent !important;
        border-color: #ddd !important;
    }

    /* Force page breaks for long sections */
    .projects-grid { break-after: auto; }
    .project-card + .project-card { page-break-before: avoid; }

    /* Prevent unintended overflowing elements */
    img, svg { max-width: 100% !important; height: auto !important; }

        /* Remove heavy visuals like gradients/backdrops */
        * {
            background-image: none !important;
            background: transparent !important;
            box-shadow: none !important;
            filter: none !important;
        }

/* ============================================
   RESPONSIVE – TABLETTE & MOBILE
    ============================================ */
    }

    /* Additional responsive polish (tablet -> mobile) */
    @media (max-width: 1024px) {
        .container { padding: 0 var(--space-md); }
        .header-content { padding: var(--space-xs) var(--space-md); }
        .cta-content { gap: var(--space-md); }
        .hero { min-height: 70vh; padding: var(--space-xl) var(--space-md); }
        .hero-stats { left: 50%; transform: translateX(-50%); bottom: var(--space-md); }
        .projects-grid { gap: var(--space-lg); }
    }

    @media (max-width: 768px) {
        .header-content { flex-wrap: wrap; align-items: flex-start; gap: var(--space-sm); }
        .nav { width: 80vw; max-width: 340px; }
        .entities-logos, .footer-logos-section { display: none; }
        .hero-title { font-size: clamp(2rem, 8vw, 3.2rem); }
        .project-image { height: 160px; }
        .global-stats { grid-template-columns: repeat(2, 1fr); }
        .footer-main { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
        .footer-info { text-align: center; }
    }

    @media (max-width: 480px) {
        .container { padding: 0 var(--space-sm); }
        .nav { width: 100%; max-width: none; padding: var(--space-lg); }
        .hero { padding: var(--space-lg) var(--space-sm); min-height: 60vh; }
        .hero-title { font-size: clamp(1.8rem, 10vw, 2.6rem); }
        .hero-subtitle { font-size: 1rem; padding: 0 var(--space-sm); }
        .hero-stats { position: static; transform: none; width: 100%; margin-top: var(--space-md); border-radius: var(--radius-md); }
        .project-image { height: 140px; }
        .filters-group { flex-direction: column; }
        .footer-main { grid-template-columns: 1fr; gap: 1rem; }
        .footer-newsletter { text-align: center; }
        .scroll-to-top { right: 1rem; bottom: 1rem; width: 44px; height: 44px; }
    }
    /* =========================================================
   APROPOS.CSS – surcouche spécifique à la page À propos
   =========================================================
   Variables utilisées : --primary-gold, --primary-dark,
   --bg-card, --radius-lg, --transition-base…
   ========================================================= */

/* ---------------------------------------------------------
   2.  CARTES « À PROPOS » – Material Design
--------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.about-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: var(--transition-base);
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary-gold);
  margin-bottom: var(--space-sm);
}

.about-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ---------------------------------------------------------
   3.  TIMELINE – reveal + ligne dorée
--------------------------------------------------------- */
.history-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.history-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-left: var(--space-md);
  border-left: 3px solid var(--primary-gold);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-marker {
  width: 40px;
  height: 40px;
  background: var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.timeline-content h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--primary-gold);
  margin: 0 0 var(--space-xs) 0;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ---------------------------------------------------------
   4.  GOUVERNANCE – cards élevées
--------------------------------------------------------- */
.governance-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  margin-top: var(--space-xl);
}

.governance-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  color: var(--primary-gold);
  margin-bottom: var(--space-md);
}

.governance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.governance-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.governance-card:hover {
  box-shadow: var(--shadow-glow);
}

.governance-icon {
  font-size: 2rem;
  color: var(--primary-gold);
  margin-bottom: var(--space-sm);
}

.governance-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--primary-gold);
  margin-bottom: var(--space-xs);
}

/* ---------------------------------------------------------
   5.  IDENTITÉ & CONFORMITÉ – glassmorphism
--------------------------------------------------------- */
.identity-box,
.regulatory-box {
  background: rgba(30, 30, 47, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.identity-title,
.regulatory-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  color: var(--primary-gold);
  margin-bottom: var(--space-md);
}

.identity-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

.regulatory-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  list-style: none;
  margin-bottom: var(--space-md);
}

.regulatory-list li {
  padding: var(--space-sm);
  background: rgba(212, 175, 55, 0.05);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-gold);
  transition: var(--transition-fast);
}

.regulatory-list li:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateX(5px);
}

.regulatory-footnote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-secondary);
}

/* ---------------------------------------------------------
   6.  CTA – boutons dorés
--------------------------------------------------------- */
.cta-section {
  background: var(--gradient-gold);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(80px);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gradient-dark); 
  margin-bottom: var(--space-sm);
}

.cta-subtitle {
  font-size: 1.1rem;
  color: rgba(26, 26, 46, 0.8);
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ---------------------------------------------------------
   7.  RIPPLE EFFECT (boutons .btn-ripple)
--------------------------------------------------------- */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
  width: 300px;
  height: 300px;
}

/* ---------------------------------------------------------
   8.  REVEAL-ON-SCROLL (spécifique page)
--------------------------------------------------------- */
.about-card,
.timeline-item,
.identity-box,
.regulatory-box,
.governance-card {
  opacity: 1;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-card.visible,
.timeline-item.visible,
.identity-box.visible,
.regulatory-box.visible,
.governance-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   9.  RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 768px) {
  .history-content,
  .cta-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .governance-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   PAGE DOCUMENTATION – Styles cohérents avec le design global
   (à ajouter dans styles.css)
========================================================== */

/* ---------------------------------------------------------
   1. En-tête spécifique documentation
---------------------------------------------------------- */
.doc-page-header {
    padding: var(--space-2xl) 0;
    background: var(--gradient-dark);
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.doc-page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-sm);
}

.doc-page-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ---------------------------------------------------------
   2. Alertes & bandeaux info
---------------------------------------------------------- */
.alert-box {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    line-height: 1.6;
}

.alert-box i {
    font-size: 1.2rem;
    margin-top: 2px;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.alert-info i {
    color: #3b82f6;
}

/* ---------------------------------------------------------
   3. Barre de recherche & filtres
---------------------------------------------------------- */
.doc-search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.search-wrapper {
    flex: 1;
    position: relative;
}

.search-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.search-wrapper input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-md);
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.search-wrapper input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.filter-dropdown select {
    padding: 14px 40px 14px 16px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-md);
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.filter-dropdown select:focus {
    outline: none;
    border-color: var(--primary-gold);
}

/* ---------------------------------------------------------
   4. Catégories de documents (boutons)
---------------------------------------------------------- */
.doc-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.doc-category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: var(--space-md);
    background: rgba(30, 30, 47, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-fast);
    min-width: 120px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.doc-category-btn:hover {
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.doc-category-btn.active {
    background: var(--primary-gold);
    color: var(--primary-dark);
    border-color: var(--primary-gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.doc-category-btn i {
    font-size: 1.8rem;
}

/* ---------------------------------------------------------
   5. Grille des documents (glass-cards)
---------------------------------------------------------- */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.doc-card {
    background: rgba(30, 30, 47, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transition: var(--transition-base);
}

.doc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-gold);
}

.doc-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.doc-icon {
    font-size: 2.5rem;
    color: #ef4444; /* PDF rouge */
}

.doc-icon.fa-file-word {
    color: #2b579a; /* Word bleu */
}

.doc-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.doc-badge.public {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.doc-badge.restricted {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.doc-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.doc-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.doc-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.doc-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: flex-end;
}

.btn-doc-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.btn-doc-action:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: scale(1.1);
}

.btn-doc-action.primary {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
}

.btn-doc-action.primary:hover {
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

/* ---------------------------------------------------------
   6. Section Nextcloud embarqué
---------------------------------------------------------- */
.nextcloud-embed {
    background: rgba(30, 30, 47, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
}

.nextcloud-placeholder i {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: var(--space-md);
}

.nextcloud-placeholder h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.nextcloud-placeholder p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* ---------------------------------------------------------
   7. Section aide & support
---------------------------------------------------------- */
.help-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.help-card {
    background: rgba(30, 30, 47, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition-base);
}

.help-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-gold);
}

.help-card i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: var(--space-md);
}

.help-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.help-card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* ---------------------------------------------------------
   8. Message « aucun document »
---------------------------------------------------------- */
#no-docs-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

#no-docs-message i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* ---------------------------------------------------------
   9. Responsive
---------------------------------------------------------- */
@media (max-width: 768px) {
    .doc-search-bar {
        flex-direction: column;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .help-section {
        grid-template-columns: 1fr;
    }

    .doc-categories {
        justify-content: center;
    }
}
/* ---------------------------------------------------------
   10. Impression papier
---------------------------------------------------------- */
@media print {
    .doc-card,
    .help-card,
    .nextcloud-embed {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
        background: #fff;
        color: #000;
    }

    .doc-actions,
    .nextcloud-embed,
    .btn-doc-action {
        display: none;
    }

    .doc-icon {
        color: #000;
    }

    .alert-box {
        border: 1px solid #000;
        background: #fff;
        color: #000;
    }
}

/* ---------------------------------------------------------
   11. Accessibilité : focus visible
---------------------------------------------------------- */
.doc-category-btn:focus,
.search-wrapper input:focus,
.filter-dropdown select:focus,
.btn-doc-action:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}
/* =========================================================
   PAGE PRESSE – Styles cohérents avec le design global
   (à insérer dans styles.css)
========================================================== */

/* ---------------------------------------------------------
   1. En-tête spécifique presse
---------------------------------------------------------- */
.press-page-header {
    padding: var(--space-2xl) 0;
    background: var(--gradient-dark);
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.press-page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-sm);
}

.press-page-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ---------------------------------------------------------
   2. Contact presse – bannière premium
---------------------------------------------------------- */
.press-contact-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    background: rgba(30, 30, 47, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.press-contact-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
}

.press-contact-info i {
    font-size: 2.5rem;
    color: var(--primary-gold);
}

.press-contact-info h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.press-contact-info p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.press-contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.press-contact-details span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* ---------------------------------------------------------
   3. Kit média – cartes glassmorphism
---------------------------------------------------------- */
.media-kit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.media-kit-card {
    background: rgba(30, 30, 47, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition-base);
}

.media-kit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-gold);
}

.media-kit-preview {
    width: 100%;
    height: 200px;
    background: var(--gradient-overlay);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-kit-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8) brightness(0.9);
    transition: var(--transition-base);
}

.media-kit-card:hover .media-kit-preview img {
    filter: saturate(1) brightness(1);
}

.media-kit-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.media-kit-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
}

/* ---------------------------------------------------------
   4. Communiqués de presse – cartes interactives
---------------------------------------------------------- */
.press-releases-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.press-release-card {
    background: rgba(30, 30, 47, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: var(--transition-base);
}

.press-release-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-gold);
}

.press-release-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.press-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.press-category {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.press-release-title {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.press-release-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.press-release-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* ---------------------------------------------------------
   5. Galerie médias – grille fluide avec lightbox
---------------------------------------------------------- */
.media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-base);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: saturate(0.8) brightness(0.9);
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-image {
    filter: saturate(1) brightness(1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
    color: var(--text-primary);
    text-align: center;
    padding: var(--space-md);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    color: var(--primary-gold);
}

.gallery-overlay p {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ---------------------------------------------------------
   6. Lightbox (modal galerie)
---------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: var(--space-lg);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--primary-gold);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    border: none;
    padding: var(--space-md);
    font-size: 2rem;
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.7);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    text-align: center;
}

/* ---------------------------------------------------------
   7. Revue de presse – mentions médias
---------------------------------------------------------- */
.media-mentions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.media-mention-card {
    background: rgba(30, 30, 47, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition-base);
}

.media-mention-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-gold);
}

.media-logo {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: var(--space-md);
    filter: brightness(0) invert(1) opacity(0.8);
    transition: var(--transition-fast);
}

.media-mention-card:hover .media-logo {
    filter: brightness(1) invert(1) opacity(1);
}

.media-mention-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.mention-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.mention-title {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.mention-link {
    color: var(--primary-gold);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: var(--transition-fast);
}

.mention-link:hover {
    color: var(--accent-cyan);
}

/* ---------------------------------------------------------
   8. Newsletter presse – formulaire inline
---------------------------------------------------------- */
.newsletter-press {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    background: rgba(30, 30, 47, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex: 1;
}

.newsletter-content i {
    font-size: 2.5rem;
    color: var(--primary-gold);
}

.newsletter-content h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.newsletter-content p {
    color: var(--text-secondary);
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
    flex: 1;
    max-width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-full);
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* ---------------------------------------------------------
   9. Boutons spécifiques presse
---------------------------------------------------------- */
.btn-light {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.btn-light:hover {
    background: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

/* ---------------------------------------------------------
   10. Responsive
---------------------------------------------------------- */
@media (max-width: 768px) {
    .press-contact-banner {
        flex-direction: column;
        text-align: center;
    }

    .press-contact-info {
        flex-direction: column;
        text-align: center;
    }

    .media-kit-grid,
    .media-mentions-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-press {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .gallery-item {
        margin: 0 var(--space-xs);
    }
}

/* ---------------------------------------------------------
   11. Accessibilité & impression
---------------------------------------------------------- */
.btn-light:focus,
.gallery-item:focus,
.press-release-card:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

@media print {
    .lightbox,
    .newsletter-form,
    .btn-light {
        display: none;
    }

    .press-release-card,
    .media-kit-card,
    .media-mention-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
        background: #fff;
        color: #000;
    }

    .media-logo {
        filter: none;
    }
}
/* --------------------------------------------
    COMPLETIONS: variables manquantes, utilitaires,
    accessibilité et réglages finaux
    (insérer à la fin de styles.css)
    -------------------------------------------- */

/* variables complémentaires / fallbacks */
:root {
     --primary-color: var(--primary-gold);
     --white: #ffffff;
     --gray-dark: #222222;
     --gray-medium: #8b8b8b;
     --spacing-sm: var(--space-sm);
     --spacing-md: var(--space-md);
     --spacing-lg: var(--space-lg);
     --font-weight-semibold: 600;
     --font-weight-bold: 700;
     --transition-normal: 0.25s ease;
}

/* petites utilités réutilisables */
.u-row { display: flex; flex-wrap: wrap; gap: var(--spacing-md); }
.u-center { display: flex; align-items: center; justify-content: center; }
.u-muted { color: var(--text-secondary); }
.u-pill { display: inline-block; padding: 4px 10px; border-radius: 9999px; background: rgba(255,255,255,0.03); }

/* accessibilité: lecture d'écran uniquement */
.sr-only,
.visually-hidden {
     position: absolute !important;
     width: 1px; height: 1px;
     padding: 0; margin: -1px;
     overflow: hidden; clip: rect(0 0 0 0);
     white-space: nowrap; border: 0;
}

/* responsive tables */
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-responsive table { width: 100%; border-collapse: collapse; }

/* details/summary custom styling (accessible disclosure) */
details {
     background: rgba(255,255,255,0.02);
     border: 1px solid rgba(212,175,55,0.06);
     border-radius: var(--radius-md);
     padding: var(--space-sm);
}
details summary {
     list-style: none;
     cursor: pointer;
     font-weight: 600;
     display: flex;
     align-items: center;
     gap: .6rem;
     outline: none;
}
details[open] summary {
     color: var(--primary-gold);
}
details summary::-webkit-details-marker { display:none; }

/* small interactive tokens */
.kbd {
     display: inline-block;
     padding: 0.15rem .45rem;
     border-radius: 6px;
     background: rgba(255,255,255,0.04);
     border: 1px solid rgba(255,255,255,0.06);
     font-family: var(--font-mono);
     font-size: .85rem;
}

/* consistent focus ring for interactive elements */
:focus {
     outline: 3px solid rgba(212,175,55,0.18);
     outline-offset: 2px;
     box-shadow: 0 0 0 3px rgba(212,175,55,0.06);
}

/* reduced motion preference */
@media (prefers-reduced-motion: reduce) {
     *, *::before, *::after {
          animation-duration: 0s !important;
          animation-iteration-count: 1 !important;
          transition-duration: 0s !important;
     }
}

/* small helpers for spacing when building components */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.p-sm  { padding: var(--space-sm); }
.p-md  { padding: var(--space-md); }

/* final print polish: ensure headings are visible and avoid truncation */
@media print {
     h1, h2, h3, h4 { color: #000 !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
     .sr-only, .visually-hidden { display: none !important; }
     .table-responsive { overflow: visible !important; }
}

/* tiny performance hint: prefer-layer to scope overrides where supported */
@supports (selector(:where(*))) {
    @layer utilities {
        .u-center {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: var(--spacing-sm);
        }

        /* small override to ensure consistent row gaps when layer is supported */
        .u-row {
            gap: var(--spacing-md);
        }
    }
/* -----------------------------------------------------------------
   SOUMETTRE UN PROJET – multi-step form
   ----------------------------------------------------------------- */

/* --- Progress bar --- 
.progress-container {
    margin-bottom: var(--space-xl);
}
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    flex: 1;
    color: var(--text-secondary);
    transition: color var(--transition-base);
}
.progress-step.active {
    color: var(--primary-gold);
}
.step-circle {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 2px solid var(--primary-gold);
    display: grid;
    place-content: center;
    font-size: 1.2rem;
    transition: background var(--transition-base),
                box-shadow var(--transition-base);
}
.progress-step.active .step-circle {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    box-shadow: var(--shadow-glow);
}
.progress-line {
    height: 2px;
    background: rgba(212, 175, 55, .2);
    flex: 1;
    margin: 0 var(--space-sm);
}
.progress-bar-container {
    height: 6px;
    background: rgba(212, 175, 55, .15);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-top: var(--space-md);
}
.progress-bar {
    height: 100%;
    background: var(--gradient-gold);
    transition: width var(--transition-slow);
}

/* --- Form wrapper --- 
.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
.multistep-form {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, .15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
}

/* --- Steps --- 
.form-step {
    display: none;
    animation: fadeIn .6s ease;
}
.form-step.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}
.form-step-title {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}
.form-step-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* --- Inputs & textareas --- 
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid rgba(212, 175, 55, .25);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .04);
    color: var(--text-primary);
    font-family: var(--font-primary);
    transition: border-color var(--transition-fast),
                box-shadow var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, .25);
    outline: none;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- File upload --- 
.file-upload-wrapper {
    position: relative;
}
.file-upload-wrapper input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.file-upload-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border: 2px dashed rgba(212, 175, 55, .35);
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, .05);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background var(--transition-fast),
                border-color var(--transition-fast);
}
.file-upload-label:hover {
    background: rgba(212, 175, 55, .1);
    border-color: var(--primary-gold);
}
.file-upload-label i {
    font-size: 1.3rem;
    color: var(--primary-gold);
}

/* --- Recap box --- 
.recap-box {
    background: rgba(30, 30, 47, .7);
    border: 1px solid rgba(212, 175, 55, .2);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}
.recap-box h3 {
    color: var(--primary-gold);
    margin-bottom: var(--space-md);
}
.recap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
}
.recap-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.recap-item strong {
    color: var(--text-secondary);
    font-size: .9rem;
}
.recap-item span {
    color: var(--text-primary);
}
.files-list {
    list-style: none;
    padding-left: 0;
}
.files-list li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) 0;
    color: var(--text-secondary);
}
.files-list li i {
    color: var(--primary-gold);
}

/* --- Checkboxes --- 
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    color: var(--text-secondary);
    font-size: .95rem;
}
.checkbox-label input[type=checkbox] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-gold);
    margin-top: 4px;
}
.checkbox-label a {
    color: var(--primary-gold);
    text-decoration: underline;
}

/* --- Actions --- 
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-xl);
}
.btn-prev,
.btn-next,
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-base);
}
.btn-prev:disabled,
.btn-next:disabled {
    opacity: .45;
    pointer-events: none;
}
.btn-outline {
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
}
.btn-outline:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}
.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}
.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.05rem;
}

/* --- Success state --- 
.success-message {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
}
.success-icon {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: var(--space-md);
}
.tracking-token-box {
    background: rgba(30, 30, 47, .8);
    border: 1px solid rgba(212, 175, 55, .3);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin: var(--space-lg) auto;
    max-width: 520px;
}
.token-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--primary-gold);
    background: rgba(0, 0, 0, .25);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
}
.btn-copy {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    transition: transform var(--transition-fast);
}
.btn-copy:hover {
    transform: scale(1.15);
}
.next-steps-box {
    text-align: left;
    max-width: 600px;
    margin: var(--space-lg) auto 0;
    color: var(--text-secondary);
}
.next-steps-box h3 {
    color: var(--primary-gold);
    margin-bottom: var(--space-md);
}
.next-steps-box ol {
    padding-left: var(--space-md);
}
.next-steps-box li {
    margin-bottom: var(--space-xs);
}
.next-steps-box strong {
    color: var(--text-primary);
}

/* --- Info cards --- 
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
}
.info-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, .15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition-base);
}
.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-gold);
}
.info-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: var(--space-md);
}
.info-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}
.info-card p {
    color: var(--text-secondary);
    font-size: .95rem;
}

/* --- Responsive tweaks --- 
@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
        gap: var(--space-md);
    }
    .btn-prev,
    .btn-next,
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
    .progress-steps {
        font-size: .8rem;
    }
    .step-circle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
    
/* -----------------------------------------------------------------
   14.  UPLOAD LIST – fichiers déjà sélectionnés
   ----------------------------------------------------------------- 
.upload-list {
    margin-top: var(--space-xs);
    list-style: none;
}
.upload-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(212, 175, 55, .07);
    border-radius: var(--radius-sm);
    font-size: .85rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.upload-list li span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}
.upload-list li i {
    color: var(--primary-gold);
}
.btn-remove-file {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1rem;
    transition: transform var(--transition-fast);
}
.btn-remove-file:hover {
    transform: scale(1.2);
}

/* -----------------------------------------------------------------
   15.  DRAG-AND-DROP VISUAL FEEDBACK
   ----------------------------------------------------------------- 
.file-upload-label.drag-over {
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, .15);
    box-shadow: var(--shadow-glow);
}

/* -----------------------------------------------------------------
   16.  TOOLTIPS – infos bulles
   ----------------------------------------------------------------- 
.tooltip {
    position: relative;
    display: inline-block;
}
.tooltip .tooltip-text {
    visibility: hidden;
    width: 240px;
    background: var(--primary-dark);
    color: var(--text-primary);
    text-align: center;
    border-radius: var(--radius-sm);
    padding: var(--space-xs) var(--space-sm);
    font-size: .8rem;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}
.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* -----------------------------------------------------------------
   17.  LOADER – étape finale (envoi en cours)
   ----------------------------------------------------------------- 
.loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, .85);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}
.loader-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.loader-gold {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(212, 175, 55, .2);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* -----------------------------------------------------------------
   18.  NOTIFICATIONS – toast en haut à droite
   ----------------------------------------------------------------- 
.notification {
    position: fixed;
    top: var(--space-lg);
    right: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, .3);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: .9rem;
    z-index: 5000;
    opacity: 0;
    transform: translateX(120%);
    transition: transform var(--transition-base), opacity var(--transition-base);
}
.notification.show {
    opacity: 1;
    transform: translateX(0);
}
.notification.success {
    border-color: #10b981;
    color: #10b981;
}
.notification.error {
    border-color: #ef4444;
    color: #ef4444;
}
.notification i {
    font-size: 1.2rem;
}

/* -----------------------------------------------------------------
   19.  PRINT – version papier du récap
   ----------------------------------------------------------------- 
@media print {
    .progress-container,
    .form-actions,
    .file-upload-label,
    .btn-copy,
    .loader-overlay,
    .notification {
        display: none !important;
    }
    .form-step {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .multistep-form {
        box-shadow: none;
        border: 1px solid #d0d0d0;
        background: #fff;
        color: #000;
    }
    .recap-box {
        break-inside: avoid;
        border: 1px solid #d0d0d0;
        background: #f8f8f8;
        color: #000;
    }
    .token-display {
        background: #f0f0f0;
        color: #000;
        border: 1px solid #d0d0d0;
    }
}

/* -----------------------------------------------------------------
   20.  REDUCED MOTION – accessibilité
   ----------------------------------------------------------------- 
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* -----------------------------------------------------------------
   PAGE PARTENAIRES – Login sécurisé
   ----------------------------------------------------------------- */
.login-section {
    padding: var(--space-2xl) 0;
    background: var(--gradient-dark);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.login-info {
    color: var(--text-primary);
}

.login-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-md);
}

.login-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.security-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background: rgba(30, 30, 47, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: var(--transition-base);
}

.security-feature:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-glow);
}

.security-feature i {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-top: 4px;
}

.security-feature h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.security-feature p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.help-box {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    background: rgba(212, 175, 55, 0.07);
    border-left: 4px solid var(--primary-gold);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.help-box a {
    color: var(--primary-gold);
    text-decoration: underline;
}

/* ---------- Formulaire de connexion ---------- */
.login-form-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.login-form-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
}

.login-form-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.login-form-header i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: var(--space-sm);
}

.login-form-header h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.login-form-header p {
    color: var(--text-secondary);
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: var(--space-sm);
    color: var(--primary-gold);
    z-index: 1;
}

.input-with-icon input {
    padding-left: 40px;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: var(--space-sm);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.toggle-password:hover {
    color: var(--primary-gold);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-md);
    font-size: 0.9rem;
}

.form-footer a {
    color: var(--primary-gold);
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* ---------- Badges sécurité ---------- */
.security-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(30, 30, 47, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.badge-item:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-glow);
}

.badge-item i {
    color: var(--primary-gold);
}

/* ---------- Modales ---------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
}

.modal-overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

.modal-small {
    max-width: 400px;
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary-gold);
}

.modal-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.modal-header i {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: var(--space-sm);
}

.modal-header h2 {
    font-size: 1.4rem;
    color: var(--text-primary);
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.help-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.help-text a {
    color: var(--primary-gold);
}

/* ---------- Toast notifications ---------- */
.notification {
    position: fixed;
    top: var(--space-lg);
    right: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    z-index: 5000;
    opacity: 0;
    transform: translateX(120%);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    border-color: #10b981;
    color: #10b981;
}

.notification.error {
    border-color: #ef4444;
    color: #ef4444;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .login-wrapper {
        grid-template-columns: 1fr;
    }

    .login-info {
        text-align: center;
    }

    .security-features,
    .help-box {
        text-align: left;
    }

    .modal-content {
        padding: var(--space-md);
    }
}
/* -----------------------------------------------------------------
   DASHBOARD PARTENAIRES – Tableau de bord privé
   ----------------------------------------------------------------- */
.dashboard-body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-primary);
}

/* ---------- Header Dashboard ---------- */
.dashboard-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(30, 30, 47, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: var(--space-sm) 0;
}

.dashboard-header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-logo img {
    height: 40px;
    width: auto;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.user-info {
    text-align: right;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
}

.user-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.user-avatar i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.btn-logout {
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-logout:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

/* ---------- Layout Dashboard ---------- */
.dashboard-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-lg);
    gap: var(--space-lg);
}

/* ---------- Sidebar ---------- */
.dashboard-sidebar {
    width: 260px;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
}

.sidebar-link i {
    font-size: 1.1rem;
}

.badge-count {
    margin-left: auto;
    background: var(--primary-gold);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-full);
}

.sidebar-footer {
    margin-top: var(--space-lg);
}

.security-status {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.security-status i {
    color: #10b981;
}

/* ---------- Main Content ---------- */
.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary-gold);
    text-decoration: none;
}

.breadcrumb i {
    font-size: 0.7rem;
}

.page-title-section h1 {
    font-size: 2rem;
    color: var(--text-primary);
}

.page-title-section p {
    color: var(--text-secondary);
}

/* ---------- Statistiques ---------- */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    transition: var(--transition-base);
}

.stat-card:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: grid;
    place-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ---------- Alertes ---------- */
.alert-box {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.alert-close {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
}

/* ---------- Cards ---------- */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
}

.dashboard-card:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-glow);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.card-header h2 {
    font-size: 1.2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.card-link {
    color: var(--primary-gold);
    font-size: 0.9rem;
    text-decoration: none;
}

.card-body {
    padding: var(--space-lg);
}

/* ---------- Projets & Documents ---------- */
.project-list,
.document-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.project-item,
.document-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.project-item:hover,
.document-item:hover {
    background: rgba(212, 175, 55, 0.07);
}

.project-item-icon,
.document-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: grid;
    place-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.project-item-info h3,
.document-info h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.project-item-meta,
.document-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.status-badge {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-planning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

/* ---------- Activité ---------- */
.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.activity-content h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.activity-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.activity-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ---------- Tableau ---------- */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th,
.data-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.data-table th {
    background: rgba(212, 175, 55, 0.05);
    color: var(--primary-gold);
    font-weight: 600;
}

.data-table tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

.table-cell-with-icon {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.table-cell-with-icon i {
    color: var(--primary-gold);
}

.progress-bar-mini {
    width: 100px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-gold);
}

.progress-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-left: var(--space-xs);
}

.btn-icon {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    transition: color var(--transition-fast);
}

.btn-icon:hover {
    color: var(--primary-gold);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
        padding: var(--space-md);
        }
    }

    .dashboard-sidebar {
        width: 100%;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .data-table th,
    .data-table td {
        padding: var(--space-xs);
        font-size: 0.8rem;
    }
}
/* ===========================================================
   FEUILLE GLOBALE – MILLENIUM QAF-OVCR
   Objectif : uniformiser toutes les pages sans toucher aux
   styles déjà définis pour top-bar, header, nav, hero,
   formulaire contact rapide & footer.
   =========================================================== */

/* 1. RESET MINIMAL (conserve les styles existants) */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 2. VARIABLES CSS – même palette que styles.css */
:root {
    --primary-gold: #D4AF37;
    --primary-dark: #1a1a2e;
    --primary-light: #16213e;
    --accent-blue: #0f3460;
    --accent-cyan: #00d4ff;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --bg-dark: #0a0a0f;
    --bg-card: #1e1e2f;
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(15, 52, 96, 0.85) 100%);
    --font-primary: 'Inter', 'Open Sans', sans-serif;
    --font-display: 'Poppins', 'Open Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --space-xs: 0.5rem;   /* 8px */
    --space-sm: 1rem;     /* 16px */
    --space-md: 1.5rem;   /* 24px */
    --space-lg: 2.5rem;   /* 40px */
    --space-xl: 4rem;     /* 64px */
    --space-2xl: 6rem;    /* 96px */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.3);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3. BASE (conserve la typo & couleurs existantes) */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--gradient-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 4. CONTENEUR GLOBAL – même largeur que styles.css */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* 5. SECTIONS – espacement uniforme */
.section {
    padding: var(--space-2xl) 0;
    position: relative;
}

.section-header {
    margin-bottom: var(--space-xl);
    text-align: center;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-sm);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 6. CARTES GLOBALES – même style que styles.css */
.card,
.engagement-card,
.identity-box,
.regulatory-box,
.about-card,
.media-kit-card,
.press-release-card,
.project-card,
.doc-card,
.help-card,
.info-card,
.dashboard-card,
.login-form-card {
    background: rgba(30, 30, 47, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.card:hover,
.engagement-card:hover,
.identity-box:hover,
.regulatory-box:hover,
.about-card:hover,
.media-kit-card:hover,
.press-release-card:hover,
.project-card:hover,
.doc-card:hover,
.help-card:hover,
.info-card:hover,
.dashboard-card:hover,
.login-form-card:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

/* 7. BOUTONS GLOBAUX – même style que styles.css */
.btn-primary,
.btn-next,
.btn-submit,
.btn-bullion,
.btn-institutional,
.btn-light {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
}

.btn-primary,
.btn-next,
.btn-submit,
.btn-bullion,
.btn-institutional {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-next:hover,
.btn-submit:hover,
.btn-bullion:hover,
.btn-institutional:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-light {
    background: var(--primary-dark);
    color: var(--primary-gold);
    box-shadow: var(--shadow-md);
}
.btn-light:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

/* 8. FORMULAIRES GLOBAUX – même style que styles.css */
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
    outline: none;
}

/* 9. ACCESSIBILITÉ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 10. IMPRESSION – masque les éléments décoratifs */
@media print {
    .header, .footer, .nav, .burger, .btn, .scroll-to-top, .shadow-glow, .shadow-md, .shadow-lg {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }

    .card, .identity-box, .regulatory-box, .project-card, .doc-card {
        background: #fff !important;
        border: 1px solid #ccc !important;
        color: #000 !important;
        box-shadow: none !important;
    }
}
/* -------------------------------------------------------
   PAGE CONTACT – styles complémentaires
   ------------------------------------------------------- */

.hero-contact .hero-background {
  background-position: center 35%;
  background-size: cover;
  filter: saturate(1.1) brightness(0.85);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Cartes latérales */
.contact-info-card,
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.contact-info-card:hover,
.contact-form-card:hover {
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
}

.contact-info-card h2,
.contact-form-card h2 {
  color: var(--primary-gold);
  margin-bottom: var(--space-sm);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: var(--space-md) 0;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-gold);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  display: grid;
  place-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.social-icons-large {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.social-icons-large a {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-full);
  display: grid;
  place-content: center;
  color: var(--primary-gold);
  font-size: 1.2rem;
  transition: var(--transition-base);
}

.social-icons-large a:hover {
  background: var(--primary-gold);
  color: var(--primary-dark);
  box-shadow: var(--shadow-glow);
}

.pgp-key-section {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.pgp-key-section p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

/* Formulaire */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  color: var(--primary-gold);
  font-family: var(--font-primary);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
  outline: none;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  accent-color: var(--primary-gold);
}

/* Carte Google Maps */
.map-section {
  padding-top: 0;
}

.map-container {
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Autres contacts */
.other-contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.other-contact-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: var(--transition-base);
}

.other-contact-card:hover {
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
}

.other-contact-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-gold);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  display: grid;
  place-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--space-md);
}

.other-contact-card h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.other-contact-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
}

/* FAQ */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item.open {
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-glow);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary-gold);
}

.faq-question i {
  transition: transform var(--transition-fast);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 var(--space-lg) var(--space-lg);
}
/* =========================================================
   FORMULAIRE MULTI-ÉTAPES – Soumettre un projet
   ========================================================= */

/* ---------- Progress Bar ---------- */
.sp-progress-container {
    margin-bottom: var(--space-xl);
}

.sp-progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.sp-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    flex: 1;
    color: var(--text-secondary);
    transition: color var(--transition-base);
}

.sp-progress-step.active {
    color: var(--primary-gold);
}

.sp-step-circle {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 2px solid var(--primary-gold);
    display: grid;
    place-content: center;
    font-size: 1.2rem;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.sp-progress-step.active .sp-step-circle {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    box-shadow: var(--shadow-glow);
}

.sp-progress-line {
    height: 2px;
    background: rgba(212, 175, 55, .2);
    flex: 1;
    margin: 0 var(--space-sm);
}

.sp-progress-bar-container {
    height: 6px;
    background: rgba(212, 175, 55, .15);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-top: var(--space-md);
}

.sp-progress-bar {
    height: 100%;
    background: var(--gradient-gold);
    transition: width var(--transition-slow);
}

/* ---------- Form Steps ---------- */
.sp-form-step {
    display: none;
    animation: fadeInStep .4s ease forwards;
}

.sp-form-step.active {
    display: block;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(10px); }
}

.form-step-title {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.form-step-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* ---------- File Upload ---------- */
.sp-file-upload-wrapper {
    position: relative;
}

.sp-file-upload-wrapper input[type=file] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.sp-file-upload-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border: 2px dashed rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.05);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-base);
}

.sp-file-upload-label:hover {
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
}

.sp-file-upload-label i {
    font-size: 1.3rem;
    color: var(--primary-gold);
}

.sp-upload-list {
    margin-top: var(--space-xs);
    list-style: none;
}

.sp-upload-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.sp-upload-list li span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.sp-upload-list li i {
    color: var(--primary-gold);
}

.sp-btn-remove-file {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1rem;
    transition: transform var(--transition-fast);
}

.sp-btn-remove-file:hover {
    transform: scale(1.2);
}

/* ---------- Drag & Drop ---------- */
.sp-file-upload-label.drag-over {
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.15);
    box-shadow: var(--shadow-glow);
}

/* ---------- Recap Box ---------- */
.sp-recap-box {
    background: rgba(30, 30, 47, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.sp-recap-box h3 {
    color: var(--primary-gold);
    margin-bottom: var(--space-md);
}

.sp-recap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
}

.sp-recap-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sp-recap-item strong {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.sp-recap-item span {
    color: var(--text-primary);
}

.sp-files-list {
    list-style: none;
    padding-left: 0;
}

.sp-files-list li {
    padding: var(--space-xs) 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ---------- Checkbox ---------- */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    accent-color: var(--primary-gold);
}

/* ---------- Buttons ---------- */
.sp-btn-next,
.sp-btn-prev,
.sp-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
}

.sp-btn-next,
.sp-btn-submit {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.sp-btn-next:hover,
.sp-btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.sp-btn-prev {
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
}

.sp-btn-prev:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

/* ---------- Success Message ---------- */
.sp-success-message {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sp-success-icon {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: var(--space-md);
}

.sp-tracking-token-box {
    background: rgba(30, 30, 47, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin: var(--space-lg) auto;
    max-width: 520px;
    text-align: center;
}

.sp-token-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--primary-gold);
    background: rgba(0, 0, 0, 0.25);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    word-break: break-all;
}

.sp-btn-copy {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.sp-btn-copy:hover {
    transform: scale(1.15);
}

.sp-next-steps-box {
    text-align: left;
    max-width: 600px;
    margin: var(--space-lg) auto 0;
    color: var(--text-secondary);
}

.sp-next-steps-box h3 {
    color: var(--primary-gold);
    margin-bottom: var(--space-md);
}

.sp-next-steps-box ol {
    padding-left: var(--space-md);
}

.sp-next-steps-box li {
    margin-bottom: var(--space-xs);
}

.sp-next-steps-box strong {
    color: var(--text-primary);
}

/* ---------- Loader ---------- */
.loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loader-overlay.active {
    display: flex;
}

.loader-gold {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- Toast Notification ---------- */
.toast-notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    z-index: 10000;
    opacity: 0;
    transform: translateX(120%);
    transition: 0.3s;
    max-width: 400px;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-notification.success {
    border-color: #10b981;
}

.toast-notification.error {
    border-color: #ef4444;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .sp-step-circle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .sp-token-display {
        font-size: 1rem;
        flex-direction: column;
    }

    .sp-recap-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
        gap: var(--space-md);
    }

    .sp-btn-prev,
    .sp-btn-next,
    .sp-btn-submit {
        width: 100%;
        justify-content: center;
    }
}

/* ---------- Print ---------- */
@media print {
    .sp-progress-container,
    .form-actions,
    .sp-file-upload-label,
    .sp-btn-copy,
    .loader-overlay,
    .toast-notification {
        display: none !important;
    }

    .sp-form-step {
        display: block !important;
    }

    .sp-multistep-form {
        box-shadow: none;
        border: 1px solid #d0d0d0;
        background: #fff;
        color: #000;
    }

    .sp-recap-box {
        break-inside: avoid;
        border: 1px solid #d0d0d0;
        background: #f8f8f8;
        color: #000;
    }

    .sp-token-display {
        background: #f0f0f0;
        color: #000;
        border: 1px solid #d0d0d0;
    }
}