/* ============================================================
   LA COQUETIÈRE — Style Premium
   Agence-level CSS — Dark Artisan / Rock Pizzeria
   ============================================================ */

/* ---------- Variables ---------------------------------------- */
:root {
  --bg-dark:          #080503;
  --bg-medium:        #120D08;
  --bg-section-alt:   #0F0A06;
  --bg-card:          #1A1209;
  --bg-card-hover:    #221810;
  --accent-fire:      #E8521A;
  --accent-fire-light:#FF6B35;
  --accent-gold:      #C9A040;
  --accent-gold-light:#E5BC60;
  --text-primary:     #F5F0E8;
  --text-secondary:   #C4B5A2;
  --text-muted:       #7A6A5A;
  --text-fire:        #E8521A;
  --border:           rgba(255,255,255,0.06);
  --border-warm:      rgba(201,160,64,0.2);
  --border-fire:      rgba(232,82,26,0.25);
  --shadow-sm:        0 2px 12px rgba(0,0,0,0.4);
  --shadow-md:        0 4px 24px rgba(0,0,0,0.6);
  --shadow-lg:        0 12px 48px rgba(0,0,0,0.7);
  --shadow-fire:      0 0 30px rgba(232,82,26,0.15);
  --radius:           3px;
  --radius-md:        6px;
  --radius-lg:        12px;
  --transition:       0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:  0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display:     'Bebas Neue', 'Impact', sans-serif;
  --font-heading:     'Oswald', 'Arial Narrow', sans-serif;
  --font-body:        'Lato', 'Helvetica Neue', Arial, sans-serif;
  --nav-height:       72px;
  --max-width:        1200px;
  --section-pad:      clamp(64px, 10vw, 120px);
}

/* ---------- Reset & Base ------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Typography -------------------------------------- */
.display-title {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--text-primary);
}

.section-title span {
  color: var(--accent-fire);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

/* ---------- Layout ------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 48px);
}

.section {
  padding: var(--section-pad) 0;
}

.section--alt {
  background-color: var(--bg-section-alt);
}

.section-header {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-header--centered {
  text-align: center;
}

.section-header--centered .section-desc {
  margin: 1rem auto 0;
}

/* Divider */
.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-fire), var(--accent-gold));
  margin: 1.25rem 0 1.5rem;
  border-radius: 2px;
}

.divider--center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::after { opacity: 1; }

.btn--primary {
  background: var(--accent-fire);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,82,26,0.35);
}

.btn--primary:hover {
  background: var(--accent-fire-light);
  box-shadow: 0 6px 28px rgba(232,82,26,0.5);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(245,240,232,0.3);
}

.btn--secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--accent-gold);
  color: var(--bg-dark);
  font-weight: 700;
}

.btn--gold:hover {
  background: var(--accent-gold-light);
  transform: translateY(-1px);
}

.btn--outline-fire {
  background: transparent;
  border: 1.5px solid var(--accent-fire);
  color: var(--accent-fire);
}

.btn--outline-fire:hover {
  background: var(--accent-fire);
  color: #fff;
}

/* ---------- Page Loader ------------------------------------- */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

#page-loader.hide {
  transform: translateY(-100%);
  pointer-events: none;
}

.loader-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  animation: loader-pulse 1s ease-in-out infinite alternate;
}

@keyframes loader-pulse {
  from { opacity: 0.4; transform: scale(0.92); }
  to   { opacity: 1;   transform: scale(1); }
}

.loader-bar-wrap {
  width: 160px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-fire), var(--accent-gold));
  border-radius: 2px;
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Scroll progress bar ----------------------------- */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-fire), var(--accent-gold));
  z-index: 1100;
  will-change: width;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(232,82,26,0.5);
}

/* ---------- Custom cursor dot ------------------------------- */
#cursor-dot {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--accent-fire);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.08s linear;
  mix-blend-mode: screen;
}

@media (pointer: coarse) {
  #cursor-dot { display: none; }
}

