/*
  Thème: Chaleureux clair — dégradé crème / pêche
  Typo: Montserrat
*/

:root {
  --bg: #fdf8f4;
  --bg-soft: #f5ebe4;
  --text: #2d2a26;
  --muted: rgba(45, 42, 38, 0.6);
  
  /* Couleurs du logo */
  --accent-purple: #9b4dca;
  --accent-pink: #ff3e8a;
  --accent-orange: #ff6b35;
  --accent: var(--accent-pink);
  
  --surface: rgba(255, 255, 255, 0.6);
  --border: rgba(0, 0, 0, 0.08);
  --ring: rgba(255, 62, 138, 0.25);
  --maxw: 1100px;
  
  /* Dégradés */
  --gradient-brand: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 50%, var(--accent-orange) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(155,77,202,0.08) 0%, rgba(255,62,138,0.08) 50%, rgba(255,107,53,0.08) 100%);
}

* { box-sizing: border-box; }

h1, h2, h3 {
  font-family: "Glacial Indifference", "Montserrat", sans-serif;
  text-transform: uppercase;
}

html { 
  height: 100%;
  background: #fdf8f4;
}
body {
  margin: 0;
  min-height: 100%;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #fdf8f4 0%, #f8e8e0 50%, #f5e1d8 100%);
  background-attachment: fixed;
  line-height: 1.7;
  font-weight: 400;
  position: relative;
  overflow-x: hidden;
}

/* Orbes animées en fond */
.bg-orbs {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
  top: 0;
  left: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-purple);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: var(--accent-pink);
  bottom: -80px;
  right: -80px;
  animation-delay: -2s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-orange);
  top: 50%;
  left: 60%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Motif musical subtil en fond */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1000" viewBox="0 0 1200 1000"><defs><style>.music{fill:%23a0785c;opacity:0.08;stroke:%23a0785c;stroke-width:1;}.staff{fill:none;stroke:%23a0785c;stroke-width:0.8;opacity:0.05;}</style></defs><g class="staff"><line x1="50" y1="120" x2="180" y2="120"/><line x1="50" y1="130" x2="180" y2="130"/><line x1="50" y1="140" x2="180" y2="140"/><line x1="50" y1="150" x2="180" y2="150"/><line x1="50" y1="160" x2="180" y2="160"/><line x1="800" y1="600" x2="930" y2="600"/><line x1="800" y1="610" x2="930" y2="610"/><line x1="800" y1="620" x2="930" y2="620"/><line x1="800" y1="630" x2="930" y2="630"/><line x1="800" y1="640" x2="930" y2="640"/></g><g class="music"><ellipse cx="100" cy="140" rx="5" ry="4" transform="rotate(-25 100 140)"/><line x1="105" y1="140" x2="105" y2="118" stroke-width="1.2"/><ellipse cx="850" cy="620" rx="5" ry="4" transform="rotate(-25 850 620)"/><line x1="855" y1="620" x2="855" y2="598" stroke-width="1.2"/><ellipse cx="400" cy="450" rx="5" ry="4" transform="rotate(-25 400 450)"/><line x1="405" y1="450" x2="405" y2="428" stroke-width="1.2"/></g></svg>');
  background-repeat: repeat;
  background-size: 1200px 1000px;
}


/* Liens dans le contenu */
main a:not(.btn) {
  color: var(--accent-orange);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 107, 53, 0.3);
}
main a:not(.btn):hover {
  color: var(--accent-pink);
  border-bottom-color: var(--accent-pink);
}

/* Overrides */
.intro h2::after, .newsletter h2::after, .split h3::after { content: none !important; background: none !important; height: 0 !important; }

.container { 
  max-width: var(--maxw); 
  margin: 0 auto; 
  padding: 0 20px; 
}
.container h1 { 
  margin: 40px 0 16px;
  font-size: 1.8rem;
  font-family: "Glacial Indifference", "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  width: 100%;
  text-align: center;
}
.container .muted { 
  margin: 0 0 40px;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
}
.tiny { font-size: 0.875rem; }

