:root {
  --gold: #c8a961;
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --bg-footer: #000000;
  --text: #f5f0e8;
  --text-secondary: #e8e0d4;
  --border: rgba(200, 169, 97, 0.35);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

body.has-cursor, body.has-cursor a, body.has-cursor button {
  cursor: none;
}

::selection { background: var(--gold); color: var(--bg); }

@keyframes scrollPulse {
  0%, 100% { opacity: .35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
}

/* ---------- custom cursor ---------- */
#cursor-outer {
  position: fixed;
  top: 0; left: 0;
  width: 0; height: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
  display: none;
}
body.has-cursor #cursor-outer { display: block; }
#cursor-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  transform: translate(-50%, -50%) scale(1);
  transition: transform .25s ease, background .25s ease;
}
#cursor-outer.hover #cursor-dot {
  background: rgba(200, 169, 97, 0.18);
  transform: translate(-50%, -50%) scale(2.2);
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.16,.8,.24,1), transform 1s cubic-bezier(.16,.8,.24,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible { transition: none; opacity: 1; transform: none; }
}

/* ---------- nav ---------- */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(20px, 4vw, 56px);
  height: 88px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-links {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.nav-links.left { justify-content: flex-start; }
.nav-links.right { justify-content: flex-end; }
.nav-links a, .brand {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color .4s ease;
}
.nav-links a:hover { color: var(--gold); }
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px, 1.8vw, 20px);
  letter-spacing: 0.22em;
  color: var(--text);
  white-space: nowrap;
  text-transform: uppercase;
}
.hamburger {
  display: none;
  justify-self: end;
  grid-column: 3;
  background: none;
  border: none;
  padding: 12px;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.hamburger span {
  width: 22px; height: 1px;
  background: var(--gold);
  transition: transform .4s ease, opacity .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 879px) {
  .nav-links.left, .nav-links.right { display: none; }
  .hamburger { display: flex; }
}

/* ---------- mobile menu panel ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 450;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity .5s ease, transform .5s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  letter-spacing: 0.05em;
}

/* ---------- sections ---------- */
section, footer { position: relative; }

#top {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 100px;
  overflow: hidden;
}
#top::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: url('./assets/hero-bg.webp') center 35% / cover no-repeat;
  filter: blur(22px) brightness(0.45) saturate(1.15);
  transform: scale(1.1);
  z-index: 0;
}
#top::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(200, 169, 97, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.82) 55%, rgba(10, 10, 10, 0.97) 100%);
  z-index: 0;
}
#top .hero-inner {
  position: relative;
  z-index: 1;
}
.hero-inner { max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 1.05;
  color: var(--text);
  margin: 0;
  letter-spacing: 0.01em;
}
.divider {
  width: 64px; height: 1px;
  background: var(--gold);
  margin: 36px 0;
}
.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 2vw, 23px);
  color: var(--text-secondary);
  margin: 0 0 52px;
}
.gold-button {
  display: inline-block;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  padding: 18px 46px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .6s ease, color .6s ease;
  font-family: 'Jost', sans-serif;
  cursor: pointer;
}
.gold-button:hover { background: var(--gold); color: var(--bg); }

.scroll-cue {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: .7;
  z-index: 1;
}
.scroll-cue span {
  font-size: 11px; letter-spacing: 0.3em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px; height: 32px;
  background: var(--gold);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

.section-inner { padding: clamp(120px, 14vw, 160px) clamp(24px, 6vw, 80px); max-width: 1280px; margin: 0 auto; }
.section-label {
  font-size: 13px; letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--text);
  margin: 0 0 32px;
  line-height: 1.15;
}

/* La Maison */
.maison-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 90px;
  align-items: center;
}
.maison-text { display: flex; flex-direction: column; align-items: flex-start; }
.maison-text h2 { font-size: clamp(34px, 5vw, 56px); }
.maison-text p {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 520px;
  margin: 0 0 44px;
}
.signature { font-family: 'Alex Brush', cursive; font-size: 36px; color: var(--gold); }
.maison-photo {
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  min-height: 480px;
  width: 100%;
  background: repeating-linear-gradient(135deg, #0d0d0d, #0d0d0d 12px, #111114 12px, #111114 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.maison-photo span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text);
  opacity: .75;
  text-align: center;
  max-width: 75%;
}

@media (max-width: 879px) {
  .maison-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* La Carte */
#carte { background: var(--bg); }
.carte-inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.carte-inner h2 { font-size: clamp(32px, 4.5vw, 50px); margin: 0 0 28px; }
.carte-price { font-size: 15px; letter-spacing: 0.08em; color: var(--gold); margin: 0 0 72px; }
.menu-list { width: 100%; display: flex; flex-direction: column; }
.menu-item {
  padding: 30px 0;
  border-bottom: 1px solid rgba(200, 169, 97, 0.25);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.menu-item .numeral { font-size: 12px; letter-spacing: 0.2em; color: var(--gold); }
.menu-item .name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--text);
}
.carte-note {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--text-secondary);
  opacity: .65;
  margin: 48px 0 0;
}

