/* Variables CSS avec palette bleu ciel */
:root {
    --primary-color: #38b6ff;
    --secondary-color: #87ceeb;
    --accent-color: #ffd166;
    --dark-color: #1e3a5f;
    --light-color: #f0f9ff;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 8px 25px rgba(56, 182, 255, 0.15);
    --transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

/* Menu haut */
.top-menu {
    background: linear-gradient(135deg, var(--dark-color), #0a2540);
    color: var(--white);
    padding: 15px 0;
    font-size: 0.9rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1002;
    transform: translateY(0);
    transition: var(--transition);
}

.top-menu.hidden {
    transform: translateY(-100%);
}

.top-menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-menu-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top-menu-logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.top-menu-logo img {
    height: 35px;
    width: auto;
    transition: var(--transition);
}

.top-menu-logo:hover img {
    transform: scale(1.05);
}

.top-menu-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.top-menu-item:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.top-menu-item i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.top-menu-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.top-menu-social {
    display: flex;
    gap: 12px;
    margin-left: 20px;
}

.top-menu-social a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.top-menu-social a:hover {
    color: var(--dark-color);
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Masquer le menu haut sur les pages sans menu haut */
body.no-top-menu .top-menu {
    display: none !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--light-color);
}

/* Responsive du menu haut */
@media (max-width: 992px) {
    .top-menu {
        display: none;
    }
}