/* Nav */
.site-header { 
  position: sticky; 
  top: 0; 
  z-index: 2000; 
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  background: rgba(253, 248, 244, 0.85);
}
.site-header.scrolled {
  background: rgba(253, 248, 244, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.nav { 
  display: flex; 
  align-items: center; 
  justify-content: center;
  padding: 8px 32px; 
  gap: 20px;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

/* Logo centré dans un cercle */
.brand-center {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}
.logo-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(155, 77, 202, 0.15) 0%, rgba(255, 62, 138, 0.15) 50%, rgba(255, 107, 53, 0.15) 100%);
  border: 2px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 
    0 8px 32px rgba(155, 77, 202, 0.15),
    0 0 0 3px rgba(253, 248, 244, 0.8);
  transition: all 0.3s ease;
  margin-top: 15px;
  backdrop-filter: blur(10px);
}
.logo-circle:hover {
  transform: scale(1.12);
  box-shadow: 
    0 12px 40px rgba(255, 62, 138, 0.25),
    0 0 0 4px rgba(253, 248, 244, 0.8);
  border-color: var(--accent-pink);
}
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* Navigation links */
.nav-links { 
  display: flex; 
  gap: 24px; 
  list-style: none; 
  margin: 0; 
  padding: 0; 
  align-items: center;
  flex: 1;
}
.nav-left {
  justify-content: flex-end;
}
.nav-right {
  justify-content: flex-start;
}
.nav-toggle { 
  display: none; 
  background: rgba(0, 0, 0, 0.05); 
  border: 1px solid rgba(0, 0, 0, 0.1); 
  color: var(--text); 
  padding: 8px 10px; 
  border-radius: 8px;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.nav a { 
  color: var(--text); 
  text-decoration: none; 
  font-family: "Montserrat", sans-serif;
  font-weight: 600; 
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  position: relative;
  padding: 8px 0;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: width 0.3s ease;
}
.nav a:hover {
  color: var(--accent-pink);
}
.nav a:hover::after {
  width: 100%;
}

/* Icônes sociales dans le menu (Instagram + Facebook après Galerie) */
.nav-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
  position: relative;
  top: 1px;
}

.nav-social-icon:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.nav-social-icon::after {
  display: none;
}

/* Icône langue à droite */
.nav-icons {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
  padding: 6px;
  border-radius: 6px;
}

.nav-icon-link:hover {
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.05);
}

