/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - ABICIN'NIGER 2026
   ========================================================================== */
:root {
  /* Color Palette */
  --color-primary: #891602;        /* Bordeaux / Rouge Profond */
  --color-primary-dark: #580c00;   /* Rouge Ombré */
  --color-secondary: #1d1d1b;      /* Noir Ébène / Brun Sombre */
  --color-gold: #c89234;           /* Doré Ocre / Métal */
  --color-gold-light: #e5be75;     /* Doré Éclatant */
  --color-terracotta: #c05a33;     /* Terre Cuite */
  --color-cream: #fdfbf7;          /* Ivoire / Crème Fond */
  --color-cream-card: #f5efe6;     /* Carte Ivoire */
  --color-white: #ffffff;
  --color-text-muted: #666666;

  /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  /* Elevation & Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --shadow-subtle: 0 10px 30px rgba(29, 29, 27, 0.05);
  --shadow-hover: 0 20px 40px rgba(137, 22, 2, 0.12);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-cream);
  color: var(--color-secondary);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif-font {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1320px;
  margin: 0 auto;
}

/* Decorative UI Elements */
.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(137, 22, 2, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(137, 22, 2, 0.35);
}

.btn-gold {
  background-color: var(--color-gold);
  color: var(--color-secondary);
  font-weight: 700;
}

.btn-gold:hover {
  background-color: var(--color-gold-light);
  transform: translateY(-3px);
}

.btn-outline {
  border-color: var(--color-white);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-secondary);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(29, 29, 27, 0.92);
  backdrop-filter: blur(12px);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(200, 146, 52, 0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.75rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* Dégradé éclairci pour laisser l'image beaucoup plus visible */
  background: linear-gradient(135deg, rgba(29, 29, 27, 0.65), rgba(137, 22, 2, 0.25)),
              url('../medias/hero.png') center/cover no-repeat;
  color: var(--color-white);
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero-layout {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.hero-content {
  max-width: 750px;
  z-index: 2;
  /* Léger fond flouté derrière le texte pour maintenir la lisibilité sans cacher l'image */
  background: rgba(29, 29, 27, 0.4);
  backdrop-filter: blur(8px);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(200, 146, 52, 0.25);
  border: 1px solid var(--color-gold);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  color: var(--color-gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.hero .quote {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-cream);
  opacity: 0.95;
  margin-bottom: 1.75rem;
  border-left: 3px solid var(--color-gold);
  padding-left: 1.25rem;
}

/* Stylisation du Countdown */
/* Stylisation du Countdown Pleine Largeur & Dynamique */
.hero-countdown {
  margin-bottom: 2rem;
  width: 100%;
}

.countdown-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
  font-weight: 600;
}

.countdown-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 146, 52, 0.5), transparent);
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
}

.timer-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(200, 146, 52, 0.3);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 1rem 0.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

/* Effet d'éclat lumineux en fond au survol */
.timer-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.6s ease;
}

/* Effets au survol */
.timer-box:hover {
  transform: translateY(-5px);
  background: rgba(200, 146, 52, 0.15);
  border-color: var(--color-gold-light);
  box-shadow: 0 10px 25px rgba(200, 146, 52, 0.25);
}

.timer-box:hover::before {
  left: 100%;
}

.timer-box span {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
  transition: var(--transition);
}

.timer-box:hover span {
  color: var(--color-white);
  transform: scale(1.08);
}

.timer-box small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.timer-box:hover small {
  color: var(--color-gold-light);
}

/* Adaptabilité Mobile */
@media (max-width: 576px) {
  .timer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}
