/* ═══════════════════════════════════════════════════════
   Tour par Tour — style.css
   ═══════════════════════════════════════════════════════ */

/* ── 1. VARIABLES & RESET ── */
:root {
  --rouge:     #c0392b;
  --or:        #d4a017;
  --noir:      #0e0b08;
  --sombre:    #1a1208;
  --parchemin: #f5ead4;
  --creme:     #ede0c4;
  --brun:      #6b4f2a;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: 'Crimson Pro', Georgia, serif;
  background-color: var(--noir);
  color: var(--parchemin);
  overflow-x: hidden;
}
/* Grain de fond */
body::after {
  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: 9999;
}

/* ── 2. ANIMATIONS GLOBALES ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.45; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 0.8; }
}
@keyframes runeGlow {
  0%, 100% { opacity: 0.08; }
  50%       { opacity: 0.32; }
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── 3. NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,8,5,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,160,23,0.15);
  padding: 0 2rem;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s;
}
.navbar.scrolled {
  background: rgba(8,6,3,0.98);
  border-bottom-color: rgba(212,160,23,0.25);
}
.nav-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1rem;
  color: var(--or);
  text-decoration: none;
  letter-spacing: 0.08em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}
.nav-links a {
  color: var(--creme);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.75rem;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
  font-family: 'Cinzel Decorative', serif;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--or);
  background: rgba(212,160,23,0.08);
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--or);
  transition: all 0.3s;
  pointer-events: none;
}

/* ── 4. HERO ── */
.hero-sticky-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  transition: opacity 0.5s ease;
}
.hero-sticky-wrap.hero-page-bottom .logo-wrapper {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}
.hero-sticky-wrap.hero-page-bottom .rune {
  opacity: 0 !important;
  transition: opacity 0.5s ease;
}
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 3rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(192,57,43,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 80%, rgba(212,160,23,0.12) 0%, transparent 60%),
    linear-gradient(160deg, #0e0b08 0%, #1a1208 40%, #100d05 100%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(60deg,  rgba(212,160,23,0.04) 0px, transparent 1px, transparent 40px, rgba(212,160,23,0.04) 41px),
    repeating-linear-gradient(-60deg, rgba(212,160,23,0.04) 0px, transparent 1px, transparent 40px, rgba(212,160,23,0.04) 41px),
    repeating-linear-gradient(0deg,   rgba(212,160,23,0.03) 0px, transparent 1px, transparent 40px, rgba(212,160,23,0.03) 41px);
}

/* Canvas particules */
#rune-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Runes orbitales */
.rune {
  position: absolute;
  color: var(--or);
  animation: runeGlow linear infinite;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(212,160,23,0.8));
  transform-origin: center;
  transition: opacity 0.3s;
  z-index: 3;
}

.logo-wrapper {
  position: relative;
  margin-bottom: 0.5rem;
  animation: fadeDown 1s ease both;
  z-index: 2;
}
.logo-img {
  width: 800px;
  max-width: 92vw;
  display: block;
  margin: 0 auto;
  filter:
    drop-shadow(0 0 2px  rgba(255,240,190,0.60))
    drop-shadow(0 0 8px  rgba(240,210,130,0.45))
    drop-shadow(0 0 28px rgba(212,160,23,0.30));
}
.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--creme);
  margin: 0.5rem 0 1rem;
  letter-spacing: 0.06em;
  opacity: 0.85;
  animation: fadeDown 1s 0.3s ease both;
}
.ornement {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  width: 100%;
  margin: 0 auto 2rem;
  animation: fadeDown 1s 0.4s ease both;
}
.ornement > span:not(.ornement-icon) {
  height: 1px; width: 80px;
  background: linear-gradient(90deg, transparent, var(--or), transparent);
  flex-shrink: 0;
}
.ornement-icon { color: var(--or); font-size: 1.4rem; }

.cta-group {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  animation: fadeUp 1s 0.6s ease both;
}
.scroll-hint {
  position: absolute;
  bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: rgba(212,160,23,0.45);
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.6rem; letter-spacing: 0.2em;
  animation: scrollBounce 2.5s ease-in-out infinite;
  cursor: pointer;
}

/* Hero fade on scroll */
.hero-bottom,
.logo-wrapper,
.rune,
#rune-canvas {
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-sticky-wrap.hero-scrolled .hero-bottom {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.hero-sticky-wrap.hero-logo-hidden .logo-wrapper,
.hero-sticky-wrap.hero-logo-hidden .hero-tagline,
.hero-sticky-wrap.hero-logo-hidden .ornement,
.hero-sticky-wrap.hero-logo-hidden .cta-group,
.hero-sticky-wrap.hero-logo-hidden .scroll-hint {
  opacity: 0 !important;
  animation: none !important;
  transform: translateY(-8px);
  pointer-events: none;
}
.hero-sticky-wrap.hero-logo-hidden .rune {
  opacity: 0 !important;
  animation: none !important;
  transition: opacity 0.4s ease;
}

/* ── 5. BOUTONS ── */
.btn {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  padding: 0.9rem 2.2rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #c0392b 0%, #8b1a10 100%);
  color: var(--parchemin);
  box-shadow: 0 4px 20px rgba(192,57,43,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(192,57,43,0.6), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-outline {
  background: transparent;
  color: var(--or);
  border: 1.5px solid var(--or);
  box-shadow: 0 0 15px rgba(212,160,23,0.15);
}
.btn-outline:hover {
  background: rgba(212,160,23,0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212,160,23,0.3);
}

/* ── 6. SCROLL COVER & SÉPARATEURS TAVERNE ── */
#scroll-cover {
  position: relative;
  z-index: 1;
  background: var(--noir);
  box-shadow: 0 -30px 60px rgba(0,0,0,0.9);
  overflow: visible;
}

/* Divider haut (⚜) : chevauchement hero/contenu */
.tavern-divider-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  z-index: 10;
  pointer-events: none;
}
.tavern-divider-top::before {
  content: ''; flex: 1; max-width: 340px; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212,160,23,0.08) 15%, rgba(212,160,23,0.45) 55%, rgba(212,160,23,0.80) 100%);
}
.tavern-divider-top::after {
  content: ''; flex: 1; max-width: 340px; height: 1px;
  background: linear-gradient(270deg, transparent 0%, rgba(212,160,23,0.08) 15%, rgba(212,160,23,0.45) 55%, rgba(212,160,23,0.80) 100%);
}

