body{visibility:visible}
/* white/src/styles/bien.css — property detail page */

:root {
    --gold:       #b8962e;
    --gold-light: #e8c84a;
    --black:      #1d1510;
    --text:       #1d1510;
    --text-muted: #6e6e73;
    --white:      #FFFFFF;
    --off-white:  #faf7f2;
    --card-bg:    #f7f4ef;
    --border:     #e2d9c8;
    --shadow-sm:  0 1px 12px rgba(0,0,0,.06);
    --shadow-md:  0 4px 24px rgba(0,0,0,.10);
    --shadow-lg:  0 12px 40px rgba(0,0,0,.14);
    --radius:     16px;
    --radius-sm:  12px;
    --transition: all 0.3s ease;
    --font-sans:  -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --font-serif: 'Georgia', 'Times New Roman', serif;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-y: scroll; scroll-behavior: smooth; }

body {
    background: var(--off-white);
    color: var(--text);
    font-family: var(--font-serif);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { text-decoration: none; color: inherit; }

/* ── HEADER ─────────────────────────────────── */
header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 50px;
    box-sizing: border-box;
}

header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, transparent);
}

.real img {
    height: 54px; width: auto; display: block;
    transition: transform 0.3s ease;
    position: relative; z-index: 1001;
}
.real img:hover { transform: scale(1.04); }

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
    font-family: Arial, sans-serif;
    font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1.8px;
    color: #3a3a3a;
    padding: 8px 14px;
    position: relative;
    transition: color 0.25s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    width: 0; height: 1.5px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav a:hover, .nav a.active { color: var(--gold); }
.nav a:hover::after, .nav a.active::after { width: 65%; }

.lang-selector {
    position: relative; display: inline-block;
    padding: 8px 14px; cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 0.78rem; font-weight: 700;
    letter-spacing: 1.8px; color: var(--gold);
}

.lang-dropdown {
    display: none;
    position: absolute;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    top: calc(100% + 4px); left: 0;
    min-width: 56px; border-radius: var(--radius); z-index: 1001;
}

