  :root {
            --bg-color: #fafafa;
            --text-color: #222;
            --accent-color: #555;
            --border-color: #e5e5e5;
            --overlay-bg: rgba(0, 0, 0, 0.9);
        }
     /* 2026 Production Fournier */


  /* Gallery */
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        header {
            text-align: center;
            padding: 40px 20px 20px;
        }

       
        .logo-container {
            margin-bottom: 25px;
        }

        .site-logo {
            max-height: 120px;
            width: auto;
            display: inline-block;
            transition: transform 0.3s ease;
        }

        .site-logo:hover {
            transform: scale(1.02);
        }

     
        nav.main-nav {
            display: flex;
            justify-content: center;
            gap: 25px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        nav.main-nav a {
            text-decoration: none;
            color: #777;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 1px;
            transition: color 0.2s;
        }

        nav.main-nav a.active, nav.main-nav a:hover {
            color: #000;
            border-bottom: 2px solid #000;
            padding-bottom: 2px;
        }

   
        .filter-container {
            display: flex;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
            padding: 0 20px;
            margin-bottom: 10px;
        }

        .filter-btn {
            background: transparent;
            border: 1px solid var(--border-color);
            padding: 8px 16px;
            border-radius: 30px;
            cursor: pointer;
            font-size: 0.85rem;
            font-weight: 500;
            color: var(--accent-color);
            transition: all 0.2s ease;
        }

        .filter-btn:hover, .filter-btn.active {
            background: #222;
            color: #fff;
            border-color: #222;
        }

     
        .gallery-grid {
            max-width: 1600px;
            margin: 0 auto;
            padding: 0 20px 60px;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            flex: 1;
        }

        .gallery-item {
            background: #fff;
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.03);
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        }

        .image-wrapper {
            width: 100%;
            height: 220px;
            overflow: hidden;
            background: #eee;
        }

        .image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
			object-position: top;
            transition: transform 0.5s ease;
        }

        .gallery-item:hover .image-wrapper img {
            transform: scale(1.03);
        }

        .item-info {
            padding: 15px;
            text-align: center;
        }

        .item-info h3 {
            margin: 0 0 5px;
            font-size: 1rem;
            font-weight: 600;
        }

        .item-info p {
            margin: 0;
            color: #666;
            font-size: 0.85rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }


      

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--overlay-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 0;
    box-sizing: border-box;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px 80px;
    box-sizing: border-box;
    pointer-events: none; /* Laisse passer le clic vers la lightbox de fond */
}

/* Force tous les tableaux à épouser la hauteur maximale de l'écran */
.lightbox-content img {
    height: 90vh; /* S'étire pour occuper toute la hauteur */
    width: auto;
    max-width: 90vw;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.8);
    cursor: default;
    pointer-events: auto; /* Reçoit le survol de la souris */
}

/* Flèches fixes aux bords */
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 2.2rem;
    padding: 20px 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    z-index: 2020;
    pointer-events: auto;
	transition: opacity 0.3s ease, background 0.2s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

.lightbox-prev { left: 15px; }
.lightbox-next { right: 15px; }

/* Bouton de fermeture fixe */
.lightbox-close {
    position: fixed;
    top: 20px;
    right: 25px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 2.2rem;
    line-height: 1;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2020;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    pointer-events: auto;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Bulle de légende : cachée par défaut */
.lightbox-details {
    position: fixed;
    bottom: 20px;
    right: 25px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    text-align: right;
    max-width: 320px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 2010;
    pointer-events: auto;
    transition: opacity 0.2s ease;
}

.lightbox-details h2 {
    margin: 0 0 2px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.lightbox-details p {
    margin: 0;
    color: #bbb;
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Sur PC : La légende n'apparaît QUE lorsque le pointeur est sur l'image */
.lightbox-content img:hover + .lightbox-details,
.lightbox-details:hover {
    opacity: 1;
}







        .no-result {
            text-align: center;
            grid-column: 1 / -1;
            color: #888;
            padding: 40px;
        }

 
        footer {
            text-align: center;
            padding: 30px 20px;
            border-top: 1px solid var(--border-color);
            margin-top: 60px;
            font-size: 0.8rem;
            color: #888;
        }

        footer a {
            color: #666;
            text-decoration: none;
            transition: color 0.2s;
        }

        footer a:hover {
            color: #000;
            text-decoration: underline;
        }

        @media (max-width: 768px) {
            .site-logo { max-height: 90px; }
          
        }




.filter-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
    padding: 12px 20px;
    border-radius: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-color);
    transition: all 0.2s ease;
    min-width: 100px;
}

.filter-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: filter 0.2s ease;
	margin-bottom: -5px;
}


.filter-btn:hover, .filter-btn.active {
    background: #222;
    color: #fff;
    border-color: #222;
}

.filter-btn:hover .filter-icon, 
.filter-btn.active .filter-icon {
    filter: brightness(0) invert(1); 
}



/* Expositions */


.expos-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.expo-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.expo-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.expo-header h2 {
    margin: 0 0 5px;
    font-size: 1.4rem;
}

.expo-date {
    color: #777;
    font-size: 0.9rem;
    font-weight: 500;
}