/* Divider bas (⚔) : jonction horaires/footer — straddule la frontière */
.tavern-divider-bottom {
  position: relative;
  z-index: 5; /* au-dessus du footer (z-index:3) */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  margin-top:    -0.9rem;
  margin-bottom: -0.9rem;
  pointer-events: none;
}
.tavern-divider-bottom::before {
  content: ''; flex: 1; max-width: 280px; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(212,160,23,0.08) 15%, rgba(212,160,23,0.45) 55%, rgba(212,160,23,0.80) 100%);
}
.tavern-divider-bottom::after {
  content: ''; flex: 1; max-width: 280px; height: 1px;
  background: linear-gradient(270deg, transparent 0%, rgba(212,160,23,0.08) 15%, rgba(212,160,23,0.45) 55%, rgba(212,160,23,0.80) 100%);
}

/* Médaillon central des dividers */
.divider-medal {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: 0.55rem;
  padding: 0 1.6rem;
  flex-shrink: 0;
}
.divider-gem {
  display: block;
  width: 7px; height: 7px;
  background: var(--or);
  transform: rotate(45deg);
  opacity: 0.7;
  box-shadow: 0 0 8px rgba(212,160,23,0.7);
  flex-shrink: 0;
}
.divider-gem.sm { width: 4px; height: 4px; opacity: 0.4; }
.divider-icon {
  font-size: 1.55rem;
  color: var(--or);
  filter: drop-shadow(0 0 10px rgba(212,160,23,0.75)) drop-shadow(0 0 22px rgba(212,160,23,0.35));
  line-height: 1;
  flex-shrink: 0;
}
.divider-line-inner {
  display: flex; flex-direction: column;
  gap: 4px; flex-shrink: 0;
}
.divider-line-inner span { display: block; width: 28px; height: 1px; }
.divider-line-inner span:first-child { background: linear-gradient(90deg, rgba(212,160,23,0.85), rgba(212,160,23,0.3)); }
.divider-line-inner span:last-child  { background: linear-gradient(90deg, rgba(212,160,23,0.3), rgba(212,160,23,0.85)); width: 20px; margin-left: auto; }
.divider-line-inner.flip span:first-child { background: linear-gradient(270deg, rgba(212,160,23,0.85), rgba(212,160,23,0.3)); }
.divider-line-inner.flip span:last-child  { background: linear-gradient(270deg, rgba(212,160,23,0.3), rgba(212,160,23,0.85)); margin-left: 0; }

/* ── 7. SECTIONS COMMUNES ── */
.section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--or);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  opacity: 0.8;
}
.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--parchemin);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--rouge), var(--or));
  margin-bottom: 2rem;
}

/* ── 8. ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--creme);
  margin-bottom: 1.2rem;
  opacity: 0.9;
}
.about-text strong { color: var(--or); font-weight: 600; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-card {
  background: linear-gradient(135deg, rgba(26,18,8,0.95) 0%, rgba(20,14,6,0.95) 100%);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: 4px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  position: relative; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--rouge), var(--or));
  opacity: 0; transition: opacity 0.3s;
}
.stat-card:hover { transform: translateY(-4px); border-color: rgba(212,160,23,0.4); }
.stat-card:hover::before { opacity: 1; }
.stat-num {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.5rem; font-weight: 900;
  color: var(--or); display: block;
}
.stat-label { font-size: 0.9rem; font-style: italic; color: var(--creme); opacity: 0.7; margin-top: 0.3rem; }

/* ── 9. BAND ── */
.band {
  background: linear-gradient(135deg, var(--rouge) 0%, #8b1a10 100%);
  padding: 4rem 2rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.band::before {
  content: '⚔ ◆ ⚔';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-size: 12rem; opacity: 0.04;
  white-space: nowrap; pointer-events: none;
}
.band-text {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--parchemin); font-weight: 700; position: relative;
}
.band-sub {
  font-style: italic; font-size: 1.1rem;
  color: rgba(245,234,212,0.8); margin-top: 0.8rem; position: relative;
}

/* ── 10. OFFRES ── */
.offers-wrap { background: var(--sombre); padding: 6rem 2rem; }
.offers-inner { max-width: 1100px; margin: 0 auto; }
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; margin-top: 3rem;
}
.offer-card {
  background: rgba(14,11,8,0.8);
  border: 1px solid rgba(212,160,23,0.15);
  border-radius: 4px; padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.35s ease;
  position: relative; overflow: hidden;
}
.offer-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(212,160,23,0.06) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.35s;
}
.offer-card:hover { border-color: rgba(212,160,23,0.4); transform: translateY(-6px); }
.offer-card:hover::after { opacity: 1; }
.offer-icon { font-size: 3rem; display: block; margin-bottom: 1.2rem; filter: drop-shadow(0 0 10px rgba(212,160,23,0.3)); }
.offer-title { font-family: 'Cinzel Decorative', serif; font-size: 1rem; color: var(--or); margin-bottom: 0.8rem; }
.offer-desc  { font-size: 1rem; font-style: italic; color: var(--creme); opacity: 0.75; line-height: 1.7; }

/* ── 11. MENU BOISSONS ── */
.menu-wrap  { padding: 6rem 2rem; }
.menu-inner { max-width: 1000px; margin: 0 auto; }
.menu-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem; }
.menu-category {
  background: linear-gradient(135deg, rgba(26,18,8,0.95) 0%, rgba(20,14,6,0.95) 100%);
  border: 1px solid rgba(212,160,23,0.2);
  border-radius: 4px; padding: 2rem;
  position: relative; overflow: hidden;
}
.menu-category::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--rouge), var(--or));
}
.menu-cat-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.05rem; color: var(--or);
  margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.6rem;
}
.menu-item {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(212,160,23,0.07);
  font-size: 1rem;
}
.menu-item:last-child { border-bottom: none; }
.menu-item-name  { color: var(--creme); opacity: 0.9; }
.menu-item-desc  { font-size: 0.82rem; font-style: italic; color: var(--creme); opacity: 0.5; margin-left: 0.4rem; }
.menu-item-price { color: var(--or); font-weight: 600; white-space: nowrap; margin-left: 1rem; }
.menu-note { text-align: center; margin-top: 2.5rem; font-style: italic; color: var(--creme); opacity: 0.5; font-size: 0.95rem; }

