@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --navy-950: #080c1c;
  --navy-900: #0c1330;
  --navy-800: #101a3d;
  --navy-700: #16224a;
  --gold-300: #ecdcae;
  --gold-400: #d6b768;
  --gold-500: #bd9a3f;
  --gold-600: #97792d;
  --cream: #f2ede1;
  --white: #ffffff;
  --ink: #12172b;
  --hairline: rgba(214, 183, 104, 0.22);
  --radius: 6px;
  --shadow: 0 14px 30px rgba(3, 6, 16, 0.35);
  --font-heading: 'Playfair Display';
  --font-body: 'Montserrat';
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-950);
  color: var(--cream);
  font-family: var(--font-body), sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-heading), serif;
  font-weight: 600;
  color: var(--gold-400);
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

a { color: var(--gold-400); text-decoration: none; }
a:hover { color: var(--gold-300); }

img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 12, 28, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--hairline);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading), serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  color: var(--gold-400);
}

.brand img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(242, 237, 225, 0.82);
  font-weight: 500;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-400);
  border-color: var(--gold-500);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  color: var(--gold-400);
  padding: 8px 10px;
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  position: relative;
  padding: 13px 28px;
  border-radius: 3px;
  font-family: var(--font-body), sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.2s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-gold {
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));
  border-color: var(--gold-500);
  color: var(--navy-950);
  box-shadow:
    0 0 16px color-mix(in srgb, var(--gold-500) 45%, transparent),
    0 6px 16px rgba(3, 6, 16, 0.4);
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-400) 55%, var(--gold-500));
  border-color: var(--gold-400);
  color: var(--navy-950);
  box-shadow:
    0 0 26px color-mix(in srgb, var(--gold-400) 65%, transparent),
    0 8px 20px rgba(3, 6, 16, 0.45);
  transform: translateY(-2px);
}

.btn-gold:hover::before { left: 130%; }

.btn-outline {
  background: transparent;
  color: var(--gold-300);
  border-color: color-mix(in srgb, var(--gold-500) 45%, transparent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--gold-500) 16%, transparent);
}

.btn-outline:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
  background: color-mix(in srgb, var(--gold-500) 10%, transparent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--gold-400) 45%, transparent);
  transform: translateY(-2px);
}

/* Hero */
.hero {
  position: relative;
  padding: 96px 20px 80px;
  text-align: center;
  background: var(--navy-950);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

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

.hero-badge {
  margin: 0 auto 28px;
  opacity: 0.92;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero .tagline {
  max-width: 520px;
  margin: 0 auto 36px;
  color: rgba(242, 237, 225, 0.72);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.stripe-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500) 50%, transparent);
  opacity: 0.45;
}

/* Sections */
section { padding: 72px 0; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.section-title p { color: rgba(242, 237, 225, 0.6); max-width: 520px; margin: 0 auto; font-weight: 300; }

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.card {
  background: var(--navy-900);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}
.card:hover { border-color: rgba(214, 183, 104, 0.4); }

.card img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.card-date { color: var(--gold-500); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; }
.card h3 { margin: 0; font-size: 1.15rem; font-weight: 600; }
.card .djs { color: rgba(242, 237, 225, 0.65); font-size: 0.88rem; font-weight: 300; }
.card .btn { align-self: flex-start; margin-top: auto; }

.vip-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 4px; }
.card .vip-card-photo {
  width: 96px;
  height: 96px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--gold-500);
  flex-shrink: 0;
}
.vip-card-head h3 { margin: 0 0 4px; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.gallery-grid img { border-radius: 3px; aspect-ratio: 1/1; object-fit: cover; }

.floorplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.floorplan-grid img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  object-fit: contain;
  background: var(--navy-900);
}

/* Highlights (accueil) */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: center;
}
@media (max-width: 700px) {
  .highlights-grid { grid-template-columns: 1fr; gap: 44px; }
}
.highlight-item { position: relative; }
.highlight-item:not(:first-child)::before {
  content: '';
  position: absolute;
  left: -18px;
  top: -20px;
  bottom: -20px;
  border-left: 1px dashed var(--hairline);
}
@media (max-width: 700px) {
  .highlight-item:not(:first-child)::before { display: none; }
}
.highlight-photo {
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-500);
  background: var(--navy-800);
  box-shadow: 0 0 20px color-mix(in srgb, var(--gold-500) 25%, transparent);
}
.highlight-photo img { width: 100%; height: 100%; object-fit: cover; }
.highlight-item h3 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.highlight-item p {
  color: rgba(242, 237, 225, 0.7);
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 300px;
  margin: 0 auto;
}

