/* ==========================================================================
   VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
    /* Nouvelles couleurs : Blanc, Bleu, Saumon */
    --color-bg-dark: #162b75;       /* Bleu principal */
    --color-bg-light: #ffffff;      /* Blanc */
    --color-history-primary: #1d3999;
    --color-history-dark: #0f1d4f;  /* Bleu sombre */
    --color-space-primary: #ff906b; /* Saumon */
    --color-space-dark: #e87b56;
    --color-accent-cta: #ff906b;    /* Saumon pour les CTAs */
    --color-accent-cta-hover: #e87b56;

    --text-dark: #1e293b;
    --text-light: #ffffff;          /* Blanc */
    --text-muted: #64748b;

    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --container-padding: 0 1.5rem;
    --max-width: 1280px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-sans); background-color: var(--color-bg-light); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button, .btn { cursor: pointer; border: none; background: none; font-family: var(--font-sans); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; transition: var(--transition-smooth); border-radius: 8px; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: var(--container-padding); }
.section-padding { padding: 6rem 0; }
.text-center { text-align: center; }

/* BOUTONS */
.btn-primary { background-color: var(--color-accent-cta); color: #fff; padding: 0.875rem 1.75rem; box-shadow: 0 4px 14px rgba(255, 144, 107, 0.4); text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.btn-primary:hover { background-color: var(--color-accent-cta-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 144, 107, 0.6); color: #fff; }
.btn-secondary { background-color: transparent; color: white; border: 2px solid rgba(255, 255, 255, 0.8); padding: 0.812rem 1.687rem; }
.btn-secondary:hover { background-color: white; color: var(--color-bg-dark); transform: translateY(-2px); }
.btn-dark { background-color: var(--color-history-dark); color: white; padding: 0.875rem 1.75rem; }
.btn-dark:hover { background-color: var(--color-bg-dark); color: white; transform: translateY(-2px); }

/* REVEAL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: var(--transition-smooth); background: linear-gradient(to bottom, rgba(22, 43, 117, 0.9), rgba(22, 43, 117, 0)); padding: 1rem 0; }
.site-header.scrolled, .site-header.header-solid { background-color: rgba(22, 43, 117, 0.98); backdrop-filter: blur(10px); padding: 0.5rem 0; box-shadow: 0 4px 30px rgba(0,0,0,0.2); border-bottom: 1px solid rgba(255,255,255,0.1); }
.nav-container { display: flex; align-items: center; justify-content: space-between; }

.logo img { max-height: 30px; transition: var(--transition-smooth); }
.site-header.scrolled .logo img, .site-header.header-solid .logo img { max-height: 25px; }

.nav-menu { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-link { color: rgba(255, 255, 255, 0.9); font-weight: 500; font-size: 0.95rem; position: relative; padding: 0.5rem 0; transition: color 0.3s ease; }
.nav-link:hover { color: white; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--color-space-primary); transition: var(--transition-smooth); }
.nav-link:hover::after { width: 100%; }
.nav-toggle { display: none; color: white; font-size: 1.5rem; }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: var(--text-light); background: radial-gradient(circle at 70% 30%, rgba(255, 144, 107, 0.2), transparent 50%), linear-gradient(to right, rgba(22, 43, 117, 0.95) 40%, rgba(22, 43, 117, 0.4)), url('/assets/lacoupole-fond-2.webp') no-repeat center center / cover; padding-top: 80px; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-tagline { display: inline-block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 3px; color: var(--color-space-primary); margin-bottom: 1.5rem; font-weight: 700; }
.hero h1 { font-size: 3.5rem; line-height: 1.15; font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -1px; }
.hero h1 span { background: linear-gradient(45deg, #fff, rgba(255,255,255,0.8)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 1.2rem; color: rgba(255, 255, 255, 0.95); margin-bottom: 2.5rem; font-weight: 300; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   SECTION EXPERIENCES
   ========================================================================== */
.dual-section { background-color: #f8fafc; }
.section-header { max-width: 800px; margin: 0 auto 4rem auto; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; color: var(--color-bg-dark); }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

.dual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; margin-bottom: 3rem; }
.experience-card { position: relative; border-radius: 16px; overflow: hidden; height: 450px; display: flex; flex-direction: column; justify-content: flex-end; padding: 3rem; color: white; box-shadow: 0 20px 40px rgba(22, 43, 117, 0.1); transition: var(--transition-smooth); }
.experience-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px rgba(22, 43, 117, 0.2); }