/* ── 12. ÉVÉNEMENTS ── */
.events-wrap  { background: var(--sombre); padding: 6rem 2rem; }
.events-inner { max-width: 1100px; margin: 0 auto; }
.events-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.event-card {
  background: rgba(14,11,8,0.9);
  border: 1px solid rgba(212,160,23,0.15);
  border-radius: 4px; overflow: hidden;
  transition: all 0.35s ease;
}
.event-card:hover { border-color: rgba(212,160,23,0.4); transform: translateY(-5px); }
.event-header {
  background: linear-gradient(135deg, rgba(192,57,43,0.3) 0%, rgba(212,160,23,0.1) 100%);
  padding: 1.5rem 2rem;
  display: flex; align-items: center; gap: 1rem;
  border-bottom: 1px solid rgba(212,160,23,0.12);
}
.event-emoji { font-size: 2.5rem; }
.event-date  { font-family: 'Cinzel Decorative', serif; font-size: 0.75rem; color: var(--or); letter-spacing: 0.15em; opacity: 0.8; }
.event-name  { font-family: 'Cinzel Decorative', serif; font-size: 1.05rem; color: var(--parchemin); }
.event-body  { padding: 1.5rem 2rem; }
.event-body p { font-size: 1rem; font-style: italic; color: var(--creme); opacity: 0.75; line-height: 1.7; }
.event-tag {
  display: inline-block; margin-top: 1rem;
  background: rgba(212,160,23,0.1);
  border: 1px solid rgba(212,160,23,0.25);
  color: var(--or); font-size: 0.78rem;
  letter-spacing: 0.1em; padding: 0.3rem 0.8rem; border-radius: 2px;
}

/* ── 13. GALERIE CAROUSEL PAR PAGES ── */
.gallery-wrap  { padding: 6rem 2rem; }
.gallery-inner { max-width: 1100px; margin: 0 auto; }

/* Wrapper global */
.gallery-carousel { margin-top: 3rem; }

/* Zone scène (flèches positionnées ici) */
.gal-stage {
  position: relative;
  padding: 0 2.8rem;
}

/* Pages — masquées par défaut, animées à l'affichage */
.gal-page         { display: none; }
.gal-page.active  { display: block; animation: galPageIn 0.4s ease; }

@keyframes galPageIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Grille mixte par page */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 230px;
  gap: 0.8rem;
}

/* Items */
.gallery-item {
  background: rgba(14,11,8,0.95);
  border: 1px solid rgba(212,160,23,0.15);
  border-radius: 4px; overflow: hidden;
  cursor: zoom-in; position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.gallery-item:hover { border-color: rgba(212,160,23,0.5); transform: scale(1.02); z-index: 1; }
.gallery-item.large { grid-column: span 2; }
.gallery-item img   { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,8,5,0.88));
  padding: 1.5rem 1rem 0.7rem;
  font-size: 0.8rem; font-style: italic;
  color: var(--or); letter-spacing: 0.1em;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* Flèches de navigation */
.gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(212,160,23,0.5);
  background: rgba(10,8,5,0.88);
  color: var(--or);
  font-size: 2rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s;
  backdrop-filter: blur(8px);
}
.gal-btn:hover {
  background: rgba(212,160,23,0.12);
  border-color: var(--or);
  box-shadow: 0 0 18px rgba(212,160,23,0.35);
}
.gal-prev { left: 0; }
.gal-next { right: 0; }

/* Losanges de pagination */
.gal-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.8rem;
}
.gal-dot {
  width: 9px; height: 9px;
  background: transparent;
  border: 1.5px solid rgba(212,160,23,0.4);
  transform: rotate(45deg);
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}
.gal-dot.active {
  background: var(--or);
  border-color: var(--or);
  box-shadow: 0 0 10px rgba(212,160,23,0.65);
}
.gal-dot:hover:not(.active) {
  border-color: rgba(212,160,23,0.8);
  background: rgba(212,160,23,0.2);
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(5,4,2,0.93);
  backdrop-filter: blur(6px);
  align-items: center; justify-content: center;
  cursor: zoom-out;
}
.lightbox-overlay.active { display: flex; }
.lightbox-img-wrap {
  position: relative;
  max-width: 92vw; max-height: 90vh;
  animation: lbIn 0.25s ease;
}
.lightbox-img-wrap img {
  display: block;
  max-width: 92vw; max-height: 88vh;
  object-fit: contain;
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: 4px;
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}
.lightbox-caption { text-align: center; margin-top: 0.8rem; font-size: 0.85rem; font-style: italic; color: var(--or); letter-spacing: 0.12em; opacity: 0.8; }
.lightbox-close {
  position: absolute; top: -14px; right: -14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(212,160,23,0.15); border: 1px solid rgba(212,160,23,0.4);
  color: var(--or); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(212,160,23,0.35); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(212,160,23,0.12); border: 1px solid rgba(212,160,23,0.35);
  color: var(--or); font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(212,160,23,0.3); }
.lightbox-prev { right: calc(100% + 14px); }
.lightbox-next { left:  calc(100% + 14px); }
@media (max-width: 600px) {
  .lightbox-nav { display: none; }
}

.lb-desc-wrap { text-align: center; margin-top: 0.6rem; }
.lb-desc-btn {
  background: transparent;
  border: 1px solid rgba(212,160,23,0.3);
  color: rgba(245,234,212,0.5);
  font-family: 'Cinzel', serif; font-size: 0.65rem;
  letter-spacing: 0.08em; padding: 0.25rem 0.8rem;
  cursor: pointer; border-radius: 2px;
  transition: all 0.2s;
}
.lb-desc-btn:hover { border-color: var(--or); color: var(--or); }
.lb-desc-btn[aria-expanded="true"] { border-color: var(--or); color: var(--or); background: rgba(212,160,23,0.08); }
.lb-desc-text {
  display: none;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(5,4,2,0.82);
  backdrop-filter: blur(4px);
  padding: 1rem 1.4rem;
  font-size: 0.85rem; line-height: 1.7;
  color: rgba(245,234,212,0.92);
  font-style: italic;
  border-top: 1px solid rgba(212,160,23,0.25);
  border-radius: 0 0 4px 4px;
  text-align: left;
}

/* ── 14. AVIS (style carte WoW) ── */
.reviews-wrap  { background: var(--sombre); padding: 6rem 2rem; }
.reviews-inner { max-width: 1000px; margin: 0 auto; }
.reviews-grid  { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 2rem; margin-top: 3rem; }

