/* ===== POLICE POPPINS (Google Fonts) ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===== VARIABLES CSS (COULEURS, OMBRES, TRANSITIONS) ===== */
/* Définit la palette couleur du site, les ombres et les transitions réutilisables */
:root {
  --blue: #003B71;
  --blue-dark: #002244;
  --gold: #C9A84C;
  --gold-light: #DFC66A;
  --white: #FFFFFF;
  --light-gray: #F4F4F4;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --text: #333333;
  --text-light: #6c757d;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 5px 25px rgba(201, 168, 76, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

/* ===== RÉINITIALISATION (RESET) ===== */
/* Supprime les marges/padding par défaut et standardise box-sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== STYLES DE BASE ===== */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

/* Liens : pas de soulignement, couleur héritée */
a {
  text-decoration: none;
  color: inherit;
}

/* Listes : pas de puces */
ul {
  list-style: none;
}

/* Images : responsive, pas de dépassement */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Texte doré (utilisé pour "l'avenir" dans le hero) */
.gold-text {
  color: var(--gold);
}

/* ===== LAYOUT GÉNÉRAL ===== */
/* Conteneur centré, sections, en-têtes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 60px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.section-header h2 .section-icon {
  color: var(--gold);
  margin-right: 8px;
  font-size: 1.8rem;
  vertical-align: middle;
}

.section-header .divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto;
}

/* ===== BOUTONS ===== */
/* Styles de base des boutons : arrondis, ombres, effet de clic (ripple) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

/* Bouton primaire : fond bleu dégradé */
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #004d99);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 59, 113, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 59, 113, 0.4);
}

/* Bouton secondaire : fond doré dégradé */
.btn-secondary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4);
}

/* Bouton outline : transparent avec bordure */
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* ===== HEADER ===== */
/* Header fixe transparent - devient blanc au scroll */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
  padding: 18px 0;
}

/* Header après scroll : fond blanc flouté avec ombre */
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
}

/* Logo : centré verticalement, poussé à gauche */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 24px;
}

/* Logo dans ses couleurs réelles sur un fond blanc arrondi pour la lisibilité */
.logo img {
  height: 50px;
  width: 50px;
  display: block;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.3s ease;
}

.header.scrolled .logo img {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

/* Navigation : alignée horizontalement */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}
.nav-list > li {
  list-style: none;
}

.nav-list a {
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.header.scrolled .nav-list a {
  color: var(--text);
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 60%;
}

.nav-list a:hover {
  color: var(--gold);
}

.header.scrolled .nav-list a:hover {
  color: var(--gold);
}

/* --- Submenu --- */
.nav-has-submenu {
  position: relative;
}
.nav-has-submenu > a .sub-arrow {
  font-size: 0.55rem;
  margin-left: 4px;
  transition: transform 0.3s ease;
}
.nav-has-submenu:hover > a .sub-arrow {
  transform: rotate(-180deg);
}
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}
.nav-has-submenu:hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}
.nav-submenu li {
  margin: 0;
  padding: 0;
}
.nav-submenu a {
  display: block;
  padding: 10px 20px;
  color: #333 !important;
  font-size: 0.78rem;
  text-transform: none;
  white-space: nowrap;
  transition: all 0.2s;
  background: transparent;
  border-radius: 0;
}
.nav-submenu a:hover {
  background: #f8f5f0;
  color: var(--gold) !important;
  padding-left: 26px;
}
.nav-submenu a::after {
  display: none !important;
}
.header.scrolled .nav-submenu {
  background: #fff;
}

/* --- Preinscription CTA Section --- */
.preinscription-cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 50%, #1a1a2e 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.preinscription-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(201,168,76,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.preinscription-cta-inner {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.preinscription-cta-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 8px 30px rgba(201,168,76,0.3);
}
.preinscription-cta h2 {
  font-size: 2rem;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 700;
}
.preinscription-cta p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin: 0 0 32px;
}
.preinscription-cta-btn.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(201,168,76,0.35);
}
.preinscription-cta-btn.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(201,168,76,0.45);
}
.preinscription-cta-btn.btn i {
  transition: transform 0.3s ease;
}
.preinscription-cta-btn.btn:hover i {
  transform: translateX(4px);
}

.nav-list .nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 8px;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.nav-list .nav-btn::after {
  display: none;
}

.nav-list .nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.header.scrolled .nav-list .nav-btn {
  color: var(--white) !important;
}

/* Hamburger : caché sur desktop, visible sur mobile (<1024px) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
  z-index: 1001;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.header.scrolled .hamburger span {
  background: var(--text);
}

/* Mobile menu elements - hidden on desktop */
.menu-header,
.menu-close {
  display: none;
}

/* ===== HERO ===== */
/* ===== SECTION HERO (SLIDER) ===== */
/* Pleine hauteur avec slider d'arrière-plan, overlay et contenu */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide .slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 10s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active .slide-img {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 59, 113, 0.85) 0%, rgba(0, 34, 68, 0.7) 50%, rgba(0, 59, 113, 0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 100%;
  max-width: 850px;
  padding: 0 80px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.hero-content h1 .hero-title-accent {
  color: #c9a84c;
}

.hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 35px;
  max-width: 550px;
  line-height: 1.7;
}

.hero-subtitle {
  max-width: 550px;
  margin-bottom: 35px;
}

.hero-subtitle p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 0 0 14px;
}

.hero-subtitle p:last-child {
  margin-bottom: 0;
}

