* {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 10vh;
    background-color: #fff;
    z-index: 12;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding-left: 10%;
    display: flex;
    align-items: center;
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    width: 100%;
}

.logoHeader {
    max-height: 60px;
    width: auto;
}

.burger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: rgb(0, 56, 130);
    z-index: 1002;
}

/* Menu mobile latéral */
.menu-links {
    display: flex;
    justify-content: flex-end;
}

.menu-links ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.menu-links a {
    text-decoration: none;
    color: rgb(0, 56, 130);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.menu-links a:hover {
    color: rgba(0, 56, 130, 0.7);
}

footer{
    margin-top: 30px;
    width: 100%;
    background-color:rgba(0, 56, 130, 0.9);
    height: 15vh;
}

footer ul {
    line-height: 15vh;
    display: flex;
    list-style-type: none;
    justify-content: space-around;
    height: 100%;
    width: 100%;
}

footer ul li{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer ul li a {
    text-align: center;
    text-decoration: none;
    color: white;
    font-size: 1.3em;
}

footer ul li a:hover{
    font-size: 1.5em;
    color: white;
    text-decoration: none;
}

.relative{
    position: relative;
}

.burger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: rgb(0, 56, 130);
    cursor: pointer;
}

.footer {
    background-color: rgba(0, 56, 130, 0.9);
    color: white;
    padding: 30px 20px 10px;
    font-size: 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #cccccc;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .main-header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-links .nav {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
        width: 100%;
        padding-left: 0;
    }

    .menu-links .nav-link {
        padding-left: 0;
        font-size: 1.1rem;
    }

    .logoHeader {
        max-height: 50px;
        margin-bottom: 10px;
    }
}

@media (max-width: 768px) {
    .burger {
        display: block;
    }

    .menu-links {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1001;
        padding: 15px;
    }

    .menu-links.active {
        right: 0;
    }

    .menu-links ul {
        flex-direction: column;
        padding: 50px 20px;
        gap: 30px;
    }

    body.menu-open::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 1000;
    }
}

@media (max-width: 576px) {
    .main-header .container {
        padding: 10px 20px;
    }

    .logoHeader {
        max-height: 40px;
    }

    .menu-links .nav-link {
        font-size: 1rem;
        padding: 6px 0;
    }
}