.nav-icon-link svg {
  display: block;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Lang switch (old, masquer sur desktop) */
.lang-switch { 
  display: none;
}
.lang-switch a.flag-link { 
  display: inline-flex; 
  align-items: center;
  gap: 8px;
  padding: 8px 14px; 
  border: 1px solid rgba(0, 0, 0, 0.1); 
  border-radius: 20px; 
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1; 
  color: var(--text); 
  text-decoration: none; 
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}
.lang-switch a.flag-link svg {
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.lang-switch a.flag-link::after {
  display: none;
}
.lang-switch a.flag-link:hover { 
  border-color: var(--accent-pink); 
  color: var(--accent-pink); 
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 62, 138, 0.15);
}

/* Hero */
.hero {
  position: relative;
  padding: 150px 20px 130px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.45) 100%),
    url('/images/bandeau-jeunes-artistes.png') center 32% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text x="0" y="18" font-size="18" fill="white" fill-opacity="0.5">♪</text></svg>'),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28"><text x="0" y="20" font-size="20" fill="white" fill-opacity="0.45">♩</text></svg>'),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><text x="0" y="18" font-size="18" fill="white" fill-opacity="0.45">♬</text></svg>');
  background-repeat: no-repeat;
  animation: float-notes 16s linear infinite;
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; }
.hero h1 { font-family: "Glacial Indifference", "Montserrat", sans-serif; font-weight: 700; font-size: 3.2rem; margin: 0 0 10px; letter-spacing: -0.02em; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.45); text-transform: uppercase; }
.hero p { color: #f4ece6; margin: 0 0 20px; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.hero-cta { display: flex; gap: 12px; }
.hero-bandeau .hero-inner { text-align: center; }
.hero-bandeau .hero h1 { position: relative; z-index: 1; text-align: center; text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 4px 12px rgba(0,0,0,0.6), 0 0 40px rgba(0,0,0,0.4); padding: 0.15em 0.4em; }
.hero-bandeau .hero-inner p { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hero-next-event {
  display: block;
  position: relative;
  z-index: 1;
  margin-top: 28px;
  margin-left: auto;
  margin-right: auto;
  max-width: 420px;
  padding: 20px 24px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  color: #fff;
  text-align: left;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.hero-next-event:hover {
  background: rgba(0,0,0,0.65);
  border-color: rgba(255,255,255,0.25);
}
.hero-next-event-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}
.hero-next-event-title {
  display: block;
  font-family: "Glacial Indifference", "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}
.hero-next-event-date {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 10px;
}
.hero-next-event-cta {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-pink, #ff3e8a);
}

/* Buttons */
.btn { 
  appearance: none; 
  border: 1px solid rgba(0, 0, 0, 0.12); 
  color: var(--text); 
  background: rgba(255, 255, 255, 0.6); 
  padding: 12px 24px; 
  border-radius: 50px; 
  text-decoration: none; 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.btn:hover { 
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 62, 138, 0.15);
  background: rgba(255, 255, 255, 0.8);
}
.btn-primary { 
  background: var(--gradient-brand);
  color: #fff; 
  border: none;
  position: relative;
  z-index: 1;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: var(--gradient-brand);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-primary:hover { 
  background: #2d2a26;
  color: #fff;
}
.btn-primary:hover::before {
  opacity: 1;
}

/* Sections */
main section { 
  padding: 80px 0; 
  position: relative;
  margin-bottom: 40px;
}
main section:first-child {
  margin-top: 60px;
}
main section:last-child {
  margin-bottom: 0;
}
main section:nth-child(even) {
  border-radius: 24px;
  margin: 40px auto;
  max-width: 1200px;
}
.intro h2, .newsletter h2, .split h3 { 
  font-family: "Glacial Indifference", "Montserrat", sans-serif; 
  letter-spacing: -0.02em; 
  color: var(--text); 
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.intro {
  background: rgba(255, 255, 255, 0.6);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}
.intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
  position: relative;
  z-index: 1;
  text-align: justify;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

/* Séparateurs "portée" sous les titres */
.intro h2, .newsletter h2, .split h3 { position: relative; display: inline-block; padding-bottom: 10px; }
.intro h2::after, .newsletter h2::after, .split h3::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 10px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="320" height="10" viewBox="0 0 320 10"><g stroke="%237d2232" stroke-opacity="0.35" stroke-width="1"><path d="M0 2h320M0 8h320"/></g></svg>') center/contain no-repeat;
}

.split { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 40px; 
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.split > div {
  background: rgba(255, 255, 255, 0.6);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.split > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}
.split > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 62, 138, 0.2);
}
.split h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--text);
}
.split p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
  flex-grow: 1;
  text-align: justify;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}
.list { 
  margin: 0; 
  padding-left: 0; 
  list-style: none;
}
.list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  text-align: justify;
  padding-left: 24px;
  transition: all 0.2s ease;
  color: var(--muted);
}
.list li:last-child {
  border-bottom: none;
}
.list li::before {
  content: "♪";
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-size: 16px;
  font-weight: bold;
}
.list li:hover {
  color: var(--accent-orange);
  padding-left: 28px;
}