.hero-nav {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.hero-nav button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.hero-nav button.active {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.5);
}

.hero-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 3;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-arrows button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  pointer-events: all;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrows button:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.1);
}

/* ===== PRESENTATION ===== */
/* ===== SECTION PRÉSENTATION ===== */
/* Texte + image en grille 2 colonnes */
.presentation {
  background: var(--white);
  position: relative;
}

.presentation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--blue));
}

.presentation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.presentation-text h3 {
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.presentation-text h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

.presentation-text p {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
}

.presentation-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.presentation-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.presentation-image:hover img {
  transform: scale(1.03);
}

.presentation-image::before {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--gold);
  border-radius: 16px;
  z-index: -1;
}

/* ===== PRÉSENTATION MODERNE ===== */
.pres-article {
  margin-bottom: 26px;
}

.pres-more {
  animation: presFade 0.35s ease;
}

.pres-more p {
  margin-bottom: 14px;
}

@keyframes presFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

#presToggle {
  cursor: pointer;
  transition: all 0.3s ease;
}

#presToggle i {
  transition: transform 0.3s ease;
}

#presToggle.open i {
  transform: rotate(45deg);
}

.pres-image-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--gold);
  z-index: 2;
}

.pres-image-badge i {
  font-size: 1.2rem;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.14);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
}

.pres-image-badge strong {
  display: block;
  color: var(--blue);
  font-size: 0.92rem;
  line-height: 1.2;
}

.pres-image-badge span {
  font-size: 0.76rem;
  color: var(--text-light);
  line-height: 1.3;
}

/* ===== FILIALES ===== */
/* ===== SECTION FILIALES ===== */
/* Cartes 4 colonnes avec icônes, hover effets */
.filiales {
  background: var(--light-gray);
}

.filiales-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.filiale-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 28px 32px;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.filiale-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--filiale-img, transparent) center/cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.filiale-card:hover::after {
  opacity: 0.12;
}

.filiale-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.filiale-card:hover::before {
  transform: scaleX(1);
}

.filiale-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.filiale-card-top {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.filiale-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 59, 113, 0.06), rgba(201, 168, 76, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.8rem;
  color: var(--gold);
  transition: all 0.4s ease;
  position: relative;
}

.filiale-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.15);
  transition: all 0.4s ease;
}

.filiale-card:hover .filiale-icon {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  transform: scale(1.1);
}

.filiale-card:hover .filiale-icon::after {
  border-color: var(--gold);
  transform: scale(1.15);
  opacity: 0.3;
}

.filiale-card-top h3 {
  font-size: 1.15rem;
  color: var(--blue);
  font-weight: 600;
}

.filiale-card-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  flex: 1;
}

.filiale-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.filiale-card-body .btn {
  padding: 10px 24px;
  font-size: 0.8rem;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

/* ===== ACTIVITES ===== */
/* ===== SECTION ACTIVITÉS ===== */
/* Cartes image + overlay, grille 2 colonnes */
.activites {
  background: var(--light-gray);
}

.activites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.activite-card {
  background: var(--white);
  border-radius: 18px;
  padding: 34px 30px 30px;
  box-shadow: 0 4px 18px rgba(26, 26, 46, 0.06);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(201, 168, 76, 0.12);
  overflow: hidden;
}

.activite-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.activite-card:hover::before {
  opacity: 1;
}

.activite-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 59, 113, 0.14);
  border-color: rgba(201, 168, 76, 0.4);
}

.activite-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(0, 59, 113, 0.25);
}

.activite-card-icon .icon-halo,
.activite-card-icon .icon-orbit,
.activite-card-icon .orbit-dot {
  display: none;
}

.activite-card-icon .icon-core {
  position: relative;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: none;
  box-shadow: none;
}

.activite-card-icon .icon-core i {
  font-size: 1.6rem;
  color: var(--white);
  filter: none;
}

.activite-card:hover .activite-card-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: translateY(-3px) rotate(-3deg);
  box-shadow: 0 10px 24px rgba(201, 168, 76, 0.4);
}

.activite-card:hover .activite-card-icon .icon-core i {
  color: var(--white);
  animation: none;
}

.activite-card-overlay {
  position: relative;
  padding: 0;
  background: none;
  color: var(--text);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.activite-card-overlay h3 {
  font-size: 1.15rem;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.activite-card-overlay h3 i {
  display: none;
}

.activite-card-overlay p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 22px;
  opacity: 1;
  flex: 1;
}

.activite-card-overlay .btn {
  padding: 10px 22px;
  font-size: 0.8rem;
  align-self: flex-start;
  margin-top: auto;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  color: var(--blue-dark);
  font-weight: 600;
  transition: all 0.3s ease;
}

.activite-card-overlay .btn:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 18px rgba(201, 168, 76, 0.35);
}

/* ===== POURQUOI NOUS CHOISIR (cartes défilantes) ===== */
.why-section {
  position: relative;
}

.why-hint {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  margin: -8px 0 22px;
  letter-spacing: 0.5px;
}

.why-hint i {
  color: var(--gold);
  margin-right: 6px;
}

.why-content {
  display: flex;
  gap: 36px;
  align-items: stretch;
  max-width: 940px;
  margin: 0 auto;
}

.why-content-img {
  flex: 0 0 44%;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 46, 0.08);
  box-shadow: 0 10px 34px rgba(26, 26, 46, 0.10);
}

