/* Centrage du sceau sur tous les écrans */
.sceau-img-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* Bloc Tank : images Tank chinoise et Tank bec d'aigle en-dessous en mobile */
@media (max-width: 768px) {
  .tank-hide-mobile { display: none !important; }
  .tank-mobile { display: block !important; }
  /* Forcer la grille à une colonne pour ce bloc */
  div[style*='grid-template-columns: repeat(4, 1fr)'][style*='max-width: 1100px'] {
    display: block !important;
  }
}
/* Bloc images Santos : une colonne en mobile */
/* Bloc images Ecole : colonne en mobile */
@media (max-width: 768px) {
  .ecole-images-flex {
    flex-direction: column !important;
    gap: 1.5rem !important;
    align-items: center !important;
  }
}
.santos-henri, .santos-col, .santos-mobile { /* rien ici, juste pour cibler */ }
@media (max-width: 768px) {
  .santos-henri, .santos-mobile { width: 100%; }
  .santos-col { display: none !important; }
  .santos-mobile { display: block !important; }
  /* Forcer la grille à une colonne pour ce bloc */
  .santos-henri, .santos-mobile {
    grid-column: 1 / -1 !important;
  }
  /* Sélecteur du parent : style inline, donc on doit surcharger */
  div[style*='grid-template-columns: 1fr 1fr'][style*='max-width: 900px'] {
    display: block !important;
  }
}
/* Affichage image Santos sous Henri_Santos uniquement en mobile */
@media (max-width: 768px) {
  .santos-col { display: none !important; }
  .santos-mobile { display: block !important; }
}
/* Affichage de la sidebar et image Ecole1 tout en haut sur mobile */
.mobile-sidebar-top {
  display: none;
}
@media (max-width: 767px) {
  .mobile-sidebar-top {
    display: block;
    margin-bottom: 2rem;
  }
  .article-grid .article-sidebar {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .mobile-sidebar-top {
    display: none !important;
  }
}

/* Float layout : contenu pleine largeur sous la sidebar (desktop/tablette) */
@media (min-width: 768px) {
  .article-grid.float-layout {
    display: block !important;
  }
  .article-grid.float-layout::after {
    content: '';
    display: table;
    clear: both;
  }
  .article-grid.float-layout .article-sidebar {
    float: right !important;
    width: 300px !important;
    margin-left: 3rem !important;
    margin-bottom: 2rem !important;
    position: sticky !important;
    top: 90px !important;
    z-index: 10;
  }
}
/* ============================================
   LIGHTBOX CAPTION
   ============================================ */
.lightbox-caption {
  margin-top: 1.2rem;
  color: #fff;
  background: rgba(30,30,30,0.85);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: 1.1rem;
  text-align: center;
  max-width: 90vw;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  position: relative;
  z-index: 10;
  display: block;
}
.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* ============================================
   IMAGE BLACKBOX (bloc carré fond noir)
   ============================================ */
.image-blackbox {
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  max-height: 380px;
  margin: 2rem auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-blackbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1 / 1;
  max-height: 380px;
  border-radius: 18px;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.image-blackbox img:hover {
  transform: scale(1.04);
  filter: saturate(1.1);
}
/* ============================================
   RODANET 2026 - DESIGN COMPACT & MODERNE
   ============================================ */

:root {
  --bg: #F4EDDD;
  --accent: #344128;
  --dark: #1a1a1a;
  --light: #faf8f3;
  --gold: #c9a961;
  --accent-light: #5a6e49;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Georgia', serif;
  background: var(--bg);
  color: var(--accent);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: 0.3s var(--ease); }

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   HEADER
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(244, 237, 221, 0.98);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(52, 65, 40, 0.08);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.5rem;
  max-width: 1340px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
}

.logo svg { width: 24px; height: 24px; stroke-width: 2.5; }

nav ul {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  margin-bottom: 0;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  color: var(--accent);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

nav a:hover::after { width: 100%; }

/* Dropdown menu styles */
.dropdown {
  position: relative;
  padding-bottom: 0.5rem;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: rgba(244, 237, 221, 0.98);
  backdrop-filter: blur(12px);
  min-width: 280px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(52, 65, 40, 0.1);
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0;
  margin-top: 0;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}

.dropdown:hover .dropdown-menu {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 0.8rem 1.5rem;
  font-size: 0.85rem;
  transition: all 0.2s var(--ease);
  border-left: 3px solid transparent;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background: rgba(52, 65, 40, 0.05);
  border-left-color: var(--gold);
  padding-left: 1.7rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(9px, 9px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 60px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background: linear-gradient(135deg, var(--accent) 0%, #2a3622 50%, var(--dark) 100%);
  z-index: -2;
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
}

.hero-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--light);
  max-width: 900px;
  padding: 2rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  background: rgba(201, 169, 97, 0.15);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s var(--ease);
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 200;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  animation: fadeInUp 1s var(--ease) 0.2s both;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 1s var(--ease) 0.3s both;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  background: var(--light);
  color: var(--accent);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: all 0.3s var(--ease-out);
  animation: fadeInUp 1s var(--ease) 0.4s both;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.cta-button svg { width: 16px; height: 16px; }

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
  color: var(--light);
  opacity: 0.6;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }

.reveal { opacity: 0; transform: translateY(30px); }
.reveal.active { opacity: 1; transform: translateY(0); animation: fadeInUp 0.6s var(--ease) forwards; }
.reveal-text { animation: fadeInUp 0.6s var(--ease) forwards; }

/* ============================================
   SECTIONS
   ============================================ */
.vision-section {
  padding: 3.25rem 0 2.25rem;
  background: var(--light);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.section-header p {
  font-size: 1.05rem;
  color: #777;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   VISION CARDS - COMPACT 4-COLONNES
   ============================================ */
.vision-grid-compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.vision-card-compact {
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s var(--ease);
  border-top: 3px solid var(--gold);
}

.vision-card-compact:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--accent);
}

.vision-icon-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  border-radius: 50%;
  margin-bottom: 0.8rem;
}

.vision-icon-compact svg { width: 24px; height: 24px; stroke-width: 2; }

.vision-card-compact h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.vision-card-compact p {
  color: #666;
  line-height: 1.5;
  font-size: 0.85rem;
}

/* ============================================
   MEMBRES - TIMELINE LAYOUT (4 colonnes)
   ============================================ */
.members-section-new {
  padding: 2.75rem 0 4.5rem;
  background: var(--light);
}

.section-header-simple {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header-simple h2 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.section-header-simple p {
  font-size: 1rem;
  color: #999;
  letter-spacing: 0.2px;
}

.members-timeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.member-timeline-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.member-timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.member-img-wrapper {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #f0f0f0;
}

.member-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s var(--ease);
}

.member-timeline-card:hover .member-img-wrapper img {
  transform: scale(1.05);
}

.member-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
  z-index: 2;
}