/* Newsletter */
.newsletter-card {
  display: grid; 
  grid-template-columns: 1.3fr 1fr; 
  gap: 32px; 
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px; 
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  max-width: 1000px;
  margin: 0 auto;
}
.newsletter-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 62, 138, 0.05) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
   min-width: 200px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12); background: rgba(255, 255, 255, 0.8); color: var(--text);
  outline: none; box-shadow: 0 0 0 0 var(--ring);
}
.newsletter-form input[type="email"]:focus { border-color: var(--accent-pink); box-shadow: 0 0 0 3px var(--ring); }
.form-message { margin: 6px 0 0; color: var(--muted); width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Actualités */
.news-container { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
  gap: 24px;
  margin: 40px auto;
  max-width: 1200px;
}
.news-card { 
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 62, 138, 0.2);
}
.news-card img { 
  width: 100%; 
  height: 200px; 
  object-fit: cover;
}
.news-card .content { 
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.news-card h3 {
  margin: 0 0 12px;
  font-family: "Glacial Indifference", "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}
.news-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  flex-grow: 1;
  text-align: justify;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}
.news-card .meta { 
  color: var(--accent-orange);
  font-size: 0.9rem;
  margin-top: 16px;
  font-weight: 500;
}

/* Galerie */
/* ═══════════════════════════════════════════════
   GALERIE — Design premium
   ═══════════════════════════════════════════════ */

.gallery-page {
  max-width: 1100px;
  padding-bottom: 80px;
}
.gallery-page > h1 {
  text-align: center;
  margin-bottom: 36px;
}

/* Événement — bloc accordéon (reset des styles globaux main section) */
.gallery-page section.gallery-event {
  padding: 0;
  margin: 0 0 16px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  max-width: none;
}
.gallery-page section.gallery-event:first-of-type {
  margin-top: 0;
}
.gallery-event:hover {
  box-shadow: 0 8px 36px rgba(0,0,0,0.07);
}
.gallery-event--featured {
  border-color: rgba(255, 62, 138, 0.15);
}

/* Header cliquable */
.gallery-event-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.gallery-event-header:hover {
  background: rgba(0,0,0,0.02);
}

.gallery-event-cover {
  width: 120px;
  height: 80px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-event-header:hover .gallery-event-cover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.gallery-event-info {
  min-width: 0;
}
.gallery-event-title {
  font-family: "Glacial Indifference", "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.35;
  text-transform: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery-event-count {
  display: inline-block;
  color: var(--accent-pink);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0;
  background: rgba(255, 62, 138, 0.08);
  padding: 2px 10px;
  border-radius: 10px;
}

.gallery-event-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
  flex-shrink: 0;
}
.gallery-event-header:hover .gallery-event-arrow {
  background: var(--gradient-brand);
  color: #fff;
}
.gallery-event-header.is-open .gallery-event-arrow {
  transform: rotate(180deg);
}

/* Corps de l'accordéon */
.gallery-event-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
  padding: 0 16px;
}
.gallery-event-body--open {
  max-height: 6000px;
  padding: 4px 16px 20px;
}

/* Masonry grid */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4/3;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.gallery-item:hover .gallery-item-overlay {
  background: rgba(0,0,0,0.18);
}

.gallery-item-zoom {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.gallery-item:hover .gallery-item-zoom {
  opacity: 1;
  transform: scale(1);
}

/* ═══ Lightbox ═══ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.96);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  backdrop-filter: blur(20px);
  user-select: none;
}
.lightbox.open {
  display: flex;
  animation: lightbox-fade 0.3s ease-out;
}
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  opacity: 0;
  transform: scale(0.92);
  animation: lightbox-zoom 0.4s ease-out forwards;
  animation-delay: 0.1s;
}
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}
.lightbox .close:hover {
  background: rgba(255,255,255,0.15);
  transform: scale(1.1);
}

.lightbox .lb-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  background: rgba(0,0,0,0.4);
  padding: 6px 20px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.lightbox .lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox .lb-nav:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-50%) scale(1.08);
}
.lightbox .lb-prev { left: 20px; }
.lightbox .lb-next { right: 20px; }

@keyframes lightbox-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lightbox-zoom {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ═══ Galerie responsive ═══ */
@media (max-width: 900px) {
  .gallery-masonry {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
  }
  .gallery-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-event-cover {
    width: 88px;
    height: 64px;
    border-radius: 12px;
  }
  .gallery-event-title {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .gallery-page {
    padding-left: 10px;
    padding-right: 10px;
  }
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
  .gallery-item {
    border-radius: 8px;
  }
  .gallery-item--large {
    grid-column: span 2;
  }
  .gallery-page section.gallery-event {
    border-radius: 14px;
    margin-bottom: 10px;
  }
  .gallery-event-header {
    gap: 10px;
    padding: 8px 10px;
  }
  .gallery-event-cover {
    width: 60px;
    height: 44px;
    border-radius: 10px;
  }
  .gallery-event-title {
    font-size: 0.88rem;
  }
  .gallery-event-count {
    font-size: 0.72rem;
    padding: 1px 8px;
  }
  .gallery-event-arrow {
    width: 30px;
    height: 30px;
  }
  .gallery-event-arrow svg {
    width: 16px;
    height: 16px;
  }
  .gallery-event-body--open {
    padding: 4px 8px 12px;
  }
  .lightbox .lb-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .lightbox .lb-prev { left: 8px; }
  .lightbox .lb-next { right: 8px; }
  .lightbox .lb-counter {
    font-size: 0.8rem;
    bottom: 16px;
  }
  .gallery-item-zoom {
    width: 34px;
    height: 34px;
  }
  .gallery-item-zoom svg {
    width: 15px;
    height: 15px;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 40px;
  padding: 0;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px 48px;
  align-items: start;
  padding: 32px 20px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.footer-brand {
  min-width: 0;
}

.footer-title {
  display: block;
  font-family: "Glacial Indifference", "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
  text-align: justify;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-socials {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.footer-socials a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: var(--accent);
}

.footer-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-instagram-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 20px 20px;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
    order: 2;
  }

  .footer-brand {
    order: 1;
  }

  .footer-socials {
    justify-content: center;
    order: 3;
  }

  .footer-copy {
    font-size: 0.75rem;
  }
}
/* motif musique dans le footer */
/* motif supprimé pour un style plus épuré */

/* Responsive */
@media (max-width: 900px) {
  .container {
    padding: 0 20px;
  }
  .container h1 {
    margin: 32px 0 12px;
    font-size: 1.6rem;
  }
  .container .muted {
    margin: 0 0 32px;
    font-size: 1rem;
  }
  .split { 
    grid-template-columns: 1fr; 
    gap: 24px;
    margin: 0 auto;
    padding: 0;
  }
  .split > div {
    padding: 24px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .split-event { order: 1; }
  .split-projets { order: 2; }
  .newsletter-card { 
    grid-template-columns: 1fr; 
    padding: 24px;
    gap: 20px;
    margin: 0 auto;
  }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  main section {
    padding: 40px 0;
    margin-bottom: 24px;
  }
  main section:first-child {
    margin-top: 32px;
  }
  main section:nth-child(even) {
    margin: 24px auto;
    padding: 0;
  }
  .intro {
    padding: 24px;
    margin: 0 auto;
  }
  .intro h2, .newsletter h2, .split h3 {
    font-size: 1.8rem;
  }
  .news-container {
    margin: 24px auto;
    gap: 20px;
    padding: 0;
  }
  .news-card .content,
  .event-item {
    padding: 20px;
  }
  .news-card h3 {
    font-size: 1.1rem;
  }
}

/* Menu mobile */
.nav-mobile {
  display: none;
}

@media (max-width: 900px) {
  /* Bouton hamburger */
  .nav-toggle { 
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }
  
  /* Cacher les liens desktop */
  .nav-links.nav-left,
  .nav-links.nav-right,
  .nav-icons {
    display: none !important;
  }
  
  /* Logo */
  .logo-circle {
    width: 80px;
    height: 80px;
    margin-top: 1px;
    padding: 8px;
  }
  
  .nav {
    padding: 8px 15px;
    justify-content: center;
    min-height: 90px;
  }
  
  /* Menu mobile déroulant */
  .nav-mobile {
    position: fixed;
    top: 95px;
    left: 15px;
    right: 15px;
    background: rgba(253, 248, 244, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 16px;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 2px;
  }
  
  /* Afficher quand checkbox cochée */
  #navcheck:checked ~ .nav-mobile {
    display: flex;
  }
  
  .nav-mobile a {
    display: block;
    padding: 16px 20px;
    color: var(--text);
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-align: center;
  }
  
  .nav-mobile a:hover,
  .nav-mobile a:active {
    background: rgba(0, 0, 0, 0.04);
    color: var(--accent-orange);
  }
  
  .nav-mobile a.lang-link {
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--accent-purple);
    font-size: 0.9rem;
  }
  
  /* Reset styles pour icônes sociales sur mobile (pas utilisées dans nav-mobile) */
  .nav-social-icon {
    position: static;
    top: auto;
  }
}

@media (max-width: 700px) {
  .hero { padding: 72px 16px 56px; background-position: center 32%; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 0.95rem; }
}

/* --- Page subtitle --- */
.page-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  margin: -8px 0 40px;
  font-weight: 400;
}

/* --- Next Event Hero --- */
.next-event-hero {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 !important;
}
.next-event-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
}
.next-event-badge {
  display: block;
  background: var(--gradient-brand);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 24px;
  text-align: left;
}
.next-event-card-body {
  display: flex;
  gap: 32px;
  align-items: stretch;
}
.next-event-poster {
  flex: 0 0 320px;
  min-height: 260px;
  overflow: hidden;
}
.next-event-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.next-event-card:hover .next-event-poster img {
  transform: scale(1.05);
}
.next-event-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.next-event-date-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.next-event-weekday {
  text-transform: capitalize;
  color: var(--accent-purple);
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
}
.next-event-day {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.next-event-month {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  text-transform: capitalize;
}
.next-event-title {
  font-family: "Glacial Indifference", "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin: 4px 0 0;
  line-height: 1.2;
}
.next-event-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-orange);
  font-weight: 500;
  font-size: 0.95rem;
}
.next-event-location svg {
  flex-shrink: 0;
  color: var(--accent-orange);
}
.next-event-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 4px 0 0;
  text-align: justify;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

/* --- Timeline --- */
.timeline-section {
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 0 !important;
}
.timeline-heading {
  font-family: "Glacial Indifference", "Montserrat", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.timeline-heading-icon {
  font-size: 1.4rem;
}
.timeline {
  position: relative;
  padding: 20px 0;
}
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-purple) 0%, var(--accent-pink) 50%, var(--accent-orange) 100%);
  transform: translateX(-50%);
  border-radius: 2px;
  opacity: 0.5;
}
.timeline-line-past {
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.03) 100%);
  opacity: 1;
}

