/* ============================
   GLOBAL
============================ */
body {
    margin: 0;
    background: #ffffff;
    font-family: Arial, sans-serif;
}

/* ============================
   VERSION DESKTOP
============================ */
.desktop-version {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.desktop-version img {
    max-width: 90vw;
    max-height: 90vh;
    cursor: pointer;
}

/* Bulle curseur desktop */
#cursor-info {
    position: fixed;
    pointer-events: none;
    background: rgba(255,255,255,0.9);
    border: 1px solid #ccc;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);

    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

#cursor-info img {
    width: 16px;
    height: 16px;
}

/* ============================
   VERSION MOBILE
============================ */
.mobile-version {
    display: flex;
    flex-direction: column;
    justify-content: center;      /* CENTRAGE VERTICAL */
    align-items: center;          /* CENTRAGE HORIZONTAL */
    min-height: 100vh;            /* Pleine hauteur */
    background: #f4f4f4;
    padding: 20px;
    text-align: center;
    position: relative;           /* Nécessaire pour le header absolu */
}

/* ============================
   HEADER MOBILE (BURGER)
============================ */
.mobile-header {
    position: absolute !important; /* Fixé en haut, hors du flux */
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    width: auto !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    z-index: 1000 !important;
}

/* Menu burger */
.burger {
    width: 30px;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 4px;
    background: #000;
    margin: 6px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* ============================
   LOGO + TEXTE MOBILE
============================ */
.mobile-logo {
    width: 140px;
    margin-bottom: 20px;
}

.mobile-intro {
    font-size: 18px;
    color: #000;
    margin-top: 10px;
}

/* ============================
   PANNEAU LATERAL MOBILE
============================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;                 /* Totalement caché */
    width: 250px;
    height: 100vh;
    background: #f7f7f7;         /* Blanc cassé */
    padding: 20px;
    border-right: 1px solid #ccc;
    transition: left 0.3s ease;
    z-index: 2000;
}

/* Ouvert */
.mobile-menu.open {
    left: 0;
}

/* Liens du menu — MARRON TRÈS FONCÉ */
.mobile-menu a,
.mobile-menu a:visited,
.mobile-menu a:active,
.mobile-menu a:hover {
    display: block;               /* Chaque lien sur sa ligne */
    color: #3b2a1f !important;    /* Marron très foncé */
    text-decoration: none;
    margin: 20px 0;
    font-size: 18px;
}

/* VERSION PC PAR DÉFAUT */
.desktop-version {
    display: flex;
}

/* VERSION MOBILE PAR DÉFAUT */
.mobile-version {
    display: none;
}

/* RESPONSIVE : MOBILE */
@media (max-width: 799px) {
    .desktop-version {
        display: none !important;
    }
    .mobile-version {
        display: flex !important;
    }
}
