/* ==========================================================================
   CLASSIFICATION : CONFIDENTIEL — Soumis au secret des affaires.
   FICHIER : public/assets/css/style.css
   ========================================================================== */

:root {
    --font-main: 'Montserrat', sans-serif;
    --text-color: #111111;
    --text-muted: #767676;
    --bg-color: #ffffff;
    --border-color: #e5e5e5;
    --status-available: #0ca678;
    --status-sold: #9b9b9b;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   EN-TÊTE ET NAVIGATION (Design Restauré)
   ========================================================================== */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-color);
}

.logo a { 
    font-size: 1.4rem; font-weight: 600; letter-spacing: 4px; 
    color: var(--text-color); text-decoration: none; text-transform: none; 
}

.site-nav { 
    display: flex;
    gap: 2.5rem; 
    list-style: none;
}

.site-nav a { 
    display: block; font-size: 0.85rem; font-weight: 400; 
    text-decoration: none; color: var(--text-muted); 
    letter-spacing: 1.5px; text-transform: uppercase;
    transition: color 0.3s ease; 
}

.site-nav a:hover, .site-nav a.active { 
    color: var(--text-color); 
    font-weight: 500;
}

.lang-switch { display: flex; gap: 1rem; }
.lang-switch a { 
    font-size: 0.8rem; color: var(--text-muted); 
    text-decoration: none; text-transform: uppercase; letter-spacing: 1px; 
}
.lang-switch a.active { color: var(--text-color); font-weight: 600; }

/* ==========================================================================
   CONTENEURS ET GRILLE (Optimisé)
   ========================================================================== */
.main-content { min-height: 75vh; padding-bottom: 4rem; }
.gallery-container { padding: 3rem 5%; max-width: 1400px; margin: 0 auto; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 3.5rem 2.5rem;
}

.gallery-item { cursor: pointer; display: flex; flex-direction: column; }
.gallery-image-wrapper { 
    overflow: hidden; 
    background-color: #fcfcfc; 
    border: 1px solid #f0f0f0; 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover .gallery-image-wrapper { transform: translateY(-4px); }
.gallery-item img { width: 100%; height: auto; display: block; }

.gallery-item-info { padding-top: 1.2rem; text-align: left; }
.gallery-item-info h3 { font-size: 0.95rem; font-weight: 500; color: var(--text-color); margin-bottom: 0.3rem; }

.artwork-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; letter-spacing: 0.2px; }
.artwork-status { display: inline-block; font-size: 0.7rem; text-transform: uppercase; font-weight: 500; margin-top: 0.2rem; }
.artwork-status.status-available { color: var(--status-available); }
.artwork-status.status-sold { color: var(--status-sold); font-style: italic; }

/* ==========================================================================
   LIGHTBOX ET RESPONSIVE
   ========================================================================== */
.lightbox {
    display: none; position: fixed; z-index: 10000;
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(12, 12, 12, 0.98);
    align-items: center; justify-content: center; padding: 2rem;
}
.lightbox-content { display: flex; flex-direction: column; align-items: center; max-width: 1200px; width: 100%; }
.lightbox img { max-width: 100%; max-height: 70vh; box-shadow: 0 15px 50px rgba(0,0,0,0.6); }

@media (max-width: 768px) {
    .site-header { flex-direction: column; gap: 2rem; padding: 2rem 5%; }
    .site-nav { flex-direction: column; align-items: center; gap: 1.5rem; }
    .lang-switch { margin-top: 1rem; }
    .gallery-grid { grid-template-columns: 1fr; }
}