.review-card {
  background: linear-gradient(180deg, #1a1410 0%, #0d0a07 100%);
  border: 1px solid #c47a00;
  box-shadow: 0 0 0 1px #0d0a07, 0 0 18px rgba(196,122,0,0.25), inset 0 0 40px rgba(0,0,0,0.4);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px #0d0a07, 0 0 30px rgba(196,122,0,0.45), inset 0 0 40px rgba(0,0,0,0.4);
}
.wow-header {
  padding: 1rem 1.2rem 0.7rem;
  border-bottom: 1px solid rgba(196,122,0,0.3);
  background: linear-gradient(180deg, rgba(255,128,0,0.07) 0%, transparent 100%);
}
.wow-name     { font-family: 'Cinzel Decorative', serif; font-size: 1rem; color: #FF8000; text-shadow: 0 0 10px rgba(255,128,0,0.4); margin-bottom: 0.2rem; }
.wow-quality  { font-size: 0.82rem; color: #FF8000; font-style: italic; opacity: 0.85; letter-spacing: 0.05em; }
.wow-body     { padding: 0.8rem 1.2rem 1rem; }
.wow-separator { border: none; border-top: 1px solid rgba(196,122,0,0.25); margin: 0.65rem 0; }
.wow-stat      { display: flex; justify-content: space-between; font-size: 0.92rem; line-height: 1.75; }
.wow-stat-key  { color: #a0978a; }
.wow-stat-val  { color: #ffd100; font-weight: 600; }
.wow-stat-val.green { color: #1EFF00; text-shadow: 0 0 6px rgba(30,255,0,0.3); }
.wow-stat-val.blue  { color: #69CCF0; text-shadow: 0 0 6px rgba(105,204,240,0.3); }
.wow-flavor  { font-style: italic; font-size: 0.95rem; color: #a89880; line-height: 1.65; margin: 0.4rem 0 0.3rem; }
.wow-source  { font-size: 0.78rem; color: rgba(160,151,138,0.55); letter-spacing: 0.05em; margin-top: 0.3rem; }

/* ── 15. CONTACT ── */
.contact-wrap  { padding: 6rem 2rem; }
.contact-inner { max-width: 800px; margin: 0 auto; }

.contact-cta {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.contact-tel {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1rem; letter-spacing: 0.08em;
  color: var(--or);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border: 1.5px solid rgba(212,160,23,0.4);
  border-radius: 2px;
  transition: all 0.25s;
}
.contact-tel:hover { background: rgba(212,160,23,0.08); border-color: var(--or); }

/* Parchemin */
.contact-form {
  position: relative;
  margin-top: 3rem; padding: 3.5rem 3.5rem 3rem;
  background:
    radial-gradient(ellipse at 20% 10%,  rgba(180,140,80,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 90%,  rgba(160,110,50,0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 40%,  rgba(200,165,100,0.08) 0%, transparent 60%),
    linear-gradient(160deg, #2e2010 0%, #1e1508 40%, #231a0a 70%, #1a1206 100%);
  border-radius: 3px;
  border-top:    2px solid rgba(212,160,23,0.55);
  border-bottom: 2px solid rgba(212,160,23,0.55);
  border-left:   1px solid rgba(212,160,23,0.25);
  border-right:  1px solid rgba(212,160,23,0.25);
  box-shadow: inset 0 2px 40px rgba(0,0,0,0.4), inset 0 -2px 40px rgba(0,0,0,0.3), 0 8px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(212,160,23,0.08);
}
.contact-form::before {
  content: '';
  position: absolute; inset: 0; border-radius: 3px;
  background-image: repeating-linear-gradient(180deg, transparent, transparent 38px, rgba(212,160,23,0.04) 38px, rgba(212,160,23,0.04) 39px);
  pointer-events: none;
}
.contact-form::after {
  content: '✦ Réservation & Contact ✦';
  position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%);
  background: #1a1206; padding: 0 1.2rem;
  font-family: 'Cinzel Decorative', serif; font-size: 0.65rem; letter-spacing: 0.25em;
  color: rgba(212,160,23,0.7); white-space: nowrap;
}
.form-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.form-group  { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.form-group label {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.68rem; letter-spacing: 0.18em;
  color: rgba(212,160,23,0.75);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: transparent; border: none;
  border-bottom: 1px solid rgba(212,160,23,0.4);
  padding: 0.7rem 0.2rem;
  color: #e8d9b8;
  font-family: 'Crimson Pro', Georgia, serif; font-size: 1.05rem;
  transition: border-color 0.3s; outline: none;
  border-radius: 0; width: 100%; -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-bottom-color: rgba(212,160,23,0.85); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(200,175,120,0.3); font-style: italic; }
.form-group select option { background: #1a1208; color: #e8d9b8; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit { text-align: center; margin-top: 0.5rem; }
.form-note   { text-align: center; margin-top: 1.5rem; font-size: 0.88rem; font-style: italic; color: rgba(200,175,120,0.45); }

/* ── 16. HORAIRES & CARTE ── */
#horaires       { background: var(--sombre); }
.hours-section  { padding: 6rem 2rem; max-width: 960px; margin: 0 auto; }
.horaires-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; align-items: start; }
.hours-card {
  background: linear-gradient(135deg, rgba(26,18,8,0.95) 0%, rgba(20,14,6,0.95) 100%);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 4px; padding: 2.5rem;
  position: relative;
}
.hours-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--rouge), var(--or), var(--rouge));
}
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(212,160,23,0.08);
  font-size: 1.05rem;
}
.hours-row:last-of-type { border-bottom: none; }
.hours-day    { color: var(--creme); opacity: 0.85; }
.hours-time   { color: var(--or); font-weight: 600; letter-spacing: 0.04em; }
.hours-closed { color: rgba(192,57,43,0.7); font-style: italic; }
.address-block { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(212,160,23,0.15); text-align: center; }
.address-block p { font-size: 1.1rem; color: var(--creme); line-height: 1.8; }
.address-block strong { color: var(--or); }
.map-container {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  min-height: 350px;
  /* Bordure dorée épaisse façon cadre médiéval */
  border: 2px solid rgba(212,160,23,0.5);
  box-shadow:
    0 0 0 1px rgba(212,160,23,0.15),
    0 0 20px rgba(212,160,23,0.12),
    inset 0 0 20px rgba(0,0,0,0.4);
}
/* Overlay taverne : vignette + teinte ambrée — pointer-events:none = la carte reste cliquable */
.map-container::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    /* Vignette sombre sur les bords */
    radial-gradient(ellipse at center, transparent 45%, rgba(10,5,0,0.72) 100%),
    /* Légère teinte ambrée au centre */
    radial-gradient(ellipse at center, rgba(180,100,10,0.10) 0%, transparent 65%);
}
.map-container iframe {
  width: 100%; height: 100%; min-height: 350px; border: none; display: block;
  /* Carte en mode sombre + légère désaturation pour l'ambiance */
  filter: invert(88%) hue-rotate(180deg) saturate(0.75) brightness(0.92);
}

/* ── 17. FOOTER ── */
footer {
  position: relative;
  z-index: 3;
  background: transparent;
  padding: 0.8rem 2rem 2rem;
  text-align: center;
  border-top: none;
}
.footer-logo-img  { width: 200px; max-width: 70vw; margin: 0 auto 1.2rem; display: block; filter: brightness(2.2) contrast(1.1) drop-shadow(0 0 25px rgba(212,160,23,0.8)); }
.footer-links     { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.footer-links a   { color: var(--creme); opacity: 0.6; text-decoration: none; font-size: 0.95rem; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 1; color: var(--or); }
.footer-copy      { font-size: 0.85rem; color: rgba(245,234,212,0.3); font-style: italic; }
.footer-legal     { margin: 1.2rem auto 0; padding-top: 1rem; border-top: 1px solid rgba(212,160,23,0.1); font-size: 0.72rem; color: rgba(245,234,212,0.4); line-height: 1.7; max-width: 780px; }
.footer-legal strong { color: rgba(212,160,23,0.55); font-weight: 600; letter-spacing: 0.03em; }

/* ── HUD Progression Quête ── */
#quest-hud {
  position: fixed;
  bottom: 1.8rem;
  left: calc(1.8rem + 68px + 0.6rem);
  transform: translateY(20px);
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 11, 8, 0.88);
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 2px;
  padding: 0.45rem 1rem;
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--creme);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
#quest-hud.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#quest-hud-icon { font-size: 0.85rem; }
#quest-hud strong { color: var(--or); }
#quest-hud.complete { border-color: rgba(212,160,23,0.7); }

/* ── 18. FABs (boutons flottants) ── */
#fab-right {
  position: fixed; bottom: 1.8rem; right: 1.8rem;
  z-index: 999;
  display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-end;
}
.fab-top {
  display: none;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(212,160,23,0.4);
  background: rgba(14,11,8,0.92);
  color: var(--or); font-size: 1.2rem;
  cursor: pointer; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}
.fab-top:hover { background: rgba(212,160,23,0.12); border-color: var(--or); }
.fab-contact {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  border-radius: 30px;
  border: 1.5px solid rgba(212,160,23,0.4);
  background: rgba(192,57,43,0.9);
  color: var(--parchemin);
  font-family: 'Cinzel Decorative', serif; font-size: 0.72rem; letter-spacing: 0.1em;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(192,57,43,0.5);
  transition: all 0.3s; backdrop-filter: blur(8px);
}
.fab-contact:hover { background: rgba(192,57,43,1); transform: translateY(-2px); }

/* ── 19. D20 + BULLE ── */
#d20-fab {
  position: fixed; bottom: 1.8rem; left: 1.8rem;
  z-index: 998;
  width: 68px; cursor: pointer; opacity: 0.88;
  filter: drop-shadow(0 0 14px rgba(192,57,43,0.55));
  transition: opacity 0.3s, filter 0.3s;
  background: none; border: none; padding: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}
#d20-fab:hover { opacity: 1; filter: drop-shadow(0 0 22px rgba(192,57,43,0.85)); }

#d20-bubble {
  position: fixed;
  bottom: 9.5rem; left: 1.2rem;
  z-index: 1001;
  max-width: 210px; min-width: 130px;
  background: linear-gradient(135deg, rgba(26,18,8,0.98), rgba(14,11,6,0.98));
  border: 1px solid rgba(212,160,23,0.35);
  border-radius: 4px;
  padding: 0.8rem 1.1rem;
  font-family: 'Crimson Pro', Georgia, serif; font-size: 1rem;
  font-style: italic; color: #ede0c4; line-height: 1.5;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6), 0 0 12px rgba(212,160,23,0.1);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}
#d20-bubble.visible { opacity: 1; transform: translateY(0); }
#d20-bubble::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #c0392b, #d4a017);
  border-radius: 4px 4px 0 0;
}
#d20-bubble::after {
  content: ''; position: absolute;
  bottom: -10px; left: 24px;
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 4px solid transparent;
  border-top: 11px solid rgba(212,160,23,0.35);
}

/* 🔮 Bulle Hint (indice secret) */
@keyframes hintPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(160,100,220,0.3), 0 0 20px rgba(120,80,200,0.1); border-color: rgba(160,100,220,0.4); }
  50%       { box-shadow: 0 0 14px rgba(180,120,240,0.5), 0 0 35px rgba(140,90,220,0.2); border-color: rgba(180,120,240,0.65); }
}
#d20-bubble.hint {
  background: linear-gradient(135deg, rgba(18,10,28,0.98), rgba(26,14,40,0.98));
  border-color: rgba(160,100,220,0.5);
  color: #d8c0f0;
  font-style: italic;
  animation: hintPulse 2.4s ease-in-out infinite;
}
#d20-bubble.hint::before {
  background: linear-gradient(90deg, #6a0dad, #a855f7, #c084fc, #a855f7, #6a0dad);
}
#d20-bubble.hint::after { border-top-color: rgba(160,100,220,0.5); }

