body {
    margin: 0;
    overflow-x: hidden;
    background-color: #FFF5F5;
    color: #2B2B2B;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

.glass-panel {
    background: rgba(255, 245, 245, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(69, 123, 157, 0.1);
}

.art-card {
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.art-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(69, 123, 157, 0.2);
}

.bg-pattern {
    background-image: radial-gradient(#333 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ── LIGHTBOX ──────────────────────────────────────── */
.lb-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #457B9D;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    display: block;
}

.lb-value {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #2B2B2B;
    line-height: 1.4;
}

.lb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(138, 138, 138, 0.2);
}

.lb-description {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    white-space: pre-wrap;
    margin-bottom: 2rem;
}

.lb-price-box {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(138, 138, 138, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ── HAMBURGER MENU ────────────────────────────────── */
#hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
}
#hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #2B2B2B;
    border-radius: 2px;
    transition: all 0.3s ease;
}
#hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger-btn.open span:nth-child(2) { opacity: 0; }
#hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile overlay */
#mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(255, 245, 245, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2B2B2B;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    min-height: 44px;
    display: flex;
    align-items: center;
}
#mobile-menu a:hover { color: #FF6B6B; }

/* ── LIGHTBOX MOBILE ───────────────────────────────── */
@media (max-width: 767px) {
    /* Lightbox : empiler verticalement sur mobile */
    #lightbox > div {
        flex-direction: column !important;
        max-height: 95vh;
        overflow-y: auto;
    }
    #lightbox > div > div:first-child {
        width: 100% !important;
        max-height: 55vw;
        min-height: 200px;
    }
    #lightbox > div > div:first-child img {
        max-height: 55vw;
    }
    #lb-content-panel {
        width: 100% !important;
        padding: 1.25rem !important;
        overflow-y: visible !important;
    }
    .lb-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
    .lb-price-box {
        flex-direction: column;
        align-items: flex-start;
    }
    /* Bouton fermer plus grand sur mobile */
    #lightbox > button {
        top: 0.75rem !important;
        right: 0.75rem !important;
        font-size: 2.5rem !important;
        min-width: 44px;
        min-height: 44px;
    }

    /* Hamburger visible */
    #hamburger-btn { display: flex; }

    /* Art card : pas d'effet hover sur tactile */
    .art-card:hover { transform: none; box-shadow: none; }
    .art-card:active { transform: translateY(-4px); }
}

/* ── RESPONSIVE NAV ────────────────────────────────── */
@media (max-width: 767px) {
    nav .hidden { display: none !important; }
}

/* ── TOUCH-FRIENDLY BUTTONS ────────────────────────── */
@media (max-width: 767px) {
    button, a.inline-flex {
        min-height: 44px;
    }
}

/* ── SCROLLBAR ─────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #FFF5F5; }
::-webkit-scrollbar-thumb { background: #457B9D; border-radius: 3px; }
