/* ============================================================
   Harmonie Fanfare Rudipontaine - Design System
   ============================================================ */

/* ── Variables ── */
:root {
  --c-dark:        #060D16;
  --c-navy:        #0A1628;
  --c-navy-mid:    #112240;
  --c-navy-light:  #1E3A5F;
  --c-blue:        #1A52A8;
  --c-blue-light:  #2563CC;
  --c-accent:      #4D80E4;
  --c-gold:        #C8A84B;
  --c-gold-light:  #E2C97E;
  --c-crimson:     #B52020;
  --c-crimson-light: #D63031;
  --c-white:       #FFFFFF;
  --c-off-white:   #EEF2F7;
  --c-text:        #CBD5E1;
  --c-text-muted:  #64748B;
  --c-border:           rgba(255,255,255,0.13);
  --c-glass:            rgba(255,255,255,0.065);
  --c-glass-hover:      rgba(255,255,255,0.12);
  --c-glass-border:     rgba(255,255,255,0.18);
  --c-glass-highlight:  rgba(255,255,255,0.24);

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  34px;

  --shadow-sm:   0 2px 10px rgba(0,0,0,0.18);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.28);
  --shadow-lg:   0 20px 64px rgba(0,0,0,0.38);
  --shadow-glow: 0 0 48px rgba(200,168,75,0.2);
  --shadow-glass: 0 8px 40px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.18);
  --shadow-glass-hover: 0 20px 60px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.25);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);
  --transition-spring: 0.5s cubic-bezier(0.34,1.56,0.64,1);
  --transition-glass: 0.4s cubic-bezier(0.4,0,0.2,1);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --nav-h: 80px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--c-dark);
  color: var(--c-text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Ambient glow layer derrière tout le contenu */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 40% at 15% 20%, rgba(77,128,228,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 35% at 85% 75%, rgba(200,168,75,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 50% 50%, rgba(29,111,164,0.04) 0%, transparent 80%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── Typography ── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  color: var(--c-white);
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 3vw, 2rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }

.text-accent   { color: var(--c-accent); }
.text-gold     { color: var(--c-gold); }
.text-muted    { color: var(--c-text-muted); }
.text-white    { color: var(--c-white); }
.text-center   { text-align: center; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.section-sm {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media(max-width:1024px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media(max-width:768px)  {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col    { flex-direction: column; }
.gap-1       { gap: 0.5rem; }
.gap-2       { gap: 1rem; }
.gap-3       { gap: 1.5rem; }
.gap-4       { gap: 2rem; }

/* ── Section Headers ── */
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1rem;
}

.section-header .eyebrow::before,
.section-header .eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--c-gold);
  opacity: 0.6;
}

.section-header h2 { margin-bottom: 1rem; }

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

/* ── Divider ── */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-light));
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: transform var(--transition-spring), box-shadow var(--transition), background var(--transition);
  font-family: var(--font-sans);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  transform: translateX(-100%) skewX(-15deg);
  transition: none;
  pointer-events: none;
}
.btn:hover::after {
  animation: btn-shimmer 0.55s ease forwards;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-crimson), var(--c-crimson-light));
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(181,32,32,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(181,32,32,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
  background: linear-gradient(135deg, var(--c-crimson-light), #e84040);
}

.btn-outline {
  background: rgba(255,255,255,0.07);
  color: var(--c-white);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 4px 16px rgba(0,0,0,0.2);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.4);
  color: var(--c-white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 12px 32px rgba(0,0,0,0.3);
}

.btn-gold {
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-light));
  color: var(--c-dark);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(200,168,75,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(200,168,75,0.55), inset 0 1px 0 rgba(255,255,255,0.5);
}

.btn-blue {
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-light));
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(26,82,168,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
  border: 1px solid rgba(37,99,204,0.4);
}
.btn-blue:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(26,82,168,0.6), inset 0 1px 0 rgba(255,255,255,0.28);
  background: linear-gradient(135deg, var(--c-blue-light), #3b7aee);
}

.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.85rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }

/* ── Cards ── */
.card {
  background: var(--c-glass);
  border: 1px solid var(--c-border);
  border-top: 1px solid var(--c-glass-highlight);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition-spring), box-shadow var(--transition-glass), background var(--transition-glass), border-color var(--transition-glass);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: var(--shadow-glass);
}

.card:hover {
  background: var(--c-glass-hover);
  border-color: rgba(200,168,75,0.25);
  border-top-color: rgba(255,255,255,0.32);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glass-hover), 0 0 48px rgba(200,168,75,0.1);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(26,82,168,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
  transition: transform var(--transition-spring), box-shadow var(--transition);
}
.card:hover .card-icon {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 8px 32px rgba(26,82,168,0.6), inset 0 1px 0 rgba(255,255,255,0.4);
}

/* ── Tags / Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.badge-blue  { background: rgba(77,128,228,0.15); color: var(--c-accent); border: 1px solid rgba(77,128,228,0.3); backdrop-filter: blur(8px); }
.badge-gold  { background: rgba(200,168,75,0.15); color: var(--c-gold-light); border: 1px solid rgba(200,168,75,0.35); backdrop-filter: blur(8px); }
.badge-green { background: rgba(34,197,94,0.12); color: #4ade80; border: 1px solid rgba(34,197,94,0.28); backdrop-filter: blur(8px); }
.badge-red   { background: rgba(181,32,32,0.15); color: #e87e7e; border: 1px solid rgba(181,32,32,0.32); backdrop-filter: blur(8px); }

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: #0A1628;
  border-bottom: 1px solid rgba(200,168,75,0.18);
  transition: height var(--transition-glass), background var(--transition-glass), border-color var(--transition-glass), box-shadow var(--transition-glass), backdrop-filter var(--transition-glass);
  animation: nav-drop 0.6s cubic-bezier(0.22,1,0.36,1) both;
}

/* Au scroll : barre compacte, fond translucide flouté, ombre portée */
.navbar.scrolled {
  background: rgba(8,17,32,0.88);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid rgba(200,168,75,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
@media (min-width: 1025px) {
  .navbar.scrolled { height: calc(var(--nav-h) - 14px); }
}

/* Animation d'entrée : barre qui descend, puis éléments en cascade */
@keyframes nav-drop {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes nav-item-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-logo { animation: nav-item-in 0.5s ease 0.25s both; }
.nav-menu .nav-item { animation: nav-item-in 0.45s ease both; }
.nav-menu .nav-item:nth-child(1) { animation-delay: 0.32s; }
.nav-menu .nav-item:nth-child(2) { animation-delay: 0.38s; }
.nav-menu .nav-item:nth-child(3) { animation-delay: 0.44s; }
.nav-menu .nav-item:nth-child(4) { animation-delay: 0.50s; }
.nav-menu .nav-item:nth-child(5) { animation-delay: 0.56s; }
.nav-actions { animation: nav-item-in 0.5s ease 0.62s both; }

@media (prefers-reduced-motion: reduce) {
  .navbar, .nav-logo, .nav-menu .nav-item, .nav-actions { animation: none; }
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  justify-self: start;
}
.nav-menu { justify-self: center; }
.nav-actions { justify-self: end; }

.nav-logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--c-blue), var(--c-accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text .name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: 0.01em;
}

.nav-logo-text .sub {
  font-size: 0.72rem;
  color: var(--c-gold-light);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--c-text);
  transition: var(--transition);
  cursor: pointer;
}

.nav-link:hover {
  color: var(--c-white);
  background: rgba(255,255,255,0.08);
}

.nav-menu .nav-link.active {
  position: relative;
  color: var(--c-gold-light);
  background: transparent;
  box-shadow: none;
}
.nav-menu .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--c-gold);
}

.nav-link .arrow {
  font-size: 0.65rem;
  transition: transform var(--transition);
}

.nav-item.dropdown-open .arrow { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.97);
  min-width: 220px;
  background: rgba(12,22,44,0.78);
  backdrop-filter: blur(40px) saturate(2);
  -webkit-backdrop-filter: blur(40px) saturate(2);
  border: 1px solid rgba(255,255,255,0.14);
  border-top: 1px solid rgba(255,255,255,0.24);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.18);
}