.why-content-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.why-content-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.why-content-text p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-light);
}

.why-album {
  position: relative;
  width: 100%;
  max-width: 940px;
  height: 310px;
  margin: 0 auto;
  perspective: 1400px;
  transition: height 0.65s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.why-album:hover {
  height: 580px;
}

.why-album-card {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 330px;
  padding: 26px 24px;
  background: #ffffff;
  border: 1px solid rgba(26, 26, 46, 0.08);
  border-top: 4px solid var(--gold);
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(26, 26, 46, 0.10);
  transition: transform 0.65s cubic-bezier(0.22, 0.8, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease, left 0.65s cubic-bezier(0.22, 0.8, 0.3, 1), top 0.65s cubic-bezier(0.22, 0.8, 0.3, 1);
  will-change: transform;
}

.why-album-card:hover {
  z-index: 20 !important;
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow: 0 22px 55px rgba(26, 26, 46, 0.18);
}

.why-album-card:nth-child(1) {
  z-index: 1;
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 60%);
  border-top-color: #c9a84c;
  transform: translateX(-50%) translate3d(-7px, 24px, 0) rotate(-5deg);
}

.why-album-card:nth-child(2) {
  z-index: 2;
  background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 60%);
  border-top-color: #3e7bfa;
  transform: translateX(-50%) translate3d(-4px, 18px, 0) rotate(-3deg);
}

.why-album-card:nth-child(3) {
  z-index: 3;
  background: linear-gradient(180deg, #f0fbf9 0%, #ffffff 60%);
  border-top-color: #14b8a6;
  transform: translateX(-50%) translate3d(-1px, 12px, 0) rotate(-1deg);
}

.why-album-card:nth-child(4) {
  z-index: 4;
  background: linear-gradient(180deg, #fff4f2 0%, #ffffff 60%);
  border-top-color: #ff7a5c;
  transform: translateX(-50%) translate3d(2px, 6px, 0) rotate(1deg);
}

.why-album:hover .why-album-card:nth-child(1) {
  z-index: 4;
  left: 25%;
  top: 20px;
  transform: translateX(-50%);
}

.why-album:hover .why-album-card:nth-child(2) {
  z-index: 4;
  left: 75%;
  top: 20px;
  transform: translateX(-50%);
}

.why-album:hover .why-album-card:nth-child(3) {
  z-index: 4;
  left: 25%;
  top: 310px;
  transform: translateX(-50%);
}

.why-album:hover .why-album-card:nth-child(4) {
  z-index: 4;
  left: 75%;
  top: 310px;
  transform: translateX(-50%);
}

.why-card-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.18), rgba(201, 168, 76, 0.05));
  border: 1px solid rgba(201, 168, 76, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.why-album-card:hover .why-card-icon {
  transform: scale(1.08) rotate(-6deg);
}

.why-card-icon i {
  font-size: 1.6rem;
  color: var(--gold);
}

.why-album-card h3 {
  font-size: 1.02rem;
  color: var(--blue-dark);
  margin: 0 0 10px;
  font-weight: 700;
}

.why-album-card p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-light);
  margin: 0;
}

/* ===== CHIFFRES CLES ===== */
/* ===== SECTION CHIFFRES CLÉS ===== */
/* Fond bleu dégradé avec compteurs animés */
.chiffres {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.chiffres::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--chiffres-bg-img, url('../images/chiffres-bg.jpg')) center/cover;
  opacity: 0.08;
}

.chiffres::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08), transparent);
}

.chiffres .section-header h2 {
  color: var(--white);
}

.chiffres .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.chiffres .divider {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.chiffres-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.chiffre-item {
  text-align: center;
  padding: 35px 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.chiffre-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.chiffre-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  line-height: 1;
}

.chiffre-item h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 10px;
}

.chiffre-icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  color: var(--gold);
  opacity: 0.8;
}

/* ===== ACTUALITES ===== */
/* ===== SECTION ACTUALITÉS ===== */
/* Grille 3 colonnes de cartes d'actualités */
.actualites {
  background: var(--white);
}

.actualites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.actualite-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.actualite-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.actualite-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--light-gray);
}

.actualite-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.actualite-card:hover .actualite-card-img img {
  transform: scale(1.08);
}

.actualite-card-body {
  padding: 28px;
}

.actualite-date {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.actualite-card-body h3 {
  font-size: 1.1rem;
  color: var(--blue);
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.actualite-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.actualite-card-body .btn {
  padding: 10px 24px;
  font-size: 0.8rem;
}

/* ===== GALERIE ===== */
/* ===== SECTION GALERIE ===== */
/* Grille mosaïque d'images avec overlay hover */
.galerie {
  background: var(--light-gray);
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.galerie-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.galerie-item:hover img {
  transform: scale(1.1);
}

.galerie-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 59, 113, 0.8), rgba(201, 168, 76, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.galerie-item:hover .galerie-item-overlay {
  opacity: 1;
}

.galerie-item-overlay i {
  color: var(--white);
  font-size: 2.2rem;
  transform: scale(0.5);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.galerie-item:hover .galerie-item-overlay i {
  transform: scale(1);
}

.galerie-item:nth-child(1) { grid-row: span 2; grid-column: span 2; }
.galerie-item:nth-child(2) { grid-column: span 1; }
.galerie-item:nth-child(3) { grid-column: span 1; }

/* ===== LIGHTBOX ===== */
/* ===== LIGHTBOX (GALERIE PLEIN ÉCRAN) ===== */
/* Overlay sombre avec navigation et fermeture */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.lightbox.active {
  display: flex;
}

/* Images : responsive, pas de dépassement */
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: block;
  margin: auto;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.2);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
}

.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }

/* ===== CONTACT HOME ===== */
/* ===== SECTION CONTACT (ACCUEIL) ===== */
/* Fond bleu dégradé, formulaire + infos en grille */
.contact-home {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-home::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06), transparent);
}