/* ✨ Bulle Légendaire */
@keyframes legendaryGlow {
  0%, 100% { box-shadow: 0 0 18px rgba(212,160,23,0.5), 0 0 40px rgba(212,160,23,0.2), inset 0 0 20px rgba(212,160,23,0.05); }
  50%       { box-shadow: 0 0 30px rgba(212,160,23,0.9), 0 0 70px rgba(212,160,23,0.4), inset 0 0 30px rgba(212,160,23,0.12); }
}
@keyframes legendaryShimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
#d20-bubble.legendary {
  max-width: 270px;
  background: linear-gradient(135deg, #1c1000, #2a1a00, #1c1000);
  border: 1px solid #d4a017;
  border-radius: 6px;
  color: #ffe8a0;
  font-size: 1.05rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.02em;
  animation: legendaryGlow 1.8s ease-in-out infinite;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
#d20-bubble.legendary::before {
  height: 3px;
  background: linear-gradient(90deg, #c0392b, #d4a017, #ffe066, #d4a017, #c0392b);
  background-size: 200% auto;
  animation: legendaryShimmer 2s linear infinite;
}
#d20-bubble.legendary::after {
  border-top-color: #d4a017;
}

/* ⚡ Bulle Ultra-Légendaire (Shift+Clic) */
@keyframes ultraGlow {
  0%   { box-shadow: 0 0 25px rgba(255,200,0,0.7), 0 0 60px rgba(212,160,23,0.4), 0 0 100px rgba(192,57,43,0.2), inset 0 0 30px rgba(255,180,0,0.1); }
  25%  { box-shadow: 0 0 40px rgba(192,57,43,0.9), 0 0 90px rgba(212,80,20,0.5), 0 0 140px rgba(255,100,0,0.25), inset 0 0 40px rgba(192,57,43,0.15); }
  50%  { box-shadow: 0 0 55px rgba(255,215,0,1),   0 0 120px rgba(212,160,23,0.7), 0 0 180px rgba(255,200,0,0.35), inset 0 0 50px rgba(255,200,0,0.2); }
  75%  { box-shadow: 0 0 35px rgba(192,57,43,0.8), 0 0 80px rgba(220,100,20,0.45), 0 0 130px rgba(212,160,23,0.2), inset 0 0 35px rgba(192,57,43,0.12); }
  100% { box-shadow: 0 0 25px rgba(255,200,0,0.7), 0 0 60px rgba(212,160,23,0.4), 0 0 100px rgba(192,57,43,0.2), inset 0 0 30px rgba(255,180,0,0.1); }
}
@keyframes ultraShimmer {
  0%   { background-position: -300% center; }
  100% { background-position:  300% center; }
}
@keyframes ultraTextPulse {
  0%, 100% { text-shadow: 0 0 8px rgba(255,215,0,0.6); }
  50%       { text-shadow: 0 0 20px rgba(255,215,0,1), 0 0 40px rgba(255,150,0,0.5); }
}
@keyframes ultraShake {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  15%     { transform: translate(-6px,-4px) rotate(-3deg); }
  30%     { transform: translate(6px,4px) rotate(3deg); }
  45%     { transform: translate(-5px,5px) rotate(-2deg); }
  60%     { transform: translate(5px,-5px) rotate(2deg); }
  75%     { transform: translate(-3px,2px) rotate(-1deg); }
  90%     { transform: translate(3px,-2px) rotate(1deg); }
}
@keyframes screenFlash {
  0%   { opacity: 0; }
  8%   { opacity: 0.45; }
  25%  { opacity: 0.2; }
  60%  { opacity: 0.06; }
  100% { opacity: 0; }
}
#d20-bubble.ultra {
  max-width: 360px;
  background: linear-gradient(135deg, #0a0500, #1a0a00, #2a1000, #1a0a00, #0a0500);
  border: 2px solid #ffd700;
  border-radius: 8px;
  color: #ffd700;
  font-size: 1.12rem;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  animation: ultraGlow 1.1s ease-in-out infinite, ultraTextPulse 1.4s ease-in-out infinite;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
#d20-bubble.ultra::before {
  height: 4px;
  background: linear-gradient(90deg, #c0392b, #ff8c00, #ffd700, #fff, #ffd700, #ff8c00, #c0392b);
  background-size: 300% auto;
  animation: ultraShimmer 1.4s linear infinite;
}
#d20-bubble.ultra::after { border-top-color: #ffd700; }
#d20-fab.ultra-shake { animation: ultraShake 0.7s ease-in-out; }
.d20-screen-flash {
  position: fixed; inset: 0; pointer-events: none; z-index: 1999;
  background: radial-gradient(ellipse at 10% 90%, rgba(255,215,0,0.35) 0%, rgba(192,57,43,0.2) 40%, transparent 70%);
  animation: screenFlash 1.8s ease-out forwards;
}

/* ── 19b. ULTRA OVERLAY ── */
#ultra-overlay {
  position: fixed; inset: 0; z-index: 9500;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, #1c0e00 0%, #040201 65%);
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s ease;
  cursor: pointer;
}
#ultra-overlay.active { opacity: 1; pointer-events: all; }

