/* ========================================
   ANTON PAINT - GALERIE D'ART MODERNE
   Design immersif & Navigation fluide
   ======================================== */

:root {
  /* Dark Theme Colors */
  --bg-dark: #0a0a0a;
  --bg-section: #0f0f0f;
  --bg-card: #161616;
  --bg-overlay: rgba(0, 0, 0, 0.7);

  /* Accent */
  --accent-gold: #c9a961;
  --accent-gold-light: #ddc07a;
  --accent-gold-dark: #a88a4a;

  /* Text */
  --text-light: #ffffff;
  --text-muted: #888888;
  --text-dim: #555555;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, sans-serif;

  /* Spacing */
  --container-width: 1400px;
  --section-padding: 80px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE
   ======================================== */

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background-color: var(--accent-gold);
  color: var(--bg-dark);
}

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

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-light);
}

h1 {
  font-size: clamp(4rem, 12vw, 10rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.1em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 45px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

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

.btn-primary:hover {
  background-color: var(--accent-gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(201, 169, 97, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--text-muted);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-arrow::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.btn-arrow:hover::after {
  transform: translateX(5px);
}

/* ========================================
   NAVIGATION - FIXED ELEMENTS
   ======================================== */

/* Logo fixe en haut à gauche */
.logo-fixed {
  position: fixed;
  top: 40px;
  left: 40px;
  z-index: 1000;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  color: var(--text-light);
  mix-blend-mode: difference;
  transition: opacity var(--transition-medium);
}

.logo-fixed:hover {
  color: var(--accent-gold);
}

/* Menu burger discret */
.menu-toggle {
  position: fixed;
  top: 40px;
  right: 40px;
  z-index: 1001;
  width: 50px;
  height: 50px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-medium);
  opacity: 0.6;
}

.menu-toggle:hover {
  opacity: 1;
  border-color: var(--accent-gold);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-light);
  position: relative;
  transition: all var(--transition-fast);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--text-light);
  left: 0;
  transition: all var(--transition-fast);
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.menu-toggle.active span {
  background-color: transparent;
}

.menu-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.active span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Navigation dots à droite */
.nav-dots {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
}

.nav-dot::before {
  content: attr(data-label);
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  white-space: nowrap;
  transition: all var(--transition-fast);
  pointer-events: none;
}

.nav-dot:hover::before {
  opacity: 1;
  right: 30px;
}

.nav-dot:hover {
  border-color: var(--accent-gold);
}

.nav-dot.active {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: scale(1.2);
}

/* Menu plein écran */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.fullscreen-menu.active {
  opacity: 1;
  visibility: visible;
}

.fullscreen-menu nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.fullscreen-menu nav a {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--text-muted);
  transition: all var(--transition-medium);
  position: relative;
}

.fullscreen-menu nav a:hover {
  color: var(--text-light);
}

.fullscreen-menu nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width var(--transition-medium);
}

.fullscreen-menu nav a:hover::after {
  width: 100%;
}

/* ========================================
   SECTIONS - SCROLL SNAP
   ======================================== */

.section {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

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

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

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.4) 0%,
    rgba(10, 10, 10, 0.6) 50%,
    rgba(10, 10, 10, 0.9) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
}

.hero-subtitle {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-title {
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-description {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 50px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-cta {
  opacity: 0;
  animation: fadeInUp 1s ease 0.9s forwards;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}

.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

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

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

/* ========================================
   GALLERY SECTION
   ======================================== */

.gallery-section {
  padding: 100px 0;
}

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

.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
}

/* Gallery Grid - Masonry style */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

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

.gallery-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
}

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

.gallery-item:hover .gallery-image img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.4) 40%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

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

.gallery-item-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-light);
  margin-bottom: 8px;
  transform: translateY(20px);
  transition: transform var(--transition-medium);
}

.gallery-item:hover .gallery-item-title {
  transform: translateY(0);
}

.gallery-item-info {
  font-size: 0.75rem;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  transform: translateY(20px);
  transition: transform var(--transition-medium) 0.1s;
}