.contact-home .section-header h2 {
  color: var(--white);
}

.contact-home .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.contact-home-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.contact-info-item .icon {
  color: var(--gold);
  font-size: 1.3rem;
  min-width: 30px;
  text-align: center;
}

.contact-info-item p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  box-sizing: border-box;
  height: 54px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.1);
  transform: scale(1.01);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form select option {
  color: var(--text);
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23fff'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

/* ===== FOOTER ===== */
/* ===== FOOTER ===== */
/* Fond bleu foncé, grille 4 colonnes, liens et coordonnées */
.footer {
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--blue));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  font-weight: 600;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
}

.footer-col .logo img {
  height: 45px;
  width: 45px;
  margin-bottom: 20px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 5px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.65);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 8px;
}

.footer-contact li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact .icon {
  color: var(--gold);
  min-width: 20px;
  font-size: 1.1rem;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
  transition: var(--transition);
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(201, 168, 76, 0.3);
}

.footer-bottom {
  margin-top: 60px;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== BACK TO TOP ===== */
/* ===== BOUTON RETOUR EN HAUT ===== */
/* Fixe en bas à droite, apparaît au scroll */
.back-to-top {
  position: fixed;
  bottom: 35px;
  right: 35px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(201, 168, 76, 0.3);
  transition: var(--transition);
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.4);
}

/* ===== PRELOADER ===== */
/* ===== PRÉLOADER (ÉCRAN DE CHARGEMENT) ===== */
/* Overlay blanc avec spinner, disparaît au load */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loader-gold {
  width: 50px;
  height: 50px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--gold);
  border-right-color: var(--gold-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ===== PAGE HEADER ===== */
/* ===== BANNIÈRE DE PAGE (PAGE HEADER) ===== */
/* Utilisé sur les pages intérieures avec image de fond et overlay */
.page-header {
  position: relative;
  height: 400px;
  padding-top: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  box-sizing: border-box;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 59, 113, 0.85) 0%, rgba(0, 34, 68, 0.7) 100%);
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-header-content h1 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.page-header-content .breadcrumb {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.page-header-content .breadcrumb a {
  color: var(--gold);
}

/* ===== ABOUT PAGE ===== */
/* ===== PAGE "LE GROUPE" ===== */
.about-intro {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.about-card {
  background: var(--white);
  padding: 40px 35px;
  border-radius: 16px;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.about-card:hover::before {
  transform: scaleX(1);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.about-card .icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 20px;
}

.about-card h3 {
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 15px;
}

.about-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Grille des valeurs (excellence, intégrité...) */
.values-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.value-item {
  text-align: center;
  padding: 35px 25px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.value-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.5s ease;
  border-radius: 2px;
}

.value-item:hover::after {
  width: 80%;
}

.value-item:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.value-item .icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 18px;
}

.value-item h4 {
  font-size: 1.1rem;
  color: var(--blue);
  margin-bottom: 10px;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== ACTIVITIES PAGE ===== */
/* ===== PAGE "ACTIVITÉS" ===== */
.activities-page {
  background: var(--white);
}

.activity-section {
  margin-bottom: 60px;
}

.activity-section:last-child {
  margin-bottom: 0;
}

/* Bloc activité : image + texte en 2 colonnes alternées */
.activity-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.activity-content.reverse {
  direction: rtl;
}

.activity-content.reverse > * {
  direction: ltr;
}

.activity-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.activity-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(transparent, rgba(0, 59, 113, 0.05));
}

.activity-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.activity-image:hover img {
  transform: scale(1.05);
}

.activity-info h3 {
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.activity-info h3 i {
  color: var(--gold);
}

.activity-info p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.activity-features {
  margin-bottom: 28px;
}

.activity-features li {
  padding: 10px 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--gray-100);
}

.activity-features li:last-child {
  border-bottom: none;
}

.activity-features li i {
  color: var(--gold);
  font-size: 0.9rem;
}

/* ===== NEWS PAGE ===== */
/* ===== PAGE "ACTUALITÉS" ===== */
.news-page {
  background: var(--light-gray);
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Article à la une : grande carte 2 colonnes */
.news-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.news-featured-img {
  height: 400px;
  overflow: hidden;
  background: var(--light-gray);
}

.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.news-featured:hover .news-featured-img img {
  transform: scale(1.05);
}

.news-featured-body {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-featured-body .category {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  width: fit-content;
}

.news-featured-body h2 {
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 15px;
  line-height: 1.3;
}

.news-featured-body p {
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.7;
}

/* ===== MEDIA PAGE ===== */
/* ===== PAGE "MÉDIAS" ===== */
.media-page {
  background: var(--white);
}

/* Onglets de filtre (Tout / Photos / Vidéos) */
.media-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.media-tab {
  padding: 12px 30px;
  border: 2px solid var(--blue);
  background: transparent;
  color: var(--blue);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.media-tab.active,
.media-tab:hover {
  background: var(--blue);
  color: var(--white);
}

/* Grille de médias avec hover overlay */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.media-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow);
}

.media-item img,
.media-item .media-video-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.media-item:hover img,
.media-item:hover .media-video-canvas {
  transform: scale(1.08);
}

/* Supprime le spinner (plus utilisé) */
.video-thumb-spinner { display: none; }

/* ===== PLACEHOLDER VIDÉO ===== */
/* Remplace la capture canvas — 100 % fiable sans téléchargement vidéo */
.video-placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.video-placeholder-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #001428 0%, #003b71 55%, #001e3a 100%);
  transition: transform 0.6s ease;
}

/* Effet de brillance animé — simule un reflet */
.video-placeholder-bg::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(201, 168, 76, 0.06) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { left: -60%; }
  50%  { left: 110%; }
  100% { left: 110%; }
}

.media-item:hover .video-placeholder-bg {
  transform: scale(1.08);
}

.video-placeholder-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px;
}