.card-history { background: linear-gradient(to top, rgba(22, 43, 117, 0.95) 20%, rgba(22, 43, 117, 0.3)), url('/assets/lacoupole-coupole.webp') no-repeat center center / cover; }
.card-space { background: linear-gradient(to top, rgba(22, 43, 117, 0.95) 20%, rgba(22, 43, 117, 0.2)), url('/assets/lacoupole-planetarium.webp') no-repeat center center / cover; }
.card-space .card-tag { color: var(--color-space-primary); }

.card-content { position: relative; z-index: 2; }
.card-tag { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 0.75rem; display: block; color: var(--color-space-primary); }
.experience-card h3 { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; }
.experience-card p { color: rgba(255,255,255,0.9); margin-bottom: 2rem; font-weight: 300; font-size: 1rem; line-height: 1.5; }

.jumele-banner { background: var(--color-bg-dark); color: white; border-radius: 16px; padding: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; position: relative; overflow: hidden; }
.jumele-banner::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255, 144, 107, 0.15) 0%, transparent 70%); }
.jumele-banner-content h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.jumele-banner-content p { color: rgba(255,255,255,0.8); max-width: 600px; font-size: 1.05rem; }

/* ==========================================================================
   SECTION TARIFS
   ========================================================================== */
.pricing-section { background-color: var(--color-bg-dark); color: white; }
.pricing-section .section-header h2 { color: white; }
.pricing-section .section-header p { color: rgba(255,255,255,0.8); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: center; }

.pricing-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 2.5rem 2rem; text-align: center; transition: var(--transition-smooth); }
.pricing-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.08); border-color: rgba(255, 144, 107, 0.3); }
.pricing-card.featured { background: linear-gradient(145deg, rgba(29, 57, 153, 1) 0%, rgba(15, 29, 79, 1) 100%); border-color: var(--color-space-primary); transform: scale(1.05); box-shadow: 0 20px 40px rgba(0,0,0,0.3); position: relative; }
.pricing-card.featured:hover { transform: scale(1.05) translateY(-5px); }
.badge-featured { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--color-space-primary); color: white; font-size: 0.8rem; font-weight: 700; padding: 0.4rem 1rem; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; }

.pricing-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-light); }
.pricing-price { font-size: 3rem; font-weight: 800; margin: 1rem 0; color: var(--color-space-primary); }
.pricing-price span { font-size: 1rem; font-weight: 400; color: rgba(255,255,255,0.7); }

.pricing-details { list-style: none; margin: 2rem 0; text-align: left; }
.pricing-details li { margin-bottom: 1rem; font-size: 0.95rem; color: rgba(255,255,255,0.9); display: flex; align-items: center; gap: 10px; }
.pricing-details li i { color: var(--color-space-primary); font-size: 0.8rem; }
.pass-famille { font-size: 0.85rem; color: var(--color-accent-cta); margin-top: 1.5rem; display: block; font-weight: 600; }

/* ==========================================================================
   SECTION INFOS PRATIQUES
   ========================================================================== */
.practical-section { background-color: var(--color-bg-light); }
.practical-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }

.contact-box { background: #f8fafc; padding: 3rem; border-radius: 16px; border: 1px solid #e2e8f0; }
.contact-box h3 { font-size: 1.8rem; margin-bottom: 1.5rem; color: var(--color-bg-dark); }
.contact-box p { margin-bottom: 1.5rem; color: var(--text-muted); }

.info-list { list-style: none; margin-bottom: 2rem; }
.info-list li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; font-size: 1.05rem; }
.info-list li i { color: var(--color-accent-cta); font-size: 1.2rem; margin-top: 4px; }
.info-list strong { display: block; color: var(--color-bg-dark); }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.service-item { display: flex; gap: 1rem; align-items: flex-start; }
.service-item i { font-size: 1.5rem; color: var(--color-bg-dark); background: #e2e8f0; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 8px; flex-shrink: 0; }
.service-item h4 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--color-bg-dark); }
.service-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }

/* ==========================================================================
   SECTION PROGRAMMATION
   ========================================================================== */
