:root {
  --primary-color: #721422;
  --primary-hover: #8B1C2F;
  --secondary-color: #D4AF37;
  --secondary-hover: #B8941F;
  --accent-color: #F1FAEE;
  --dark-color: #1D3557;
  --light-color: #F7FFF7;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #721422 0%, #D4AF37 100%);
  --gradient-3: linear-gradient(135deg, #457B9D 0%, #A8DADC 100%);
  --text-color: #2D3047;
  --text-light: #6B7280;
  --text-white: #fff;
  --bg-color: #fff;
  --bg-light: #F9FAFB;
  --bg-dark: #1F2937;
  --border-color: #E5E7EB;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-hover: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(114, 20, 34, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

/* Header default state (hero section) */
.header .nav-link {
  color: white;
}

.header .nav-link:hover {
  color: #D4AF37;
}

.header .nav-link::after {
  background: #D4AF37;
}

.header .bar {
  background: white;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
}

.header.scrolled .nav-link {
  color: var(--text-color);
}

.header.scrolled .nav-link:hover {
  color: var(--primary-color);
}

.header.scrolled .nav-link::after {
  background: var(--primary-color);
}

.header.scrolled .bar {
  background: var(--text-color);
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.nav-social {
  display: none;
}

.facebook-link {
  font-size: 24px;
  color: white;
  transition: var(--transition);
}

.facebook-link:hover {
  color: #D4AF37;
  transform: scale(1.1);
}

.header.scrolled .facebook-link {
  color: #1877F2;
}

.header.scrolled .facebook-link:hover {
  color: var(--primary-color);
}

.nav-facebook-desktop {
  display: flex;
  align-items: center;
  margin-left: 2rem;
}

/* Masquer le titre mobile sur desktop */
.nav-title-mobile {
  display: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.bar {
  width: 25px;
  height: 3px;
  transition: var(--transition);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-white);
  overflow: hidden;
  padding-top: 5rem;
  background: linear-gradient(135deg, #0D0B0D 0%, #1A1012 50%, #2D1B20 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.animated-bg {
  width: 100%;
  height: 100%;
  position: relative;
}

.gradient-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(230, 57, 70, 0.02) 0%, 
    rgba(139, 20, 34, 0.03) 25%,
    rgba(92, 17, 29, 0.02) 50%,
    rgba(61, 10, 19, 0.03) 75%,
    rgba(13, 11, 13, 0.02) 100%);
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { opacity: 0.2; transform: scale(1) rotate(0deg); }
  25% { opacity: 0.3; transform: scale(1.1) rotate(1deg); }
  50% { opacity: 0.25; transform: scale(1.05) rotate(-1deg); }
  75% { opacity: 0.35; transform: scale(1.08) rotate(0.5deg); }
}

.spotlight {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.spotlight-1 {
  background: var(--primary-color);
  top: -150px;
  left: -150px;
  animation: spotlightMove1 20s ease-in-out infinite;
}

.spotlight-2 {
  background: var(--secondary-color);
  bottom: -150px;
  right: -150px;
  animation: spotlightMove2 25s ease-in-out infinite;
}

.spotlight-3 {
  background: var(--accent-color);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spotlightPulse 15s ease-in-out infinite;
}

@keyframes spotlightMove1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(100px, 50px) scale(1.2); }
  66% { transform: translate(50px, 100px) scale(0.9); }
}

@keyframes spotlightMove2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-100px, -50px) scale(0.8); }
  66% { transform: translate(-50px, -100px) scale(1.3); }
}

@keyframes spotlightPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.5; }
}

/* Theater Curtains */
.theater-curtains {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.curtain-container {
  position: absolute;
  top: 0;
  width: 60%;
  height: 110%;
  z-index: 2;
}

.curtain-left {
  left: 50%;
  transform: translateX(-100%) perspective(800px) rotateY(15deg);
  transform-origin: right center;
  animation: openCurtainLeft 4s ease-out forwards 2s;
}

.curtain-right {
  right: 50%;
  transform: translateX(100%) perspective(800px) rotateY(-15deg);
  transform-origin: left center;
  animation: openCurtainRight 4s ease-out forwards 2s;
}

@keyframes openCurtainLeft {
  from {
    left: 50%;
    transform: translateX(-100%) perspective(800px) rotateY(15deg);
  }
  to {
    left: 50%;
    transform: translateX(-200%) perspective(800px) rotateY(15deg);
  }
}

@keyframes openCurtainRight {
  from {
    right: 50%;
    transform: translateX(100%) perspective(800px) rotateY(-15deg);
  }
  to {
    right: 50%;
    transform: translateX(200%) perspective(800px) rotateY(-15deg);
  }
}

.curtain-panel {
  position: relative;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top,
    #721422 0%,
    #5C111D 40%,
    #3D0A13 100%);
  overflow: hidden;
  box-shadow: 
    0 0 50px rgba(0,0,0,0.8),
    inset -20px 0 60px rgba(0,0,0,0.5),
    inset 20px 0 60px rgba(0,0,0,0.3);
}

/* Curtain Waves for realistic draping */
.curtain-wave {
  position: absolute;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(139,0,0,0.3) 20%,
    rgba(220,20,60,0.2) 40%,
    rgba(139,0,0,0.4) 60%,
    rgba(0,0,0,0.2) 80%,
    transparent 100%);
  transform-origin: top center;
}

.curtain-wave-1 {
  left: 0%;
  animation: curtainWave 8s ease-in-out infinite;
}

.curtain-wave-2 {
  left: 18%;
  animation: curtainWave 8s ease-in-out infinite 0.5s;
}

.curtain-wave-3 {
  left: 36%;
  animation: curtainWave 8s ease-in-out infinite 1s;
}

.curtain-wave-4 {
  left: 54%;
  animation: curtainWave 8s ease-in-out infinite 1.5s;
}

.curtain-wave-5 {
  left: 72%;
  animation: curtainWave 8s ease-in-out infinite 2s;
}