#henri-card:hover .member-video-overlay {
  opacity: 1;
}

#henri-card:hover .member-img-wrapper img {
  opacity: 0;
}

#julien-card:hover .member-video-overlay {
  opacity: 1;
}

#julien-card:hover .member-img-wrapper img {
  opacity: 0;
}

#julien-card .member-img-wrapper img,
#elisabeth-card .member-img-wrapper img,
#alfred-card .member-img-wrapper img {
  object-position: center 20%;
}

#elisabeth-card .member-img-wrapper img {
  object-position: center 10%;
}

#auguste-card .member-video-overlay {
  object-position: 40% center;
}

#auguste-card:hover .member-video-overlay {
  opacity: 1;
}

#auguste-card:hover .member-img-wrapper img {
  opacity: 0;
}

#alfred-card:hover .member-video-overlay {
  opacity: 1;
}

#alfred-card:hover .member-img-wrapper img {
  opacity: 0;
}

.member-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.member-info-compact {
  padding: 1.3rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.member-info-compact h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  color: var(--accent);
  font-weight: 600;
}

.member-info-compact .year-range {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 0.5rem;
}

.member-info-compact p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0.8rem;
  flex-grow: 1;
}

.card-link {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s var(--ease);
  align-self: flex-start;
}

.card-link:hover {
  color: var(--gold);
  transform: translateX(3px);
}