.nav-item.dropdown-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  color: var(--c-text);
  transition: var(--transition);
}

.nav-dropdown a:hover {
  background: rgba(255,255,255,0.09);
  color: var(--c-gold);
}

.nav-dropdown a i { width: 18px; text-align: center; color: var(--c-gold); font-size: 0.8rem; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ── Hamburger button ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  cursor: pointer;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-top: 1px solid rgba(255,255,255,0.24);
  backdrop-filter: blur(16px);
  transition: background var(--transition), border-color var(--transition), transform var(--transition-spring), box-shadow var(--transition);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 2px 8px rgba(0,0,0,0.2);
}
.nav-burger:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.28);
  transform: scale(1.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 4px 16px rgba(0,0,0,0.3);
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform 0.32s cubic-bezier(0.23,1,0.32,1), opacity 0.22s ease, width 0.22s ease;
  transform-origin: center;
}
.nav-burger span:nth-child(1) { width: 20px; }
.nav-burger span:nth-child(2) { width: 13px; }
.nav-burger span:nth-child(3) { width: 20px; }
.nav-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); width: 20px; }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); width: 20px; }

/* ── Bouton « S'inscrire à l'école » (transparent, contour doré) ── */
.nav-inscription-btn {
  background: transparent;
  color: var(--c-gold-light);
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border: 1px solid rgba(200,168,75,0.6);
  border-radius: 8px;
  transition: background var(--transition), border-color var(--transition);
}
.nav-inscription-btn:hover {
  color: var(--c-gold-light);
  background: rgba(200,168,75,0.12);
  border-color: var(--c-gold);
}

/* ── Mobile backdrop ── */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  pointer-events: none;
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}
.mobile-backdrop.open {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px) saturate(0.8);
  -webkit-backdrop-filter: blur(6px) saturate(0.8);
  pointer-events: all;
}

/* ── Mobile nav panel ── */
.mobile-nav {
  position: fixed;
  top: var(--nav-h);
  right: 0;
  bottom: 0;
  z-index: 999;
  width: min(360px, 90vw);
  background: rgba(8,16,34,0.72);
  backdrop-filter: blur(48px) saturate(2.2);
  -webkit-backdrop-filter: blur(48px) saturate(2.2);
  border-left: 1px solid rgba(255,255,255,0.12);
  border-left-top-color: rgba(255,255,255,0.22);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.42s cubic-bezier(0.23,1,0.32,1);
  box-shadow: -24px 0 80px rgba(0,0,0,0.5), inset 1px 0 0 rgba(255,255,255,0.1);
  overflow: hidden;
}
.mobile-nav.open { transform: translateX(0); }

/* Body */
.mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem 0 0.75rem;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.mobile-nav-body::-webkit-scrollbar { display: none; }

/* Section labels */
.mobile-nav-section-label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  padding: 1rem 1.1rem 0.3rem;
  opacity: 0.55;
}

/* Nav links */
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 1.1rem;
  min-height: 50px;
  color: var(--c-text);
  text-decoration: none;
  transition: background 0.15s ease;
}
.mobile-nav-link:hover { background: rgba(255,255,255,0.07); }
.mobile-nav-link:active { background: rgba(255,255,255,0.11); }
.mobile-nav-link.active { background: rgba(255,255,255,0.09); }
.mobile-nav-link.active .mnl-label { color: var(--c-accent); font-weight: 600; }
.mobile-nav-link.active .mnl-arrow { color: var(--c-accent); opacity: 0.7; }

