/* ============ RESET & TOKENS ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --ink:        #0e1512;
  --ink-soft:   #16201c;
  --cream:      #f6f1e4;
  --cream-dim:  #cfc9b8;
  --gold:       #d3a75c;
  --gold-soft:  #e9c98a;
  --zest:       #c7d94a;
  --line:       rgba(246,241,228,0.14);

  --serif: 'Fraunces', serif;
  --sans: 'Manrope', sans-serif;

  --container: 1240px;
  --pad: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.16,.84,.32,1);
}

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; }
em { font-style: italic; color: var(--gold-soft); }
section { position: relative; }

.grain {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--zest));
  z-index: 1001; transition: width 0.1s linear;
}

.kicker {
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 14px; display: block;
}
.kicker--light { color: var(--zest); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 30px; border-radius: 100px; font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.01em; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
  white-space: nowrap;
  position: relative;
}
.btn span { position: relative; z-index: 1; }
.btn--primary { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: var(--ink); }
.btn--primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 30px rgba(211,167,92,0.35); }
.btn--outline { border-color: var(--line); color: var(--cream); background: transparent; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.btn--ghost { color: var(--cream); }
.btn--ghost:hover { color: var(--gold-soft); }
.btn--sm { padding: 11px 20px; font-size: 0.85rem; }
.btn--lg { padding: 19px 38px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  color: var(--gold-soft); padding-bottom: 4px; border-bottom: 1px solid var(--line);
  margin-top: 8px;
}
.link-arrow span { transition: transform 0.3s var(--ease); display: inline-block; }
.link-arrow:hover span { transform: translateX(6px); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px var(--pad); transition: padding 0.4s var(--ease), background 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  padding: 14px var(--pad); background: rgba(14,21,18,0.75); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0.02em; white-space: nowrap; }
.nav__logo span { color: var(--gold-soft); }
.nav__links { display: flex; gap: 30px; font-size: 0.9rem; }
.nav__links a { position: relative; opacity: 0.85; transition: opacity 0.25s; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold-soft);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; gap: 12px; align-items: center; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 200; }
.nav__burger span { width: 24px; height: 1.5px; background: var(--cream); transition: transform 0.3s, opacity 0.3s; }

.mobile-menu {
  position: fixed; inset: 0; background: var(--ink); z-index: 90;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transform: translateY(-100%); transition: transform 0.5s var(--ease);
  font-family: var(--serif); font-size: 1.6rem;
}
.mobile-menu.open { transform: translateY(0); }

/* ============ HERO ============ */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: -8% -8% -8% -8%; background-size: cover; background-position: center;
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,21,18,0.55) 0%, rgba(14,21,18,0.35) 35%, rgba(14,21,18,0.85) 100%),
    linear-gradient(90deg, rgba(14,21,18,0.5) 0%, rgba(14,21,18,0.05) 55%);
}
.hero__zest {
  position: absolute; top: 12%; right: 6%; width: 220px; height: 220px; color: var(--gold-soft);
  opacity: 0.18; animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__content { position: relative; z-index: 2; padding: 0 var(--pad) 110px; max-width: 880px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.8rem; color: var(--gold-soft); margin-bottom: 20px; font-weight: 700; }
.hero__title { font-size: clamp(2.6rem, 6.5vw, 5.4rem); font-weight: 400; margin-bottom: 26px; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .reveal-line { display: inline-block; }
.hero__title .accent { color: var(--gold-soft); font-style: italic; }
.hero__subtitle { font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--cream-dim); max-width: 520px; margin-bottom: 40px; }
.hero__cta { display: flex; gap: 18px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; right: var(--pad); bottom: 40px; z-index: 2;
  display: flex; align-items: center; gap: 10px; color: var(--cream-dim); font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.hero__scroll span {
  width: 1px; height: 40px; background: var(--line); position: relative; overflow: hidden;
}
.hero__scroll span::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--gold-soft);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 50% { top: 0; } 100% { top: 100%; } }

/* ============ TRUST BAR ============ */
.trustbar { background: var(--ink-soft); border-bottom: 1px solid var(--line); padding: 30px var(--pad); }
.trustbar__inner {
  max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.trust__item { display: flex; align-items: center; gap: 14px; }
.trust__item svg { width: 30px; height: 30px; color: var(--gold-soft); flex-shrink: 0; }
.trust__item strong { display: block; font-size: 0.95rem; }
.trust__item span { font-size: 0.82rem; color: var(--cream-dim); }

/* ============ HISTOIRE ============ */
.histoire {
  max-width: var(--container); margin: 0 auto; padding: 140px var(--pad);
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center;
}
.histoire__media { border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; }
.histoire__media img { width: 100%; height: 100%; object-fit: cover; }
.histoire__content h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); margin-bottom: 26px; }
.histoire__content p { color: var(--cream-dim); margin-bottom: 18px; max-width: 520px; }

