/* ============================================
   Le Presstabar - Site Vitrine Premium
   Bar Tabac Presse Jeux - Saint-Jean-en-Royans
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #8B1A1A;
  --color-primary-light: #B22222;
  --color-primary-dark: #5C0E0E;
  --color-gold: #C8A45A;
  --color-gold-light: #E0C97A;
  --color-gold-dark: #A88A3A;
  --color-dark: #1A1A1A;
  --color-dark-soft: #2A2A2A;
  --color-cream: #FAF6F0;
  --color-cream-dark: #F0E8DA;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #FFFFFF;
  --color-overlay: rgba(26, 26, 26, 0.7);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --shadow-gold: 0 4px 20px rgba(200,164,90,0.3);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --container-max: 1200px;
  --section-padding: 100px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.7;
  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-base);
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

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

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

/* --- Section Styling --- */
.section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 16px;
  position: relative;
  padding: 0 20px;
}
.section-label::before,
.section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--color-gold);
}
.section-label::before { right: 100%; }
.section-label::after { left: 100%; }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Gold divider */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light), var(--color-gold-dark));
  margin: 20px auto;
  border-radius: 2px;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-base);
  padding: 16px 0;
}

.header.scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  height: 50px;
  width: auto;
  transition: height var(--transition-base);
}
.header.scrolled .header-logo img {
  height: 38px;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  color: var(--color-white);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  position: relative;
  letter-spacing: 0.3px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-gold);
  background: rgba(200, 164, 90, 0.1);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: all var(--transition-base);
  transform: translateX(-50%);
  border-radius: 1px;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 30px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold)) !important;
  color: var(--color-dark) !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-xl) !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold) !important;
}
.nav-cta::after { display: none !important; }

/* Burger menu */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-burger span {
  width: 28px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.nav-burger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(5.5px) translateX(5.5px);
}
.nav-burger.active span:nth-child(2) {
  opacity: 0;
}
.nav-burger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5.5px) translateX(5.5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-dark);
}

/* ---- Cinematic entrance for first slide ---- */
/* The intro animation runs the full hold duration (7s) and ends exactly
   at scale(1.08) + brightness(0.45) — matching the Ken Burns resting
   state, so there is zero snap when the slideshow takes over. */
.hero-slide--intro img {
  animation: heroIntroZoom 6.5s cubic-bezier(0.22, 0.6, 0.36, 1) forwards !important;
}

@keyframes heroIntroZoom {
  0% {
    transform: scale(1.2);
    filter: brightness(0) blur(4px);
    opacity: 0;
  }
  20% {
    opacity: 1;
    filter: brightness(0.25) blur(2px);
  }
  50% {
    filter: brightness(0.4) blur(0px);
  }
  100% {
    transform: scale(1.08);
    filter: brightness(0.45) blur(0px);
  }
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity, transform;
  background: var(--color-dark);
  z-index: 0;
  transition: opacity 2s ease-in-out;
}

/* Outgoing: stays visible underneath, fades out gently */
.hero-slide--out {
  opacity: 1;
  z-index: 1;
  transition: opacity 2.5s ease-in-out;
}
.hero-slide--fade-out {
  opacity: 0;
  z-index: 1;
}

/* Incoming: fades in on top */
.hero-slide--active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
  transform: scale(1.0);
  transition: transform 7s ease-in-out;
}

/* Ken Burns via CSS transition — no snap-back */
.hero-slide--active img,
.hero-slide--active video,
.hero-slide--out img,
.hero-slide--out video {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.4) 0%,
    rgba(26, 26, 26, 0.2) 40%,
    rgba(26, 26, 26, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

/* Hero brands strip */
.hero-brands {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  animation: fadeInDown 1.2s ease-out 1.2s both;
}
.hero-brand-item {
  transition: transform var(--transition-spring);
  cursor: default;
}
.hero-brand-item:hover {
  transform: scale(1.12) translateY(-4px);
}
.brand-tabac {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 4px 16px rgba(226, 0, 26, 0.6));
  animation: tabacGlow 3s ease-in-out infinite alternate;
}
@keyframes tabacGlow {
  0% { filter: drop-shadow(0 4px 16px rgba(226, 0, 26, 0.5)); }
  100% { filter: drop-shadow(0 6px 24px rgba(226, 0, 26, 0.8)); }
}
.brand-fdj svg,
.brand-loto svg,
.brand-presse svg,
.brand-amigo svg {
  height: 48px;
  filter: drop-shadow(0 3px 12px rgba(0,0,0,0.4));
}