.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-phrases {
  display: flex;
  margin-bottom: 20px;
  gap: 0.8rem;
  margin-top: 1.2rem;
  color: var(--color-gold-light);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.hero-phrases .phrase-separator {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats-section {
  position: relative;
  background-color: var(--color-secondary);
  padding: 5rem 0 4.5rem;
  overflow: hidden;
  border-top: 1px solid rgba(200, 146, 52, 0.2);
  border-bottom: 3px solid var(--color-gold);
}

/* Halos lumineux d'arrière-plan */
.stats-section::before,
.stats-section::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 146, 52, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.stats-section::before {
  top: -100px;
  left: -50px;
}

.stats-section::after {
  bottom: -100px;
  right: -50px;
}

/* Grille des statistiques */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.stat-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(200, 146, 52, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 2rem 1.25rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.stat-card .number {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
  letter-spacing: -1px;
}

.stat-card .plus {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-gold);
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.85rem;
  font-weight: 600;
  transition: color 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-gold-light);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4),
              0 0 15px rgba(200, 146, 52, 0.15);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover .stat-label {
  color: var(--color-white);
}

/* Ligne de séparation dans le même bloc */
.stats-divider {
  width: 100%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 146, 52, 0.3), transparent);
  margin: 3.5rem auto 3rem;
}

/* En-tête partenaires */
.partners-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.partners-title {
  font-size: 1.35rem;
  color: var(--color-white);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Carrousel infini */
.logo-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: scrollMarquee 30s linear infinite;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.05); /* Fond légèrement éclairci par défaut */
  border: 1px solid rgba(200, 146, 52, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  min-width: 170px;
  height: 80px;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.logo-item img {
  max-height: 48px;
  max-width: 130px;
  object-fit: contain;
  /* Affichage de l'image d'origine par défaut */
  filter: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Changement de fond/bordure au survol SANS translation verticale */
.logo-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-gold-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.logo-item:hover img {
  opacity: 1;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsiveness */
@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stats-divider {
    margin: 2.5rem auto 2rem;
  }

  .logo-track {
    gap: 1.5rem;
  }

  .logo-item {
    min-width: 130px;
    height: 70px;
    padding: 0.5rem 1rem;
  }

  .logo-item img {
    max-height: 38px;
  }
}
/* ==========================================================================
   ESSENCE & AMBITIONS SECTION
   ========================================================================== */
.essence-section {
  padding: var(--space-xl) 0;
  background-color: var(--color-cream);
}

.essence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.essence-image-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.essence-image-box img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: var(--transition);
}

.essence-image-box:hover img {
  transform: scale(1.03);
}

.ambitions-section {
  padding: var(--space-lg) 0 var(--space-xl);
  background-color: var(--color-white);
}

.ambitions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.ambition-card {
  background: var(--color-cream);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 146, 52, 0.15);
  transition: var(--transition);
}

.ambition-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-gold);
}

.ambition-icon {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.ambition-card h3 {
  font-size: 1.35rem;
  color: var(--color-secondary);
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   COMPONENTS (COLLOQUE & FOIRE)
   ========================================================================== */
.composantes-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(to bottom, var(--color-cream), var(--color-cream-card));
}

.composantes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.composante-box {
  background: var(--color-white);
  padding: 3.5rem 3rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border-top: 5px solid var(--color-gold);
  box-shadow: var(--shadow-subtle);
}

.composante-box.foire {
  border-top-color: var(--color-primary);
}

.composante-num {
  font-size: 4rem;
  font-family: var(--font-heading);
  color: rgba(29, 29, 27, 0.06);
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-weight: 900;
}

.composante-box h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

.composante-list {
  list-style: none;
  margin-top: 1.5rem;
}

.composante-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}

.composante-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--color-gold);
}

/* ==========================================================================
   ESPACES DU SALON
   ========================================================================== */
.espaces-section {
  padding: var(--space-xl) 0;
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.espaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.espace-card {
  position: relative;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.espace-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.espace-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 29, 27, 0.95) 20%, rgba(29, 29, 27, 0.2));
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--transition);
}

.espace-card:hover img {
  transform: scale(1.08);
}

.espace-card:hover .espace-overlay {
  background: linear-gradient(to top, rgba(137, 22, 2, 0.95) 30%, rgba(29, 29, 27, 0.3));
}

