@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #9e4325;
  --primary-hover: #7f3219;
  --accent: #dcae82;
  --bg-main: #fcfaf7;
  --bg-card: #ffffff;
  --text-dark: #221f1e;
  --text-muted: #6b6460;
  --border-color: #eae3db;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-subtle: 0 10px 30px rgba(0,0,0,0.04);
  --shadow-hover: 0 20px 40px rgba(158, 67, 37, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-main);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.7;
}

header {
  position: fixed; top: 0; width: 100%;
  background: rgba(252, 250, 247, 0.92);
  backdrop-filter: blur(14px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

nav {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 2rem;
}

.logo { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 700; color: var(--primary); text-decoration: none; }
.nav-links { display: flex; list-style: none; gap: 2.2rem; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; font-size: 0.95rem; }

/* HERO / EN-TÊTE */
.hero-wrapper {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(252, 250, 247, 0.6) 0%, rgba(252, 250, 247, 0.85) 100%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

.hero {
  position: relative;
  z-index: 2;
  padding: 8rem 2rem 5rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-subtitle { text-transform: uppercase; letter-spacing: 3px; font-size: 0.85rem; font-weight: 600; color: var(--primary); margin-bottom: 1rem; }
.hero h1 { font-family: var(--font-serif); font-size: 3.8rem; line-height: 1.15; margin-bottom: 1.5rem; }

/* LE CONTENU RECOUVRE L'ENTÊTE AVEC TRANSLUCIDITÉ CONFIGURABLE */
.main-content {
  position: relative;
  z-index: 10;
  background-color: rgba(252, 250, 247, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 -15px 30px rgba(0,0,0,0.05);
  transition: background-color 0.3s ease;
}

section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-family: var(--font-serif); font-size: 2.8rem; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

/* Tarifs */
.pricing-card { background: rgba(243, 236, 228, 0.9); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--accent); margin-bottom: 3rem; text-align: center; }
.pricing-table { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1rem; }
.pricing-item { background: white; padding: 0.8rem 1.4rem; border-radius: var(--radius-md); box-shadow: var(--shadow-subtle); }

/* Carte Stage */
.card-stage {
  background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-color); box-shadow: var(--shadow-subtle);
  display: flex; flex-direction: column; justify-content: space-between; transition: all 0.3s ease;
}
.card-stage:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.stage-img-container { height: 180px; width: 100%; overflow: hidden; background: #eee; }
.stage-img-container img { width: 100%; height: 100%; object-fit: cover; }
.stage-body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }

.badge { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.8rem; }
.badge-available { background: #e8f5e9; color: #2e7d32; }
.badge-full { background: #ffebee; color: #c62828; }
.badge-special { background: #fff3e0; color: #ef6c00; }

.stage-title { font-family: var(--font-serif); font-size: 1.7rem; margin-bottom: 0.4rem; }
.stage-date { color: var(--primary); font-weight: 600; margin-bottom: 0.8rem; font-size: 0.95rem; }

/* Boutons */
.btn {
  display: inline-block; background: var(--primary); color: white; padding: 0.9rem 1.8rem;
  border-radius: var(--radius-md); text-decoration: none; font-weight: 600; border: none; cursor: pointer; transition: all 0.25s ease; width: 100%; text-align: center;
}
.btn:hover { background: var(--primary-hover); }
.btn-secondary { background: #eae3db; color: var(--text-dark); }

/* Modales & Lightbox */
.modal-overlay {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(20, 15, 12, 0.7); backdrop-filter: blur(6px); z-index: 2000;
  justify-content: center; align-items: center;
}
.modal-card { background: white; border-radius: var(--radius-lg); padding: 2.5rem; width: 90%; max-width: 550px; max-height: 90vh; overflow-y: auto; }

/* Lightbox Galerie */
.lightbox-card { background: transparent; max-width: 90vw; max-height: 90vh; text-align: center; }
.lightbox-card img { max-width: 100%; max-height: 80vh; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.lightbox-caption { color: white; font-family: var(--font-serif); font-size: 1.5rem; margin-top: 1rem; }

.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.9rem; }
.form-control { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--border-color); border-radius: var(--radius-md); font-family: inherit; font-size: 0.95rem; }

/* Galerie Grid */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; height: 260px; cursor: pointer; box-shadow: var(--shadow-subtle); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption { position: absolute; bottom: 0; left: 0; width: 100%; padding: 0.8rem; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: white; font-family: var(--font-serif); font-size: 1.1rem; }

/* Notifications Toast */
#toast-container { position: fixed; top: 1.5rem; right: 1.5rem; z-index: 4000; display: flex; flex-direction: column; gap: 0.8rem; max-width: 350px; }
.toast {
  background: white; color: var(--text-dark, #2b2320); padding: 1rem 1.2rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-left: 4px solid var(--primary); font-size: 0.9rem; animation: toast-in 0.25s ease;
}
.toast-success { border-left-color: #2e7d32; }
.toast-error { border-left-color: #c62828; }
.toast-info { border-left-color: #0288d1; }
.toast-close { background: none; border: none; font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--text-muted); padding: 0; }
@keyframes toast-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
