/* Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.Position{
    color: #F5A13F;
}

body{
    background-color: lightgrey;
    font-family: "Alata", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #00425C;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a{
    color: #00425C;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover{
    color: #F5A13F;
    text-decoration: underline;
    text-decoration-color: #00425C;
}

/* Navigation */
.Navigation {
    background-color: white;
    padding: 15px 5%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 0px;
}

.Navigation .Logo {
    max-height: 110px;
    width: auto;
}

.Navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    z-index: 1000;
}

.Navigation li {
    display: inline-block;
}

.Navigation a {
    font-size: 18px;
    padding: 8px 15px;
    display: block;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.Navigation a:hover {
    background-color: #f0f0f0;
    text-decoration: none;
}

/* ===== FOOTER (TALON) ===== */
.Talon {
    padding: 30px 20% 30px 60px;
    background-color: #00425C;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-top: auto;
}

.Talon img {
    max-height: 120px;
    width: auto;
}

.Talon a {
    color: white;
    transition: color 0.3s ease;
}

.Talon a:hover {
    color: #F5A13F;
    text-decoration: underline;
    text-decoration-color: white;
}

.contact {
    display: flex;
    flex-direction: row;
    gap: 80px;
    align-items: flex-start;
}

.lienTalon,
.infoContactTalon {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.Talon p {
    margin: 0;
    line-height: 1.6;
}

.Talon i {
    margin-right: 10px;
    min-width: 20px;
}

/* --- MENU HAMBURGER --- */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: #00425C;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 10px;
    -webkit-tap-highlight-color: transparent;
}

/* ===== RESPONSIVE ===== */

/* Tablettes */
@media (max-width: 1025px) {
    .Navigation {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 15px 0;
    }
    
    .Navigation .Logo {
        max-height: 90px;
    }
    
    .Navigation ul {
        justify-content: center;
        width: 100%;
        display: flex;
    }
    
    .Navigation a {
        font-size: 16px;
        padding: 6px 12px;
    }
    
    .Talon {
        padding: 30px 40px;
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .Talon img {
        max-height: 100px;
    }
    
    .contact {
        gap: 50px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Afficher le menu hamburger */
    .menu-toggle {
        display: block;
        margin: 15px auto 0;
        position: relative;
    }

    .Navigation {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 15px 20px;
        gap: 0;
    }

    .Navigation #Logo {
        display: block;
        text-align: center;
        margin-bottom: 0;
    }

    .Navigation .Logo {
        max-height: 70px;
    }

    .Navigation ul {
        position: static;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        max-height: 0;
        overflow: hidden;
        border-top: 0;
        box-shadow: none;
        transition: max-height 0.3s ease-in-out, border-top 0.3s ease-in-out;
        display: flex;
        margin-top: 0;
    }

    .Navigation ul.show {
        max-height: 500px;
        border-top: 1px solid #ddd;
        margin-top: 10px;
    }

    .Navigation li {
        width: 100%;
    }

    .Navigation a {
        padding: 15px 20px;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #eee;
    }

    .Navigation a:hover {
        background-color: #f9f9f9;
    }
    
    .Talon {
        padding: 25px 20px;
    }
    
    .Talon img {
        max-height: 80px;
    }
    
    .contact {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }
    
    .lienTalon,
    .infoContactTalon {
        align-items: center;
        text-align: center;
        gap: 12px;
    }
}

/* Petits mobiles */
@media (max-width: 480px) {
    .Navigation .Logo {
        max-height: 60px;
    }
    
    .Navigation a {
        font-size: 15px;
    }
    
    .Talon {
        padding: 20px 15px;
    }
    
    .Talon img {
        max-height: 70px;
    }
    
    .Talon a,
    .Talon p {
        font-size: 14px;
    }
}