/* Timeline Item */
.timeline-item {
  display: flex;
  align-items: flex-start;
  position: relative;
  margin-bottom: 40px;
  width: 50%;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-left {
  left: 0;
  padding-right: 50px;
  justify-content: flex-end;
}
.timeline-right {
  left: 50%;
  padding-left: 50px;
  justify-content: flex-start;
}

/* Marker */
.timeline-marker {
  position: absolute;
  top: 24px;
  z-index: 2;
}
.timeline-left .timeline-marker {
  right: -8px;
}
.timeline-right .timeline-marker {
  left: -8px;
}
.timeline-marker-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 12px rgba(255, 62, 138, 0.5), 0 0 24px rgba(155, 77, 202, 0.3);
  position: relative;
}
.timeline-marker-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg);
}
.timeline-marker-dot-past {
  background: rgba(0, 0, 0, 0.15);
  box-shadow: none;
}
.timeline-marker-dot-past::after {
  background: var(--bg);
}

/* Timeline Card */
.timeline-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 420px;
  transform: translateZ(0);
  isolation: isolate;
}
.timeline-card:hover {
  transform: translateZ(0) translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 62, 138, 0.2);
}
.timeline-card-past {
  opacity: 0.7;
}
.timeline-card-past:hover {
  opacity: 1;
}