/* Icon chips */
.mnl-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.mnl-blue   { background: rgba(90,180,232,0.18);  color: #6ec3f0; border: 1px solid rgba(90,180,232,0.28); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2); }
.mnl-purple { background: rgba(160,110,240,0.18); color: #c4aaff; border: 1px solid rgba(160,110,240,0.28); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2); }
.mnl-green  { background: rgba(60,200,110,0.18);  color: #7ddca0; border: 1px solid rgba(60,200,110,0.28); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2); }
.mnl-gold   { background: rgba(220,180,80,0.18);  color: #e4be5e; border: 1px solid rgba(220,180,80,0.28); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2); }
.mnl-orange { background: rgba(240,130,60,0.18);  color: #f0a070; border: 1px solid rgba(240,130,60,0.28); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2); }
.mnl-teal   { background: rgba(40,210,195,0.18);  color: #5cddd6; border: 1px solid rgba(40,210,195,0.28); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2); }
.mnl-pink   { background: rgba(230,80,130,0.18);  color: #f090b8; border: 1px solid rgba(230,80,130,0.28); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2); }
.mnl-gray   { background: rgba(150,170,200,0.13); color: #a0b8d0; border: 1px solid rgba(150,170,200,0.2);  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15); }

.mnl-label {
  flex: 1;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--c-text);
  line-height: 1;
}
.mnl-arrow {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.18);
  transition: transform 0.18s ease, color 0.18s;
  flex-shrink: 0;
}
.mobile-nav-link:hover .mnl-arrow {
  transform: translateX(2px);
  color: rgba(255,255,255,0.38);
}

/* Footer */
.mobile-nav-footer {
  flex-shrink: 0;
  padding: 0.9rem 1.1rem 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.025);
}
.mobile-nav-socials {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.mobile-nav-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  color: var(--c-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.mobile-nav-socials a:hover {
  background: rgba(29,111,164,0.2);
  color: var(--c-accent);
  border-color: rgba(29,111,164,0.3);
}
.mobile-nav-copyright {
  font-size: 0.68rem;
  color: var(--c-text-muted);
  opacity: 0.45;
  margin: 0;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 2.5rem;
}

.hero > .container {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-self: stretch;
  position: relative;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(29,111,164,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(10,22,40,0.9) 0%, transparent 60%),
    linear-gradient(160deg, #060D16 0%, #0A1628 40%, #112240 70%, #0A1628 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--c-white);
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
  box-shadow: 0 0 6px 1px rgba(255,255,255,0.5);
}

@keyframes float-particle {
  0%   { opacity:0; transform:translateY(0) scale(0); }
  10%  { opacity:0.8; transform:translateY(-20px) scale(1); }
  90%  { opacity:0.3; }
  100% { opacity:0; transform:translateY(-80vh) scale(0.5); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,111,164,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,111,164,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black, transparent);
}

.hero-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}


.hero-eyebrow {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1rem;
  padding: 0.5rem 1.1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(200,168,75,0.35);
  border-top: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.18), 0 0 24px rgba(200,168,75,0.12);
  animation: scale-in 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
}

.hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 3.5vw, 3.2rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.95)) drop-shadow(0 4px 32px rgba(0,0,0,0.75));
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--c-white);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.75;
  text-shadow: 0 1px 12px rgba(0,0,0,0.95), 0 2px 24px rgba(0,0,0,0.8);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}

.hero-stat .num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.25));
}

.hero-stat .num span { color: var(--c-gold); filter: drop-shadow(0 0 10px rgba(200,168,75,0.5)); }

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  pointer-events: none;
}

.hero-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-notes-anim {
  position: absolute;
  inset: 0;
}

.music-note {
  position: absolute;
  font-size: 2rem;
  color: var(--c-accent);
  opacity: 0;
  animation: floatNote ease-in-out infinite;
}

@keyframes floatNote {
  0%   { opacity:0; transform:translateY(40px) rotate(-15deg) scale(0.8); }
  20%  { opacity:0.6; }
  80%  { opacity:0.3; }
  100% { opacity:0; transform:translateY(-100px) rotate(15deg) scale(1.2); }
}

/* ── Page Header (inner pages) ── */
.page-header {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  background: linear-gradient(160deg, var(--c-dark) 0%, var(--c-navy) 50%, var(--c-navy-mid) 100%);
  overflow: hidden;
}
.page-header::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,111,164,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,111,164,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--c-dark), transparent);
}

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

.page-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.75rem;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-top: 1.5rem;
}

.page-header .breadcrumb a:hover { color: var(--c-gold); }
.page-header .breadcrumb .sep { opacity: 0.4; }