/* ============================================
   VISION CARDS - 2x2 GRID (OLD - KEEP FOR COMPAT)
   ============================================ */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.vision-card {
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s var(--ease);
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.vision-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  border-radius: 50%;
  margin-bottom: 1.2rem;
}

.vision-icon svg { width: 28px; height: 28px; stroke-width: 2; }

.vision-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

.vision-card p {
  color: #666;
  line-height: 1.7;
  font-size: 0.9rem;
}

/* ============================================
   MEMBRES - COMPACT
   ============================================ */
.members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.member-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.member-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.member-card:hover .member-image img {
  transform: scale(1.05);
}

.member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 65, 40, 0.85), rgba(26, 26, 26, 0.9));
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.member-card:hover .member-overlay {
  opacity: 1;
}

.member-title {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.member-content {
  padding: 1.5rem;
}

.member-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: var(--accent);
}

.member-dates {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.member-bio {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.member-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s var(--ease);
}

.member-link:hover {
  color: var(--gold);
  transform: translateX(3px);
}

/* ============================================
   GALERIE GRILLE 3x3
   ============================================ */
.gallery-section {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--accent) 100%);
  position: relative;
  overflow: hidden;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  width: 1200px;
  height: 1200px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 245, 210, 0.22) 0%, rgba(255, 245, 210, 0) 65%);
  pointer-events: none;
  z-index: 0;
}

.gallery-section .container {
  position: relative;
  z-index: 1;
}

.gallery-section .section-header h2 {
  color: #fff7e1;
  text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.gallery-section .section-header p {
  color: rgba(255,255,255,0.8);
}

.treasures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.treasure-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-height: 380px;
  background: #0b0b0b;
  box-shadow: var(--shadow-lg);
  transform: translateZ(0);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.treasure-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.3);
}

.treasure-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  filter: saturate(1.05);
}

.treasure-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.1);
}

.treasure-caption {
  position: absolute;
  inset: auto 1.2rem 1.2rem 1.2rem;
  padding: 0.8rem 1rem;
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.swiper-pagination-bullet {
  background: rgba(255,255,255,0.4) !important;
  width: 8px !important;
  height: 8px !important;
}

.swiper-pagination-bullet-active {
  background: white !important;
  width: 24px !important;
  border-radius: 4px !important;
}

.swiper-button-prev,
.swiper-button-next {
  width: 44px !important;
  height: 44px !important;
  background: rgba(255,255,255,0.15) !important;
  border-radius: 50% !important;
  backdrop-filter: blur(8px) !important;
  color: white !important;
  transition: all 0.2s var(--ease) !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(255,255,255,0.3) !important;
  transform: scale(1.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px !important;
}

/* ============================================
   VIDÉOS
   ============================================ */
.heritage-section {
  padding: 4.5rem 0;
  background: var(--light);
}

/* ============================================
   ACTUALITÉS GRID (Style Breguet)
   ============================================ */
.actualites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.actualite-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.actualite-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.actualite-image-wrapper {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.actualite-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.actualite-card:hover .actualite-image-wrapper img {
  transform: scale(1.08);
}

.actualite-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.actualite-date {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.actualite-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.actualite-content p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.actualite-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease);
  margin-top: auto;
}

.actualite-link--youtube {
  color: #cc0000;
}

.actualite-link--youtube svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  color: #ccc;
  transform: scale(1.1);
}

.lightbox-caption {
  margin-top: 1rem;
  color: #fff;
  background: rgba(30, 30, 30, 0.9);
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  font-size: 1rem;
  text-align: center;
  max-width: 90vw;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.zoomable-image {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.zoomable-image:hover {
  opacity: 0.9;
}

.actualite-link:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.videos-showcase { margin-top: 2.5rem; }

.video-hero {
  margin-bottom: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 1 / 1;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.video-hero video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.video-info {
  padding: 1.5rem;
  background: white;
}

.video-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--accent);
}

.video-info p {
  color: #666;
  font-size: 0.9rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.video-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.video-card video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: #000;
}

.video-card-info {
  padding: 1.2rem;
  background: white;
}

.video-card-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: var(--accent);
  font-weight: 600;
}

.video-card-info p {
  font-size: 0.8rem;
  color: #999;
}

/* ============================================
   THÈMES
   ============================================ */
.themes-section {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--accent) 0%, #1a1a1a 100%);
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.theme-card {
  padding: 2rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  text-align: center;
  color: white;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.theme-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.theme-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-5px);
}