.news-section { background-color: #f1f5f9; }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.news-card { background: var(--color-bg-light); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); display: flex; transition: var(--transition-smooth); }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(22, 43, 117, 0.1); }
.news-img { width: 40%; background: url('https://shop.lacoupole-france.com/13-thickbox_default/centre-d-histoire.jpg') center/cover; }
.news-img-2 { width: 40%; background: url('https://shop.lacoupole-france.com/8-thickbox_default/planetarium.jpg') center/cover; }
.news-content { padding: 2.5rem; width: 60%; display: flex; flex-direction: column; justify-content: center; }
.news-content h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--color-bg-dark); }
.news-content p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }

/* ==========================================================================
   PARTENAIRES
   ========================================================================== */
.partners-section { padding: 4rem 0; background: var(--color-bg-light); border-top: 1px solid #e2e8f0; text-align: center; }
.partners-section h3 { font-size: 1.2rem; color: var(--color-bg-dark); margin-bottom: 2rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.partners-logos { display: flex; justify-content: center; align-items: center; gap: 4rem; flex-wrap: wrap; }
.partners-logos img { max-height: 140px; filter: grayscale(100%); opacity: 0.6; transition: var(--transition-smooth); }
.partners-logos img:hover { filter: grayscale(0%); opacity: 1; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background-color: var(--color-bg-dark); color: rgba(255,255,255,0.8); padding: 5rem 0 2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 4rem; margin-bottom: 4rem; }
.footer-brand img { max-height: 30px; margin-bottom: 1.5rem; }
.footer-brand p { margin-bottom: 1.5rem; font-weight: 300; line-height: 1.6; }

.social-links { display: flex; gap: 1rem; }
.social-icon { width: 40px; height: 40px; background-color: rgba(255,255,255,0.1); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition-smooth); }
.social-icon:hover { background-color: var(--color-space-primary); color: white; transform: translateY(-3px); }

.footer-col h4 { color: white; font-size: 1.1rem; font-weight: 600; margin-bottom: 1.5rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a:hover { color: var(--color-space-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: white; }

/* ==========================================================================
   PAGES DE CONTENU (Mentions légales, Politique de confidentialité, ...)
   ========================================================================== */
.legal-section { background-color: var(--color-bg-light); padding-top: 7rem; padding-bottom: 4rem; }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h1 { font-size: 2.5rem; font-weight: 800; color: var(--color-bg-dark); margin-bottom: 1rem; letter-spacing: -1px; }
.legal-content .legal-intro { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 3rem; }
.legal-content h2 { font-size: 1.4rem; font-weight: 700; color: var(--color-bg-dark); margin: 2.5rem 0 1rem; }
.legal-content p { color: var(--text-dark); margin-bottom: 1rem; }
.legal-content a { color: var(--color-accent-cta-hover); text-decoration: underline; }
.legal-content ul { margin: 0 0 1rem 1.5rem; color: var(--text-dark); }
.legal-content li { margin-bottom: 0.5rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: 1fr; gap: 2rem; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-5px); }
    .practical-container { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
    .partners-logos img { max-height: 100px; }
}
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu { position: fixed; top: 0; right: -100%; width: 80%; height: 100vh; background-color: var(--color-bg-dark); flex-direction: column; justify-content: center; gap: 2.5rem; transition: var(--transition-smooth); box-shadow: -10px 0 30px rgba(0,0,0,0.5); z-index: 999; }
    .nav-menu.active { right: 0; }
    .hero { text-align: center; }
    .hero-actions { justify-content: center; }
    .dual-grid { grid-template-columns: 1fr; }
    .jumele-banner { flex-direction: column; text-align: center; padding: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .news-card { flex-direction: column; }
    .news-img, .news-img-2 { width: 100%; height: 200px; }
    .news-content { width: 100%; padding: 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .partners-logos img { max-height: 80px; }
}

/* ==========================================================================
   AGENDA — LISTE DES ÉVÉNEMENTS
   ========================================================================== */
.hero-agenda {
    position: relative;
    padding: 140px 0 60px;
    background: linear-gradient(to bottom, rgba(22, 43, 117, 0.95), rgba(22, 43, 117, 0.8)), url('/assets/lacoupole-fond-2.webp') center 30% / cover no-repeat;
    color: white;
    text-align: center;
}
.hero-agenda h1 { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: -1px; }
.hero-agenda h1 span { background: linear-gradient(45deg, #fff, rgba(255,255,255,0.8)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-agenda p { max-width: 800px; margin: 0 auto; font-size: 1.15rem; font-weight: 300; color: rgba(255,255,255,0.9); line-height: 1.6; }

.filters-section { background: white; padding: 1.5rem 0; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-bottom: 1px solid #e2e8f0; }
.filters-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.filter-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-btn { padding: 0.6rem 1.2rem; border-radius: 30px; font-size: 0.9rem; font-weight: 600; color: var(--color-bg-dark); background: #f1f5f9; border: 2px solid transparent; transition: var(--transition-smooth); }
.filter-btn:hover { background: #e2e8f0; }
.filter-btn.active { background: var(--color-space-primary); color: white; box-shadow: 0 4px 10px rgba(255, 144, 107, 0.3); }

.filter-date-wrapper { position: relative; display: flex; align-items: center; }
.filter-date-wrapper i { position: absolute; left: 1rem; color: var(--color-bg-dark); pointer-events: none; }
.filter-date { appearance: none; -webkit-appearance: none; padding: 0.6rem 2.5rem 0.6rem 2.5rem; border-radius: 30px; border: 2px solid #e2e8f0; font-family: var(--font-sans); font-weight: 600; color: var(--color-bg-dark); outline: none; background: white url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" fill="%23162b75"><path d="M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"/></svg>') no-repeat right 1rem center / 10px; cursor: pointer; transition: var(--transition-smooth); }
.filter-date:focus, .filter-date:hover { border-color: var(--color-bg-dark); }

.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2.5rem; margin-top: 3rem; min-height: 40vh; }
.event-card { background: white; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: var(--transition-smooth); display: flex; flex-direction: column; position: relative; animation: fadeIn 0.5s ease forwards; cursor: pointer; }
.event-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(22, 43, 117, 0.1); }
.event-card-link { position: absolute; inset: 0; z-index: 4; border-radius: 16px; }
.event-card-link:focus-visible { outline: 3px solid var(--color-space-primary); outline-offset: 3px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.event-card.hidden { display: none; }
.event-img-wrap { position: relative; height: 220px; overflow: hidden; border-radius: 16px 16px 0 0; }
.event-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.event-card:hover .event-img-wrap img { transform: scale(1.05); }
.event-categories { position: absolute; top: 1rem; left: 1rem; right: 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; z-index: 2; }
.event-category { padding: 0.4rem 1rem; border-radius: 8px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: white; }
.event-content { position: relative; padding: 2.5rem 1.5rem 1.5rem; flex-grow: 1; display: flex; flex-direction: column; border-radius: 0 0 16px 16px; }
.event-date-badge { position: absolute; top: -2.5rem; right: 1.5rem; background: var(--color-bg-dark); color: white; width: 65px; height: 70px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 3; border: 2px solid white; }
.event-date-badge .day { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.event-date-badge .month { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; color: var(--color-space-primary); }
.event-type { font-size: 0.85rem; color: var(--color-space-primary); font-weight: 700; margin-bottom: 0.5rem; }
.event-title { font-size: 1.3rem; font-weight: 800; color: var(--color-bg-dark); margin-bottom: 1rem; line-height: 1.3; }
.event-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.event-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f1f5f9; padding-top: 1rem; }
.event-time { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.btn-read-more { color: var(--color-bg-dark); font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 5px; transition: var(--transition-smooth); }
.btn-read-more i { transition: var(--transition-smooth); }
.event-card:hover .btn-read-more { color: var(--color-space-primary); }
.event-card:hover .btn-read-more i { transform: translateX(5px); }
.no-results { display: none; grid-column: 1 / -1; text-align: center; padding: 4rem 2rem; background: white; border-radius: 16px; color: var(--text-muted); }
.no-results i { font-size: 3rem; color: #e2e8f0; margin-bottom: 1rem; }
.no-results h3 { color: var(--color-bg-dark); font-size: 1.5rem; margin-bottom: 0.5rem; }

/* ==========================================================================
   AGENDA — PAGE DÉTAIL D'UN ÉVÉNEMENT
   ========================================================================== */
.event-hero { padding: 160px 0 60px; background-size: cover; background-position: center; color: white; }
.event-back { display: inline-flex; width: fit-content; align-items: center; gap: 8px; color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.9rem; margin-bottom: 2.25rem; transition: var(--transition-smooth); }
.event-back:hover { color: white; transform: translateX(-4px); }
.event-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-bottom: 1.5rem; }
.event-hero-theme { display: inline-flex; align-items: center; gap: 8px; padding: 0.4rem 1rem; border-radius: 8px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: white; }
.event-hero-type { display: inline-block; color: var(--color-space-primary); font-weight: 700; }
.event-hero h1 { font-size: 2.6rem; font-weight: 800; letter-spacing: -1px; max-width: 900px; }

.event-detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.event-detail-content { color: var(--text-dark); font-size: 1.05rem; line-height: 1.8; }
.event-detail-content h2, .event-detail-content h3 { color: var(--color-bg-dark); margin: 2rem 0 1rem; }
.event-detail-content p { margin-bottom: 1.25rem; }
.event-detail-content ul, .event-detail-content ol { margin: 0 0 1.25rem 1.5rem; }
.event-detail-content li { margin-bottom: 0.5rem; }
.event-detail-content img { border-radius: 12px; margin: 1.5rem 0; }
.event-detail-content a { color: var(--color-space-primary); text-decoration: underline; }

.event-detail-aside { position: sticky; top: 100px; }
.event-info-card { background: white; border: 1px solid #e2e8f0; border-radius: 16px; padding: 1.75rem; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.event-info-card h3 { color: var(--color-bg-dark); font-size: 1.2rem; margin-bottom: 1.25rem; }
.event-info-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.event-info-card li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--text-dark); font-weight: 500; }
.event-info-card li i { color: var(--color-space-primary); margin-top: 3px; width: 18px; text-align: center; }

@media (max-width: 900px) {
    .event-detail-grid { grid-template-columns: 1fr; }
    .event-detail-aside { position: static; }
}
@media (max-width: 768px) {
    .hero-agenda { padding: 110px 0 40px; }
    .hero-agenda h1 { font-size: 2.2rem; }
    .filters-container { flex-direction: column; align-items: stretch; }
    .filter-date-wrapper, .filter-date { width: 100%; }
    .events-grid { grid-template-columns: 1fr; }
    .event-hero { padding: 120px 0 40px; }
    .event-hero h1 { font-size: 1.9rem; }
}

/* ==========================================================================
   PAGE : PRÉPARER MA VISITE
   ========================================================================== */
.visit-section { background-color: #f8fafc; }
.layout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 4rem; align-items: start; }

.content-column section { margin-bottom: 3rem; background: #fff; border-radius: 16px; padding: 3rem; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid #e2e8f0; }
.content-column section:last-child { margin-bottom: 0; }

.section-title { font-size: 1.8rem; font-weight: 800; color: var(--color-bg-dark); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 10px; }
.section-title i { color: var(--color-space-primary); }
.section-lead { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; }

/* Horaires */
.alert-box { background-color: rgba(255, 144, 107, 0.1); border-left: 4px solid var(--color-space-primary); padding: 1.5rem; border-radius: 8px; margin-bottom: 2rem; display: flex; gap: 1rem; align-items: flex-start; }
.alert-box > i { color: var(--color-space-primary); font-size: 1.5rem; margin-top: 2px; }
.alert-box h4 { color: var(--color-bg-dark); font-weight: 700; margin-bottom: 0.25rem; }
.hours-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.hours-list { list-style: none; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px dashed #e2e8f0; color: var(--text-muted); }
.hours-list li strong { color: var(--text-dark); }
.hours-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.75rem; }

/* Filtres tarifs */
.filters-wrapper { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; background: #f8fafc; padding: 1.5rem; border-radius: 12px; }
.filter-group label { display: block; font-weight: 700; color: var(--color-bg-dark); margin-bottom: 0.5rem; font-size: 0.9rem; }
.filter-select { width: 100%; padding: 0.8rem 1rem; border-radius: 8px; border: 1px solid #cbd5e1; font-family: var(--font-sans); font-size: 1rem; color: var(--text-dark); outline: none; background: #fff; cursor: pointer; }
.filter-select:focus { border-color: var(--color-bg-dark); }

.tarifs-result { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.tarif-group { display: none; }
.tarif-group.active { display: contents; }
.tarif-card { border: 1px solid #e2e8f0; border-radius: 12px; padding: 1.5rem; text-align: center; background: #fff; transition: var(--transition-smooth); }
.tarif-card:hover { border-color: var(--color-space-primary); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.tarif-card h4 { font-size: 1.2rem; color: var(--color-bg-dark); margin-bottom: 0.5rem; }
.tarif-price { font-size: 2.2rem; font-weight: 800; color: var(--color-space-primary); margin-bottom: 1rem; }
.tarif-price span { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.tarif-desc { font-size: 0.9rem; color: var(--text-muted); }
.tarif-pass { margin-top: 0.75rem; font-weight: 600; color: var(--text-dark); }
.tarif-card-wide { grid-column: 1 / -1; text-align: left; display: flex; align-items: center; gap: 2rem; }
.tarif-card-icon i { font-size: 3rem; color: var(--color-space-primary); }
.tarif-cta { margin-top: 1rem; }
.tarif-cta a { color: var(--color-bg-dark); font-weight: 700; text-decoration: underline; }

/* Accès */
.map-container { border-radius: 12px; overflow: hidden; height: 300px; margin-bottom: 2rem; background: #e2e8f0; }
.map-container iframe { width: 100%; height: 100%; border: 0; }
.access-address { font-size: 1.1rem; color: var(--color-bg-dark); font-weight: 700; margin-bottom: 2rem; text-align: center; }
.transport-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.transport-item { text-align: center; }
.transport-item i { font-size: 2rem; color: var(--color-bg-dark); margin-bottom: 1rem; background: #f1f5f9; width: 60px; height: 60px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.transport-item h4 { color: var(--color-bg-dark); font-weight: 700; margin-bottom: 0.25rem; }
.transport-item p { font-size: 0.9rem; color: var(--text-muted); }

/* Conseils */
.tips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.tip-card { background: #f8fafc; padding: 1.5rem; border-radius: 12px; border: 1px solid #e2e8f0; }
.tip-card h4 { font-size: 1.1rem; color: var(--color-bg-dark); margin-bottom: 0.75rem; display: flex; align-items: center; gap: 10px; }
.tip-card h4 i { color: var(--color-space-primary); font-size: 1.25rem; }
.tip-card p { font-size: 0.9rem; color: var(--text-muted); }

/* FAQ */
.faq-item { border-bottom: 1px solid #e2e8f0; padding: 1rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { font-size: 1.1rem; font-weight: 700; color: var(--color-bg-dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.5rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { transition: transform 0.3s ease; color: var(--color-space-primary); }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-content { padding-top: 1rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Sidebar contact */
.sticky-sidebar { position: sticky; top: 100px; }
.contact-widget { background: linear-gradient(135deg, var(--color-bg-dark), var(--color-history-dark)); color: #fff; padding: 2.5rem; border-radius: 16px; box-shadow: 0 15px 30px rgba(22, 43, 117, 0.2); position: relative; overflow: hidden; }
.contact-widget::before { content: ''; position: absolute; top: -50px; right: -50px; width: 150px; height: 150px; background: radial-gradient(circle, rgba(255,144,107,0.2) 0%, transparent 70%); border-radius: 50%; }
.contact-widget h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; position: relative; z-index: 2; }
.contact-widget p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 0.95rem; position: relative; z-index: 2; }
.contact-info-list { list-style: none; margin-bottom: 2rem; position: relative; z-index: 2; }
.contact-info-list li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; font-size: 1.1rem; font-weight: 600; }
.contact-info-list i { color: var(--color-space-primary); font-size: 1.3rem; }
.contact-widget-btn { width: 100%; position: relative; z-index: 2; background: #fff; color: var(--color-bg-dark); }
.contact-widget-btn:hover { background: #f1f5f9; color: var(--color-bg-dark); }

@media (max-width: 1024px) {
    .layout-grid { grid-template-columns: 1fr; gap: 2rem; }
    .sticky-sidebar { position: static; }
    .content-column section { padding: 2rem; }
    .transport-grid { grid-template-columns: 1fr; }
    .transport-item { display: flex; align-items: center; gap: 1rem; text-align: left; }
    .transport-item i { margin-bottom: 0; }
}
@media (max-width: 768px) {
    .tips-grid, .filters-wrapper { grid-template-columns: 1fr; }
    .content-column section { padding: 1.5rem; }
    .tarif-card-wide { flex-direction: column; text-align: center; }
}
