:root {
  --blue: #1a1aff;
  --white: #ffffff;
  --bg: #f2f1ed;
  --dark: #0e0e0e;
  --muted: rgba(14,14,14,0.38);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--dark); overflow-x: hidden; min-height: 100vh; }

/* ═════════ LOCK SCROLL MENU OUVERT ═════════ */
html.menu-open,
html.menu-open body {
  overflow: hidden !important;
  scrollbar-width: none !important;
}
html.menu-open::-webkit-scrollbar { display: none !important; width: 0 !important; }
html.menu-open body { position: fixed; width: 100%; }

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025; pointer-events: none; z-index: 1000;
}

/* ═════════ LOCK SCROLL MENU OUVERT ═════════ */
html.menu-open,
html.menu-open body {
  overflow: hidden !important;
  scrollbar-width: none !important;
}
html.menu-open::-webkit-scrollbar { display: none !important; width: 0 !important; }
html.menu-open body {
  position: fixed;
  width: 100%;
}

/* ═════════ NAVBAR ═════════ */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 200;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.navbar.menu-open {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}
.navbar-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 2.5rem;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}

/* Logo — même taille/position que index */
.logo { flex-shrink: 0; margin-right: auto; transition: opacity 0.35s ease; }
.navbar.menu-open .logo { opacity: 0; pointer-events: none; }
.logo img {
  height: clamp(80px, 20vw, 156px);
  margin-left: -45px;
  margin-top: 25px;
  width: auto;
  display: block;
}

.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-family: 'Syne', sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark);
  text-decoration: none; position: relative; transition: color 0.2s;
}
.nav-links a.active { color: var(--blue); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: var(--blue); transition: width 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 0.4rem 1.3rem; border-radius: 100px;
  border: 2px solid var(--blue) !important;
  background: var(--blue); color: var(--white) !important;
  transition: background 0.25s, color 0.25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: transparent !important; color: var(--blue) !important; }

/* ═════════ HAMBURGER ═════════ */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; margin-left: auto; z-index: 300;
  position: relative; padding: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--dark);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), opacity 0.25s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═════════ MOBILE MENU ═════════ */
.mobile-menu {
  position: fixed; inset: 0; background: var(--white); z-index: 150;
  opacity: 0; pointer-events: none; transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; padding: 5rem 2.5rem 3rem;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mobile-logo { margin-bottom: 1.1rem; }
.mobile-logo img { height: 160px; width: auto; display: block; }
.mobile-menu ul {
  list-style: none; display: flex; flex-direction: column;
  gap: 1.5rem; width: 100%; align-items: center; text-align: center;
  margin-bottom: 150px;
}
.mobile-menu ul a {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--dark); text-decoration: none;
}

/* ═════════ TICKER ═════════ */
.ticker-wrap {
  width: 100%; overflow: hidden; border-bottom: 1px solid rgba(0,0,0,0.07);
  padding: 0.75rem 0; background: var(--white); margin-top: 68px;
}
.ticker-track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker-item {
  display: flex; align-items: center; gap: 1rem; padding-right: 2rem;
  font-family: 'Syne', sans-serif; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ═════════ HERO ═════════ */
.hero {
  max-width: 1320px; margin: 0 auto; padding: 5rem 2.5rem 3.5rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; animation: fadeUp 0.7s ease both 0.1s;
}
.hero-eyebrow { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.4rem; }
.hero-eyebrow::before { content: ''; display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hero-eyebrow span {
  font-family: 'Syne', sans-serif; font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
}
.hero-title {
  font-family: 'Syne', sans-serif; font-size: clamp(3.2rem, 8vw, 8rem);
  font-weight: 800; line-height: 0.85; letter-spacing: -0.05em; color: var(--dark);
}
.hero-title em { font-style: italic; color: var(--blue); font-weight: 600; }
.hero-right { flex-shrink: 0; max-width: 280px; padding-bottom: 0.5rem; }
.hero-desc { font-size: 0.85rem; line-height: 1.7; color: var(--muted); font-weight: 300; text-align: right; }

.divider { max-width: 1320px; margin: 0 auto; padding: 0 2.5rem; }
.divider hr { border: none; border-top: 1px solid rgba(0,0,0,0.08); }

/* ═════════ PHOTOS SECTION ═════════ */
.photos-section { max-width: 1320px; margin: 0 auto; padding: 4rem 2.5rem 2rem; }

/* ═════════ MASONRY GALLERY ═════════ */
.event-block { margin-bottom: 5rem; }

.event-title { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.event-title::before {
  content: ''; width: 8px; height: 8px;
  border-radius: 50%; background: var(--blue); flex-shrink: 0;
}
.event-title h3 {
  font-family: 'Syne', sans-serif; font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800; letter-spacing: -0.03em; color: var(--dark);
}

.masonry-grid { columns: 3; column-gap: 14px; }

.masonry-item {
  break-inside: avoid; margin-bottom: 14px;
  border-radius: 16px; cursor: pointer; position: relative; display: block;
}
.masonry-item .img-wrap {
  border-radius: 16px; overflow: hidden; position: relative;
  display: block; line-height: 0; isolation: isolate;
  transform: translateZ(0); will-change: transform;
}
.masonry-item img {
  width: 100%; height: auto; display: block;
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1), filter 0.4s ease;
  filter: brightness(0.96) contrast(1.05); transform-origin: center center;
}
.masonry-item .img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,26,255,0.0); transition: background 0.35s ease;
}
.masonry-item:hover img { transform: scale(1.05); filter: brightness(1.04) contrast(1.08); }
.masonry-item:hover .img-wrap::after { background: rgba(26,26,255,0.06); }