/* Cercle doré autour de l'icône film */
.video-icon-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.5);
  background: rgba(201, 168, 76, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.6rem;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.15);
}

.media-item:hover .video-icon-ring {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.18);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.3);
  transform: scale(1.1);
}

.video-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 59, 113, 0.7), rgba(201, 168, 76, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.media-item:hover .media-item-overlay {
  opacity: 1;
}

.media-item-overlay .play-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 5px 20px rgba(201, 168, 76, 0.4);
  transition: var(--transition);
}

.media-item:hover .play-btn {
  transform: scale(1.1);
}

/* ===== CAREERS PAGE ===== */
/* ===== PAGE "CARRIÈRES" ===== */
.careers-hero {
  background: var(--light-gray);
}

.jobs-list {
  display: grid;
  gap: 20px;
  margin-bottom: 50px;
}

/* Carte d'offre d'emploi */
.job-card {
  background: var(--white);
  padding: 30px 35px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.job-card:hover {
  transform: translateX(8px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.job-card h3 {
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.job-card h3 i {
  color: var(--gold);
  font-size: 1rem;
}

.job-card .meta {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.job-card .meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== Career Form ===== */
/* Formulaire de candidature spontanée */
.career-form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-gray);
}

.career-form .form-group {
  margin-bottom: 22px;
}

.career-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 8px;
}

.career-form label i {
  color: var(--gold);
}

.career-form input,
.career-form textarea,
.career-form select {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
  box-sizing: border-box;
  height: 54px;
}

.career-form input:focus,
.career-form textarea:focus,
.career-form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
  transform: scale(1.01);
}

.career-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23666'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.career-form textarea {
  min-height: 120px;
  resize: vertical;
}

.career-form .file-input {
  padding: 12px;
  border: 2px dashed var(--gray-300);
  background: var(--white);
  cursor: pointer;
  border-radius: 12px;
  height: auto;
}

/* ===== CONTACT PAGE ===== */
/* ===== PAGE "CONTACT" ===== */
.contact-page-section {
  background: var(--white);
}

/* Grille 2 colonnes : coordonnées + formulaire */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-details h3 {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Carte d'information de contact (adresse, téléphone...) */
.contact-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--light-gray);
  border-radius: 16px;
  margin-bottom: 20px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.contact-card .icon {
  font-size: 1.5rem;
  color: var(--gold);
  min-width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 12px;
}

.contact-card h4 {
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 5px;
}

.contact-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-form-page {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--light-gray);
}

.contact-form-page .form-group {
  margin-bottom: 22px;
}

.contact-form-page input,
.contact-form-page textarea,
.contact-form-page select {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
  box-sizing: border-box;
  height: 54px;
}

.contact-form-page input:focus,
.contact-form-page textarea:focus,
.contact-form-page select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
  transform: scale(1.01);
}

.contact-form-page select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23666'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.contact-form-page textarea {
  min-height: 180px;
  resize: vertical;
}

/* ===== MAP SECTION ===== */
/* ===== SECTION CARTE GOOGLE MAPS ===== */
.map-section {
  padding: 0 0 80px;
  background: var(--light-gray);
}

/* Conteneur de la carte avec badge */
.map-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  height: 420px;
}