/* Flash d'entrée depuis le centre */
#ultra-overlay::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,210,80,0.6) 0%, rgba(192,57,43,0.25) 40%, transparent 70%);
  opacity: 0;
}
#ultra-overlay.active::before { animation: uoFlash 1.1s ease-out forwards; }
@keyframes uoFlash {
  0%   { opacity: 1; transform: scale(0.4); }
  35%  { opacity: 0.75; transform: scale(1.3); }
  100% { opacity: 0; transform: scale(2.8); }
}

/* Halo pulsant permanent */
#ultra-overlay::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 55% 50% at center, rgba(255,170,20,0.09) 0%, transparent 65%);
  animation: uoBgPulse 3s ease-in-out infinite;
}
@keyframes uoBgPulse {
  0%, 100% { transform: scale(0.85); opacity: 0.5; }
  50%       { transform: scale(1.2);  opacity: 1; }
}

/* Contenu */
.uo-content {
  position: relative; z-index: 1;
  text-align: center; padding: 2rem 3rem;
  opacity: 0; transform: scale(0.78) translateY(24px);
}
#ultra-overlay.active .uo-content {
  animation: uoContentIn 0.9s cubic-bezier(0.34,1.56,0.64,1) 0.15s forwards;
}
@keyframes uoContentIn {
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Icône ⚡ */
.uo-icon {
  display: block; font-size: 5.5rem;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 0 18px rgba(255,210,0,0.8));
  animation: uoIconPulse 1.3s ease-in-out infinite;
}
@keyframes uoIconPulse {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 15px rgba(255,210,0,0.7)); }
  50%       { transform: scale(1.18); filter: drop-shadow(0 0 40px rgba(255,210,0,1)) drop-shadow(0 0 80px rgba(255,130,0,0.55)); }
}

/* Ligne décorative */
.uo-divider {
  width: 140px; height: 1px;
  background: linear-gradient(90deg, transparent, #d4a017, transparent);
  margin: 0 auto 1.4rem;
}

/* Titre */
.uo-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.5rem, 5vw, 3rem);
  color: #ffd700;
  letter-spacing: 0.14em;
  margin: 0 0 1.4rem;
  font-weight: 700;
  animation: uoTitleGlow 2s ease-in-out infinite;
}
@keyframes uoTitleGlow {
  0%, 100% { text-shadow: 0 0 18px rgba(255,210,0,0.5), 0 0 45px rgba(255,150,0,0.2); }
  50%       { text-shadow: 0 0 38px rgba(255,210,0,1), 0 0 90px rgba(255,150,0,0.65), 0 0 140px rgba(255,200,0,0.3); }
}

/* Message */
.uo-msg {
  font-family: 'Crimson Pro', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: #ffe8a0; line-height: 2;
  margin: 0 0 2.5rem; font-style: italic;
}