.hero-title {
  margin-bottom: 0;
  animation: fadeInDown 1.4s ease-out 1.6s both;
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title-svg {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.7)) drop-shadow(0 0 25px rgba(212,168,67,0.2));
  overflow: visible;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--color-gold-light);
  margin-bottom: 20px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 4px;
  text-transform: uppercase;
  animation: fadeInUp 1.2s ease-out 2s both;
}

.hero-description {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  animation: fadeInUp 1.2s ease-out 2.4s both;
}

.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeInUp 1.2s ease-out 2.8s both;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(200, 164, 90, 0.3);
  padding: 10px 20px;
  border-radius: var(--radius-xl);
  color: var(--color-white);
  font-size: 0.88rem;
  font-weight: 500;
}
.hero-badge svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease-out 3.2s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold-light));
  color: var(--color-dark);
  box-shadow: 0 4px 20px rgba(200,164,90,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(200,164,90,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(200,164,90,0.1);
  transform: translateY(-3px);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll svg {
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.5);
}

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

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

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

/* ============================================
   PARTNERS STRIP
   ============================================ */
.partners-strip {
  background: var(--color-white);
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
/* Fade edges */
.partners-strip::before,
.partners-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.partners-strip::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-white), transparent);
}
.partners-strip::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-white), transparent);
}

.partners-marquee {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.partners-marquee:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
  padding: 0 16px;
}
.partner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color var(--transition-base);
}
.partner-item:hover {
  color: var(--color-dark);
}
.partner-separator {
  color: rgba(0,0,0,0.15);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.partner-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.partner-icon-wide {
  width: 60px;
  height: 26px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .partners-marquee { animation: none; }
  .partners-track { flex-wrap: wrap; justify-content: center; }
}

/* ============================================
   SERVICES OVERVIEW
   ============================================ */
.services {
  background: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200,164,90,0.2);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
  transition: all var(--transition-base);
}
.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 25px rgba(139, 26, 26, 0.3);
}
.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ============================================
   BAR & TERRASSE
   ============================================ */
.bar-section {
  background: var(--color-dark);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.bar-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,164,90,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.bar-section .section-title { color: var(--color-white); }
.bar-section .section-subtitle { color: rgba(255,255,255,0.7); }

.bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.bar-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bar-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.bar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}
.bar-img:hover img {
  transform: scale(1.05);
}
.bar-img.large {
  grid-column: span 2;
  height: 280px;
}
.bar-img.small {
  height: 200px;
}

.bar-content h3 {
  color: var(--color-gold);
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.bar-content p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.bar-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.bar-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  padding: 10px 18px;
  border-radius: var(--radius-xl);
  font-size: 0.88rem;
  border: 1px solid rgba(200,164,90,0.2);
}
.bar-feature svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
  flex-shrink: 0;
}

/* ============================================
   TABAC & PRESSE
   ============================================ */
.tabac-section {
  background: var(--color-cream);
}

.tabac-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.tabac-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  order: 2;
}

.tabac-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.tabac-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-base);
}
.tabac-img:hover img {
  transform: scale(1.05);
}

.tabac-content {
  order: 1;
}
.tabac-content h3 {
  font-size: 1.8rem;
  color: var(--color-dark);
  margin-bottom: 20px;
}
.tabac-content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.tabac-list {
  margin-top: 24px;
}
.tabac-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.95rem;
}
.tabac-list li svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   JEUX & LOTO
   ============================================ */
.jeux-section {
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.jeux-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.jeux-visual {
  position: relative;
}
.jeux-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.jeux-visual::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid var(--color-gold);
  border-radius: calc(var(--radius-lg) + 8px);
  opacity: 0.3;
}

.jeux-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.jeux-content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.jeux-activities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.jeux-activity {
  background: var(--color-cream);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}
.jeux-activity:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.jeux-activity svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.jeux-activity span {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
}

/* ============================================
   HORAIRES
   ============================================ */
.horaires-section {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-soft) 100%);
  color: var(--color-white);
}
.horaires-section .section-title { color: var(--color-white); }
.horaires-section .section-subtitle { color: rgba(255,255,255,0.7); }

.horaires-card {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,164,90,0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(10px);
}