.map-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 59, 113, 0.3) 0%, transparent 30%, transparent 70%, rgba(0, 59, 113, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Badge flottant "Nous trouver" sur la carte */
.map-badge {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.map-badge i {
  color: var(--gold);
  font-size: 1rem;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== FORM VALIDATION ===== */
.form-error {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 6px;
  display: none;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group.success input,
.form-group.success textarea,
.form-group.success select {
  border-color: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.form-success {
  display: none;
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  padding: 18px 22px;
  border-radius: 12px;
  margin-bottom: 22px;
  display: none;
  align-items: center;
  gap: 12px;
}

.form-success.show {
  display: flex;
}

.form-success i {
  font-size: 1.3rem;
}

/* ===== AUTH MODAL ===== */
/* ===== MODAL D'AUTHENTIFICATION (CONNEXION / INSCRIPTION) ===== */
/* Overlay fixe centrant la modale */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.auth-modal.active {
  opacity: 1;
  pointer-events: all;
}

.auth-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Contenu de la modale : conteneur flex 2 parties */
.auth-modal-content {
  position: relative;
  width: 900px;
  max-width: 92vw;
  max-height: 90vh;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.auth-modal.active .auth-modal-content {
  transform: scale(1) translateY(0);
}

/* Bouton de fermeture de la modale */
.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--light-gray);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.auth-close:hover {
  background: var(--gold);
  color: var(--white);
  transform: rotate(90deg);
}

/* Wrapper flex : guide (gauche) + formulaire (droite) */
.auth-inner {
  display: flex;
  flex: 1;
  min-height: 0;
}

/* Guide panel (left) */
/* Panneau guide (gauche) : fond bleu dégradé, étapes */
.auth-guide {
  width: 38%;
  background: linear-gradient(135deg, var(--blue) 0%, #002a52 100%);
  padding: 50px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.auth-guide::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.12), transparent);
  pointer-events: none;
}

.auth-guide::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent);
  pointer-events: none;
}

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

.auth-guide-content h2 {
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-guide-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

.auth-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.auth-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  opacity: 0.5;
  transition: all 0.4s ease;
}

.auth-step.active {
  opacity: 1;
}

.auth-step.active .step-num {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.step-text strong {
  display: block;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.step-text small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  line-height: 1.4;
}

/* Form panel (right) */
/* Panneau formulaire (droite) : scrollable si contenu long */
.auth-form-wrap {
  width: 62%;
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* Onglets Connexion / Inscription */
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
  background: var(--light-gray);
  border-radius: 12px;
  padding: 4px;
  flex-shrink: 0;
}

/* Style des onglets */
.auth-tab {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.auth-tab.active {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.auth-tab:hover:not(.active) {
  color: var(--text);
}

/* Formulaires : masqués par défaut, visibles avec .active */
.auth-form {
  display: none;
  flex-direction: column;
  gap: 14px;
  animation: authFadeIn 0.4s ease;
}

.auth-form.active {
  display: flex;
}

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

.auth-form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.auth-form-group label i {
  color: var(--gold);
  font-size: 0.85rem;
  width: 16px;
}

.auth-form-group input {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  background: var(--white);
  box-sizing: border-box;
  height: 48px;
}

.auth-form-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.auth-form-group.error input {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.auth-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-light);
}

.auth-checkbox input[type="checkbox"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
}

.auth-forgot {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.auth-forgot:hover {
  color: var(--blue);
}

.auth-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 4px;
}

.auth-submit:hover {
  box-shadow: 0 8px 25px rgba(0, 59, 113, 0.3);
  transform: translateY(-2px);
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 18px 0 14px;
  gap: 12px;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.1);
}
.auth-divider span {
  font-size: 0.8rem;
  color: #999;
  font-weight: 500;
  white-space: nowrap;
}

/* ===== FORGOT PASSWORD FLOW ===== */
.fp-step {
  animation: fpFadeIn 0.3s ease;
}
@keyframes fpFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
#fpCode {
  font-family: 'Poppins', monospace;
  font-weight: 700;
  color: var(--blue);
}
#fpCode::placeholder {
  letter-spacing: 2px;
  color: #bbb;
}

/* Section Mot du Président */
.president-section {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
}
.president-section .president-img {
  flex: 0 0 auto;
}
.president-section .president-img img {
  width: 280px;
  height: 280px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 15%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  aspect-ratio: 1;
}
.president-section .president-text {
  flex: 1;
}
.president-section .president-text h3 {
  font-size: 1.6rem;
  color: var(--blue);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 12px;
}
.president-section .president-text h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.president-section .president-name {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold);
  text-transform: uppercase;
}
.president-section .president-text p {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-top: 15px;
}
@media (max-width: 768px) {
  .president-section {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .president-section .president-img img {
    width: 200px;
    height: 200px;
  }
  .president-section .president-text h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ===== AUTH MODAL ANIMATION ===== */
.auth-modal.active {
  display: flex;
}

.auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.auth-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.auth-modal.visible .auth-modal-overlay {
  opacity: 1;
}

.auth-modal-content {
  position: relative;
  z-index: 1;
  transform: scale(0.9) translateY(30px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.auth-modal.visible .auth-modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* ===== PROFILE DROPDOWN ===== */
.nav-profile-item {
  position: relative;
  margin-left: 8px;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
  white-space: nowrap;
}

.header.scrolled .profile-trigger {
  background: var(--white);
  border-color: var(--gray-200);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.profile-trigger:hover {
  border-color: var(--gold);
}

.profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-name {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-trigger i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.profile-dropdown.show + .profile-trigger i,
.profile-trigger[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 280px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1001;
  overflow: hidden;
}

.profile-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: var(--light-gray);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.dropdown-avatar-wrap {
  flex-shrink: 0;
}

.dropdown-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.dropdown-user-info {
  min-width: 0;
}

.dropdown-user-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--blue);
  line-height: 1.3;
}

.dropdown-user-info small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  word-break: break-all;
  line-height: 1.3;
}

.dropdown-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #999;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dropdown-section-label i {
  font-size: 0.68rem;
}

.dropdown-divider {
  height: 1px;
  background: #f0ede5;
  margin: 8px 0;
}

.dropdown-photo-actions {
  display: flex;
  gap: 6px;
  align-items: stretch;
}

.photo-upload-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  border: 1.5px dashed rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.04);
  flex: 1;
  letter-spacing: 0.3px;
}

.photo-upload-btn:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

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

.photo-upload-btn i {
  font-size: 1.1rem;
  color: var(--gold);
}

.dropdown-footer {
  padding: 10px 18px 14px;
  border-top: 1px solid #f0ede5;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--text);
  transition: var(--transition);
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
}

.dropdown-link:hover {
  background: var(--light-gray);
  color: var(--gold);
}