/* ── Event Cards ── */
.event-card {
  display: flex;
  gap: 1.5rem;
  background: var(--c-glass);
  border: 1px solid var(--c-border);
  border-top: 1px solid var(--c-glass-highlight);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform var(--transition-spring), box-shadow var(--transition-glass), background var(--transition-glass), border-color var(--transition-glass);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: var(--shadow-glass);
}

.event-card:hover {
  background: var(--c-glass-hover);
  border-color: rgba(200,168,75,0.3);
  border-top-color: rgba(255,255,255,0.32);
  transform: translateX(6px);
  box-shadow: var(--shadow-glass-hover);
}

.event-date-box {
  flex-shrink: 0;
  width: 72px;
  height: 80px;
  background: linear-gradient(135deg, var(--c-blue), var(--c-blue-light));
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26,82,168,0.4);
}

.event-date-box .day {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--c-white);
  line-height: 1;
  font-family: var(--font-display);
}

.event-date-box .month {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
}

.event-info { flex: 1; }
.event-info h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.event-info .event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-bottom: 0.5rem;
}
.event-info .event-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ── Timeline (Histoire) ── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-gold), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.15rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-gold);
  border: 3px solid var(--c-dark);
  box-shadow: 0 0 0 3px rgba(200,168,75,0.35), 0 0 16px rgba(200,168,75,0.4);
  animation: glass-glow-pulse 3s ease-in-out infinite;
}

.timeline-item .year {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-gold);
  background: rgba(200,168,75,0.1);
  border: 1px solid rgba(200,168,75,0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.5rem;
}

.timeline-item h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.timeline-item p { color: var(--c-text-muted); font-size: 0.93rem; margin: 0; }

/* ── Stats Block ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media(max-width:768px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:480px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--c-glass);
  border: 1px solid var(--c-border);
  border-top: 1px solid var(--c-glass-highlight);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: var(--shadow-glass);
  transition: transform var(--transition-spring), box-shadow var(--transition-glass), border-color var(--transition-glass), background var(--transition-glass);
}

.stat-card:hover {
  background: var(--c-glass-hover);
  border-color: rgba(77,128,228,0.3);
  border-top-color: rgba(255,255,255,0.32);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glass-hover), 0 0 40px rgba(77,128,228,0.1);
}

.stat-card .num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--c-gold-light), var(--c-white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .label {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--c-navy-mid);
}

.gallery-item-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--c-navy), var(--c-navy-mid));
  transition: var(--transition);
  border: 1px solid var(--c-border);
}

.gallery-item:hover .gallery-item-placeholder {
  border-color: rgba(79,179,232,0.3);
}

.gallery-item-placeholder i { font-size: 2.5rem; color: var(--c-blue-light); opacity: 0.5; }
.gallery-item-placeholder span { font-size: 0.82rem; color: var(--c-text-muted); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,13,22,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

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

/* ── Forms ── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-text);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-top: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  color: var(--c-white);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  transition: border-color var(--transition-glass), background var(--transition-glass), box-shadow var(--transition-glass);
  outline: none;
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.form-control::placeholder { color: var(--c-text-muted); }
.form-control:focus {
  border-color: rgba(77,128,228,0.5);
  border-top-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 0 0 3px rgba(77,128,228,0.18), inset 0 1px 0 rgba(255,255,255,0.15);
}

textarea.form-control { resize: vertical; min-height: 130px; }

/* ── Accordion (Répertoire) ── */
.accordion-item {
  border: 1px solid var(--c-border);
  border-top: 1px solid var(--c-glass-highlight);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--transition-glass), box-shadow var(--transition-glass);
  box-shadow: var(--shadow-glass);
}

.accordion-item.open { border-color: rgba(77,128,228,0.3); box-shadow: var(--shadow-glass-hover); }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--c-glass);
  backdrop-filter: blur(20px);
  border: none;
  color: var(--c-white);
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background var(--transition-glass);
  text-align: left;
}