.gallery-item:hover .gallery-item-info {
  transform: translateY(0);
}

.gallery-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  color: var(--bg-dark);
  font-size: 1.8rem;
  font-weight: 300;
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: all var(--transition-medium);
}

.gallery-item:hover .gallery-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-btn:hover {
  background-color: var(--text-light);
  transform: translate(-50%, -50%) scale(1.1);
}

.gallery-cta {
  text-align: center;
  margin-top: 70px;
}

.gallery-cta .btn {
  font-size: 0.85rem;
  padding: 20px 50px;
}

.gallery-cta .btn-outline {
  border-width: 2px;
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.gallery-cta .btn-outline:hover {
  background-color: var(--accent-gold);
  color: var(--bg-dark);
}

/* Bouton flottant galerie */
.gallery-floating-cta {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  background-color: var(--accent-gold);
  color: var(--bg-dark);
  padding: 16px 35px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition-medium);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.gallery-floating-cta:hover {
  background-color: var(--accent-gold-light);
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 15px 50px rgba(201, 169, 97, 0.4);
}

/* ========================================
   EXPOSITIONS SECTION
   ======================================== */

.expositions-section {
  padding: 100px 0;
}

.expositions-section .container {
  max-width: 1200px;
}

.expositions-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exposition-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 50px;
  padding: 50px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-medium);
}

.exposition-card:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.exposition-card:hover {
  background-color: rgba(255, 255, 255, 0.02);
  padding-left: 30px;
  padding-right: 30px;
  margin-left: -30px;
  margin-right: -30px;
}

.exposition-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.date-day {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-gold);
}

.date-month {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 5px;
}

.date-year {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.date-icon {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--accent-gold);
}

.exposition-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.exposition-status {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  padding: 6px 14px;
  border: 1px solid var(--accent-gold);
  margin-bottom: 15px;
  width: fit-content;
}

.status-permanent {
  background-color: var(--accent-gold);
  color: var(--bg-dark);
}

.exposition-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.exposition-location {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.exposition-location svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.exposition-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
  padding: 0;
}

.about-section .container {
  max-width: 100%;
  padding: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 70%, var(--bg-section) 100%);
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  background-color: var(--bg-section);
}

.about-content .section-header {
  text-align: left;
  margin-bottom: 50px;
}

.about-content .section-title::after {
  left: 0;
  transform: none;
}

.about-poem {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 2.2;
  color: var(--text-muted);
  max-width: 500px;
}

.about-poem p {
  margin-bottom: 1.5em;
}

.poem-signature {
  font-style: normal;
  font-weight: 500;
  color: var(--accent-gold);
  margin-top: 2em;
  font-size: 1rem;
}

.about-stats {
  display: flex;
  gap: 60px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  text-align: left;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
  padding: 100px 0;
}

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

.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 25px;
  margin-bottom: 40px;
}

.contact-icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(201, 169, 97, 0.1);
  border: 1px solid rgba(201, 169, 97, 0.3);
  color: var(--accent-gold);
  flex-shrink: 0;
}

.contact-item h3 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.contact-item p {
  color: var(--text-muted);
  line-height: 1.8;
}

.contact-social h3 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
  transition: all var(--transition-medium);
}

.social-link:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--bg-dark);
}

/* Contact Form */
.contact-form {
  background-color: var(--bg-card);
  padding: 60px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: var(--bg-dark);
  color: var(--text-light);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 45px;
}

.btn-full {
  width: 100%;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background-color: var(--bg-dark);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand .logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  color: var(--text-light);
  display: block;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-nav {
  display: flex;
  gap: 40px;
}

.footer-nav a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--accent-gold);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: var(--text-dim);
  transition: color var(--transition-fast);
}

.footer-social a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.admin-link {
  font-size: 0.65rem;
  color: var(--text-dim);
  opacity: 0.5;
  transition: all var(--transition-fast);
}

.admin-link:hover {
  color: var(--accent-gold);
  opacity: 1;
}