.expo-description {
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.expo-gallery {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.expo-thumb-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: #eee;
}

.expo-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.expo-thumb-wrapper:hover img {
    transform: scale(1.05);
}



/* Page Artist  */


.artist-container {
    max-width: 900px; 
    margin: 0 auto;
    padding: 0 20px 80px;
}


.artist-profile-block {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 70px;
}

.artist-portrait {
    width: 320px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.artist-portrait img {
    width: 100%;
    height: auto;
    display: block;
}

.artist-bio-text {
    flex: 1;
    line-height: 1.8;
    color: #333;
}

.artist-bio-text h2 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.artist-bio-text p {
    font-size: 0.95rem;
    margin-bottom: 18px;
    color: #444;
}


.artist-photos-section {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.artist-photos-title {
    text-align: center;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 35px;
    font-weight: 500;
}


.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
}

.artist-photo-item {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.artist-photo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.artist-photo-item .img-wrapper {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: #f4f4f4;
}

.artist-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.artist-photo-item:hover img {
    transform: scale(1.06);
}

.artist-photo-caption {
    padding: 6px 8px;
    font-size: 0.75rem;
    color: #777;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


@media (max-width: 768px) {
    .artist-profile-block {
        flex-direction: column;
        gap: 25px;
    }
    .artist-portrait {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    .artist-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 10px;
    }
    .artist-photo-item .img-wrapper {
        height: 100px;
    }
}

/* Contact */


.contact-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.contact-intro {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-form {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 35px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #222;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.btn-submit {
    background: #222;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #444;
}

.social-links {
    text-align: center;
    margin-top: 0px;
}

.social-links h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.social-icons a:hover {
    color: #777;
    border-color: #777;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 25px;
    text-align: center;
    border: 1px solid #c3e6cb;
}



/* Mentions Légales */


.legal-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px 80px;
    line-height: 1.8;
    color: #333;
}

.legal-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.legal-card h1 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 500;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.legal-card h2 {
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #111;
}

.legal-card p, .legal-card ul {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #444;
}

.legal-card ul {
    padding-left: 20px;
}

.legal-card a {
    color: #222;
    text-decoration: underline;
}

.legal-card .trilingual-block {
    background: #f9f9f9;
    padding: 20px;
    border-left: 3px solid #333;
    margin: 25px 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .legal-card {
        padding: 25px 20px;
    }
}



/* Le Menu de chaques pages */

        .sticky-nav-container {
            position: sticky;
            top: 0;
            background-color: var(--bg-color);
            z-index: 900;
            padding-top: 20px;
            padding-bottom: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
        }




/* Adaptation Mobile */

@media (max-width: 768px) and (orientation: portrait) {
    .lightbox-content {
        padding: 60px 10px 80px 10px;
    }
    .lightbox-content img {
        width: 100%;
        height: auto;
        max-height: 70vh;
    }
   .lightbox-details {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 15px;
        text-align: center;
        max-width: 90%;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        padding: 0;
    }
    .lightbox-details h2 { font-size: 1.1rem; }
    .lightbox-details p { font-size: 0.85rem; color: #ddd; }
	
    .lightbox-nav {
        padding: 12px 8px;
        font-size: 1.6rem;
    }
	.lightbox-nav.hidden {
        opacity: 0;
        pointer-events: none;
    }
    .lightbox-prev { left: 5px; }
    .lightbox-next { right: 5px; }
}

@media (max-height: 500px) and (orientation: landscape) {
    .lightbox-content img {
        height: 92vh;
        max-width: 70vw;
    }
   .lightbox-details {
        bottom: 15px;
        right: 15px;
        max-width: 250px;
        padding: 8px 12px;
    }
}




@media (max-width: 900px) {
	
	 .filter-container {
            margin-bottom: -5px;
        }
  
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr) !important; 
        gap: 10px;
        padding: 0 10px 40px;
    }

   
    .image-wrapper {
        height: 120px; 
    }

    .item-info {
        padding: 6px;
    }

    .item-info h3 {
        font-size: 0.75rem;
        margin-bottom: 2px;
    }

    .item-info p {
        font-size: 0.6rem;
        -webkit-line-clamp: 1;
    }

   
    nav.main-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        margin-bottom: 15px;
        padding: 0 10px;
        flex-wrap: nowrap;
        width: 100%;
        box-sizing: border-box;
    }
    
    nav.main-nav a {
        font-size: 0.7rem;
        letter-spacing: 0px;
    }


    .filter-container {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 4px;
        padding: 0 10px 15px 10px;
        overflow-x: visible;
    }

    .filter-btn {
        min-width: unset;
        flex: 1;
        padding: 4px 2px;
        font-size: 0.55rem;
        border-radius: 6px;
    }

    .filter-icon {
        width: 24px;  
        height: 24px;
        margin-bottom: -2px;
    }
}


@media (max-height: 500px) and (orientation: landscape) {
    .gallery-grid {
        grid-template-columns: repeat(5, 1fr) !important; 
    }
    .image-wrapper {
        height: 100px;
    }
}


@media (max-width: 900px) and (orientation: landscape) {
    .artist-profile-block {
        flex-direction: row !important; 
        gap: 25px;
    }
    
    .artist-portrait {
        width: 200px !important; 
        flex-shrink: 0;
    }
}


/* Defilment */


@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.lightbox-content img.slide-next {
    animation: slideFromRight 0.25s ease-out;
}

.lightbox-content img.slide-prev {
    animation: slideFromLeft 0.25s ease-out;
}