/* ---------- Navigation -------------------------------------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(8,5,3,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 20px rgba(0,0,0,0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 48px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
  border-radius: 8px;
  transition: transform var(--transition), filter var(--transition);
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.04);
  filter: brightness(1.2);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav-menu a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-fire);
  transition: width var(--transition);
}

.nav-menu a:not(.nav-cta):hover::after,
.nav-menu a:not(.nav-cta).active::after { width: calc(100% - 1.5rem); }

.nav-menu a:not(.nav-cta):hover,
.nav-menu a:not(.nav-cta).active { color: var(--text-primary); }

.nav-cta {
  background: var(--accent-fire) !important;
  color: #fff !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: var(--radius) !important;
  margin-left: 0.5rem;
  box-shadow: 0 2px 12px rgba(232,82,26,0.3);
}

.nav-cta:hover {
  background: var(--accent-fire-light) !important;
  box-shadow: 0 4px 20px rgba(232,82,26,0.45) !important;
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero -------------------------------------------- */
#hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  will-change: transform;
}

.hero-img-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(8,5,3,0.55) 0%,
      rgba(8,5,3,0.3) 35%,
      rgba(8,5,3,0.55) 70%,
      rgba(8,5,3,0.92) 100%);
}

/* Subtle grain texture overlay */
.hero-overlay::after {
  content: '';
  position: absolute;
  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='0.04'/%3E%3C/svg%3E");
  opacity: 0.15;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 clamp(16px, 5vw, 48px);
  width: 100%;
  max-width: 800px;
}

/* Hero text block */
.hero-text-block {
  margin-bottom: 1.5rem;
  line-height: 1;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 9rem);
  letter-spacing: 0.04em;
  color: var(--text-primary);
  text-shadow: 0 4px 48px rgba(0,0,0,0.7);
  line-height: 0.9;
  margin-bottom: 0.4em;
}

.hero-hell {
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 2vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--accent-fire);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Split-word animation */
.split-word {
  display: inline-block;
  clip-path: inset(0 0 110% 0);
  transform: translateY(40px);
  will-change: clip-path, transform;
  transition:
    clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform  0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-word.revealed {
  clip-path: inset(0 0 0% 0);
  transform: translateY(0);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 2.25rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-badge .stars {
  color: var(--accent-gold);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.hero-badge strong {
  color: var(--text-primary);
}

/* Hero elements revealed state (driven by JS) */
.hero-tagline.hero-revealed,
.hero-location.hero-revealed,
.hero-actions.hero-revealed,
.hero-badge.hero-revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.7s ease, color var(--transition);
}

.hero-scroll.hero-revealed { opacity: 1; }
.hero-scroll:hover { color: var(--text-secondary); }

.hero-scroll svg {
  animation: bounce 2s ease-in-out infinite;
}

/* ---------- Highlights bar ---------------------------------- */
.highlights-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}

.highlights-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 2.5rem;
  border-right: 1px solid var(--border);
}

.highlight-item:last-child { border-right: none; }

.highlight-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.highlight-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.2;
}

.highlight-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ---------- Histoire / À propos ----------------------------- */
#histoire {
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.histoire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.histoire-images {
  position: relative;
}

.histoire-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.histoire-img-secondary {
  position: absolute;
  width: 55%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  bottom: -10%;
  right: -8%;
  border: 3px solid var(--bg-dark);
}

.histoire-content {
  padding: 1rem 0;
}

.histoire-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.histoire-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.fact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: border-color var(--transition), transform var(--transition);
}

.fact-card:hover {
  border-color: var(--border-fire);
  transform: translateY(-2px);
}

.fact-card .fact-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.fact-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.fact-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Carte / Menu ------------------------------------ */
#carte {
  padding: var(--section-pad) 0;
  background: var(--bg-section-alt);
}

.menu-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,160,64,0.08);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: var(--accent-gold);
  margin-bottom: 2.5rem;
}

/* Tabs */
.menu-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tab {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 1rem 1.5rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  white-space: nowrap;
}

.menu-tab:hover { color: var(--text-secondary); }

.menu-tab.active {
  color: var(--accent-fire);
  border-bottom-color: var(--accent-fire);
}

.menu-panel { display: none; }
.menu-panel.active { display: block; }

/* Pizza grid */
.pizza-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pizza-card {
  background: var(--bg-card);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  transition: background var(--transition);
  position: relative;
}

.pizza-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent-fire);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--transition);
}