.dropdown-link i {
  width: 18px;
  text-align: center;
  color: var(--gold);
}

.logout-btn {
  color: #dc3545;
}

.logout-btn i {
  color: #dc3545;
}

.logout-btn:hover {
  background: rgba(220, 53, 69, 0.06);
  color: #dc3545;
}

/* Auth error message */
.auth-error {
  display: none;
  padding: 12px 20px;
  margin: 0 24px;
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: 10px;
  color: #dc3545;
  font-size: 0.85rem;
  text-align: center;
}

.profile-avatar-initials {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.dropdown-avatar-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.auth-photo-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-photo-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px dashed var(--gold);
  border-radius: 10px;
  background: rgba(201, 168, 76, 0.05);
  color: var(--gold);
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: var(--transition);
}

.auth-photo-btn:hover {
  background: rgba(201, 168, 76, 0.12);
}

.auth-photo-preview {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}

.auth-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-password-wrap input {
  width: 100%;
  padding-right: 40px;
}

.auth-toggle-pass {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  font-size: 1.1rem;
  padding: 4px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-toggle-pass:hover {
  color: var(--gold);
}

.photo-delete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  background: none;
  border: 1.5px solid rgba(231, 76, 60, 0.2);
  border-radius: 10px;
  color: #e74c3c;
  font-size: 0.8rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.photo-delete-btn:hover {
  background: rgba(231, 76, 60, 0.08);
  border-color: #e74c3c;
}
.photo-delete-btn i {
  font-size: 0.9rem;
  width: 20px;
  text-align: center;
}

.profile-field-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 2px;
}
.profile-field-display {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: #555;
  min-width: 0;
  cursor: default;
}
.profile-field-display span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-field-display span.phone-empty {
  color: #bbb;
  font-style: italic;
  font-size: 0.8rem;
}
.profile-field-display i {
  font-size: 0.85rem;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
.profile-edit-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1px solid #e8e8e8;
  background: #fafafa;
  color: #aaa;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.profile-edit-btn:hover {
  border-color: #c9a84c;
  color: #c9a84c;
  background: #fdf8ed;
}
.profile-edit-btn i {
  font-size: 0.65rem;
}
.profile-field-action {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 7px 2px;
  background: none;
  border: none;
  color: #666;
  font-size: 0.82rem;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.profile-field-action:hover {
  color: #c9a84c;
}
.profile-field-action i {
  font-size: 0.78rem;
  width: 18px;
  text-align: center;
}
.fp-field-input {
  width: 100%;
  padding: 7px 10px;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  font-size: 0.82rem;
  background: #fff;
  color: #333;
  outline: none;
  margin-bottom: 6px;
  transition: border-color 0.2s;
  font-family: 'Poppins', sans-serif;
}
.fp-field-input:focus {
  border-color: #c9a84c;
}

.video-carousel-section {
  margin-top: 40px;
}
.video-carousel-title {
  font-size: 1.2rem;
  color: var(--primary-color, #c9a84c);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.video-carousel {
  position: relative;
  overflow: hidden;
}
.video-carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color, #c9a84c) transparent;
}
.video-carousel-track::-webkit-scrollbar {
  height: 6px;
}
.video-carousel-track::-webkit-scrollbar-thumb {
  background: var(--primary-color, #c9a84c);
  border-radius: 3px;
}
.video-carousel-item {
  flex: 0 0 280px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-carousel-item:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.video-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-carousel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  transition: background 0.3s ease;
}
.video-carousel-item:hover .video-carousel-overlay {
  background: rgba(0,0,0,0.5);
}
.video-carousel-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  transition: transform 0.3s ease, background 0.3s ease;
  margin-bottom: 8px;
}
.video-carousel-item:hover .video-carousel-play {
  transform: scale(1.1);
  background: var(--primary-color, #c9a84c);
  border-color: var(--primary-color, #c9a84c);
}
.video-carousel-label {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.video-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s ease, transform 0.3s ease;
  opacity: 0;
}
.video-carousel:hover .video-carousel-btn {
  opacity: 1;
}
.video-carousel-btn:hover {
  background: var(--primary-color, #c9a84c);
  transform: translateY(-50%) scale(1.1);
}
.video-carousel-btn.prev { left: 8px; }
.video-carousel-btn.next { right: 8px; }

@media (max-width: 768px) {
  .video-carousel-item { flex: 0 0 220px; }
  .video-carousel-play { width: 44px; height: 44px; font-size: 1.1rem; }
  .video-carousel-btn { display: none; }
}

/* ===== NEWS MODAL ===== */
.news-modal {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden; opacity: 0;
  transition: visibility 0s 0.4s, opacity 0.3s ease;
  padding: 24px;
}
.news-modal.active {
  visibility: visible; opacity: 1;
  transition: none;
}
.news-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.news-modal-container {
  position: relative;
  width: 100%; max-width: 800px;
  max-height: 90vh;
  background: #0d0d14;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex; flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
}
.news-modal.active .news-modal-container {
  transform: scale(1) translateY(0);
}
.news-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff; font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
  line-height: 1;
}
.news-modal-close:hover { background: rgba(201,168,76,0.3); color: #c9a84c; transform: scale(1.1); }
.news-modal-body {
  display: flex; flex-direction: column;
  overflow-y: auto;
  max-height: 90vh;
}
.news-modal-image-wrap {
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: #1a1a1a;
  position: relative;
}
.news-modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.news-modal-content {
  padding: 28px 40px 40px;
}
.news-modal-date {
  display: block;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 400;
}
.news-modal-date i { margin-right: 6px; color: #c9a84c; }
.news-modal-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.15);
  color: #c9a84c;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(201,168,76,0.2);
}
.news-modal-title {
  font-size: 1.6rem; color: #fff;
  margin-bottom: 20px;
  line-height: 1.35;
  font-weight: 700;
}
.news-modal-divider {
  width: 50px; height: 3px;
  background: linear-gradient(90deg, #c9a84c, rgba(201,168,76,0.2));
  border-radius: 2px;
  margin-bottom: 24px;
}
.news-modal-text {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 28px;
}
.news-modal-text p {
  margin-bottom: 20px;
}
.news-modal-text p:first-child::first-letter {
  font-size: 3.2rem;
  font-weight: 700;
  color: #c9a84c;
  float: left;
  line-height: 0.8;
  padding: 8px 10px 0 0;
  margin-top: 2px;
}
.news-modal-gallery {
  margin-bottom: 28px;
}
.news-modal-gallery-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c9a84c;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.news-modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}
.news-modal-gallery-item {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.2s, border-color 0.2s;
}
.news-modal-gallery-item:hover {
  transform: scale(1.04);
  border-color: rgba(201,168,76,0.5);
}
.news-modal-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .news-modal-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }
}
.news-modal-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.news-modal-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201,168,76,0.25);
}