.horaire-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 1rem;
}
.horaire-row:last-child {
  border-bottom: none;
}

.horaire-day {
  font-weight: 600;
  color: var(--color-white);
}

.horaire-time {
  color: var(--color-gold-light);
  font-weight: 500;
  text-align: right;
}

.horaire-row.closed .horaire-day {
  color: rgba(255,255,255,0.4);
}
.horaire-row.closed .horaire-time {
  color: var(--color-primary-light);
  font-style: italic;
}

.horaire-row.today {
  background: rgba(200,164,90,0.1);
  margin: 0 -20px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
}
.horaire-row.today .horaire-day::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  margin-right: 10px;
  animation: pulse 2s ease-in-out infinite;
}

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

.horaires-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

/* ============================================
   GALERIE
   ============================================ */
.galerie-section {
  background: var(--color-cream);
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}

.galerie-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.galerie-item:hover img {
  transform: scale(1.08);
}

.galerie-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26,26,26,0.6) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.galerie-item:hover::after {
  opacity: 1;
}

.galerie-item .galerie-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}
.galerie-item:hover .galerie-caption {
  opacity: 1;
  transform: translateY(0);
}

.galerie-item.span-2 {
  grid-column: span 2;
}
.galerie-item.span-row {
  grid-row: span 2;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform var(--transition-spring);
}
.lightbox.active img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: var(--color-white);
  cursor: pointer;
  font-size: 1.5rem;
  transition: all var(--transition-base);
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}

/* ============================================
   AVIS / REVIEWS
   ============================================ */
.avis-section {
  background: var(--color-white);
}

.avis-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.avis-score {
  text-align: center;
}
.avis-score .score {
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-gold-dark);
  font-family: var(--font-heading);
  line-height: 1;
}
.avis-score .score-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

.avis-stars {
  display: flex;
  gap: 4px;
}
.avis-stars svg {
  width: 28px;
  height: 28px;
  color: var(--color-gold);
}

.avis-count {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.avis-tags {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.avis-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-cream);
  padding: 12px 24px;
  border-radius: var(--radius-xl);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  border: 1px solid var(--color-cream-dark);
}
.avis-tag svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold-dark);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
  background: var(--color-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
}
.contact-icon svg {
  width: 22px;
  height: 22px;
}
.contact-detail h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-detail p,
.contact-detail a {
  font-size: 0.95rem;
  color: var(--color-text-light);
}
.contact-detail a:hover {
  color: var(--color-primary);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 400px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 45px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  transition: all var(--transition-base);
}
.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root { --section-padding: 80px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .bar-grid, .tabac-grid, .jeux-grid { grid-template-columns: 1fr; gap: 40px; }
  .tabac-content { order: 1; }
  .tabac-images { order: 2; }
  .galerie-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 60px; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 4px;
    transition: right var(--transition-base);
    box-shadow: -10px 0 40px rgba(0,0,0,0.5);
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links a {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-burger { display: flex; }

  .hero-content { padding-top: 90px; padding-bottom: 60px; }
  .hero-brands { gap: 8px; margin-bottom: 16px; }
  .brand-tabac { width: 40px; height: 40px; }
  .brand-fdj svg, .brand-loto svg, .brand-presse svg, .brand-amigo svg { height: 26px; }
  .hero-title-svg { max-width: 95vw; }
  .hero-title { max-width: 95vw; }
  .hero-scroll { bottom: 16px; }
  .hero-scroll svg { width: 24px; height: 24px; }
  .partners-track { gap: 20px; }
  .partner-item span { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .bar-images { grid-template-columns: 1fr; }
  .bar-img.large { grid-column: span 1; height: 220px; }
  .tabac-images { grid-template-columns: 1fr; }

  .galerie-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .galerie-item.span-2 { grid-column: span 1; }
  .galerie-item.span-row { grid-row: span 1; }

  .horaires-card { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .jeux-activities { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  :root { --section-padding: 48px; }

  .hero-badges { flex-direction: column; align-items: center; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .avis-highlight { flex-direction: column; gap: 20px; }
  .galerie-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
}

/* --- Print --- */
@media print {
  .header, .hero-scroll, .lightbox, .hero-cta { display: none; }
  .hero { min-height: auto; padding: 40px 0; }
  .section { padding: 30px 0; }
  body { color: #000; background: #fff; }
}