/* Hint fermeture */
.uo-close-hint {
  font-size: 0.76rem; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,210,0,0.3);
  animation: uoHintBlink 2.4s ease-in-out infinite;
}
@keyframes uoHintBlink {
  0%, 100% { opacity: 0.2; }
  50%       { opacity: 0.65; }
}

/* ── 20. RESPONSIVE ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    display: none;
    position: absolute; top: 62px; left: 0; right: 0;
    background: rgba(8,6,3,0.98);
    flex-direction: column;
    padding: 1rem 2rem 2rem;
    border-bottom: 1px solid rgba(212,160,23,0.2);
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0; border-bottom: 1px solid rgba(212,160,23,0.08); }
  .nav-burger { display: flex; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Gallery carousel mobile */
  .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery-item.large { grid-column: span 1; }
  .gal-stage { padding: 0 2.2rem; }

  /* Hours */
  .horaires-grid { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Contact parchemin */
  .contact-form { padding: 2rem 1.2rem 1.8rem; }

  /* FABs mobile : simplifiés */
  .fab-contact {
    padding: 0.7rem;
    border-radius: 50%;
    width: 46px; height: 46px;
    justify-content: center;
  }
  .fab-contact-label { display: none; }

  /* D20 sur mobile : plus petit, repositionné */
  #d20-fab    { width: 52px; bottom: 1.2rem; left: 1.2rem; }
  #d20-bubble { max-width: 175px; bottom: 7.8rem; left: 1rem; font-size: 0.78rem; }
}

@media (max-width: 700px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .section { padding: 4rem 1.2rem; }
  .offers-wrap, .menu-wrap, .events-wrap,
  .gallery-wrap, .reviews-wrap, .contact-wrap { padding: 4rem 1.2rem; }
  /* Texte de section : moins gros sur mobile */
  .about-text p { font-size: 1rem; line-height: 1.7; }
  /* Stat cards : taille réduite pour éviter le débordement */
  .stat-card { padding: 1.2rem 0.8rem; }
  .stat-num  { font-size: clamp(1.2rem, 6vw, 1.8rem); }
  .stat-label { font-size: 0.78rem; }
  /* Boutons : texte plus petit + lettre-spacing réduit sur mobile */
  .btn { font-size: 0.72rem; letter-spacing: 0.06em; padding: 0.75rem 1.4rem; }
  /* Footer : serrer le bas pour ne pas laisser le hero transparaître */
  footer { padding: 0.8rem 1.2rem 0.6rem; }
  /* Gallery carousel très petit écran : 2 colonnes compactes */
  .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .gallery-item.large { grid-column: span 1; }
  .gal-stage { padding: 0 2rem; }
}

/* ══════════════════════════════════════════════════════
   20. QUÊTE SECRÈTE — La Formule du Fondateur
   ══════════════════════════════════════════════════════ */

/* ── Hint dans l'ultra overlay ── */
.uo-quest-hint {
  margin-top: 1.8rem;
  font-size: 0.78rem;
  color: rgba(212,160,23,0.55);
  font-style: italic;
  text-align: center;
  line-height: 1.7;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  pointer-events: none;
}
.uo-quest-hint.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Marqueurs ✦ cachés dans les sections ── */
.quest-mark {
  display: inline-block;
  color: var(--or);
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  cursor: default;
  transition: opacity 0.6s ease, filter 0.3s ease, transform 0.3s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
/* Marqueur sur la stat-card : positionné en haut à droite */
#quest-mark-1 {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  font-size: 0.75rem;
}
/* Marqueur dans les horaires : affichage bloc centré */
#quest-mark-2 {
  display: block;
  text-align: center;
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
}
/* Marqueur dans les avis : flex sibling du bouton */
#quest-mark-3 {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}
.quest-mark.unlocked {
  opacity: 0.35;
  pointer-events: auto;
  cursor: pointer;
  animation: questMarkPulse 2.5s ease-in-out infinite;
}
.quest-mark.unlocked:hover,
.quest-mark.unlocked:focus {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(212,160,23,0.9));
  transform: scale(1.3);
  animation: none;
}
.quest-mark.found {
  opacity: 0.5;
  pointer-events: auto;   /* reste cliquable pour relire l'indice */
  cursor: pointer;
  animation: none;
  filter: drop-shadow(0 0 4px rgba(212,160,23,0.4));
}
.quest-mark.found:hover {
  opacity: 0.9;
  filter: drop-shadow(0 0 8px rgba(212,160,23,0.7));
}
@keyframes questMarkPulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50%       { opacity: 0.55; transform: scale(1.15); filter: drop-shadow(0 0 6px rgba(212,160,23,0.6)); }
}

/* ── Popup d'indice ── */
.quest-clue-popup {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 8000;
  background: linear-gradient(135deg, rgba(20,13,5,0.97) 0%, rgba(14,9,3,0.97) 100%);
  border: 1px solid rgba(212,160,23,0.35);
  border-radius: 4px;
  padding: 1.4rem 1.8rem;
  max-width: min(420px, 90vw);
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.7), 0 0 30px rgba(212,160,23,0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.quest-clue-popup.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.quest-clue-popup::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.6), transparent);
}
.quest-clue-icon {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}
.quest-clue-text {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(245,234,212,0.8);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.quest-clue-close {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(212,160,23,0.4);
  cursor: pointer;
  transition: color 0.2s;
}
.quest-clue-close:hover { color: rgba(212,160,23,0.8); }

/* ── Input final dans le footer ── */
#quest-final {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 1s ease, opacity 0.8s ease;
  margin-bottom: 0;
}
#quest-final.visible {
  max-height: 200px;
  opacity: 1;
  margin-bottom: 1.8rem;
}
.quest-final-inner {
  border-top: 1px solid rgba(212,160,23,0.12);
  padding-top: 1.4rem;
}
.quest-final-label {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: rgba(212,160,23,0.5);
  margin-bottom: 0.9rem;
}
.quest-final-form {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.quest-answer-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 2px;
  color: var(--parchemin);
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  padding: 0.5rem 1rem;
  width: 160px;
  text-align: center;
  outline: none;
  transition: border-color 0.3s;
}
.quest-answer-input:focus {
  border-color: rgba(212,160,23,0.6);
  background: rgba(255,255,255,0.07);
}
.quest-answer-input::placeholder { color: rgba(212,160,23,0.25); }
.quest-submit-btn {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--or);
  background: transparent;
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: 2px;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
}
.quest-submit-btn:hover {
  background: rgba(212,160,23,0.1);
  border-color: rgba(212,160,23,0.7);
}
.quest-submit-btn:disabled {
  opacity: 0.4; cursor: not-allowed;
}
.quest-final-msg {
  margin-top: 0.9rem;
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 0.88rem;
  font-style: italic;
  min-height: 1.2em;
  transition: opacity 0.4s;
}
.quest-final-msg.wrong   { color: rgba(192,57,43,0.8); }
.quest-final-msg.winner  { color: var(--or); font-size: 0.95rem; }
.quest-final-msg.claimed { color: rgba(245,234,212,0.5); }
.quest-reset-btn {
  display: block; margin: 1rem auto 0;
  background: none; border: none;
  font-size: 0.65rem; letter-spacing: 0.1em;
  color: rgba(245,234,212,0.18);
  cursor: pointer; padding: 0.3rem 0.6rem;
  transition: color 0.2s;
}
.quest-reset-btn:hover { color: rgba(245,234,212,0.5); }