.pizza-card:hover { background: var(--bg-card-hover); }
.pizza-card:hover::before { transform: scaleY(1); }

.pizza-info { flex: 1; min-width: 0; }

.pizza-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.pizza-ingredients {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pizza-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.pizza-supplement {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  font-style: italic;
}

.pizza-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 2px;
  margin-bottom: 0.3rem;
}

.pizza-tag--local {
  background: rgba(201,160,64,0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(201,160,64,0.2);
}

.pizza-tag--vege {
  background: rgba(76,175,80,0.12);
  color: #7BC67E;
  border: 1px solid rgba(76,175,80,0.2);
}

.pizza-tag--signature {
  background: rgba(232,82,26,0.12);
  color: var(--accent-fire);
  border: 1px solid rgba(232,82,26,0.2);
}

/* Prix range info */
.menu-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.menu-footer-info {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.menu-footer-info strong {
  color: var(--text-secondary);
}

/* ---------- Galerie ----------------------------------------- */
#galerie {
  padding: var(--section-pad) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 6px;
}

.gallery-item {
  overflow: hidden;
  cursor: zoom-in;
  border-radius: var(--radius);
  position: relative;
  background: var(--bg-card);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6),
.gallery-item:nth-child(11) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow), filter var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.85);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.gallery-overlay svg {
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--transition);
  color: #fff;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(0,0,0,0.2);
}

.gallery-item:hover .gallery-overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
  cursor: default;
  animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  padding: 0.5rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all var(--transition);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ---------- Avis -------------------------------------------- */
#avis {
  padding: var(--section-pad) 0;
  background: var(--bg-section-alt);
}

.rating-showcase {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.rating-main {
  text-align: center;
  padding: 2rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.rating-score {
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--text-primary);
  line-height: 1;
}

.rating-stars {
  color: var(--accent-gold);
  font-size: 1.3rem;
  letter-spacing: 3px;
  margin: 0.25rem 0;
}

.rating-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rating-platforms {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.platform-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.platform-name {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: 140px;
  flex-shrink: 0;
}

.platform-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  min-width: 100px;
}

.platform-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-fire), var(--accent-gold));
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.platform-score {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  width: 40px;
  text-align: right;
  flex-shrink: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 1.25rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}

.review-card:hover {
  border-color: var(--border-warm);
  transform: translateY(-2px);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.reviewer-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.reviewer-stars {
  color: var(--accent-gold);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: italic;
}

.review-source {
  margin-top: 1rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Horaires ---------------------------------------- */
#horaires {
  padding: var(--section-pad) 0;
}

.horaires-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.horaires-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.horaires-table-header {
  background: var(--bg-card-hover);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.horaires-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.horaires-row:last-child { border-bottom: none; }
.horaires-row:hover { background: var(--bg-card-hover); }

.horaires-row.today {
  background: rgba(232,82,26,0.07);
  border-left: 2px solid var(--accent-fire);
}

.horaires-row.today .day-name { color: var(--accent-fire); }

.day-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.day-hours {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.day-hours.closed {
  color: var(--text-muted);
  font-weight: 400;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.status-badge--open {
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.25);
  color: #7BC67E;
}

.status-badge--closed {
  background: rgba(232,82,26,0.1);
  border: 1px solid rgba(232,82,26,0.2);
  color: var(--accent-fire);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-badge--open .status-dot {
  animation: pulse-green 2s ease-in-out infinite;
}

.horaires-infos {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color var(--transition);
}

.info-card:hover { border-color: var(--border-warm); }

.info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.info-body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.info-body p, .info-body a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.info-body a:hover { color: var(--accent-gold); }

.note-incertitude {
  background: rgba(201,160,64,0.06);
  border: 1px solid rgba(201,160,64,0.15);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  color: var(--accent-gold);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* ---------- Contact ----------------------------------------- */
#contact {
  padding: var(--section-pad) 0;
  background: var(--bg-section-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}

.contact-row:hover { border-color: var(--border-warm); }

.contact-row-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-row-body strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-row-body a,
.contact-row-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.contact-row-body a:hover { color: var(--accent-gold); }

.map-embed {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
}

.map-embed iframe {
  width: 100%;
  flex: 1;
  border: none;
  display: block;
}

.map-cta {
  padding: 1rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  text-align: center;
}

/* ---------- Footer ------------------------------------------ */
footer {
  background: var(--bg-medium);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-brand-logo {
  max-width: 240px;
  margin-bottom: 1.25rem;
  filter: brightness(0.9);
  border-radius: 8px;
}

.footer-brand-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 260px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text-secondary); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--text-secondary); }

/* ---------- Mentions légales drawer ------------------------- */
.mentions-legales {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  display: none;
}

.mentions-legales.open { display: block; }

.mentions-legales h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.mentions-legales h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin: 1.5rem 0 0.5rem;
}

.mentions-legales p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 700px;
}

/* ---------- Animations -------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* Scroll reveal — up (default) */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll reveal — from left */
[data-reveal-left] {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal-left].revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Scroll reveal — from right */
[data-reveal-right] {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal-right].revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Scroll reveal — scale up */
[data-reveal-scale] {
  opacity: 0;
  transform: scale(0.93) translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal-scale].revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

[data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal-delay="300"] { transition-delay: 0.3s; }
[data-reveal-delay="400"] { transition-delay: 0.4s; }
[data-reveal-delay="500"] { transition-delay: 0.5s; }

/* ---------- Video Section ----------------------------------- */
.video-player-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1280 / 674;
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
  cursor: pointer;
}