/* Affiche dans les cartes (à venir ou passé) */
.timeline-card-has-poster .timeline-card-poster {
  width: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.05);
}
.timeline-card-has-poster .timeline-card-poster img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  transition: transform 0.3s ease;
}
.timeline-card-has-poster:hover .timeline-card-poster img {
  transform: scale(1.02);
}
.timeline-card-has-poster .timeline-card-date {
  padding-top: 12px;
}

.timeline-card-date {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 16px 20px 0;
}
.tl-day {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.tl-month {
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  color: var(--accent-purple);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.tl-year {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}
.timeline-card-content {
  padding: 12px 20px 20px;
}
.timeline-card-content h3 {
  font-family: "Glacial Indifference", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  margin: 0 0 8px;
}
.timeline-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-orange);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.timeline-card-meta svg {
  flex-shrink: 0;
}
.timeline-card-content p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  text-align: justify;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

/* Timeline Divider */
.timeline-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 700px;
  margin: 60px auto 40px;
}
.timeline-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}
.timeline-divider-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Timeline responsive */
@media (max-width: 800px) {
  .next-event-card-body {
    flex-direction: column;
  }
  .next-event-poster {
    flex: none;
    width: 100%;
    height: 220px;
  }
  .next-event-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .next-event-info {
    padding: 24px;
  }
  .next-event-title {
    font-size: 1.4rem;
  }

  .timeline-line {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 52px !important;
    padding-right: 0 !important;
    justify-content: flex-start !important;
  }
  .timeline-marker {
    left: 12px !important;
    right: auto !important;
  }
  .timeline-card {
    max-width: 100%;
  }
}