/* ============ SHOWCASE (Cuisine / Bar) ============ */
.showcase { padding: 100px var(--pad); max-width: var(--container); margin: 0 auto; }
.showcase__label { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 30px; }
.showcase__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 70px; align-items: center; }
.showcase--reverse .showcase__grid { grid-template-columns: 1.15fr 0.85fr; }
.showcase--reverse .showcase__content { order: 2; }
.showcase--reverse .showcase__gallery { order: 1; }
.showcase__content h2 { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 22px; }
.showcase__content p { color: var(--cream-dim); max-width: 460px; margin-bottom: 10px; }

.showcase__gallery { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.showcase__img { border-radius: 16px; overflow: hidden; aspect-ratio: 3/4; }
.showcase__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.showcase__img:hover img { transform: scale(1.06); }
.showcase__img--tall { grid-row: span 2; aspect-ratio: 3/5.2; }
.showcase__gallery > .showcase__img:nth-child(2):last-child { grid-column: 2; }

/* ============ EVENTS ============ */
.events {
  background: linear-gradient(180deg, var(--ink-soft), var(--ink));
  padding: 130px var(--pad); text-align: left;
}
.events__title { max-width: 780px; font-size: clamp(2rem, 3.6vw, 3.1rem); margin-bottom: 70px; }
.events__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.event-card { background: var(--ink-soft); padding: 40px 30px; transition: background 0.4s; }
.event-card:hover { background: #1c2a24; }
.event-card__num { font-family: var(--serif); font-size: 0.85rem; color: var(--gold); display: block; margin-bottom: 30px; }
.event-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.event-card p { font-size: 0.9rem; color: var(--cream-dim); }
.event-card .link-arrow { margin-top: 18px; font-size: 0.85rem; }

/* ============ GALLERY ============ */
.gallery { max-width: var(--container); margin: 0 auto; padding: 130px var(--pad); text-align: center; }
.gallery h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin: 0 auto 60px; max-width: 600px; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery__item { border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; }
.gallery__item:nth-child(2), .gallery__item:nth-child(3) { margin-top: 40px; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.6s; filter: grayscale(0.25); }
.gallery__item:hover img { transform: scale(1.07); filter: grayscale(0); }

/* ============ ACCES ============ */
.acces {
  background: var(--ink-soft); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; min-height: 640px;
}
.acces__content { padding: 120px var(--pad); display: flex; flex-direction: column; justify-content: center; }
.acces__content h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-bottom: 44px; max-width: 480px; }
.acces__details { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 44px; }
.acces__detail h4 { font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.acces__detail p { color: var(--cream-dim); font-size: 0.95rem; }
.acces__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.acces__map { position: relative; min-height: 400px; filter: saturate(0.3) brightness(0.85) contrast(1.1); }
.acces__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============ FOOTER ============ */
.footer { max-width: var(--container); margin: 0 auto; padding: 60px var(--pad) 40px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; font-size: 0.9rem; opacity: 0.85; }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 0.8rem; color: var(--cream-dim); flex-wrap: wrap; gap: 10px; }

/* ============ STICKY MOBILE CTA ============ */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 95;
  transform: translateY(140%); transition: transform 0.4s var(--ease);
  display: none;
}
.sticky-cta.show { transform: translateY(0); }

/* ============ REVEAL BASE STATES (JS animates these) ============ */
.reveal-up { opacity: 0; transform: translateY(36px); }
.reveal-image { opacity: 0; transform: scale(1.08); }
.reveal-line { transform: translateY(110%); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav__links, .nav__actions .btn--ghost { display: none; }
  .nav__burger { display: flex; }
  .histoire, .showcase__grid, .acces { grid-template-columns: 1fr; }
  .histoire { gap: 50px; padding-top: 110px; }
  .showcase--reverse .showcase__content, .showcase--reverse .showcase__gallery { order: initial; }
  .showcase__gallery { margin-top: 40px; }
  .events__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item:nth-child(2), .gallery__item:nth-child(3) { margin-top: 0; }
  .acces__map { min-height: 320px; }
  .trustbar__inner { grid-template-columns: 1fr; gap: 18px; }
  .sticky-cta { display: block; }
}
@media (max-width: 560px) {
  .events__grid { grid-template-columns: 1fr; }
  .hero__content { padding-bottom: 90px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .acces__details { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}
