* {
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    background-color: #0B3861;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100vh;
}

.header {
    position: sticky;
    display: flex;
    height: 60px;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    align-items: center;
    padding: 1rem 2rem;
    top: 0;
    z-index: 10;
    background-color: rgba(11, 56, 97, 0.9);
    backdrop-filter: blur(4px);
}
.logo {
    font-weight: 600;
    color: #f0f0f0;
}

/* Bouton hamburger caché en PC */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
}

.nav ul {
    display: flex;
    list-style-type: none;
    color: #f0f0f0;
    font-size: 1em;
    gap: 1rem;
    transition: all 0.25s ease;
}

.nav.active ul {
    transform: translateY(0);
    opacity: 1;
}

.nav ul li a {
    position: relative;
    text-decoration: none;
    color: #f0f0f0;
    border-radius: 5px;
    padding: 0.5rem 1rem;
}

.nav ul li a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #00CCCC;
    transition: width 0.3s;
}

.nav ul li a:hover { /* tous liens lors du survol dans la balise nav */
    color: #f19c65; /* couleur de fond */
}

.nav ul li a:hover::after {
    width: 100%;
}

.hub {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    text-decoration: none;
    color: #1a1a1a;
    background: #f9fbff;
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.8);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card h3 {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}
