body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fa;
}

/* ===== HEADER ===== */
.header-center {
    background: #0b4f8a;
    padding: 12px 10px; /* équilibré */
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 65px; /* taille moyenne propre */
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.menu-toggle {
    position: absolute;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    display: none;
    color: white;
}

/* ===== NAV ===== */
nav {
    background: #08345c;
    position: sticky;
    top: 85px; /* adapté au header */
    z-index: 999;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav li {
    position: relative;
}

nav a {
    padding: 15px 20px;
    display: block;
    color: white;
    text-decoration: none;
    transition: background 0.2s ease;
}

nav a:hover {
    background: #1e73be;
}

/* ===== DROPDOWN DESKTOP ===== */
nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0a3d6b;
    min-width: 200px;
    border-radius: 6px;
    z-index: 1000;
}

nav li:hover > ul {
    display: block;
}

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(#1e73be, #0b4f8a);
    color: white;
}

/* ===== SECTIONS ===== */
.section {
    padding: 30px;
    text-align: center;
}

/* ===== CARDS ===== */
.card {
    background: white;
    padding: 20px;
    margin: 15px;
    display: inline-block;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* ===== BOUTON ===== */
.btn-phone {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    background: #1e73be;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
}

.btn-phone:hover {
    background: #0b4f8a;
}

/* ===== FOOTER ===== */
footer {
    background: #08345c;
    color: white;
    text-align: center;
    padding: 20px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    /* dropdown mobile */
    nav ul ul {
        display: none;
        position: static;
        background: #0a3d6b;
        width: 100%;
    }

    nav li.active > ul {
        display: block;
    }

    nav a {
        padding: 15px;
    }

    .arrow {
        display: inline-block;
        transition: transform 0.3s ease;
    }

    nav li.active .arrow {
        transform: rotate(180deg);
    }

    .card {
        width: 90%;
    }
}