/* =========================
   BASE & TYPOGRAPHIE
========================= */
body { 
  margin: 0; 
  font-family: 'Montserrat', sans-serif; 
  color: #333; 
  background: linear-gradient(to bottom, #fafafa 0%, #f5f0e6 100%); 
  line-height: 1.6; 
  overflow-x: hidden;
}

h1, h2, h3 { 
  font-family: 'Playfair Display', serif; 
  color: #222;
}

p, li, a, span {
  font-family: 'Montserrat', sans-serif;
}

section {
  padding: 4rem 1rem;
}

/* =========================
   CONTENEUR GLOBAL
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

#paint-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
}

/* =========================
   MENU FIXE
========================= */
header { 
  position: fixed; 
  top: 0; 
  width: 100%; 
  background: #fff; 
  z-index: 1000; 
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.menu .logo img {
  height: 60px;
}

.menu-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.menu-links a {
  text-decoration: none;
  color: #6B4C3B;
  font-weight: 500;
}

.menu-links a:hover {
  color: #D4A373;
}

/* =========================
   MENU MOBILE
========================= */
.menu {
  position: relative;
  flex-wrap: nowrap;
}

.menu-links {
  display: flex;
  gap: 2rem;
}

/* Bouton burger */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 2rem;
  background: none;
  border: none;
  color: #6B4C3B;
}

/* Mobile (<768px) */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2rem;
  }

  /* Affichage du burger */
  .menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .menu-links {
    display: none; /* caché par défaut */
    flex-direction: column;
    width: 100%;
    margin-top: 3rem;
    gap: 1rem;
  }

  .menu-links.show {
    display: flex; /* affiché quand burger cliqué */
  }

  .menu-links a {
    font-size: 1.2rem;
  }
}

/* =========================
   HERO
========================= */
.hero { 
  position: relative;
  min-height: calc(75vh - 90px);
  display: flex; 
  justify-content: center; 
  align-items: center; 
  text-align: center; 
  padding-top: 90px;
  overflow: hidden;
}

#floating-objects {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 1rem;
}

.hero-text h1 { 
  font-size: 2.5rem; 
}

.hero-text p { 
  font-size: 1.2rem;
}

.hero-divider {
  width: 120px;
  height: 4px;
  background: #D4A373;
  margin: 1.5rem auto;
  border-radius: 3px;
}

/* =========================
   BOUTON
========================= */
.btn { 
  display: inline-block; 
  margin-top: 1rem; 
  padding: 0.6rem 1.6rem; 
  background: #D4A373; 
  color: #fff; 
  border-radius: 8px; 
  font-weight: 500; 
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* =========================
   VIDEO
========================= */
.video-section {
  max-width: 900px;
  margin: 4rem auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.video-wrapper {
  aspect-ratio: 16/9;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   MANIFESTE / A PROPOS
========================= */
.manifeste,
.about-intro {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.about {
  background: rgba(244,240,230,0.5);
  border-radius: 10px;
  max-width: 720px;
  margin: 5rem auto;
  text-align: center;
  padding: 3rem 2rem;
}

.brush-stroke {
  width: 0;
  height: 6px;
  background: #D4A373;
  border-radius: 3px;
  margin: 2rem auto 0;
  opacity: 0.7;
  transform-origin: left;
  transition: width 1s ease-out;
}

/* =========================
   SERVICES
========================= */
.services {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.service {
  flex: 1 1 300px;
  max-width: 360px;
  background: rgba(212,163,115,0.12);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

/* =========================
   GALERIE
========================= */
.gallery {
  text-align: center;
}

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

.images img {
  max-width: 300px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.images img:hover {
  transform: translateY(-5px) rotate(-1deg);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* =========================
   LIGHTBOX
========================= */
#lightbox {
  display: none; /* invisible par défaut */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10000;
  user-select: none;
}


/* =========================
   CONTACT
========================= */
.contact {
  background: #f5f0e6;
}

.contact .container {
  max-width: 900px;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.contact-box {
  background: rgba(212,163,115,0.12);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

/* =========================
   AGENDA – OÙ ME TROUVER
========================= */
.agenda {
  background: rgba(244,240,230,0.5);
  padding: 4rem 1rem;
  text-align: center;
}

.agenda h2 {
  margin-bottom: 1rem;
}

.agenda-intro {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1rem;
}

/* Container événements */
#events-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

/* Carte événement */
.event-item {
  position: relative;
  background: #fff;
  border-left: 6px solid #D4A373;
  border-radius: 14px;
  margin-bottom: 2rem;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Titre événement */
.event-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: #6B4C3B;
  margin-bottom: 0.5rem;
}

/* Lieu cliquable */
.event-location a {
  color: #6B4C3B;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease, opacity 0.3s ease;

  /* Safari */
  -webkit-text-decoration-color: #D4A373;
  text-decoration-color: #D4A373;
}

.event-location a:hover {
  color: #D4A373;
  opacity: 0.9;
}

/* Badge */
.event-badge {
  position: absolute;
  top: -12px;
  right: 14px;
  background: #D4A373;
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 6px;
}

/* =========================
   FOOTER
========================= */
.footer-art {
  background: #D4A373;
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
}

/* Contenu footer */
.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Petite séparation décorative */
.footer-divider {
  width: 90px;
  height: 4px;
  background: rgba(255,255,255,0.7);
  margin: 0 auto 2rem;
  border-radius: 3px;
}

/* Texte principal */
.footer-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Texte secondaire */
.footer-subtext {
  font-size: 0.95rem;
  opacity: 0.92;
  margin-bottom: 2rem;
}

/* Bloc contact */
.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

/* Séparateur */
.footer-separator {
  opacity: 0.7;
}

/* Localisation */
.footer-location {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Liens */
.footer-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ffe0b3;
}

/* =========================
   FADE + SLIDE
========================= */
.fade-slide {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-slide.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .event-item {
    padding: 1.2rem 1.4rem;
  }
}

@media (max-width: 480px) {
  .event-link,
  .event-google-calendar {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.6rem;
  }
}