@media (max-width: 500px) {
  .next-event-badge {
    font-size: 0.75rem;
    padding: 8px 16px;
  }
  .next-event-day {
    font-size: 1.8rem;
  }
  .next-event-title {
    font-size: 1.2rem;
  }
  .next-event-info {
    padding: 20px;
  }
  .tl-day {
    font-size: 1.4rem;
  }
}

/* Animation des notes dans le hero */
@keyframes float-notes {
  0% {
    background-position:
      10% 90%,
      80% 85%,
      50% 95%;
  }
  50% {
    background-position:
      15% 40%,
      75% 30%,
      45% 55%;
  }
  100% {
    background-position:
      20% -10%,
      70% -15%,
      40% 0%;
  }
}

/* Micro-interactions fun */
.btn { transition: transform 160ms ease, box-shadow 160ms ease; }
.btn:hover { transform: translateY(-2px) scale(1.02) rotate(-0.5deg); box-shadow: 0 8px 18px rgba(0,0,0,0.12); }
.news-card { transition: transform 180ms ease, box-shadow 180ms ease; }
.news-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,0.10); }

/* Notes "burst" au clic */
.hero { overflow: hidden; }
.note-burst {
  position: absolute;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8) rotate(0deg);
  animation: noteUp 1200ms ease-out forwards;
}

@keyframes noteUp {
  0% { opacity: 0; transform: translate(var(--x, -50%), var(--y, -50%)) scale(0.8) rotate(0deg); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(var(--x, -50%) + var(--dx, 0px)), calc(var(--y, -50%) - 120px)) scale(1.2) rotate(var(--rot, 12deg)); }
}