@keyframes curtainWave {
  0%, 100% {
    transform: scaleX(1) translateX(0);
  }
  25% {
    transform: scaleX(1.1) translateX(5px);
  }
  50% {
    transform: scaleX(0.95) translateX(-3px);
  }
  75% {
    transform: scaleX(1.05) translateX(2px);
  }
}

.curtain-inner-shadow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 8px,
    rgba(0,0,0,0.15) 8px,
    rgba(0,0,0,0.15) 10px,
    transparent 10px,
    transparent 18px,
    rgba(255,255,255,0.03) 18px,
    rgba(255,255,255,0.03) 20px
  );
}

/* Tassel decoration */
.curtain-tassel {
  position: absolute;
  bottom: 50%;
  width: 60px;
  height: 100px;
  z-index: 3;
}

.curtain-left .curtain-tassel {
  right: -30px;
}

.curtain-right .curtain-tassel {
  left: -30px;
}

.curtain-tassel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 60px;
  background: linear-gradient(to bottom,
    #D4AF37,
    #B8941F);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.curtain-tassel::after {
  content: '';
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 50px;
  background: radial-gradient(ellipse at center,
    #D4AF37 0%,
    #B8941F 50%,
    #8B6914 100%);
  border-radius: 50% 50% 60% 60%;
  box-shadow: 
    0 5px 15px rgba(0,0,0,0.4),
    inset 0 -5px 10px rgba(0,0,0,0.2);
}

/* Valance (top curtain) - simplified without golden bands */
.curtain-valance {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20%;
  z-index: 3;
  animation: valanceReveal 2s ease-out forwards;
}

@keyframes valanceReveal {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

.valance-center {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 80%;
  background: linear-gradient(to bottom,
    #5C111D 0%,
    #721422 50%,
    #5C111D 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.valance-drape {
  position: absolute;
  top: 70%;
  width: 35%;
  height: 50%;
  background: radial-gradient(ellipse at top,
    #721422 0%,
    #5C111D 100%);
  box-shadow: 
    0 5px 20px rgba(0,0,0,0.6),
    inset 0 5px 10px rgba(0,0,0,0.3);
}

.valance-drape-left {
  left: 8%;
  border-radius: 0 0 50% 20%;
  transform: rotate(-5deg);
}

.valance-drape-right {
  right: 8%;
  border-radius: 0 0 20% 50%;
  transform: rotate(5deg);
}

/* Additional Details */
.curtain-fold-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 60px,
    rgba(0,0,0,0.15) 60px,
    rgba(0,0,0,0.15) 61px,
    transparent 61px,
    transparent 80px,
    rgba(255,255,255,0.08) 80px,
    rgba(255,255,255,0.08) 81px,
    transparent 81px,
    transparent 120px
  );
  opacity: 0.6;
}

.curtain-rope {
  position: absolute;
  top: -10%;
  width: 8px;
  height: 40%;
  z-index: 4;
}

.curtain-left .curtain-rope {
  right: 20%;
}

.curtain-right .curtain-rope {
  left: 20%;
}

.curtain-rope::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    #8B4513 0px,
    #8B4513 4px,
    #A0522D 4px,
    #A0522D 8px
  );
  border-radius: 4px;
  box-shadow: 
    2px 0 5px rgba(0,0,0,0.3),
    -2px 0 5px rgba(0,0,0,0.3);
}

.curtain-rope::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: radial-gradient(circle,
    #8B4513 30%,
    #A0522D 60%,
    #654321 100%);
  border-radius: 50%;
  box-shadow: 0 5px 10px rgba(0,0,0,0.4);
}

/* Removed old hero image styles */

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards 3s;
  margin-top: 8rem;
}

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

.stage-lights {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 60px;
}

.light {
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--accent-color),
              0 0 40px var(--accent-color),
              0 0 60px var(--accent-color);
  animation: lightFlicker 3s ease-in-out infinite;
}

.light:nth-child(2) { animation-delay: 0.5s; }
.light:nth-child(3) { animation-delay: 1s; }
.light:nth-child(4) { animation-delay: 1.5s; }

@keyframes lightFlicker {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.title-main {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #FFD700, #F4E4BC, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.2); }
}

.title-accent {
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 300;
  color: #E8D5B7;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero-season {
  color: var(--secondary-color);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 600;
  margin: 1.2rem 0;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  margin-bottom: 1.5rem;
  opacity: 0.95;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 120px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  text-shadow: 0 0 20px rgba(241, 250, 238, 0.5);
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  opacity: 0;
  animation: bounce 2s ease-in-out infinite, scrollAppear 1s ease-out forwards 6s;
}

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

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

.scroll-text {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.7;
}

.scroll-arrow {
  font-size: 1.5rem;
  opacity: 0.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  min-width: 200px;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.btn-primary:disabled,
.btn-primary.btn-disabled {
  background: #999;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.btn-primary:disabled:hover,
.btn-primary.btn-disabled:hover {
  background: #999;
  transform: none;
  box-shadow: none;
}

/* Bouton Complet dans les tableaux */
.btn-complet {
  background: #d32f2f;
  border: 2px solid #d32f2f;
  color: white !important;
  cursor: not-allowed;
  opacity: 1;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(211, 47, 47, 0.4);
}

.btn-complet:disabled {
  color: white !important;
  background: #d32f2f;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(211, 47, 47, 0.4);
}

.btn-sm.btn-complet {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 4px 15px rgba(168, 218, 220, 0.2);
}

.btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--dark-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 218, 220, 0.3);
}

.btn-success {
  background: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
  transition: var(--transition);
}

.btn-success:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-success i {
  margin-right: 0.5rem;
}

.btn:disabled,
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn:disabled:hover,
button:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Number input wrapper avec boutons + et - */
.number-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 140px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.number-input-wrapper input[type="number"] {
  width: 60px;
  text-align: center;
  border: none;
  padding: 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  -moz-appearance: textfield;
  background: white;
}

.number-input-wrapper input[type="number"]::-webkit-outer-spin-button,
.number-input-wrapper input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.number-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg-light);
  color: var(--text-color);
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.number-btn:hover:not(:disabled) {
  background: var(--primary-color);
  color: white;
}

