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

body {
    background-color: #F3E9DD;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


header {
    background-color: #FFFFFF;
    border-bottom: 2px solid #24861C;
    padding: 15px 50px;
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 100;
    margin-top: 10px;
}

.logo img {
    height: 40px; 
    display: block;
}

.liens {
    display: flex;
    align-items: center;
    gap: 50px;
    width: 100%;
}

.liens a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.liens a:hover {
    color: #FC9319;
}
.profil {
        display: flex;
        align-items: center;
        gap: 15px;
        cursor: pointer;
        margin-right: 80px;
        margin-left: auto;
        user-select: none; 
    }

    .avatar {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #FC9319;
    }

        footer {
        background-color: #FFFFFF;
        padding: 50px 100px; 
        margin-top: auto; 
        border-top: 2px solid #24861C;
        display: flex;
        justify-content: center;
        gap: 200px; 
        align-items: flex-start; 
    }

    .liensgauche, .liensdroite {
        display: flex;
        flex-direction: column; 
        gap: 15px; 
        border-top: 3px solid #FC9319; 
        padding-top: 25px; 
        width: 350px; 
        text-align: center; 
    }

    .liensgauche a, .liensdroite a {
        text-decoration: none;
        color: black; 
        font-family: 'Poppins', sans-serif;
        font-weight: 400; 
        font-size: 1em;
        transition: all 0.3s ease;
    }

    .liensgauche a:hover, .liensdroite a:hover {
        color: #FC9319;
    }
    .logofooter {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
    }

    .logofooter img {
        height: 90px;
        display: block;
    }
.Bouton {
        text-align: center;
        text-decoration: none;
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        background-color: #FC9319;
        border: #FC9319 2px solid;
        color: #FFFFFF;
        font-size: 1em;
        margin-bottom: 15px;
        padding: 10px 60px;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: rgba(0, 0, 0, 0.503) 1px 1px 3px;
    }

.Bouton:hover {
        background-color: #F3E9DD;
        border: 2px solid black;
        color: black;
    }
/* --- POP-UP INCITATION ABONNEMENT --- */
.popup-abo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #fff;
    width: 320px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-left: 6px solid #24861C; /* Vert de votre charte */
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
    animation: slideIn 0.5s ease-out forwards;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.popup-abo h4 {
    margin: 0;
    color: #24861C;
    font-size: 1.1rem;
    font-weight: 700;
}

.popup-abo p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.popup-abo .btn-abo {
    display: inline-block;
    background-color: #FC9319; /* Orange de votre charte */
    color: white;
    text-align: center;
    padding: 8px 0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 5px;
    transition: background 0.3s;
}

.popup-abo .btn-abo:hover {
    background-color: #e08315;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.2rem;
    color: #aaa;
    cursor: pointer;
    background: none;
    border: none;
}

.popup-close:hover {
    color: #000;
}

@keyframes slideIn {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* =========================================
   STYLE DE LA BARRE DE NAVIGATION MOBILE
   ========================================= */

.mobile-navbar {
    display: none; /* Par défaut caché sur PC */
}

/* --- MEDIA QUERIES TABLETTES ET MOBILES (< 1024px) --- */
@media (max-width: 1024px) {

    /* 1. Cacher Header et Footer classiques */
    header, footer {
        display: none !important;
    }

    /* 2. Afficher la barre de navigation du bas */
    .mobile-navbar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 75px; 
        background-color: #fff;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        
        /* Forme courbée avec bordure orange en haut */
        border-top-left-radius: 25px;
        border-top-right-radius: 25px;
        border-top: 5px solid #FC9319; 
    }

    .mobile-nav-items {
        display: flex;
        justify-content: space-around; /* Espace équitable entre les icones */
        align-items: center;
        height: 100%;
        padding: 0 10px;
    }

    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        width: 60px;
        height: 100%;
    }

    .nav-item img {
        width: 28px;
        height: 28px;
        object-fit: contain;
        transition: transform 0.2s ease;
    }

    .nav-item:active img {
        transform: scale(0.9); /* Petit effet de clic */
    }

    /* 3. Ajouter du padding au body pour que le contenu ne soit pas caché */
    body {
        padding-bottom: 90px;
    }
}