.lang-dropdown a {
    display: block; padding: 8px 12px;
    color: #3a3a3a; font-size: 0.75rem;
    font-weight: 600; letter-spacing: 1.5px;
    text-align: center; transition: background 0.2s, color 0.2s;
}
.lang-dropdown a:hover { background: var(--gold); color: #fff; }
.lang-selector:hover .lang-dropdown { display: block; }

.hamburger {
    display: none; flex-direction: column;
    cursor: pointer; z-index: 1001; gap: 5px;
}
.hamburger span {
    width: 26px; height: 2px;
    background: var(--black); border-radius: 2px;
    transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ── MAIN ────────────────────────────────────── */
main { flex: 1; padding-top: 100px; padding-bottom: 60px; }

/* ── PRÉSENTATION ────────────────────────────── */
.presentation {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Titre — pleine largeur au-dessus des photos */
.pgh {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

/* Grille photos — 2 colonnes, même hauteur */
.photo-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 14px;
    align-items: stretch;
}

/* Colonne gauche */
.pg {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pgh-statut {
    font-family: Arial, sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: var(--gold);
}

.pgh-titre {
    font-family: var(--font-sans);
    font-size: clamp(1.1rem, 2vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 1.3;
    color: var(--text);
}

.pgh-prix {
    font-family: Arial, sans-serif;
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    font-weight: 400;
    letter-spacing: 0.3px;
    color: var(--text);
    white-space: nowrap;
}

.pgh-ligne {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Image principale — ratio 16:9 fixe, hauteur suit la largeur de colonne */
.pgm {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pgm img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pgm:hover { transform: scale(1.015); box-shadow: var(--shadow-lg); }
.pgm:active { transform: scale(0.98); }

/* Galerie 3 miniatures */
.pgb {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.pgb1, .pgb2, .pgb3 {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 200px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pgb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pgb1:hover, .pgb2:hover, .pgb3:hover { transform: scale(1.04); box-shadow: var(--shadow-md); }
.pgb1:active, .pgb2:active, .pgb3:active { transform: scale(0.97); }

/* Colonne droite — suit exactement la hauteur de .pg */
.pd {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pdh, .pdb {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-height: 0;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pdh img, .pdb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdh:hover, .pdb:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }
.pdh:active, .pdb:active { transform: scale(0.97); }

/* ── BOUTON GALERIE ──────────────────────────── */
.gallery-btn {
    background: var(--white);
    color: var(--text);
    border: 1.5px solid #c5bdb0;
    border-radius: 30px;
    padding: 10px 22px;
    font-family: Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.gallery-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(184,150,46,0.18);
}
.gallery-btn:active { transform: translateY(0); }

/* Lien texte "voir toutes les photos" — entre présentation et séparateur */
.gallery-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 0 0;
    font-family: Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--text-muted);
    cursor: pointer;
    border: none;
    background: none;
    transition: color 0.2s;
}
.gallery-link:hover { color: var(--gold); }
.gallery-link::after {
    content: '→';
    font-size: 0.8rem;
    transition: transform 0.2s;
}
.gallery-link:hover::after { transform: translateX(3px); }

/* ── MODAL GALERIE ───────────────────────────── */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(26,26,26,0.96);
    z-index: 2000;
    overflow-y: auto;
    padding: 20px;
}
.gallery-modal.active { display: block; }

.gallery-modal-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 20px;
}

.gallery-close {
    position: fixed;
    top: 22px; right: 26px;
    font-size: 32px;
    line-height: 1;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    z-index: 2001;
    background: none;
    border: none;
    padding: 8px;
    transition: color 0.2s;
}
.gallery-close:hover { color: var(--gold); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(var(--gallery-cols, 2), 1fr);
    gap: 12px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── SÉPARATEUR ──────────────────────────────── */
.separateur { display: flex; flex-direction: column; align-items: center; margin: 30px auto; }

.barre {
    width: 90%;
    max-width: 1400px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-light) 50%, var(--gold) 80%, transparent);
    opacity: 0.5;
    border-radius: 50px;
}

/* ── INFO (description + formulaire) ─────────── */
.info {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    width: 90%;
    max-width: 1400px;
    gap: 20px;
    padding-top: 30px;
}

/* ── GAUCHE (description) ────────────────────── */
.gauche {
    width: 62%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.description {
    background: linear-gradient(135deg, #f7f4ef 0%, #f0ede6 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 24px 5%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.titre {
    font-family: Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
    display: inline-block;
}

.txt {
    font-family: Georgia, serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #3a3a3a;
    line-height: 1.9;
    letter-spacing: 0.2px;
}

.infos {
    background: linear-gradient(135deg, #f7f4ef 0%, #f0ede6 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 5%;
}


.dessus { font-size: 3rem; text-align: center; color: var(--gold); padding: 16px 0 8px; }

.dessous {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
}

.surface,
.hauteur {
    flex: 1;
    padding: 0 4%;
    position: relative;
}

.surface:first-child { padding-left: 0; }
.hauteur:last-child  { padding-right: 0; }

/* Ligne verticale dorée entre les deux colonnes */
.surface::after {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        var(--gold) 25%,
        var(--gold-light) 50%,
        var(--gold) 75%,
        transparent 100%
    );
    opacity: 0.45;
}

.nom {
    font-family: Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
    display: inline-block;
    margin-bottom: 12px;
    margin-left: 0;
}

.elements {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
}

.grp {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
}
.grp:last-child { border-bottom: none; }

/* Ligne valeur globale (superficie totale / hauteur sous plafond) */
.grp--defaut .piece {
    font-weight: 600;
    color: var(--text);
}
.grp--defaut .chiffre {
    color: var(--gold);
}
/* Séparateur sous la ligne défaut si des détails suivent */
.grp--defaut {
    margin-bottom: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.piece {
    font-family: Arial, sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-muted);
}

.chiffre {
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}


/* ── DROITE (formulaire + contact) ──────────── */
.droite {
    width: 38%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.formulaire {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    gap: 10px;
    background: linear-gradient(135deg, #f7f4ef 0%, #f0ede6 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
}

.interest {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
    width: 100%;
    gap: 6px;
}

.interest h2 {
    font-family: Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    margin: 0;
}

.name,
.tel,
.email,
.message,
.envoyer {
    background: transparent;
    padding: 4px 0;
    width: 100%;
}

.name { display: flex; justify-content: center; gap: 14px; }

.prenom, .noms, .tel, .email, .message {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.prenom label, .noms label,
.tel label, .email label, .message label {
    font-family: Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

input {
    padding: 0 14px;
    height: 48px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.75);
    color: var(--text);
    font-family: Arial, sans-serif;
    font-size: 0.88rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s, background 0.3s;
    outline: none;
}
input:focus { border-color: var(--gold); background: #fff; }
input::placeholder { color: #aaa; }

.envoyer {
    display: flex;
    justify-content: center;
    border-radius: 0;
    background: transparent;
}

.send {
    background: #1a1208;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-family: Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 14px 48px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 18px rgba(26,18,8,0.18);
}

.send span { color: inherit; }
.send:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184,150,46,0.32);
}
.send:active { transform: translateY(0); }

/* Coordonnées */
.coordonee {
    width: 100%;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 6px;
    box-sizing: border-box;
}

.contact {
    font-family: Arial, sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
    display: block;
    margin-bottom: 6px;
}

.telephone, .mail {
    font-family: 'MarkaziText', serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text);
    padding-left: 4px;
    letter-spacing: 0.3px;
}
.telephone a, .mail a { color: var(--text); transition: color 0.25s; }
.telephone a:hover, .mail a:hover { color: var(--gold); }

.horaire {
    font-family: 'MarkaziText', serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    font-style: italic;
    padding-left: 4px;
    letter-spacing: 0.2px;
}

.a {
    color: var(--gold);
    text-decoration: none;
}
.a:hover { text-decoration: underline; }

/* ── FONT FACE ───────────────────────────────── */
@font-face {
    font-family: 'MarkaziText';
    src: url('../../../assets/fonts/Markazi_Text/MarkaziText-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 900;
}

/* ── FOOTER ──────────────────────────────────── */
footer {
    background: #050505;
    color: #fff;
    padding: 56px 52px 32px;
    border-top: 3px solid #b8962e;
}

.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 44px; }

.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }

.footer-logo { height: 38px; width: auto; filter: brightness(0) invert(1); opacity: 0.7; display: block; margin-bottom: 14px; }

.footer-brand-text { font-family: Arial, sans-serif; font-size: 0.85rem; color: #9a9080; line-height: 1.6; max-width: 220px; }

.footer-col-title { font-family: Arial, sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #b8962e; margin-bottom: 18px; }

footer address { font-style: normal; display: flex; flex-direction: column; gap: 8px; font-family: Arial, sans-serif; font-size: 0.85rem; color: #9a9080; line-height: 1.4; }
footer address a { color: #f0ebe0; transition: color 0.25s; }
footer address a:hover { color: #e8c84a; }

.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-family: Arial, sans-serif; font-size: 0.85rem; color: #9a9080; transition: color 0.25s; }
.footer-nav a:hover { color: #e8c84a; }

.footer-bar { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(184,150,46,.2); padding-top: 24px; flex-wrap: wrap; gap: 14px; }

.footer-copy { font-family: Arial, sans-serif; font-size: 0.75rem; color: #5a5a5a; letter-spacing: 0.5px; }

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-family: Arial, sans-serif; font-size: 0.75rem; color: #8a8a8a; transition: color 0.25s; }
.footer-legal a:hover { color: #e8c84a; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 1024px) {
    .presentation { width: 95%; }
}

@media (max-width: 900px) {
    .info { flex-direction: column; gap: 20px; padding-top: 20px; }
    .gauche, .droite { width: 100%; }
    .droite { flex-direction: column; gap: 20px; align-items: stretch; }
}

@media (max-width: 640px) {
    /* Surfaces et hauteurs en colonne sur petit écran */
    .dessous { flex-direction: column; gap: 24px; }
    .surface, .hauteur { padding: 0; }
    .surface:first-child, .hauteur:last-child { padding: 0; }
    /* Supprimer le trait vertical, ajouter un trait horizontal */
    .surface::after {
        top: auto;
        bottom: -12px;
        left: 0; right: 0;
        width: 100%; height: 1px;
        background: linear-gradient(
            90deg,
            transparent 0%,
            var(--gold) 25%,
            var(--gold-light) 50%,
            var(--gold) 75%,
            transparent 100%
        );
    }
    .elements { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    header { padding: 10px 20px; height: 60px; }
    .real img { height: 38px; }
    .hamburger { display: flex; }

    .nav {
        position: fixed; top: 60px; left: 0;
        width: 100%; height: calc(100vh - 60px);
        background: var(--white);
        flex-direction: column; justify-content: flex-start;
        align-items: center; gap: 0; padding-top: 40px;
        transform: translateX(-100%); transition: transform 0.4s ease;
        opacity: 0; visibility: hidden;
    }
    .nav.active { transform: translateX(0); opacity: 1; visibility: visible; }

    .nav a { width: 88%; text-align: center; font-size: 0.9rem; padding: 16px 20px; margin: 6px 0; border-bottom: 1px solid var(--border); }
    .nav a::after { display: none; }

    .lang-selector { margin: 16px 0; width: 88%; text-align: center; }
    .lang-dropdown { position: relative; top: 0; width: 100%; margin-top: 8px; }
    .lang-selector.active .lang-dropdown { display: block; }

    main { padding-top: 80px; }

    .presentation { width: 95%; padding: 16px 0; }
    .photo-grid { grid-template-columns: 1fr; }
    .pgh { font-size: clamp(1rem, 4.5vw, 1.4rem); }
    .pg { gap: 12px; }
    .pgb, .pd { display: none; }

    footer { padding: 48px 24px 28px; }
    .footer-cols { grid-template-columns: 1fr; gap: 32px; }
    .footer-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer-legal { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
    header { padding: 8px 16px; height: 54px; }
    .nav { top: 54px; height: calc(100vh - 54px); }
    .real img { height: 34px; }

    .pgm { aspect-ratio: 16 / 9; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item { height: 210px; }
    .elements { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ── LIGHTBOX ────────────────────────────────── */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 10, 6, 0.96);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}
.lightbox-overlay.active { display: flex; }

.lightbox-img-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img-wrapper img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
}

/* Compteur */
.lightbox-counter {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Arial, sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    pointer-events: none;
}

/* Fermer */
.lightbox-close {
    position: fixed;
    top: 22px;
    right: 26px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    z-index: 3001;
    padding: 8px;
    transition: color 0.2s;
}
.lightbox-close:hover { color: var(--gold); }

/* Flèches navigation */
.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.65);
    font-size: 42px;
    cursor: pointer;
    z-index: 3001;
    padding: 28px 22px;
    transition: color 0.2s;
    user-select: none;
}
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--gold); }
.lightbox-prev.hidden,
.lightbox-next.hidden { opacity: 0; pointer-events: none; }

/* Zoom */
.lightbox-zoom-controls {
    position: fixed;
    bottom: 18px;
    right: 22px;
    display: flex;
    gap: 4px;
    z-index: 3001;
}

.lightbox-zoom-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.lightbox-zoom-btn:hover {
    background: rgba(184,150,46,0.18);
    color: var(--gold);
}
.lightbox-zoom-btn:hover svg { stroke: var(--gold); }
.lightbox-zoom-btn:disabled { opacity: 0.18; cursor: not-allowed; }

/* Curseur pointer sur les photos cliquables */
.pgm img, .pgb1 img, .pgb2 img, .pgb3 img, .pdh img, .pdb img { cursor: pointer; }