.number-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.number-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.number-btn.minus {
  border-right: 1px solid var(--border-color);
}

.number-btn.plus {
  border-left: 1px solid var(--border-color);
}

.btn-icon {
  font-size: 1.2rem;
}
/* Boutons du hero plus grands */
.hero .btn {
  padding: 12px 24px;
  font-size: 1rem;
  justify-content: space-between;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

.btn-outline.active {
  background: var(--primary-color);
  color: var(--text-white);
}

.btn-sm {
  padding: 4px 8px;
  font-size: 0.7rem;
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Spectacles */
.spectacles {
  background: var(--bg-light);
}

.spectacles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.spectacle-card {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  flex: 0 1 350px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
}

/* Optimisation tablettes (481px-820px) - Grid 2 colonnes avec tailles desktop */
@media (min-width: 481px) and (max-width: 820px) {
  .spectacles-grid {
    display: grid;
    grid-template-columns: repeat(2, 350px);
    grid-auto-rows: 1fr;
    gap: 2rem;
    justify-content: center;
  }

  .spectacle-card {
    flex: 0 1 350px;
    max-width: 350px;
    width: 350px;
    height: 100%;
    grid-row: span 1;
  }
}

.spectacle-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Carte spectacle complet */
.spectacle-card.complet {
  opacity: 0.8;
  filter: grayscale(30%);
}

.spectacle-card.complet:hover {
  transform: translateY(-2px);
}

.spectacle-card.complet .spectacle-content h3 {
  color: #999;
}

.spectacle-card.complet .date-complet {
  color: #d32f2f;
  font-weight: 700;
}

.spectacle-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.spectacle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: var(--transition);
}

.spectacle-image-clickable {
  cursor: pointer;
}

/* Styles pour les vidéos dans le modal détails */
.videos-section {
  margin: 2rem 0;
}

.videos-section h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.video-item {
  margin-bottom: 1.5rem;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.video-title {
  margin-top: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
  text-align: center;
}

.spectacle-card:hover .spectacle-image img {
  transform: scale(1.05);
}

.spectacle-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.spectacle-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.spectacle-description {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spectacle-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  justify-content: center;
}
.spectacle-buttons .btn {
  flex: 1;
  max-width: 160px;
  min-width: 90px;
}

/* Compteur de spectacles */
.spectacles-counter {
  text-align: center;
  margin: 0.5rem 0 2rem 0;
}

.spectacles-counter #spectacles-count-display {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(184, 92, 110, 0.1);
  color: var(--primary-color);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid rgba(184, 92, 110, 0.2);
  transition: var(--transition);
}

.spectacles-counter #spectacles-count-display:hover {
  background: rgba(184, 92, 110, 0.15);
  transform: translateY(-2px);
}

.spectacles-counter i {
  font-size: 1.1rem;
}

/* Responsive compteur spectacles */
@media (max-width: 768px) {
  .spectacles-counter {
    margin: 1rem 0 1.5rem 0;
  }
  
  .spectacles-counter #spectacles-count-display {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Barre de recherche spectacles */
.spectacles-search-container {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
}

.search-input-wrapper {
  position: relative;
  max-width: 500px;
  width: 100%;
}

.search-input-wrapper .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1rem;
  z-index: 2;
}

#spectacles-search {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  font-size: 1rem;
  background: var(--bg-color);
  transition: var(--transition);
}

#spectacles-search:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(114, 20, 34, 0.1);
}

.clear-search-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition);
}

.clear-search-btn:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

/* États de chargement et résultats vides */
.spectacles-grid {
  min-height: 400px;
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  font-size: 1.2rem;
  color: var(--text-light);
  width: 100%;
}

.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  text-align: center;
  width: 100%;
  color: var(--text-light);
}

.no-results i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.no-results h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Pagination */
.spectacles-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-btn {
  padding: 0.75rem 1rem;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pagination-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}