.masonry-item.hidden { display: none; }

.masonry-toggle { margin-top: 1rem; display: flex; justify-content: center; }
.btn-toggle {
  font-family: 'Syne', sans-serif; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.75rem 2rem; border-radius: 100px;
  border: 2px solid var(--dark); background: transparent; color: var(--dark);
  cursor: pointer; transition: background 0.25s, color 0.25s;
}
.btn-toggle:hover { background: var(--dark); color: var(--white); }

/* ═════════ LIGHTBOX ═════════ */
.lightbox {
  position: fixed; inset: 0; background: rgba(5,5,15,0.97);
  display: none; align-items: center; justify-content: center;
  z-index: 10000; backdrop-filter: blur(8px);
}
.lightbox.active { display: flex; }
.lightbox-img {
  max-width: 88vw; max-height: 88vh; width: auto; height: auto;
  border-radius: 14px; box-shadow: 0 60px 180px rgba(0,0,0,0.7);
  transform: scale(0.92);
  animation: lbZoom 0.4s cubic-bezier(0.23,1,0.32,1) forwards; display: block;
}
@keyframes lbZoom { to { transform: scale(1); } }

.lightbox-close {
  position: absolute; top: 1.8rem; right: 1.8rem;
  width: 48px; height: 48px; border-radius: 50%;
  background: #ffffff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s cubic-bezier(0.23,1,0.32,1), box-shadow 0.25s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4); z-index: 10002;
}
.lightbox-close::before,
.lightbox-close::after {
  content: ''; position: absolute; width: 18px; height: 2px;
  background: #0e0e0e; border-radius: 2px;
}
.lightbox-close::before { transform: rotate(45deg); }
.lightbox-close::after  { transform: rotate(-45deg); }
.lightbox-close:hover { transform: scale(1.1) rotate(90deg); box-shadow: 0 6px 32px rgba(0,0,0,0.5); }

.lightbox-prev,
.lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: white; font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease; z-index: 10001; user-select: none;
}
.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.2); transform: translateY(-50%) scale(1.08); }
.lightbox-prev:disabled,
.lightbox-next:disabled { opacity: 0.2; cursor: not-allowed; transform: translateY(-50%); }

.lightbox-counter {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  font-family: 'Syne', sans-serif; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.38); z-index: 10001;
}

/* ═════════ COMING SOON ═════════ */
.coming-soon-section { max-width: 1320px; margin: 0 auto; padding: 2rem 2.5rem 0; animation: fadeUp 0.8s ease both 0.45s; }
.coming-soon-bar {
  background: var(--dark); border-radius: 20px; padding: 2.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; position: relative; overflow: hidden;
}
.coming-soon-bar::before {
  content: ''; position: absolute; top: -40%; right: -5%;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,26,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.coming-soon-left { display: flex; flex-direction: column; gap: 0.5rem; z-index: 1; }
.coming-soon-title {
  font-family: 'Syne', sans-serif; font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 800; letter-spacing: -0.03em; color: var(--white); line-height: 1.1;
}
.coming-soon-title em { font-style: italic; color: var(--blue); font-weight: 600; }
.coming-soon-sub { font-size: 0.78rem; color: rgba(255,255,255,0.4); font-weight: 300; line-height: 1.5; }
.btn-notify {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Syne', sans-serif; font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.85rem 1.8rem; border-radius: 100px;
  background: var(--white); color: var(--dark); text-decoration: none;
  border: 2px solid var(--white); transition: background 0.25s, color 0.25s; white-space: nowrap;
}
.btn-notify:hover { background: transparent; color: var(--white); }
.btn-notify::after { content: '↗'; }

/* ═════════ FOOTER ═════════ */
footer {
  border-top: 1px solid rgba(0,0,0,0.07); padding: 2rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1320px; margin: 0 auto;
}
footer p { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }

/* ═════════ RESPONSIVE ═════════ */
@media (max-width: 1024px) {
  /* Logo — même valeurs que index en mobile */
  .logo img { margin-left: -12px; margin-top: 15px; height: 105px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero { flex-direction: column; align-items: flex-start; padding: 3rem 1.5rem 2.5rem; gap: 1.5rem; }
  .hero-right { max-width: 100%; }
  .hero-desc { text-align: left; }
  .divider { padding: 0 1.5rem; }
  .photos-section { padding: 2.5rem 1.5rem 2rem; }

  .coming-soon-section { padding: 2rem 1.5rem 0; }
  .coming-soon-bar { flex-direction: column; align-items: flex-start; padding: 2rem; }

  footer { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1.5rem; }
}

@media (max-width: 900px) {
  .masonry-grid { columns: 2; }
}

@media (max-width: 500px) {
  .masonry-grid { columns: 2; column-gap: 8px; }
  .masonry-item { margin-bottom: 8px; border-radius: 10px; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 1rem; }
  .lightbox-close { top: 0.8rem; right: 0.8rem; width: 40px; height: 40px; }
}