.section-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.45) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

.video-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-play-btn {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--accent-fire);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
  animation: pulse-play 2.2s ease-in-out infinite;
}

.video-play-btn:hover {
  transform: scale(1.1);
  background: var(--accent-fire-light);
}

.video-play-btn svg {
  margin-left: 4px; /* optical center for triangle */
}

@keyframes pulse-play {
  0%  { box-shadow: 0 0 0 0 rgba(232,82,26,0.5); }
  60% { box-shadow: 0 0 0 22px rgba(232,82,26,0); }
  100%{ box-shadow: 0 0 0 0 rgba(232,82,26,0); }
}

/* ---------- Responsive -------------------------------------- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  .nav-menu {
    display: none;
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    background: rgba(8,5,3,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 0.25rem;
    overflow-y: auto;
  }

  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }

  .nav-menu a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    letter-spacing: 0.08em;
    border-radius: var(--radius-md);
  }

  .nav-menu a:not(.nav-cta)::after { display: none; }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .highlights-inner {
    flex-direction: column;
    align-items: center;
  }

  .highlight-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }

  .highlight-item:last-child { border-bottom: none; }

  .histoire-grid {
    grid-template-columns: 1fr;
  }

  .histoire-img-secondary { display: none; }

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

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6),
  .gallery-item:nth-child(11) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .histoire-facts {
    grid-template-columns: 1fr 1fr;
  }

  .rating-showcase {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox-nav { display: none; }
}

@media (max-width: 768px) {
  .menu-tabs {
    flex-direction: column !important;
    border-bottom: none !important;
    gap: 0.5rem !important;
    margin-bottom: 1.75rem !important;
    overflow-x: visible !important;
  }

  .menu-tab {
    flex-shrink: unset !important;
    width: 100% !important;
    border-bottom: none !important;
    border-left: 3px solid transparent !important;
    text-align: left !important;
    padding: 0.9rem 1.25rem !important;
    background: rgba(255,255,255,0.03) !important;
    border-radius: 0 4px 4px 0 !important;
    white-space: normal !important;
  }

  .menu-tab.active {
    border-left-color: var(--accent-fire) !important;
    border-bottom-color: transparent !important;
    background: rgba(232,82,26,0.08) !important;
    color: var(--accent-fire) !important;
  }
}

@media (max-width: 480px) {
  .menu-tab { padding: 0.85rem 1rem; font-size: 0.72rem; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
  }

  .histoire-facts {
    grid-template-columns: 1fr;
  }
}

/* ---------- Focus / Accessibility --------------------------- */
:focus-visible {
  outline: 2px solid var(--accent-fire);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* High contrast selection */
::selection {
  background: rgba(232,82,26,0.3);
  color: var(--text-primary);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print */
@media print {
  #navbar, .hero-scroll, .lightbox, .btn,
  .hero-actions, .gallery-item .gallery-overlay { display: none; }
  body { background: white; color: black; }
}