.quest-gender-toggle {
  display: flex; gap: 0.4rem; justify-content: center; margin: 0.1rem 0;
}
.quest-gender-btn {
  background: transparent;
  border: 1px solid rgba(212,160,23,0.25);
  color: rgba(245,234,212,0.45);
  font-family: 'Cinzel', serif; font-size: 0.65rem;
  letter-spacing: 0.08em; padding: 0.28rem 0.9rem;
  cursor: pointer; border-radius: 2px;
  transition: all 0.2s;
}
.quest-gender-btn.active {
  background: rgba(212,160,23,0.12);
  border-color: var(--or);
  color: var(--or);
}
.quest-gender-btn:hover:not(.active) {
  border-color: rgba(212,160,23,0.5);
  color: rgba(245,234,212,0.7);
}

/* ══════════════════════════════════════════════════════
   21. OVERLAY VICTOIRE — Premier Fondateur
   ══════════════════════════════════════════════════════ */
#victory-overlay {
  position: fixed; inset: 0; z-index: 9800;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at center, #1a0e00 0%, #080400 60%);
  opacity: 0; pointer-events: none;
  transition: opacity 0.7s ease;
  cursor: pointer;
  overflow: hidden;
}
#victory-overlay.active { opacity: 1; pointer-events: all; }

#victory-sparks {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Cadre ornemental */
.vo-frame {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(212,160,23,0.3);
  border-radius: 3px;
  padding: 3rem 3.5rem;
  max-width: min(560px, 90vw);
  text-align: center;
  background: linear-gradient(160deg, rgba(26,16,4,0.92) 0%, rgba(10,6,2,0.96) 100%);
  box-shadow:
    0 0 60px rgba(212,160,23,0.12),
    0 0 120px rgba(212,160,23,0.05),
    inset 0 0 40px rgba(0,0,0,0.4);
  animation: voFrameIn 0.8s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes voFrameIn {
  from { transform: scale(0.88) translateY(20px); opacity: 0; }
  to   { transform: scale(1)    translateY(0);    opacity: 1; }
}

/* Coins ornementaux */
.vo-corner {
  position: absolute; width: 22px; height: 22px;
  border-color: rgba(212,160,23,0.7);
  border-style: solid;
}
.vo-tl { top: -1px; left: -1px;  border-width: 2px 0 0 2px; border-radius: 2px 0 0 0; }
.vo-tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; border-radius: 0 2px 0 0; }
.vo-bl { bottom: -1px; left: -1px;  border-width: 0 0 2px 2px; border-radius: 0 0 0 2px; }
.vo-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-radius: 0 0 2px 0; }

.vo-crown {
  display: block; font-size: 2.8rem; margin-bottom: 1rem;
  animation: voCrownFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(212,160,23,0.7));
}
@keyframes voCrownFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

.vo-eyebrow {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.6rem; letter-spacing: 0.28em;
  color: rgba(212,160,23,0.6);
  text-transform: uppercase; margin-bottom: 0.8rem;
}

.vo-divider-line {
  height: 1px; margin: 0.9rem auto;
  width: 80%;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.5), transparent);
}

.vo-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--or);
  letter-spacing: 0.08em;
  text-shadow: 0 0 30px rgba(212,160,23,0.5), 0 0 60px rgba(212,160,23,0.2);
  animation: voTitleGlow 2.5s ease-in-out infinite alternate;
  margin: 0;
}
@keyframes voTitleGlow {
  from { text-shadow: 0 0 20px rgba(212,160,23,0.4), 0 0 40px rgba(212,160,23,0.1); }
  to   { text-shadow: 0 0 40px rgba(212,160,23,0.9), 0 0 80px rgba(212,160,23,0.3); }
}

.vo-subtitle {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 0.95rem; font-style: italic;
  color: rgba(245,234,212,0.55);
  margin: 0.5rem 0 1.2rem;
  letter-spacing: 0.04em;
}

.vo-body {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1rem; font-style: italic;
  color: rgba(245,234,212,0.75);
  line-height: 1.75; margin-bottom: 1.2rem;
}
.vo-body.vo-small { font-size: 0.82rem; color: rgba(245,234,212,0.45); margin-top: 1rem; }

/* Le mot clé à murmurer */
.vo-code-wrap {
  margin: 0.5rem auto 0.5rem;
  padding: 0.9rem 2rem;
  border: 1px solid rgba(212,160,23,0.45);
  border-radius: 3px;
  display: inline-block;
  background: rgba(212,160,23,0.06);
  position: relative;
}
.vo-code-wrap::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,160,23,0.8), transparent);
}
.vo-code {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  letter-spacing: 0.25em;
  color: var(--or);
  font-weight: 900;
  text-shadow: 0 0 20px rgba(212,160,23,0.8), 0 0 40px rgba(212,160,23,0.4);
  animation: voCodeShimmer 3s ease-in-out infinite;
}
@keyframes voCodeShimmer {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.75; text-shadow: 0 0 40px rgba(212,160,23,1), 0 0 80px rgba(212,160,23,0.5); }
}

.vo-close-hint {
  font-size: 0.65rem; letter-spacing: 0.15em;
  color: rgba(212,160,23,0.3);
  margin-top: 1.8rem;
  animation: voHintBlink 2s ease-in-out infinite;
}
@keyframes voHintBlink {
  0%, 100% { opacity: 0.4; } 50% { opacity: 1; }
}

@media (max-width: 480px) {
  .vo-frame { padding: 2rem 1.5rem; }
  .vo-code  { font-size: 1.4rem; letter-spacing: 0.15em; }
}