.theme-card:hover::before {
  opacity: 1;
}

.theme-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 97, 0.2);
  border-radius: 50%;
  font-size: 1.6rem;
  transition: all 0.2s var(--ease);
}

.theme-card:hover .theme-icon {
  background: rgba(201, 169, 97, 0.3);
  transform: scale(1.08);
}

.theme-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.theme-card p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 1.2rem;
}

.theme-cta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--gold);
  transition: all 0.2s var(--ease);
}

.theme-card:hover .theme-cta {
  transform: translateX(3px);
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--gold), #d4b896);
}

.cta-content {
  text-align: center;
  color: var(--dark);
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.8rem;
}

.cta-content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 450px;
  margin: 0 auto;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.newsletter-form input {
  flex: 1;
  padding: 0.95rem 1.3rem;
  border: none;
  background: white;
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: #bbb;
}

.newsletter-form button {
  padding: 0.95rem 1.8rem;
  background: var(--dark);
  color: white;
  border: none;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s var(--ease);
}

.newsletter-form button:hover {
  background: var(--accent);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--dark);
  color: white;
}

.footer-top {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--gold);
  letter-spacing: 0.3px;
  font-weight: 600;
}


.footer-col p {
  opacity: 0.75;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer-grid .footer-col:nth-child(2),
.footer-grid .footer-col:nth-child(3),
.footer-grid .footer-col:nth-child(4) {
  text-align: left;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  opacity: 0.65;
  transition: opacity 0.2s var(--ease);
  font-size: 0.9rem;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  opacity: 0.5;
  font-size: 0.85rem;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.2s var(--ease);
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
}

.lightbox-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  max-height: 85vh;
}

.lightbox img {
  max-width: 70vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.lightbox-caption {
  background: var(--light);
  color: var(--dark);
  padding: 2rem;
  border-radius: 8px;
  max-width: 350px;
  min-width: 250px;
  font-size: 1.1rem;
  line-height: 1.6;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  display: none;
}

.lightbox-caption:not(:empty) {
  display: block;
}

@media (max-width: 768px) {
  .lightbox-inner {
    flex-direction: column;
    gap: 1rem;
  }
  
  .lightbox img {
    max-width: 90vw;
  }
  
  .lightbox-caption {
    max-width: 90vw;
  }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: var(--light);
  color: var(--accent);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  transition: all 0.2s var(--ease);
  z-index: 10000;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent);
  color: white;
  transform: scale(1.1);
}

.lightbox-close { top: -50px; right: 0; }
.lightbox-prev { left: -60px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -60px; top: 50%; transform: translateY(-50%); }

/* Effet de zoom au survol pour toutes les images */
.zoomable-image {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.zoomable-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

figure {
  overflow: hidden;
}

/* ============================================
   PAGE GALLERIES (Interior Pages)
   ============================================ */
.gallery-section-page {
  padding: 4.5rem 0;
  background: var(--light);
}

.gallery-section-page h2 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  color: var(--accent);
}

