nav.menu-icones {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 8px;
    margin: 0;
    padding: 8px 10px;
    background: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

nav.menu-icones a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 96px;
    margin: 0;
    padding: 7px 14px;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.3s, background 0.3s;
}

nav.menu-icones a svg {
    display: block;
    width: 24px;
    height: 24px;
}

nav.menu-icones a:hover {
    color: #FECB00;
    background: rgba(255, 255, 255, 0.07);
}

nav.menu-icones a.actif {
    color: #FECB00;
}

@media (max-width: 600px) {
    nav.menu-icones {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0;
        padding: 6px 4px;
    }

    nav.menu-icones a {
        flex: 1 1 auto;
        min-width: 0;
        padding: 6px 3px;
        font-size: 12px;
        white-space: nowrap;
    }

    nav.menu-icones a svg {
        width: 22px;
        height: 22px;
    }
}

footer.pied-site {
    margin-top: 40px;
    padding: 28px 16px 22px;
    border-top: 4px solid #FECB00;
    border-image: linear-gradient(to right, #002664, #FECB00, #C8102E) 1;
    background: #2b2b2b;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

.pied-titre {
    margin: 0 0 16px;
    color: #f2f2f2;
    font-size: 16px;
    font-weight: bold;
}

.pied-reseaux {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.pied-reseaux a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.pied-reseaux a:hover {
    background: #FECB00;
    color: #222;
    transform: translateY(-2px);
}

.pied-reseaux svg {
    flex: none;
    width: 20px;
    height: 20px;
}

.pied-signature {
    margin: 20px 0 0;
    color: #FECB00;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.12em;
}

.msg-admin {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 1000;
    box-sizing: border-box;
    width: min(340px, calc(100vw - 28px));
    padding: 14px 16px;
    border-left: 5px solid #FECB00;
    border-radius: 12px;
    background: #fff;
    color: #333;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.3s, transform 0.3s;
}

.msg-admin.visible {
    opacity: 1;
    transform: none;
}

.msg-tete {
    display: flex;
    align-items: center;
    gap: 10px;
}

.msg-avatar {
    flex: none;
    width: 44px;
    height: 44px;
    border: 2px solid #002664;
    border-radius: 50%;
    background: #c9d3e6;
    overflow: hidden;
}

.msg-avatar img,
.msg-avatar svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    fill: #fff;
}

.msg-qui {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.msg-qui strong { color: #002664; font-size: 15px; }
.msg-qui span { color: #777; font-size: 12px; }

.msg-fermer {
    flex: none;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f0f2f5;
    color: #333;
    font: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.msg-fermer:hover { background: #e2e5ea; }

.msg-texte {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eceff4;
}

.msg-texte p {
    margin: 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.msg-texte time {
    display: block;
    margin-top: 4px;
    color: #888;
    font-size: 12px;
}

@media (max-width: 360px) {
    nav.menu-icones a {
        padding: 6px 1px;
        font-size: 11px;
    }
}

.pied-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 999px;
    background: #FECB00;
    color: #222;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s, background 0.2s;
}

.pied-contact:hover {
    background: #ffd83a;
    transform: translateY(-2px);
}

.pied-contact svg {
    flex: none;
    width: 20px;
    height: 20px;
}

.pied-contact + .pied-titre {
    margin-top: 26px;
}