.accordion-trigger:hover { background: var(--c-glass-hover); }
.accordion-trigger .icon { transition: transform var(--transition); font-size: 0.85rem; color: var(--c-gold); }
.accordion-item.open .accordion-trigger .icon { transform: rotate(180deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: rgba(6,13,22,0.5);
}

.accordion-body-inner {
  padding: 1.25rem 1.5rem;
  color: var(--c-text-muted);
  font-size: 0.93rem;
  line-height: 1.8;
}

.accordion-body-inner ul { padding-left: 1.25rem; }
.accordion-body-inner li { margin-bottom: 0.4rem; list-style: disc; }

/* ── Footer ── */
footer {
  background: rgba(5,11,22,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-brand .desc {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin: 1rem 0 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-top: 1px solid rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
  font-size: 0.9rem;
  transition: transform var(--transition-spring), background var(--transition), border-color var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.social-btn:hover {
  background: rgba(77,128,228,0.3);
  border-color: rgba(77,128,228,0.4);
  border-top-color: rgba(255,255,255,0.3);
  color: var(--c-white);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 24px rgba(77,128,228,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-col ul a:hover { color: var(--c-gold); transform: translateX(4px); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--c-text-muted);
}

.footer-bottom a { transition: var(--transition); }
.footer-bottom a:hover { color: var(--c-gold); }

/* ── Scroll Top ── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  /* Bleu nuit plein : contraste garanti sur fonds clairs comme sombres */
  background: var(--c-navy);
  border: 1px solid rgba(200,168,75,0.55);
  color: var(--c-white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(8,29,49,0.35);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.3s ease, transform var(--transition-spring), box-shadow var(--transition), background var(--transition);
  pointer-events: none;
}

.scroll-top.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.scroll-top:hover {
  transform: translateY(-4px) scale(1.08);
  background: #0d1f38;
  border-color: var(--c-gold);
  color: var(--c-gold-light);
  box-shadow: 0 12px 36px rgba(8,29,49,0.45);
}

/* ── Keyframes globaux ── */
@keyframes btn-shimmer {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(350%) skewX(-15deg); }
}

@keyframes glass-glow-pulse {
  0%, 100% { box-shadow: var(--shadow-glass); }
  50%       { box-shadow: var(--shadow-glass-hover), 0 0 60px rgba(200,168,75,0.12); }
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes fade-up-spring {
  0%   { opacity: 0; transform: translateY(28px) scale(0.97); }
  60%  { transform: translateY(-4px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes shine-border {
  0%   { border-top-color: rgba(255,255,255,0.12); }
  50%  { border-top-color: rgba(255,255,255,0.38); }
  100% { border-top-color: rgba(255,255,255,0.12); }
}

/* ── Animations AOS ── */
[data-aos] {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.65s cubic-bezier(0.34,1.20,0.64,1),
              transform 0.65s cubic-bezier(0.34,1.20,0.64,1);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-aos="fade-right"] { transform: translateX(-28px) scale(0.98); }
[data-aos="fade-right"].aos-animate { transform: translateX(0) scale(1); }

[data-aos="fade-left"] { transform: translateX(28px) scale(0.98); }
[data-aos="fade-left"].aos-animate { transform: translateX(0) scale(1); }

[data-aos="zoom-in"] { transform: scale(0.88); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

/* ── Utilities ── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-2 { padding: 1rem 0; }

.separator {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 2.5rem 0;
}

.highlight-box {
  background: rgba(77,128,228,0.1);
  border: 1px solid rgba(77,128,228,0.22);
  border-top: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 0.93rem;
  color: var(--c-text);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

/* ══════════════════════════════════════════════════════════
   Sections claires (fond blanc cassé, alternance avec le bleu)
   ══════════════════════════════════════════════════════════ */
.section-light { background: #faf8f3; }

/* Les textes utilisant les variables héritent automatiquement
   (--c-white bascule en bleu nuit pour les textes inline « blancs ») */
.section-light {
  --c-text: #3d4d61;
  --c-text-muted: #5b6b7f;
  --c-white: #0A1628;
}
/* Ré-affirme le vrai blanc où il reste indispensable */
.section-light .btn-blue,
.section-light .btn-primary,
.section-light .btn-facebook,
.section-light .btn-instagram,
.section-light .card-icon,
.section-light .event-date-box .day { color: #ffffff; }
.section-light h2, .section-light h3, .section-light h4, .section-light h5 { color: var(--c-navy); }
.section-light .section-header p { color: #5b6b7f; }
.section-light strong { color: var(--c-navy); }

/* Cartes et blocs vitrés → blancs, bord net, sans flou */
.section-light .card,
.section-light .event-card,
.section-light .stat-card,
.section-light .accordion-item {
  background: #ffffff;
  border: 1.5px solid rgba(8,29,49,0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 10px 30px rgba(8,29,49,0.08);
}
.section-light .card:hover,
.section-light .event-card:hover,
.section-light .stat-card:hover {
  background: #ffffff;
  border-color: rgba(200,168,75,0.5);
  border-top-color: rgba(200,168,75,0.5);
  box-shadow: 0 16px 40px rgba(8,29,49,0.13);
}

/* Chiffres des stat-cards : dégradé clair illisible → bleu nuit plein */
.section-light .stat-card .num {
  background: none;
  -webkit-text-fill-color: var(--c-navy);
  color: var(--c-navy);
}
.section-light .stat-card .label { color: #6b7683; }

/* Événements */
.section-light .event-date-box { background: var(--c-navy); box-shadow: none; }
.section-light .event-date-box .month { color: var(--c-gold-light); }
.section-light .event-meta i { color: var(--c-gold); }

/* Badges : variantes claires */
.section-light .badge-blue  { background: rgba(26,82,168,0.08);  color: var(--c-blue); border: 1px solid rgba(26,82,168,0.22); backdrop-filter: none; }
.section-light .badge-gold  { background: rgba(200,168,75,0.12); color: #9a7d2e; border: 1px solid rgba(200,168,75,0.35); backdrop-filter: none; }
.section-light .badge-green { background: rgba(30,122,79,0.1);   color: #1e7a4f; border: 1px solid rgba(30,122,79,0.25); backdrop-filter: none; }
.section-light .badge-red   { background: rgba(181,32,32,0.08);  color: #a83232; border: 1px solid rgba(181,32,32,0.25); backdrop-filter: none; }

/* Boutons contour */
.section-light .btn-outline {
  background: #ffffff;
  color: var(--c-navy);
  border: 1px solid rgba(8,29,49,0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 4px 14px rgba(8,29,49,0.08);
}
.section-light .btn-outline:hover {
  background: #ffffff;
  border-color: rgba(200,168,75,0.55);
  color: var(--c-navy);
  box-shadow: 0 10px 26px rgba(8,29,49,0.14);
}

/* Accordéon (répertoire) */
.section-light .accordion-trigger { background: #ffffff; color: var(--c-navy); }
.section-light .accordion-trigger:hover { background: #f4f1ea; }
.section-light .accordion-body { background: #faf8f3; }
.section-light .accordion-body-inner { color: #4d5d70; }

/* Formulaires */
.section-light .form-label { color: #3d4d61; }
.section-light .form-control {
  background: #ffffff;
  border: 1px solid rgba(8,29,49,0.2);
  color: var(--c-navy);
  backdrop-filter: none;
  box-shadow: none;
}
.section-light .form-control::placeholder { color: #8a97a5; }
.section-light .form-control:focus {
  border-color: rgba(26,82,168,0.5);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(26,82,168,0.12);
}

/* Timeline (histoire) : pastille détourée sur fond clair */
.section-light .timeline-item::before { border-color: #faf8f3; }

/* Encadré info */
.section-light .highlight-box {
  background: rgba(26,82,168,0.06);
  border: 1px solid rgba(26,82,168,0.18);
  border-top-color: rgba(26,82,168,0.18);
  backdrop-filter: none;
  box-shadow: none;
}

/* ── Responsive Nav ── */
@media(max-width:1024px) {
  .nav-menu { display: none; }
  .nav-inscription-btn { display: none; }
  .nav-burger { display: flex; }
  /* Sans le menu central, la grille 1fr auto 1fr recentre le burger :
     on repasse en flex logo ←→ burger */
  .nav-inner { display: flex; justify-content: space-between; }
}

/* CTA inscription dans le mobile nav :
   pas de padding horizontal, le lien interne a déjà le sien
   (aligné avec les autres entrées du menu) */
.mobile-nav-cta {
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media(max-width:768px) {
  :root { --nav-h: 70px; }
  .hero-visual { display: none; }

  /* ── Hero mobile : flex column plein écran ── */
  .hero {
    align-items: stretch;
    min-height: 100svh;
    min-height: 100vh; /* fallback */
    padding-top: calc(var(--nav-h) + 1.5rem);
    padding-bottom: 2rem;
  }
  .hero > .container {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
    max-width: 100%;
    width: 100%;
  }
  .hero-eyebrow {
    margin-top: auto;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    padding: 0.4rem 0.85rem;
    gap: 0.5rem;
    display: inline-flex;
  }
  .hero h1 {
    font-size: clamp(2rem, 9vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.1;
    white-space: normal;
  }
  .hero p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
    max-width: 100%;
    color: rgba(255,255,255,0.75);
  }

  /* Boutons toujours en bas du viewport */
  .hero-actions {
    margin-top: auto;
    padding-top: 1.5rem;
    justify-content: center;
    gap: 0.75rem;
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Stats juste sous les boutons */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: unset;
  }
  .hero-stat {
    text-align: center;
    padding: 0 0.5rem;
    position: relative;
  }
  .hero-stat + .hero-stat::before {
    content: '';
    position: absolute;
    left: 0; top: 15%; height: 70%;
    width: 1px;
    background: rgba(255,255,255,0.12);
  }
  .hero-stat .num { font-size: 1.9rem; margin-bottom: 0.2rem; }
  .hero-stat .label { font-size: 0.62rem; letter-spacing: 0.08em; }
}

/* ── Petits téléphones (≤ 480px) ── */
@media(max-width:480px) {
  /* Boutons */
  .btn { white-space: normal; }
  .btn-lg { padding: 0.9rem 1.5rem; font-size: 0.95rem; }

  /* Eyebrow sections - lignes décoratives plus courtes */
  .section-header .eyebrow::before,
  .section-header .eyebrow::after { width: 16px; }

  /* Cards événements - empilement vertical */
  .event-card { flex-direction: column; gap: 0.75rem; }
  .event-date-box {
    width: 100%;
    height: 48px;
    flex-direction: row;
    gap: 0.5rem;
    border-radius: var(--radius-sm);
    justify-content: center;
  }
  .event-date-box .day { font-size: 1.3rem; }

  /* Cartes stats */
  .stat-card { padding: 1.25rem 1rem; }
  .stat-card .num { font-size: 2.2rem; }

  /* Timeline */
  .timeline { padding-left: 1.75rem; }

  /* Galerie : 1 colonne */
  .gallery-grid { grid-template-columns: 1fr; }

  /* Boutons réseaux sociaux : cible tactile ≥ 44px */
  .social-btn { width: 44px; height: 44px; font-size: 1rem; }

  /* Page header */
  .page-header { padding: calc(var(--nav-h) + 2.5rem) 0 2rem; }

  /* Sections : padding réduit */
  .section { padding: clamp(2.5rem, 6vw, 4rem) 0; }

  /* Accordion - texte du titre ne déborde pas */
  .accordion-trigger { padding: 1rem 1.25rem; font-size: 0.9rem; }
}

/* ═══════════ Instruments décoratifs ═══════════ */

/* Section avec instruments en filigrane dans le fond */
.has-instr-deco { position: relative; isolation: isolate; overflow: hidden; }

.instr-deco {
  position: absolute;
  z-index: -1;
  width: clamp(150px, 20vw, 300px);
  opacity: .09;
  pointer-events: none;
  user-select: none;
}

/* Bandeau d'instruments alignés */
.instr-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2rem);
}

.instr-strip img {
  height: 54px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(8, 29, 49, 0.35));
  transition: transform .35s cubic-bezier(.34, 1.3, .64, 1);
}

.instr-strip img:nth-child(odd) { rotate: -5deg; }
.instr-strip img:nth-child(even) { rotate: 4deg; }
.instr-strip img:hover { transform: translateY(-6px) scale(1.1); }

@media (max-width: 600px) {
  .instr-strip img { height: 38px; max-width: 80px; }
  .instr-deco { opacity: .07; }
}