/* Video (accueil) */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .video-grid { grid-template-columns: 1fr; max-width: 320px; }
}
.video-card {
  aspect-ratio: 9/16;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--gold-500);
  background: var(--navy-950);
  box-shadow: 0 0 18px color-mix(in srgb, var(--gold-500) 20%, transparent);
}
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Info panels (horaires / tarifs / vip) */
.panel {
  background: var(--navy-900);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 36px;
}
.panel p { color: rgba(242, 237, 225, 0.82); font-weight: 300; }

/* Price list (tarifs) */
.pricelist { display: grid; }
.pricelist-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
}
.pricelist-row .label { white-space: nowrap; color: var(--cream); }
.pricelist-row .leader {
  flex: 1;
  border-bottom: 1px dotted color-mix(in srgb, var(--cream) 30%, transparent);
  height: 0;
  transform: translateY(-4px);
}
.pricelist-row .price { white-space: nowrap; color: var(--gold-400); font-weight: 600; }
.pricelist-row.bold .label { font-weight: 700; color: var(--gold-300); }
.pricelist-row.bold .price { color: var(--gold-300); }
.pricelist-row.size-small { font-size: 0.85rem; }
.pricelist-row.size-large .label,
.pricelist-row.size-large .price { font-size: 1.25rem; }

.pricelist-category {
  font-family: var(--font-heading), serif;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  padding: 22px 0 8px;
  border-top: 1px solid var(--hairline);
}
.pricelist > .pricelist-category:first-child { border-top: none; padding-top: 0; }

.pricelist-spacer { height: 18px; }

@media (max-width: 480px) {
  .pricelist-row .leader { display: none; }
  .pricelist-row {
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10px 0;
  }
  .pricelist-row .label { white-space: normal; flex: 1 1 auto; min-width: 0; padding-right: 10px; }
  .pricelist-row .price { flex-shrink: 0; }
  .pricelist-row.size-large .label,
  .pricelist-row.size-large .price { font-size: 1.1rem; }
  .pricelist-category { font-size: 0.85rem; padding: 18px 0 6px; }
  .pricelist-spacer { height: 12px; }
}

.yurplan-embed {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-900);
}
.yurplan-embed iframe { display: block; width: 100%; height: 720px; border: 0; }
@media (max-width: 600px) {
  .yurplan-embed iframe { height: 900px; }
}

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--hairline); }
.info-list li:last-child { border-bottom: none; padding-bottom: 0; }
.info-list .label { color: var(--gold-400); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; min-width: 100px; }

/* Form */
.form-grid { display: grid; gap: 18px; max-width: 560px; margin: 0 auto; }
.form-grid label { font-weight: 500; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-300); display: block; margin-bottom: 8px; }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 3px;
  border: 1px solid var(--hairline);
  background: var(--navy-950);
  color: var(--cream);
  font-family: inherit;
  font-size: 0.92rem;
}
.form-grid textarea { min-height: 120px; resize: vertical; }
.form-grid input:focus, .form-grid textarea:focus { outline: none; border-color: var(--gold-500); }
.form-grid input[type="range"] {
  padding: 0;
  border: none;
  background: transparent;
  accent-color: var(--gold-500);
  height: auto;
}
.form-grid input[type="file"] { padding: 8px 10px; }

.alert-success {
  background: rgba(189, 154, 63, 0.1);
  border: 1px solid var(--gold-500);
  color: var(--gold-300);
  padding: 14px 18px;
  border-radius: 3px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* Social row */
.social-row { display: flex; gap: 14px; justify-content: center; margin-top: 22px; }
.social-row a {
  border: 1px solid var(--hairline);
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.02em;
}
.social-row a { color: var(--gold-400); transition: border-color .2s, color .2s, background .2s; }
.social-row a svg { display: block; }
.social-row a:hover { border-color: var(--gold-500); background: rgba(189, 154, 63, 0.1); }

/* Footer */
.site-footer {
  background: var(--navy-900);
  border-top: 1px solid var(--hairline);
  padding: 56px 0 28px;
  color: rgba(242, 237, 225, 0.6);
  font-size: 0.86rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}
.footer-grid h4 {
  color: var(--gold-400);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 20px;
  text-align: center;
  font-size: 0.76rem;
  color: rgba(242, 237, 225, 0.42);
}
.footer-bottom a { color: rgba(242, 237, 225, 0.5); margin: 0 8px; }

/* Admin */
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 230px;
  background: var(--navy-900);
  border-right: 1px solid var(--hairline);
  padding: 24px 18px;
  flex-shrink: 0;
}
.admin-sidebar .brand { margin-bottom: 30px; font-size: 1.05rem; }
.admin-sidebar nav { display: grid; gap: 4px; }
.admin-sidebar a {
  color: rgba(242, 237, 225, 0.82);
  padding: 10px 12px;
  border-radius: 3px;
  font-weight: 500;
  font-size: 0.86rem;
}
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(189, 154, 63, 0.1); color: var(--gold-400); }
.admin-main { flex: 1; padding: 36px; max-width: 980px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.table { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--navy-900); }
.table th, .table td { padding: 13px 16px; border-bottom: 1px solid var(--hairline); text-align: left; font-size: 0.88rem; white-space: nowrap; }
.table th { color: var(--gold-400); text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.08em; font-weight: 600; }
.table tr:hover { background: rgba(189, 154, 63, 0.04); }