.espace-title {
  font-size: 1.35rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   REGIONS SECTION (INTERACTIVE)
   ========================================================================== */
.regions-section {
  padding: var(--space-xl) 0;
  background-color: var(--color-cream);
}

.regions-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: start;
}

.regions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.region-btn {
  background: var(--color-white);
  border: 1px solid rgba(29, 29, 27, 0.1);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.region-btn:hover, .region-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  padding-left: 2.25rem;
}

.region-display {
  background: var(--color-white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  border-left: 5px solid var(--color-gold);
}

/* ==========================================================================
   INSTITUTIONS & FOOTER
   ========================================================================== */
.partners-section {
  padding: var(--space-lg) 0;
  background-color: var(--color-white);
  border-top: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}

.partners-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.partner-logo-item img {
  max-height: 85px;
  filter: grayscale(20%);
  opacity: 0.9;
  transition: var(--transition);
}

.partner-logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.footer {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 5rem 0 2rem;
  border-top: 2px solid var(--color-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-title {
  font-size: 1.1rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
}

.footer-logos {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.footer-logos img {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-copyright {
    margin: 0;
    text-align: right;
    white-space: nowrap;
    font-size: 14px;
}

/* Mobile */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .footer-logos {
        justify-content: center;
    }

    .footer-copyright {
        text-align: center;
    }
}

/* ==========================================================================
   CORRECTION DROPDOWN MENU
   ========================================================================== */

/* Positionnement du parent */
.nav-links li.dropdown {
  position: relative !important;
}

/* Flexbox pour aligner le texte "Événement" et la flèche ▾ */
.nav-links li.dropdown > a.dropdown-toggle {
  display: flex !important;
  align-items: center;
  gap: 0.35rem;
}

.nav-links li.dropdown .arrow {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

/* Rotation de la flèche au survol */
.nav-links li.dropdown:hover .arrow {
  transform: rotate(180deg);
}

/* CACHE LE SOUS-MENU PAR DÉFAUT */
.nav-links li.dropdown .dropdown-menu {
  display: none !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  background-color: var(--color-secondary) !important; /* Couleur sombre cohérente avec votre charte */
  min-width: 200px !important;
  padding: 0.75rem 0 !important;
  margin: 0 !important;
  list-style: none !important;
  border-radius: var(--radius-sm) !important;
  border: 1px solid rgba(200, 146, 52, 0.3) !important; /* Bordure dorée */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
  z-index: 1000 !important;
}

/* AFFICHE LE SOUS-MENU AU SURVOL */
.nav-links li.dropdown:hover .dropdown-menu {
  display: block !important;
  animation: fadeInDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Style des liens dans le sous-menu */
.nav-links .dropdown-menu li {
  width: 100%;
  display: block !important;
  margin: 0 !important;
}

.nav-links .dropdown-menu li a {
  display: block !important;
  padding: 0.6rem 1.25rem !important;
  color: var(--color-cream) !important;
  font-size: 0.88rem !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: var(--transition) !important;
}

/* Désactiver le soulignement rouge par défaut des liens du sous-menu */
.nav-links .dropdown-menu li a::after {
  display: none !important;
}

/* Effet au survol d'un lien du sous-menu */
.nav-links .dropdown-menu li a:hover,
.nav-links .dropdown-menu li a.active {
  background-color: rgba(200, 146, 52, 0.15) !important;
  color: var(--color-gold-light) !important;
  padding-left: 1.5rem !important;
}

/* Animation douce à l'apparition */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================================================================
   POPUP MODAL STYLES
   ========================================================================== */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  position: relative;
  background: var(--color-secondary);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  max-width: 550px;
  width: 90%;
  max-height: 90vh;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.popup-overlay.active .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-white);
  border: 1px solid var(--color-gold);
  font-size: 1.8rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
  line-height: 1;
}

.popup-close:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.1);
}

.popup-body {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-image {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}