/* Widget Newsletter Flottant */
.newsletter-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
}

.newsletter-widget-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-purple);
  color: white;
  padding: 12px 16px;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(155, 77, 202, 0.4);
  transition: all 0.3s ease;
  user-select: none;
}

.newsletter-widget-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(155, 77, 202, 0.5);
}

.newsletter-icon {
  font-size: 18px;
  animation: pulse 2s infinite;
}

.newsletter-badge {
  font-weight: 600;
  font-size: 14px;
}

.newsletter-widget-panel {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 320px;
  background: rgba(253, 248, 244, 0.98);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
}

.newsletter-widget-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.newsletter-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
}

.newsletter-widget-header h3 {
  margin: 0;
  font-family: "Glacial Indifference", "Montserrat", sans-serif;
  font-size: 16px;
  color: var(--text);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.newsletter-widget-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  line-height: 1;
}

.newsletter-widget-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.newsletter-widget-content {
  padding: 0 20px 20px;
}

.newsletter-widget-content p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: justify;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.newsletter-widget-form {
  margin-bottom: 12px;
}

.newsletter-widget-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-widget-input-group input {
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
}

.newsletter-widget-input-group input::placeholder {
  color: rgba(45, 42, 38, 0.4);
}

.newsletter-widget-input-group input:focus {
  border-color: var(--accent-pink);
  box-shadow: 0 0 0 3px rgba(255, 62, 138, 0.2);
}

.newsletter-widget-submit {
  background: var(--accent-purple);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  position: relative;
}

.newsletter-widget-submit:hover {
  background: #7a3ba0;
  transform: translateY(-1px);
}

.newsletter-widget-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.newsletter-widget-loading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.newsletter-widget-message {
  margin-top: 8px;
  font-size: 13px;
  min-height: 18px;
}

.newsletter-widget-message.success {
  color: #059669;
}

.newsletter-widget-message.error {
  color: #dc2626;
}

.newsletter-widget-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.newsletter-widget-footer small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

/* Animation pulse pour l'icône */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Responsive pour le widget */
@media (max-width: 480px) {
  .newsletter-widget {
    bottom: 15px;
    right: 15px;
  }
  
  .newsletter-widget-panel {
    width: calc(100vw - 30px);
    right: -15px;
  }
  
  .newsletter-widget-toggle {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 999px;
    justify-content: center;
    gap: 0;
    overflow: hidden;
  }
  
  .newsletter-icon {
    font-size: 22px;
    line-height: 1;
  }

  .newsletter-badge {
    display: none;
  }
}

/* --- Next event on homepage --- */
.next-event-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.next-event-home-img {
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.next-event-home-img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.18);
}
.next-event-home-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 32px 24px;
  border-radius: 16px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  max-width: 320px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.next-event-home-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.1);
}
.next-event-home-title {
  font-family: "Glacial Indifference", "Montserrat", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}
.next-event-home-date {
  color: var(--accent-pink);
  font-weight: 600;
  font-size: 0.95rem;
}
.next-event-home-lieu {
  color: var(--muted);
  font-size: 0.9rem;
}
.next-event-home-link {
  color: var(--accent-orange) !important;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 107, 53, 0.3) !important;
}
.next-event-home-link:hover {
  color: var(--accent-pink) !important;
  border-bottom-color: var(--accent-pink) !important;
}

/* --- Founders bubbles --- */
.founders {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.founder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.founder-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-purple);
  box-shadow: 0 0 20px rgba(155, 77, 202, .2);
  transition: transform .3s ease, box-shadow .3s ease;
}

.founder-photo:hover {
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(155, 77, 202, .35);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.founder-name {
  font-family: "Glacial Indifference", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-top: .25rem;
}

.founder-role {
  font-size: .85rem;
  color: var(--muted);
}