/* ===== NEWS MODERN CARDS ===== */
.actualite-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  position: relative;
}
.actualite-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 2px solid var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.actualite-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 16px 40px rgba(201,168,76,0.15);
}
.actualite-card:hover::after {
  opacity: 1;
}
.actualite-card:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 4px 12px rgba(201,168,76,0.2);
  transition-duration: 0.1s;
}

/* Ripple click animation */
.actualite-card .ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.3) 0%, transparent 70%);
  transform: scale(0);
  animation: newsRipple 0.6s ease-out forwards;
  pointer-events: none;
  z-index: 10;
}
@keyframes newsRipple {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(4); opacity: 0; }
}

/* Shine sweep on hover */
.actualite-card .shine-sweep {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: none;
  pointer-events: none;
  z-index: 5;
}
.actualite-card:hover .shine-sweep {
  animation: shineSwipe 0.8s ease forwards;
}
@keyframes shineSwipe {
  0% { left: -100%; }
  100% { left: 150%; }
}

.actualite-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: var(--light-gray);
}
.actualite-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.4,0,.2,1);
}
.actualite-card:hover .actualite-card-img img {
  transform: scale(1.08);
}
/* Category overlay pill */
.actualite-card-img .news-overlay-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: 30px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}
.actualite-card-img .news-overlay-badge i {
  color: var(--gold);
  font-size: 0.6rem;
}
/* Read more pill on hover */
.actualite-card-img .news-read-pill {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 20px;
  border-radius: 30px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: bottom 0.4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 4px 15px rgba(201,168,76,0.4);
  z-index: 5;
}
.actualite-card:hover .news-read-pill {
  bottom: 14px;
}
/* Quand la carte a plusieurs photos, la bande de miniatures occupe le bas de l'image :
   on fait apparaître le bouton "Lire" au-dessus de cette bande pour éviter qu'elle ne le masque. */
.actualite-card:hover .actualite-card-img.has-thumbs .news-read-pill {
  bottom: 62px;
}

.actualite-card-body {
  padding: 22px 24px 24px;
}
.actualite-card-body .actualite-date {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.actualite-card-body h3 {
  font-size: 1.05rem;
  color: var(--blue);
  margin-bottom: 10px;
  font-weight: 700;
  line-height: 1.4;
  transition: color 0.2s;
}
.actualite-card:hover .actualite-card-body h3 {
  color: var(--gold);
}
.actualite-card-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.actualite-card-body .actualite-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}
.actualite-card-body .actualite-read-more {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.actualite-card:hover .actualite-read-more {
  gap: 10px;
}

/* ===== NEWS MULTI-IMAGES ===== */
.actualite-card-img .news-img-count,
.news-featured-img .news-img-count {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: 30px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 4;
}
.actualite-card-img .news-img-count i,
.news-featured-img .news-img-count i {
  color: var(--gold);
  font-size: 0.6rem;
}
.actualite-card-thumbs {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 6px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  z-index: 3;
}
.actualite-card-thumbs::-webkit-scrollbar,
.news-featured-thumbs::-webkit-scrollbar {
  height: 4px;
}
.actualite-card-thumbs::-webkit-scrollbar-thumb,
.news-featured-thumbs::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}
.actualite-card-thumbs img {
  width: 56px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid #eee;
  cursor: pointer;
}
.news-featured-img {
  position: relative;
}
.news-featured-thumbs {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 6px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  border-radius: 10px;
}
.news-featured-thumbs img {
  width: 64px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
  cursor: pointer;
}

/* Featured card on news page */
.news-featured {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
}
.news-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(201,168,76,0.15);
}
.news-featured:active {
  transform: translateY(-1px) scale(0.99);
  transition-duration: 0.1s;
}
.news-featured .ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.3) 0%, transparent 70%);
  transform: scale(0);
  animation: newsRipple 0.6s ease-out forwards;
  pointer-events: none;
  z-index: 10;
}
.news-featured-body .category {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  width: fit-content;
}
