/* === Reset === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #171717; background: #fafafa; line-height: 1.6; }

/* === Navigation === */
.nav { position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 100; border-bottom: 1px solid #eee; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.nav-brand { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 600; color: #171717; text-decoration: none; }
.nav-links { display: flex; gap: 2rem; }
.nav-link { text-decoration: none; color: #525252; font-size: 0.9rem; transition: color 0.3s; }
.nav-link:hover, .nav-link.active { color: #171717; font-weight: 500; }
.nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; color: #171717; }
.nav-mobile-menu { display: none; flex-direction: column; background: white; border-top: 1px solid #eee; }
.nav-mobile-menu.open { display: flex; }
.nav-mobile-link { padding: 1rem 2rem; text-decoration: none; color: #525252; border-bottom: 1px solid #f5f5f5; }

/* === Hero === */
.hero { height: 60vh; min-height: 400px; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg.onerror { background: #e5e7eb; }
.hero-overlay { position: absolute; inset: 0; background: rgba(255,255,255,0.3); }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 2rem; }
.hero-title { font-family: 'Playfair Display', serif; font-size: 3.5rem; margin-bottom: 1rem; color: #171717; }
.hero-subtitle { font-size: 1.15rem; color: #525252; margin-bottom: 2rem; }
.hero-cta { display: inline-block; padding: 1rem 2rem; background: #171717; color: white; text-decoration: none; border-radius: 6px; transition: background 0.3s; }
.hero-cta:hover { background: #404040; }

/* === Sections === */
.section-header { text-align: center; margin: 4rem 0 2rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: 0.5rem; }
.section-divider { width: 60px; height: 2px; background: #171717; margin: 0 auto; }

/* === Gallery === */
.gallery-section { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.artwork-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; }
.artwork-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.artwork-image { width: 100%; height: 280px; background: #eee; }
.artwork-image img { width: 100%; height: 100%; object-fit: cover; }
.artwork-info { padding: 1.25rem; }
.artwork-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.artwork-meta { font-size: 0.85rem; color: #666; }
.empty-state { text-align: center; padding: 4rem 2rem; color: #6b7280; }

/* === About === */
.about-page { max-width: 1000px; margin: 0 auto; padding: 3rem 2rem; }
.about-heading { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 2rem; text-align: center; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
.about-text { font-size: 1.05rem; line-height: 1.8; color: #525252; }
.about-image { border-radius: 8px; overflow: hidden; }
.about-image img { width: 100%; height: auto; display: block; }
.events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.events-heading { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 1rem; }
.events-card { background: white; padding: 1.5rem; border-radius: 8px; line-height: 1.7; color: #525252; }
.events-card.past { background: #fafafa; }

/* === Videos === */
.videos-page { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem; }
.videos-page-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; text-align: center; margin-bottom: 0.5rem; }
.videos-page-subtitle { text-align: center; color: #666; margin-bottom: 3rem; }
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2rem; }
.video-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; background: #000; }
.video-wrapper iframe, .video-wrapper video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-info { padding: 1rem; }
.video-title { font-size: 1rem; font-weight: 500; }

/* === Contact === */
.contact-page { max-width: 700px; margin: 0 auto; padding: 3rem 2rem; text-align: center; }
.contact-heading { font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 0.5rem; }
.contact-divider { width: 60px; height: 2px; background: #171717; margin: 0 auto 2rem; }
.contact-message { font-size: 1.1rem; color: #525252; margin-bottom: 3rem; }
.contact-cards { display: flex; justify-content: center; }
.contact-card-inner { background: white; border-radius: 8px; padding: 2rem; display:flex;flex-direction:column;gap:2rem; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.contact-label { font-size: 0.9rem; color: #999; margin-bottom: 0.5rem; }
.contact-value { font-size: 1.1rem; color: #171717; text-decoration: none; font-weight: 500; }

/* === Footer === */
.footer { background: #171717; color: white; text-align: center; padding: 2rem; margin-top: 4rem; font-size: 0.9rem; }

/* === Responsive === */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-mobile-toggle { display: block; }
    .hero-title { font-size: 2rem; }
    .about-grid, .events-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .videos-grid { grid-template-columns: 1fr; }
}

/* Style pour les textes formatés (bio, events, contact) */
.about-formatted p { margin: 0 0 0.8rem 0; line-height: 1.8; }
.about-formatted ul { margin: 0.5rem 0 1rem 1.5rem; padding: 0; }
.about-formatted li { margin-bottom: 0.3rem; }
.about-formatted strong { font-weight: 600; }
.about-formatted em { font-style: italic; }
.about-formatted p:last-child { margin-bottom: 0; }