.badge { display: inline-block; padding: 3px 10px; border-radius: 3px; font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.badge-on { background: rgba(90, 170, 120, 0.14); color: #8fd4ab; }
.badge-off { background: rgba(190, 90, 90, 0.14); color: #e0a0a0; }

.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-card { width: 100%; max-width: 360px; background: var(--navy-900); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 40px; text-align: center; }
.login-card .btn { width: 100%; margin-top: 12px; }
.login-error { color: #e0a0a0; font-size: 0.84rem; margin-top: 12px; }

.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 18px; margin-bottom: 32px; }
.stat-card { background: var(--navy-900); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; }
.stat-card .num { font-family: var(--font-heading), serif; font-weight: 600; font-size: 2rem; color: var(--gold-400); }

.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 14px; }
.thumb-card { background: var(--navy-900); border: 1px solid var(--hairline); border-radius: 3px; overflow: hidden; }
.thumb-card img { aspect-ratio: 1/1; object-fit: cover; }
.thumb-card form { padding: 8px; }

/* Responsive */
@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-bar.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy-900);
    padding: 18px 20px;
    border-bottom: 1px solid var(--hairline);
    gap: 16px;
  }
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; }
  .admin-sidebar nav { display: flex; flex-wrap: wrap; }
  .admin-main { padding: 22px; }
}

@media (max-width: 480px) {
  .hero { padding: 56px 20px 48px; }
  section { padding: 52px 0; }
  .section-title { margin-bottom: 32px; }
  .panel { padding: 24px 20px; }
  .highlight-photo { width: 104px; height: 104px; }
  .btn { padding: 12px 22px; font-size: 0.72rem; }
  .login-card { padding: 28px 22px; }
  .stat-card { padding: 20px; }
  .admin-topbar { flex-wrap: wrap; gap: 12px; }
}

/* Bouton d'acces a l'admin (pied de page) */
.footer-admin {
  display: inline-block;
  margin-left: 12px;
  padding: 4px 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  font-size: 0.72rem;
  opacity: 0.7;
  white-space: nowrap;
}
.footer-admin:hover { opacity: 1; border-color: var(--gold-500); }

/* Soirees a venir (accueil) : widget Yurplan dans un cadre qui defile.
   Le widget est affiche sur toute sa hauteur (sans son propre defilement) et recouvert
   d'un lien : molette / glisser font defiler le cadre, un clic mene aux preventes. */
.upcoming-widget {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--navy-900);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.upcoming-widget-scroll {
  height: 560px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-500) transparent;
}
.upcoming-widget-scroll::-webkit-scrollbar { width: 8px; }
.upcoming-widget-scroll::-webkit-scrollbar-thumb { background: var(--gold-500); border-radius: 4px; }
.upcoming-widget-inner { position: relative; height: 1600px; }
.upcoming-widget-inner iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
.upcoming-widget-link { position: absolute; inset: 0; z-index: 2; }
.upcoming-widget::after {
  content: "";
  position: absolute; left: 0; right: 10px; bottom: 0; height: 70px;
  background: linear-gradient(180deg, rgba(8, 12, 28, 0), var(--navy-950));
  pointer-events: none;
  z-index: 3;
}
.upcoming-widget:hover { border-color: var(--gold-500); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45); }
.upcoming-hint { text-align: center; font-size: 0.78rem; color: rgba(242, 237, 225, 0.5); margin: 10px 0 0; }
@media (max-width: 640px) {
  .upcoming-widget-scroll { height: 620px; }
  .upcoming-widget-inner { height: 2400px; }
}

/* Mention sanitaire obligatoire (loi Evin), en bas de chaque page */
.health-notice { text-align: center; font-size: 0.7rem; color: rgba(242, 237, 225, 0.45); margin: 14px 0 0; padding-bottom: 6px; }