.gallery-section-page p {
  color: #777;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.gallery-item-page {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  aspect-ratio: 1;
  background: white;
}

.gallery-item-page:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.gallery-item-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s var(--ease);
}

.gallery-item-page:hover img {
  transform: scale(1.05);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
  /* Cacher la sidebar float de Henri uniquement en mobile */
  .article-wrapper .article-sidebar {
    display: none !important;
  }
}
@media (max-width: 1024px) {
  /* Menu burger pour tablettes uniquement */
  nav {
    justify-content: space-between;
    position: relative;
    padding: 1.5rem 1.5rem;
  }
  
  .hamburger {
    display: flex;
    order: -1;
    position: absolute;
    left: 1.5rem;
    z-index: 10;
  }
  
  .logo {
    margin: 0 auto;
  }
  
  .logo span {
    display: none;
  }
  
  .logo img {
    height: 80px !important;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.8rem;
    z-index: 1000;
  }

  nav ul.active { display: flex; }
  .hamburger { display: flex; }

  /* Dropdown tablette */
  .dropdown-menu {
    position: static;
    display: none;
    background: rgba(52, 65, 40, 0.05);
    border-radius: 6px;
    margin-top: 0.5rem;
    padding: 0.5rem;
    box-shadow: none;
    border: none;
  }

  .dropdown.active .dropdown-menu {
    display: flex;
  }

  .dropdown-menu a {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .themes-grid,
  .members-grid,
  .vision-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vision-grid-compact {
    grid-template-columns: repeat(3, 1fr);
  }

  .members-timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .actualites-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .treasures-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container { padding: 0 1.2rem; }
  nav { 
    padding: 1.2rem 1.2rem;
    justify-content: space-between;
    position: relative;
  }
  
  .hamburger {
    order: -1;
    position: absolute;
    left: 1.2rem;
    z-index: 10;
  }
  
  .logo {
    margin: 0 auto;
  }
  
  .logo img {
    height: 75px !important;
  }

  .hero { margin-top: 50px; height: 80vh; }
  .hero h1 { font-size: 2.2rem; }

  .vision-grid,
  .vision-grid-compact,
  .members-grid,
  .members-timeline-grid,
  .themes-grid {
    grid-template-columns: 1fr;
  }

  .treasures-grid {
    grid-template-columns: 1fr;
  }

  .member-img-wrapper { height: 320px; }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .actualites-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .actualite-image-wrapper {
    height: 240px;
  }

  .member-image { height: 250px; }

  .newsletter-form {
    flex-direction: column;
    border-radius: 8px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    grid-template-areas:
      "rod rod"
      "dyn col"
      "res res";
  }

  .footer-grid .footer-col:nth-child(1) { grid-area: rod; }
  .footer-grid .footer-col:nth-child(2) { grid-area: dyn; }
  .footer-grid .footer-col:nth-child(3) { grid-area: col; }
  .footer-grid .footer-col:nth-child(4) { grid-area: res; }

  section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .logo span { display: none; }
  nav { padding: 1.1rem 1rem; }
  
  .hero { height: 70vh; margin-top: 45px; }
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 0.95rem; }

  .vision-grid,
  .vision-grid-compact,
  .members-grid,
  .members-timeline-grid,
  .themes-grid,
  .videos-grid,
  .actualites-grid,
  .treasures-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .actualite-image-wrapper {
    height: 220px;
  }

  .vision-card,
  .vision-card-compact,
  .member-card,
  .member-timeline-card,
  .theme-card {
    padding: 1.5rem;
  }

  .member-image { height: 220px; }
  .member-img-wrapper { height: 280px; }
  .member-content { padding: 1.2rem; }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    grid-template-areas:
      "rod rod"
      "dyn col"
      "res res";
  }

  section { padding: 2.5rem 0; }
  .section-header h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
  .section-header-simple h2 { font-size: 1.6rem; }

  .newsletter-form input,
  .newsletter-form button {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
  }
}
