/* Style du logo */
img[src*="8YzX0qP.png"], img[src="logo.png"] {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

img[src*="8YzX0qP.png"]:hover, img[src="logo.png"]:hover {
  transform: scale(1.05);
}

/* Style pour le menu mobile */
.mobile-menu {
    position: fixed;
    top: 16px;
    right: -320px; /* caché à droite */
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1rem;
    border-radius: 8px;
    z-index: 1000;
    width: 80%;
    max-width: 300px;
    transition: right 0.3s ease;
}

.mobile-menu.open {
    right: 0; /* visible */
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #4b5563;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}

.mobile-menu a:hover {
    background: #f3f4f6;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #333;
    cursor: pointer;
    z-index: 1001;
    padding: 5px 10px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.close-btn:hover {
    transform: scale(1.1);
    color: #e74c3c;
}

/* Fond semi-transparent pour le bouton X */
.close-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    z-index: -1;
}