/* ========================================
   LIGHTBOX
   ======================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(10, 10, 10, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 20px;
  font-size: 2rem;
  transition: all var(--transition-fast);
  opacity: 0.6;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  color: var(--accent-gold);
}

.lightbox-close {
  top: 30px;
  right: 30px;
  font-size: 2.5rem;
}

.lightbox-prev {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}

.lightbox-next {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 30px;
  color: var(--text-light);
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.lightbox-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ========================================
   PAGE GALERIE
   ======================================== */

.page-galerie {
  padding-top: 150px;
  min-height: 100vh;
  padding-bottom: 80px;
}

.page-galerie .container {
  max-width: 1600px;
}

.page-galerie .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-galerie .section-header .section-label {
  margin-bottom: 15px;
}

.page-galerie .section-header .section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

/* Filtres flottants */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 25px 0;
  background-color: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-btn {
  background: none;
  border: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  padding: 12px 20px;
  position: relative;
  transition: all var(--transition-fast);
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: width var(--transition-medium);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--text-light);
}

.filter-btn.active::after {
  width: 100%;
}

/* Grille galerie complète */
.gallery-full .gallery-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-full .gallery-item:nth-child(1),
.gallery-full .gallery-item:nth-child(4) {
  grid-row: auto;
  grid-column: auto;
}

.gallery-full .gallery-image {
  min-height: 350px;
  aspect-ratio: 4/5;
}

.gallery-full .gallery-cta {
  margin-top: 80px;
  padding-bottom: 80px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(1) { grid-row: auto; }
  .gallery-item:nth-child(4) { grid-column: auto; }

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

@media (max-width: 1024px) {
  html {
    scroll-snap-type: none;
  }

  .section {
    min-height: auto;
    scroll-snap-align: none;
    padding: 80px 0;
  }

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

  .about-image {
    height: 50vh;
  }

  .about-image::after {
    background: linear-gradient(to bottom, transparent 60%, var(--bg-section) 100%);
  }

  .about-content {
    padding: 60px 40px;
  }

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

  .exposition-card {
    grid-template-columns: 100px 1fr;
    gap: 30px;
  }

  .date-day {
    font-size: 3rem;
  }

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

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

  .container {
    padding: 0 25px;
  }

  .logo-fixed {
    top: 25px;
    left: 25px;
    font-size: 1.2rem;
  }

  .menu-toggle {
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
  }

  .nav-dots {
    display: none;
  }

  .hero-content {
    padding: 0 25px;
  }

  h1 {
    letter-spacing: 0.2em;
  }

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

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

  .gallery-full .gallery-image {
    min-height: 250px;
  }

  .exposition-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .exposition-date {
    align-items: center;
    flex-direction: row;
    gap: 15px;
  }

  .date-day {
    font-size: 2.5rem;
  }

  .exposition-location {
    justify-content: center;
  }

  .exposition-status {
    margin-left: auto;
    margin-right: auto;
  }

  .about-content {
    padding: 50px 25px;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    text-align: center;
  }

  .stat {
    text-align: center;
  }

  .contact-form {
    padding: 40px 25px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .gallery-filters {
    gap: 15px;
    top: 80px;
  }

  .filter-btn {
    padding: 10px 15px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.5rem;
    letter-spacing: 0.15em;
  }

  .hero-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
  }

  .btn {
    padding: 16px 35px;
    font-size: 0.7rem;
  }

  .gallery-full .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-full .gallery-image {
    min-height: 300px;
    aspect-ratio: 3/4;
  }

  .about-stats {
    flex-direction: column;
    gap: 30px;
  }

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

  .contact-info h2 {
    font-size: 2rem;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 2rem;
  }

  .lightbox-close {
    font-size: 2rem;
    top: 20px;
    right: 20px;
  }
}

/* ========================================
   ANIMATIONS - REVEAL ON SCROLL
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.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; }

/* Disable scroll snap when lightbox is open */
body.lightbox-open {
  overflow: hidden;
}

body.lightbox-open html {
  scroll-snap-type: none;
}