/* L'Experience gallery */
.experience-label-row { display: flex; flex-direction: column; align-items: center; margin-bottom: 64px; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 300px 300px;
  gap: clamp(16px, 2vw, 24px);
}
.gallery-cell {
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.gallery-cell.g1 { grid-column: 1; grid-row: 1 / 3; }
.gallery-cell.g2 { grid-column: 2; grid-row: 1; }
.gallery-cell.g3 { grid-column: 2; grid-row: 2; }
.gallery-cell.g4 { grid-column: 1 / 3; grid-row: 3; min-height: 260px; }
.gallery-cell .fill {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  transition: transform .8s ease;
  background-size: cover;
  background-position: center;
}
.gallery-cell:hover .fill { transform: scale(1.06); }
.gallery-cell .fill.placeholder {
  background: repeating-linear-gradient(135deg, #0d0d0d, #0d0d0d 12px, #111114 12px, #111114 24px);
}
.gallery-cell .fill span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text);
  opacity: .75;
  text-align: center;
  max-width: 75%;
}

@media (max-width: 879px) {
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-cell.g1 { grid-column: 1; grid-row: auto; min-height: 320px; }
  .gallery-cell.g2 { grid-column: 1; grid-row: auto; min-height: 260px; }
  .gallery-cell.g3 { grid-column: 1; grid-row: auto; min-height: 260px; }
  .gallery-cell.g4 { grid-column: 1; grid-row: auto; min-height: 320px; }
}

/* Presse */
#presse { background: var(--bg-alt); }
.presse-inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.press-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 5vw, 64px); margin-bottom: 88px; }
.press-logos span { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-secondary); opacity: .7; }
.press-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 34px);
  color: var(--text);
  text-align: center;
  line-height: 1.5;
  max-width: 780px;
  margin: 0 0 28px;
}
.press-cite { font-size: 13px; letter-spacing: 0.15em; color: var(--gold); text-transform: uppercase; }

/* Infos */
.infos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.infos-col { display: flex; flex-direction: column; align-items: flex-start; }
.infos-col span.label { margin-bottom: 28px; }
.infos-col span.line { font-size: 16px; line-height: 2; color: var(--text-secondary); }
.map-box {
  border: 1px solid var(--border);
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  margin-top: 80px;
}
.map-box span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text);
  opacity: .75;
}
.voiturier {
  font-size: 13px; font-style: italic;
  color: var(--text-secondary); opacity: .6;
  text-align: center; margin: 28px 0 0;
}

@media (max-width: 879px) {
  .infos-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* Reservation */
.reservation-inner { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.reservation-inner h2 { font-size: clamp(32px, 4.5vw, 52px); margin: 0 0 28px; line-height: 1.2; }
.reservation-inner > p { font-size: 16px; line-height: 1.8; color: var(--text-secondary); margin: 0 0 64px; max-width: 560px; }
form.reservation-form { width: 100%; display: flex; flex-direction: column; gap: 36px; }
form.reservation-form[hidden] { display: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.field { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; position: relative; }
.field label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-secondary); opacity: .7;
}
.field input, .field select, .field textarea {
  border: none;
  border-bottom: 1px solid rgba(200, 169, 97, .4);
  background: transparent;
  color: var(--text);
  padding: 10px 2px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  width: 100%;
  outline: none;
  color-scheme: dark;
}
.field textarea { resize: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold); }
.thank-you {
  padding: 48px 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--text);
}
.phone-note { font-size: 14px; font-style: italic; color: var(--text-secondary); opacity: .65; margin-top: 32px; }

@media (max-width: 879px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Footer */
footer { background: var(--bg-footer); }
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 80px 24px 56px;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text);
}
.social-row { display: flex; gap: 20px; }
.social-icon {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  color: var(--gold);
  transition: background .4s ease, color .4s ease;
  font-size: 11px; letter-spacing: 0.02em;
}
.social-icon.fb { font-size: 15px; font-style: italic; font-family: 'Cormorant Garamond', serif; }
.social-icon:hover { background: var(--gold); color: #000000; }
.footer-divider { width: 48px; height: 1px; background: var(--gold); opacity: .5; }
.copyright { font-size: 12px; color: var(--text-secondary); opacity: .6; }
.legal-link {
  font-size: 12px; color: var(--text-secondary); opacity: .6;
  text-decoration: none;
  transition: opacity .4s ease, color .4s ease;
}
.legal-link:hover { opacity: 1; color: var(--gold); }