.pagination-btn.active {
  background: var(--primary-color);
  color: white;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-btn:disabled:hover {
  background: transparent;
  color: var(--primary-color);
  transform: none;
}

/* Informations spectacle enrichies */
.spectacle-performer {
  font-size: 0.9rem;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.spectacle-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
}

.spectacle-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.spectacle-date,
.spectacle-duration {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.spectacle-date i,
.spectacle-duration i {
  color: var(--secondary-color);
}

/* Section Restaurant */
.restaurant {
  background: var(--bg-white);
  padding: 4rem 0;
}

.restaurant-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.restaurant-text {
  padding-right: 2rem;
}

.restaurant .section-title {
  margin-bottom: 3rem;
}

.restaurant-content {
  margin-top: 2rem;
}

.restaurant-text h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.restaurant-text p {
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.restaurant-text ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.restaurant-text ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  line-height: 1.6;
}

.restaurant-text ul li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

.restaurant-closing {
  margin-top: 2rem;
  font-style: italic;
  color: var(--secondary-color);
  font-size: 1.2rem;
  font-weight: 500;
}

.restaurant-text .map-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.restaurant-text .map-link:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.restaurant-image {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.restaurant-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.restaurant-image:hover img {
  transform: scale(1.05);
}

/* Responsive pour la section Restaurant */
@media (max-width: 968px) {
  .restaurant-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .restaurant-text {
    padding-right: 0;
  }

  .restaurant-image {
    height: 350px;
  }

}

@media (max-width: 600px) {
  .restaurant {
    padding: 2.5rem 0;
  }

  .restaurant-text h3 {
    font-size: 1.25rem;
  }

  .restaurant-image {
    height: 250px;
  }
}

/* Calendrier */
.calendrier {
  background: var(--bg-light);
}

.calendar-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Boutons spécifiques de vue calendrier/tableau */
.calendar-view-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  min-width: 220px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.calendar-view-btn:hover {
  background: var(--primary-color);
  color: var(--text-white);
  transform: translateY(-2px);
}

.calendar-view-btn.active {
  background: var(--primary-color);
  color: var(--text-white);
}

.calendar-view-btn .btn-text {
  flex: 1;
  text-align: left;
}

.calendar-view-btn .btn-icon {
  font-size: 1.2rem;
}

.calendar-container,
.table-container {
  display: none;
}

.calendar-container.active,
.table-container.active {
  display: block;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.calendar-nav {
  background: var(--primary-color);
  color: var(--text-white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-nav:hover {
  background: var(--primary-hover);
  transform: scale(1.1);
}

#current-month {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.calendar-day {
  background: var(--bg-color);
  padding: 1rem;
  min-height: 100px;
  position: relative;
  transition: var(--transition);
}

.calendar-day.other-month {
  background: var(--bg-light);
  color: var(--text-light);
}

.calendar-day.has-event {
  background: linear-gradient(135deg, #B85C6E 0%, #D4758A 50%, #E689A1 100%);
  color: var(--text-color);
  cursor: pointer;
}

.calendar-day.has-event:hover {
  background: linear-gradient(135deg, #A52A4A 0%, #C13356 50%, #D4758A 100%);
  color: var(--text-white);
}

.calendar-day-number {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.calendar-event {
  background: var(--primary-color);
  color: var(--text-white);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 2px;
  transition: var(--transition);
}

.calendar-event.clickable {
  cursor: pointer;
}

.calendar-event.clickable:hover {
  background: var(--secondary-color);
  transform: scale(1.02);
}

.calendar-event .event-time {
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text-white);
  margin-bottom: 2px;
}

.calendar-event .event-title {
  font-size: 0.75rem;
  line-height: 1.1;
  color: var(--text-white);
  opacity: 0.95;
}

/* Table */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.spectacles-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-color);
}

.spectacles-table th,
.spectacles-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.spectacles-table th {
  background: var(--primary-color);
  color: var(--text-white);
  font-weight: 600;
}

.spectacles-table tbody tr:hover {
  background: var(--bg-light);
}

/* Actions du tableau */
.spectacles-table td:last-child {
  white-space: nowrap;
  text-align: center;
}

.spectacles-table td:last-child .btn {
  display: inline-block;
  vertical-align: top;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  min-width: auto;
}

/* Status des places */
.status {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
}

.status.available {
  background: #d4edda;
  color: #155724;
}

.status.sold-out {
  background: #f8d7da;
  color: #721c24;
}

/* Pagination du tableau */
.table-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  padding: 1rem;
}

.table-pagination .pagination {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Galerie */
.galerie {
  background: var(--bg-color);
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.gallery-item {
  position: relative;
  width: 300px;
  height: 200px;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(139, 21, 56, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: var(--text-white);
  font-size: 2rem;
}

/* Gallery Pagination */
.gallery-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.gallery-pagination .pagination-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-pagination .pagination-btn {
  padding: 0.75rem 1rem;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.gallery-pagination .pagination-btn:hover:not(:disabled) {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
}

.gallery-pagination .pagination-btn.active {
  background: var(--primary-color);
  color: white;
}

.gallery-pagination .pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.gallery-pagination .pagination-btn:disabled:hover {
  background: transparent;
  color: var(--primary-color);
  transform: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--primary-color);
  color: var(--text-white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 1001;
}

.lightbox-close:hover {
  background: var(--primary-hover);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-color);
  border: 2px solid var(--text-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.lightbox-nav:hover {
  background: var(--text-white);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

#lightbox-image {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--border-radius);
}

/* About */
.about {
  background: var(--bg-light);
}

.about-content {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.7;
}

.about-features {
  margin-top: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature i {
  color: var(--secondary-color);
  font-size: 2rem;
  width: 60px;
  text-align: center;
}

.feature h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-light);
  margin: 0;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* Contact */
.contact {
  background: var(--bg-color);
}

.contact-content {
  display: flex;
  gap: 3rem;
}

.contact-map {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-map iframe {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-info {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-info h3 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.map-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0;
}

.contact-item i {
  color: var(--secondary-color);
  font-size: 1.3rem;
  width: 30px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-item p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-item a {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--primary-color);
}

.contact-form {
  flex: 1;
  background: var(--bg-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 500px;
}

.contact-form h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--bg-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 21, 56, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Grille responsive pour les tarifs */
.tickets-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* 2 colonnes à partir de 480px */
@media (min-width: 480px) {
  .tickets-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3 colonnes à partir de 768px si plus de 2 éléments visibles */
@media (min-width: 768px) {
  .tickets-pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

/* Ajustements pour les form-group dans la grille */
.tickets-pricing-grid .form-group {
  margin-bottom: 0;
}

.tickets-pricing-grid .form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  display: block;
}

/* Pricing summary styling */
.pricing-summary {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color);
}

/* Responsive pour mobile < 480px uniquement */
@media (max-width: 479px) {
  .pricing-summary-separator {
    display: none;
  }

  .pricing-summary-tickets,
  .pricing-summary-price {
    display: block;
  }
}

.pricing-summary #total-tickets,
.pricing-summary #estimated-price {
  font-weight: 600;
  color: var(--primary-color);
}

/* Copy places icon */
.copy-places-icon {
  margin-left: 0.5rem;
  color: #666;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
  padding: 0.2rem;
}

.copy-places-icon:hover {
  background: var(--bg-light);
  color: var(--secondary-color);
  transform: scale(1.15);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1.4rem;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  color: #721422;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(114, 20, 34, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: #721422;
  color: white;
  transform: scale(1.05);
}

.modal-content h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.reservation-info {
  background: var(--bg-light);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.reservation-info p {
  margin: 0.5rem 0;
}

/* Modal détails spectacle */
.modal-details {
  max-width: 1500px;
  width: auto;
  min-width: 1100px;
  padding: 0;
  max-height: 95vh;
  overflow-y: auto;
  position: relative;
}

/* Loading du modal */
.modal-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  border-radius: var(--border-radius);
}

.modal-loading:not(.hidden) {
  display: flex;
}

.modal-loading.hidden {
  display: none;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.modal-loading p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}
.modal-details-content {
  display: flex;
  gap: 2.5rem;
  padding: 2rem;
  flex-direction: row;
  min-height: auto;
  overflow: visible;
}

/* Image verticale : GRANDE taille, float à gauche */
.modal-details-content.image-vertical .details-image {
  float: left;
  width: 480px;
  margin: 0 2.5rem 1.5rem 0;
  clear: left;
}

.modal-details-content.image-vertical .details-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

/* Image horizontale : TRÈS GRANDE taille, float à gauche */
.modal-details-content.image-horizontal .details-image {
  float: left;
  width: 650px;
  margin: 0 2.5rem 1.5rem 0;
  clear: left;
}

.modal-details-content.image-horizontal .details-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

/* Image carrée : GRANDE taille, float à gauche */
.modal-details-content.image-square .details-image {
  float: left;
  width: 520px;
  margin: 0 2.5rem 1.5rem 0;
  clear: left;
}

.modal-details-content.image-square .details-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}


/* Le contenu coule naturellement autour de l'image */
.modal-details-content .details-info {
  overflow: visible;
}

/* Clearfix pour contenir les floats */
.modal-details-content::after {
  content: "";
  display: table;
  clear: both;
}

/* Gestion des dates multiples */
.dates-list {
  max-height: none;
}

.dates-list.collapsed {
  max-height: 200px;
  overflow: hidden;
  position: relative;
}

.dates-list.collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(transparent, white);
  pointer-events: none;
}

.show-more-dates {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.show-more-dates:hover {
  background: var(--secondary-hover);
  transform: translateY(-1px);
}
.details-image {
  /* Propriétés par défaut, surchargées par les classes spécifiques */
  display: block;
}
.details-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  object-fit: cover;
}
.details-info {
  /* Le contenu coule naturellement autour de l'image flottante */
  overflow: visible;
}
.details-info h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.details-meta p {
  margin: 0.5rem 0;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.details-description {
  margin: 1.5rem 0;
}
.details-description p {
  line-height: 1.6;
  color: var(--text-color);
}

/* Sections détaillées du modal */
.dates-section, .pricing-section {
  margin: 1.5rem 0;
}

.dates-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.dates-toggle-btn {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.75rem;
  font-family: inherit;
}

.dates-toggle-btn:hover {
  background: var(--primary-color);
  color: white;
}

.dates-toggle-btn i {
  margin-right: 0.5rem;
}

.date-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
}

.date-day {
  font-weight: 600;
  color: var(--primary-color);
  min-width: 150px;
}

.date-time {
  font-weight: 600;
  color: var(--primary-color);
}


.date-note {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
}

.pricing-list {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.price-item {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Casting et équipe créative */
.cast-section, .creative-team-section, .themes-section {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
}

.cast-section h4, .creative-team-section h4, .themes-section h4 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cast-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cast-member {
  background: var(--secondary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.9rem;
}

.cast-member-detailed {
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background: white;
  border-radius: var(--border-radius);
  border-left: 3px solid var(--primary-color);
}

.cast-member-detailed strong {
  color: var(--primary-color);
}

.creative-team-list p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.themes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.theme-tag {
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.85rem;
  border: none;
}
/* Style par défaut pour .details-actions (sera caché sur mobile) */
.details-actions {
  display: none;
}

/* Optimisation modal tablettes (769px-820px) - Layout vertical */
@media (min-width: 769px) and (max-width: 820px) {
  .modal-details {
    max-width: 95%;
    width: 95%;
    min-width: auto;
  }

  .modal-details-content {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  /* Images centrées en haut */
  .modal-details-content.image-vertical .details-image,
  .modal-details-content.image-horizontal .details-image,
  .modal-details-content.image-square .details-image {
    float: none !important;
    margin: 0 auto 1.5rem auto !important;
    width: auto !important;
    max-width: 100% !important;
    display: block;
  }

  .modal-details-content .details-image img {
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* Cacher les boutons sous l'image */
  .modal-details-content .details-image .details-actions {
    display: none !important;
  }

  /* Créer des boutons en bas comme sur mobile */
  .details-info-tablet-actions {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
  }

  .details-info-tablet-actions .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* Montrer et styler les boutons sous l'image sur desktop >820px */
@media (min-width: 821px) {
  .modal-details-content .details-image .details-actions {
    display: flex !important;
    flex-direction: row;
    gap: 0.75rem;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }

  .modal-details-content .details-image .details-actions .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }
}
.details-reservation {
  padding: 2rem;
}
.details-reservation h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}
@media (max-width: 768px) {
  .modal-details {
    max-width: 95%;
    width: 95%;
    max-height: 95vh;
    min-width: auto;
  }

  .modal-details-content {
    flex-direction: column;
    padding: 1.5rem;
    min-height: auto;
  }

  /* Sur mobile, désactiver le float et revenir à un layout normal */
  .modal-details-content.image-vertical .details-image,
  .modal-details-content.image-horizontal .details-image,
  .modal-details-content.image-square .details-image {
    float: none !important;
    margin: 0 0 1.5rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .details-image {
    max-width: 100%;
    min-width: auto;
  }

  /* Sur mobile/tablette, cacher les boutons sous l'image */
  .modal-details-content .details-image .details-actions {
    display: none !important;
  }

  /* Et afficher les boutons après le contenu */
  .modal-details-content .details-info::after {
    content: "";
    display: block;
    clear: both;
  }

  /* Créer un espace pour les boutons en bas sur mobile */
  .details-info-mobile-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.5rem;
    width: 100%;
  }

  .details-info-mobile-actions .btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.9rem;
    text-align: center;
  }
  .form-actions {
    flex-direction: column;
    align-items: center;
  }
  
  /* Tailles de texte modal détails tablette */
  .modal-content h3 {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 1.2rem;
  }
  
  .details-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .details-info p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }
  
  .details-meta p {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0D0B0D 0%, #1A1012 50%, #2D1B20 100%);
  color: var(--text-white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.6);
}

.dev-credit {
  font-size: 0.9rem;
  opacity: 0.8;
}

.dev-credit a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
}

.dev-credit a:hover {
  color: var(--secondary-hover);
  text-decoration: underline;
}

/* Force visibility for problematic images */
img[data-force-visible] {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

/* Responsive Design */
@media (max-width: 820px) {
  body {
    font-size: 1.1rem;
  }

  .hero-content {
    padding: 1rem;
    margin-top: 4rem;
  }

  .title-main {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }

  .title-accent {
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
    letter-spacing: 1px;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 1rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .curtain-container {
    width: 70%;
  }

  .stage-lights {
    display: none;
  }

  /* Logo Facebook mobile visible en haut à droite */
  .nav-social {
    display: flex;
    position: absolute;
    right: 60px; /* À gauche du hamburger */
    top: 50%;
    transform: translateY(-50%);
  }

  /* Masquer le logo Facebook dans le menu desktop */
  .nav-facebook-desktop {
    display: none;
  }

  .nav-container {
    justify-content: center;
    min-height: 60px;
    position: relative;
  }

  /* Titre mobile centré - contrôlé par JavaScript selon visibilité du titre hero */
  .nav-title-mobile {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
  }

  .nav-title-mobile h1 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    text-align: center;
    white-space: nowrap;
  }

  /* Titre mobile suit la logique de couleur du header */
  .header.scrolled .nav-title-mobile h1 {
    color: var(--text-color);
  }

  .hamburger {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-menu {
    position: fixed;
    left: -300px;
    top: 0;
    flex-direction: column;
    background: rgba(114, 20, 34, 0.95);
    width: 280px;
    height: 100vh;
    text-align: left;
    transition: var(--transition);
    box-shadow: var(--shadow-hover);
    padding: 6rem 0 2rem;
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  /* Menu hamburger blanc quand header scrolled */
  .header.scrolled .nav-menu {
    background: rgba(255, 255, 255, 0.95);
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
    color: white;
  }
  
  /* Couleur des liens dans menu mobile quand header scrolled */
  .header.scrolled .nav-link {
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-link:hover {
    background: var(--primary-color);
    color: var(--text-white);
  }
  
  .hamburger {
    display: flex;
    z-index: 1001;
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .hero .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: 140px;
    flex: 1;
    max-width: 180px;
    white-space: nowrap;
  }

  .btn:not(.hero .btn) {
    width: 100%;
    max-width: 200px;
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .spectacles-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .spectacle-card {
    width: 100%;
    max-width: 400px;
  }
  
  
  .calendar-grid {
    font-size: 0.9rem;
  }
  
  .calendar-day {
    padding: 0.5rem;
    min-height: 80px;
  }
  
  .gallery-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .gallery-item {
    width: 100%;
    max-width: 400px;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .contact-content {
    flex-direction: column-reverse;
  }
  
  .contact-map {
    order: 2;
  }
  
  .contact-form {
    order: 1;
    margin-bottom: 2rem;
    max-width: 100%;
  }
  
  .contact-map iframe {
    height: 250px;
  }
  
  .map-info {
    padding: 1rem;
  }
  
  .map-info h3 {
    font-size: 1.1rem;
  }
  
  .map-info-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  
  .lightbox-prev {
    left: -60px;
  }
  
  .lightbox-next {
    right: -60px;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .contact-content {
    flex-direction: column-reverse;
  }
  
  .contact-form {
    order: 1;
    margin-bottom: 2rem;
  }
  
  .contact-map {
    order: 2;
  }
  
  .contact-map iframe {
    height: 200px;
  }
  
  .map-info {
    padding: 1.5rem;
  }
  
  .map-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  
  .map-info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hero-content {
    margin-top: 3rem;
    padding: 0.8rem;
  }
  
  .title-main {
    font-size: clamp(1.3rem, 9vw, 2rem);
  }
  
  .title-accent {
    font-size: clamp(0.8rem, 3.5vw, 1rem);
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 3.5vw, 1.1rem);
  }
  
  .hero-buttons {
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
  }

  .hero .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    max-width: none;
    width: auto;
    flex: 1;
    white-space: nowrap;
    min-width: 130px;
  }

  .calendar-controls {
    flex-direction: column;
    align-items: center;
  }

  .btn:not(.hero .btn) {
    padding: 0.8rem 1.2rem;
    font-size: 0.8rem;
    max-width: 200px;
    width: 100%;
  }
  
  .btn-text {
    font-size: 0.75rem;
  }
  
  .btn-icon {
    font-size: 1rem;
  }
  
  .stat-number {
    font-size: 1.3rem;
  }
  
  .stat-label {
    font-size: 0.65rem;
  }
  
  .calendar-day {
    padding: 0.25rem;
    min-height: 60px;
    font-size: 0.8rem;
  }
  
  /* Cartes spectacles mobile */
  .spectacle-card {
    max-width: 100%;
    flex: 1 1 100%;
    margin-bottom: 1.5rem;
  }
  
  .spectacle-image {
    height: 180px;
  }
  
  .spectacle-content {
    padding: 1rem;
  }
  
  .spectacle-content h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
  }
  
  .spectacle-performer {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .spectacle-description {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .spectacle-info {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .spectacle-info span {
    font-size: 0.75rem;
  }
  
  .spectacle-buttons {
    gap: 0.5rem;
    flex-direction: row;
    justify-content: space-between;
  }
  
  .spectacle-buttons .btn {
    flex: 1;
    max-width: 120px;
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  
  /* Tailles de texte modal détails mobile */
  .modal-content {
    padding: 1rem;
    margin: 0.5rem;
  }
  
  .modal-content h3 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  .details-info h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
  
  .details-info p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }
  
  .details-meta p {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }
  
  .details-description p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .details-actions {
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
    margin-top: 1rem;
  }
  
  .details-actions .btn {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
  
  .modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.4rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    color: #721422;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(114, 20, 34, 0.2);
  }
  
  .modal-close:hover {
    background: #721422;
    color: white;
    transform: scale(1.05);
  }
  
  /* Formulaire de réservation mobile */
  .details-reservation {
    padding: 1rem;
  }
  
  .details-reservation h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px;
    font-size: 0.9rem;
  }
  
  .form-group textarea {
    min-height: 80px;
  }
  
  .form-actions {
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
    margin-top: 1rem;
  }
  
  .form-actions .btn {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
  
  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
  
  .lightbox-nav {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  .lightbox-prev {
    left: -50px;
  }
  
  .lightbox-next {
    right: -50px;
  }
  
  .modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }
}

/* Animation keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

/* Focus styles */
*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Boutons calendrier adaptés pour tablettes/petits desktop */
@media (min-width: 821px) and (max-width: 1490px) {
  .calendar-view-btn {
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .calendar-view-btn .btn-text {
    flex: 1;
    text-align: left;
  }
  
  .calendar-view-btn .btn-icon {
    font-size: 1rem;
    margin-left: 0.5rem;
  }
}

/* Large screens */
@media (min-width: 1490px) {
  .hero-content {
    max-width: 1000px;
    padding: 2.5rem;
    margin-top: 10rem;
  }
  
  .title-main {
    font-size: clamp(3rem, 7vw, 4.5rem);
  }
  
  .title-accent {
    font-size: clamp(1rem, 2.2vw, 1.4rem);
    letter-spacing: 4px;
  }
  
  .hero-subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    max-width: 700px;
    margin-bottom: 2.5rem;
  }
  
  .hero .btn {
    padding: 14px 28px;
    font-size: 1.1rem;
    min-width: 240px;
  }
  .btn:not(.hero .btn) {
    padding: 6px 12px;
    font-size: 0.8rem;
    max-width: 180px;
  }
  
  .hero-stats {
    gap: 4rem;
    margin-bottom: 3rem;
  }
  
  .stat-number {
    font-size: 2.8rem;
  }
  
  .stat-label {
    font-size: 0.95rem;
  }
  
  .hero-scroll {
    bottom: 3rem;
  }
  
  .scroll-text {
    font-size: 1rem;
  }
  
  .scroll-arrow {
    font-size: 1.8rem;
  }
}

/* Print styles */
@media print {
  .header,
  .hamburger,
  .lightbox,
  .modal {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
}

/* Simple Calendar Styles */
.simple-calendar {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.simple-calendar-header {
  background: var(--primary-color);
  color: var(--text-white);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.simple-calendar-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.simple-nav {
  background: rgba(255,255,255,0.2);
  border: none;
  color: var(--text-white);
  font-size: 1.2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simple-nav:hover {
  background-color: rgba(255,255,255,0.3);
}

.simple-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--border-color);
}

.simple-day-header {
  background: #f8f9fc;
  color: var(--text-color);
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid #e8ebf0;
}

.simple-day {
  background: white;
  padding: 1.8rem 0.5rem 0.5rem 0.5rem;
  height: 110px;
  min-height: 110px;
  max-height: 110px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #e8ebf0;
  overflow: hidden;
}

.simple-day:hover {
  background: #f0f2f8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.simple-day-empty {
  background: #f1f3f7;
  color: var(--text-light);
  cursor: default;
  border: 1px solid #e0e4ea;
}

.simple-day-empty:hover {
  background: #f1f3f7;
  transform: none;
  box-shadow: none;
}

.simple-day-today {
  background: #f8e8eb;
  color: #8B2635;
  font-weight: bold;
  border: 2px solid #8B2635;
}

.simple-day-today .simple-day-number {
  color: #8B2635;
  font-weight: 700;
}

.simple-day-has-event {
  background: var(--primary-color);
  color: var(--text-white);
  cursor: pointer;
}

.simple-day-has-event:hover {
  background: var(--secondary-color);
}

.simple-day-number {
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  position: absolute;
  top: 0.3rem;
  left: 0.5rem;
}

.simple-event-card {
  background: rgba(255,255,255,0.95);
  color: var(--text-color);
  padding: 6px 8px;
  border-radius: 5px;
  font-size: 0.75rem;
  margin-bottom: 3px;
  transition: var(--transition);
  cursor: pointer;
  border-left: 3px solid var(--accent-color);
  backdrop-filter: blur(10px);
  max-width: 100%;
  min-height: 35px;
}

.simple-event-card:hover {
  background: var(--text-white);
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.simple-event-card .event-time {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--primary-color);
  margin-bottom: 2px;
}

.simple-event-card .event-title {
  font-weight: 400;
  font-size: 0.7rem;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  width: 100%;
}

/* Container pour plusieurs événements côte à côte */
.events-container {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

/* Cartes d'événements multiples - plus compactes */
.simple-event-card.multi-event {
  flex: 1;
  min-width: 0;
  padding: 4px 6px;
  min-height: 30px;
}

.simple-event-card.multi-event .event-time {
  font-size: 0.65rem;
}

.simple-event-card.multi-event .event-title {
  font-size: 0.6rem;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}

/* État complet pour les événements du calendrier */
.simple-event-card.complet {
  opacity: 0.7;
  background: #f5f5f5;
  border-left-color: #999;
}

.simple-event-card.complet .event-title {
  color: #666;
}

.simple-event-card.complet .event-time {
  color: #888;
}

.badge-complet {
  background: #d32f2f;
  color: white;
  font-size: 0.5rem;
  padding: 1px 3px;
  border-radius: 3px;
  font-weight: 700;
  margin-left: 3px;
  display: inline-block;
  vertical-align: middle;
}

/* Badge complet dans le calendrier */
.badge-complet-calendar {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #d32f2f;
  color: white;
  font-size: 0.45rem;
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 700;
  z-index: 1;
  line-height: 1;
}

.simple-event-card {
  position: relative;
}

.simple-event-card.multi-event .badge-complet-calendar {
  font-size: 0.4rem;
  padding: 1px 3px;
}

/* Badge complet dans le modal détails */
.badge-complet-detail {
  background: #d32f2f;
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 0.5rem;
  display: inline-block;
  vertical-align: middle;
}

.date-item.date-complete {
  opacity: 0.8;
}

.date-item.date-complete .date-day,
.date-item.date-complete .date-time {
  color: #666;
}

/* Marqueur calendrier dans le modal détails */
.calendar-marker {
  color: var(--primary-color);
  font-size: 1.2em;
  margin-right: 0.5rem;
}

.calendar-context {
  font-size: 0.9rem;
  color: var(--primary-color);
  background: rgba(184, 92, 110, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin-top: 0.5rem;
  border-left: 4px solid var(--primary-color);
  font-weight: 500;
}

@media (max-width: 768px) {
  .simple-day {
    padding: 0.5rem;
    min-height: 80px;
  }
  
  .simple-day-header {
    padding: 0.8rem;
    font-size: 0.8rem;
  }
  
  .simple-day-number {
    font-size: 1rem;
  }
  
  .simple-event-card {
    font-size: 0.7rem;
    padding: 2px 6px;
  }
}

/* Calendrier avec 5 colonnes sur tablette aussi */
@media (max-width: 768px) and (min-width: 481px) {
  .simple-calendar-grid {
    grid-template-columns: repeat(5, 1fr); /* 5 colonnes sur tablette aussi (mercredi à dimanche) */
  }
}

/* Vue tableau → cartes sur tablette et mobile */
@media (max-width: 820px) {
  /* Table vers cartes */
  .spectacles-table-wrapper {
    display: none !important;
  }
  
  .table-mobile-cards {
    display: block !important;
  }
  
  .table-mobile-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .table-mobile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    gap: 1rem;
  }
  
  .table-mobile-card-date {
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .table-mobile-card-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    flex: 1;
    min-width: 0;
  }
  
  .table-mobile-card-time {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .table-mobile-card-status {
    margin-bottom: 1rem;
  }
  
  .table-mobile-card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .table-mobile-card-actions .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

/* Optimisations calendrier pour tablette et mobile */
@media (max-width: 768px) {
  /* Optimisations calendrier pour très petits écrans */
  .simple-calendar-container {
    margin: 0 -1rem; /* Utiliser toute la largeur disponible */
    overflow-x: auto; /* Permettre le scroll horizontal si nécessaire */
  }
  
  .simple-calendar-header h3 {
    font-size: 1.2rem;
  }
  
  .simple-calendar-nav button {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .simple-calendar-grid {
    gap: 1px; /* Réduire l'espace entre les cellules */
    min-width: 100%; /* Assurer que toutes les colonnes sont visibles */
    grid-template-columns: repeat(5, 1fr); /* 5 colonnes sur mobile/tablette (mercredi à dimanche) */
  }
  
  /* Lundi et mardi sont gérés directement dans le JavaScript sur mobile/tablette (≤768px) */
  
  .simple-day {
    padding: 0.3rem 0.1rem !important;
    min-height: 45px; /* Hauteur réduite mais pas trop */
    max-height: 80px; /* Limite maximale pour éviter l'effet vertical */
    font-size: 0.75rem;
    overflow: hidden; /* Éviter les débordements */
  }
  
  .simple-day-number {
    font-size: 0.8rem !important;
    margin-bottom: 0.1rem;
    line-height: 1;
  }
  
  .simple-event-card {
    font-size: 0.6rem !important;
    padding: 1px 2px !important;
    margin-bottom: 1px;
    border-radius: 2px;
    line-height: 1.1;
    max-height: 20px; /* Limiter la hauteur des événements */
    overflow: hidden;
  }
  
  .event-time {
    display: inline;
    font-weight: 600;
    font-size: 0.55rem;
  }
  
  .event-title {
    display: inline;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.6rem;
    margin-left: 2px;
  }
  
  .multi-events-container {
    gap: 1px;
    flex-direction: column; /* Empiler verticalement sur mobile */
  }
  
  .simple-event-card.multi-event {
    flex: none;
    width: 100%;
    font-size: 0.55rem !important;
    padding: 1px 2px !important;
    max-height: 18px;
  }
}

/* Cacher les cartes par défaut */
.table-mobile-cards {
  display: none;
}

/* Style pour la date sélectionnée depuis le calendrier */
.date-item.calendar-selected {
  background: rgba(184, 92, 110, 0.1);
  border: 2px solid var(--primary-color);
  padding: 1rem;
  border-radius: 12px;
  margin: 0.8rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.date-item .date-main {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.date-item {
  transition: var(--transition);
  padding: 0.5rem 0;
}

/* Responsive pour les dates sélectionnées */
@media (max-width: 768px) {
  .date-item.calendar-selected {
    padding: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  
  .date-item .date-main {
    gap: 0.8rem;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .date-item.calendar-selected {
    padding: 0.6rem;
    gap: 0.6rem;
  }
  
  .date-item .date-main {
    gap: 0.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

.calendar-selection-badge {
  background: var(--primary-color);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.calendar-selection-badge i {
  font-size: 0.9rem;
}

/* Responsive pour le marqueur */
@media (max-width: 768px) {
  .calendar-selection-badge {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    gap: 0.3rem;
  }
  
  .calendar-selection-badge i {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .calendar-selection-badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    gap: 0.25rem;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .calendar-selection-badge i {
    font-size: 0.75rem;
  }

  /* Centrer les boutons du modal sur petits écrans */
  .details-info-mobile-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    width: 100%;
  }

  .details-info-mobile-actions .btn {
    width: 90%;
    max-width: 300px;
    padding: 0.9rem;
    font-size: 0.95rem;
    text-align: center;
    justify-content: center;
  }
}