@import url('https://fonts.cdnfonts.com/css/momcake');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&display=swap');


:root {
    --blanc: #ffffff;
    --gris: #B0B0B0;
    --noirt: rgba(0, 0, 0, 0.5);
    --rouge: #7e0000;
    --bleu-france: #0055A4;  /* Bleu du drapeau */
    --blanc-france: #ffffff; /* Blanc du drapeau */
    --rouge-france: #EF4135; /* Rouge du drapeau */
    --bleu-francet: rgba(0, 85, 164, 0.7);  /* Bleu du drapeau */
    --blanc-francet: rgba(255, 255, 255, 0.7); /* Blanc du drapeau */
    --rouge-francet: rgba(239, 65, 53, 0.7); /* Rouge du drapeau */
    --noir: #272727;
    --linear1 : #3B3945;
    --linear2 : #1A191E ;
}

.background-site{
 margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background: linear-gradient(to bottom, #3B3945, #1A191E);
  color: #fff;
}


 
 body { font-family: Arial, sans-serif; color:white; }

/* Style des liens de la navbar */
.nav-link {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    position: relative;
    color: var(--gris); /* Couleur grise par défaut pour tous les éléments */
    font-size: 1.2rem; /* Taille de police */
    transition: color 0.3s, opacity 0.3s; /* Transition pour la couleur du texte */
}

/* Lorsqu'un élément est actif, afficher la couleur blanche */
.nav-link.active {
    color: var(--blanc) !important; /* Couleur blanche pour l'élément actif */
}

/* Soulignage sous les liens */
.nav-link::after {
    content: '';
    position: absolute;
    left: 50%; /* Positionne au centre */
    bottom: 0px; /* Ajuste l'espacement sous le texte */
    width: 70%;
    height: 5px; /* Contrôle l'épaisseur du surlignage */
    background: linear-gradient(
            to right,
            var(--linear1) 0%,
            var(--linear2) 100%
    ); /* Couleur du soulignement */
    border-radius: 15px;
    transform: translateX(-50%); /* Ajuste pour centrer exactement */
    opacity: 0; /* Le soulignage est invisible par défaut */
    transition: opacity 0.3s; /* Transition douce pour l'apparition */
}

/* Affiche le soulignage pour l'élément actif */
.nav-link.active::after {
    opacity: 1; /* Le soulignage est visible pour l'élément actif */
}

/* Affiche le soulignage au survol */
.nav-link:hover::after {
    opacity: 1; /* Affiche le soulignage au survol */
}

/* Lors du survol, changer la couleur du texte en blanc */
.nav-link:hover {
    color: var(--blanc); /* Le texte devient blanc au survol */
}

/* Style pour le texte avec fond */
.textbg {
    padding-bottom: 10px;
    font-size: 3em;
    font-weight: 600;
}

/* Style pour le bouton de notification */
.bouton-notif {
    font-size: 22px;
    font-weight: 600;
    border-radius: 4px !important;
    text-decoration: none;
    transition-duration: .4s;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
}

/* Style pour les éléments de la navbar */
.navbar-nav
 {
    padding: 0.5rem 2rem;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

/* Couleur du texte du brand */
.navbar-brand {
    color: var(--blanc) !important;
}

.navbar-brand {
    background: linear-gradient(90deg, var(--bleu-france) 53%, var(--blanc-france) 53%, var(--blanc-france) 83%, var(--rouge-france) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent; /* Rend le texte transparent pour laisser apparaître le gradient */
    font-weight: bold; /* Ajout d'un effet gras pour un meilleur rendu */
    font-size: 24px; /* Taille ajustable selon tes besoins */
    text-decoration: none; /* Supprime le soulignement */
}

.navbar-brand:hover {
    opacity: 0.8; /* Effet au survol pour une légère atténuation */
}

.navbar {
    position: fixed;
    z-index: 3000 !important;
}

/* Espacement entre les éléments de la navbar */
.navbar-nav li {
    margin-right: 0.5rem; /* Espacement entre chaque élément de la liste */
}

.navbar-toggler {
    border-color: var(--blanc); /* Bordure blanche */
}

.navbar-toggler-icon {
    filter: invert(1); /* Inversion de la couleur en blanc */
}


.categories {
     display: flex; 
     justify-content: center;
    margin: 20px; 
}
.category {
    padding: 20px;
    margin: 10px; 
    border-radius: 10px; 
    cursor: pointer; 
    color:white; 
    font-weight:bold;
 }
.container { 
    display: flex; 
    margin-top: 20px; 
}
/* Navigation latérale */
.navbar2 {
    width: 25%;
    background: linear-gradient(145deg, #2a2933, #1b1a1f);
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    padding: 20px;
}

/* Boutons menu gauche */
.navbar2 button {
    width: 100%;
    margin: 10px 0;
    padding: 14px 18px;
    border-radius: 10px;
    background: linear-gradient(145deg, #2a2933, #1b1a1f);
    color: var(--blanc);
    border: none;
    font-weight: 600;
    font-size: 15px;
    text-shadow: 0 0 5px rgba(0,0,0,0.4);
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.navbar2 button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0,85,164,0.6);
    filter: brightness(1.15);
}

.navbar2 button i {
    margin-right: 10px;
}

/* ---- Amélioration du texte dans la zone CONTENT ---- */
.content {
    flex: 1;
    margin-left: 20px;
    padding: 50px 60px;
    background: rgba(20, 20, 25, 0.9);
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
    line-height: 1.8;
    transition: background 0.4s ease;
    color: var(--blanc);
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

.content:hover {
    background: rgba(25, 25, 30, 0.95);
}

/* Espacement entre les paragraphes et titres */
.content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
    color: var(--bleu-france);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    color: var(--rouge-france);
}

.content h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--blanc);
}

.content p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* Listes plus aérées */
.content ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.content ul li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
    list-style-type: "• ";
}

/* Icônes dans le texte */
.content i {
    color: var(--bleu-france);
    margin-right: 8px;
}

/* Lignes séparatrices douces (si besoin) */
.content hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* Petites animations d’apparition douce */
.content h2, .content h3, .content h4, .content p, .content ul {
    animation: fadeInUp 0.5s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}







.footer {
    z-index: 3000 !important;
    position: fixed;
    display: flex;
    justify-content: center; /* Centre les éléments horizontalement */
    align-items: center; /* Centre verticalement */
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.5);
    color: #fff;
    padding: 10px ;
    font-size: 14px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.42);
}

.footer-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* Centre exactement le texte */
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap; /* Empêche le texte de se couper */
}
.telephone{
    display: none;
}



/* ======= MENU BURGER LATÉRAL (version gauche) ======= */

.content-container {
    position: relative;
    display: flex;
    flex: 1;
    margin-top: 20px;
    padding-left: 80px; /* espace pour le bouton burger à gauche */
}

/* Zone principale du texte */
.content {
    flex: 1;
    margin-left: 0;
    padding: 50px 60px;
    background: rgba(20, 20, 25, 0.9);
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
    line-height: 1.8;
    color: var(--blanc);
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    transition: background 0.4s ease;
}

.content:hover {
    background: rgba(25, 25, 30, 0.95);
}

/* === Bouton burger fixe à gauche === */
.burger-menu {
    position: fixed;
    top: 40%;
    left: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #2a2933, #1b1a1f);
    color: var(--blanc);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1100;
    transition: all 0.3s ease;
}

.burger-menu:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0,85,164,0.6);
}

/* Icône burger */
.burger-menu i {
    font-size: 1.8rem;
}

/* === Panneau latéral (à gauche) === */
.burger-panel {
    position: fixed;
    top: 0;
    left: -350px; /* caché à gauche */
    width: 300px;
    height: 100%;
    background: linear-gradient(160deg, #2a2933, #1b1a1f);
    box-shadow: 5px 0 15px rgba(0,0,0,0.6); /* ombre inversée */
    z-index: 1099;
    transition: left 0.4s ease; /* on modifie left, pas right */
    padding: 70px 20px;
    overflow-y: auto;
}

.burger-panel.active {
    left: 0; /* panneau visible */
}

/* Bouton de fermeture */
.burger-panel .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--blanc);
    font-size: 1.8rem;
    cursor: pointer;
}

/* === Style des boutons générés dynamiquement === */
#navbar button {
    
    width: 100%;
    margin: 10px 0;
    padding: 14px 18px;
    border-radius: 10px;
    background: linear-gradient(145deg, #2a2933, #1b1a1f);
    color: var(--blanc);
    border: none;
    font-weight: 600;
    font-size: 15px;
    text-shadow: 0 0 5px rgba(0,0,0,0.4);
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

#navbar button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0,85,164,0.6);
    filter: brightness(1.15);
}

/* Scrollbar */
.burger-panel::-webkit-scrollbar {
    width: 6px;
}
.burger-panel::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
}

/* Mobile */
@media (max-width: 768px) {
    .burger-menu {
        left: 15px;
        width: 50px;
        height: 50px;
    }
    .burger-panel {
        width: 260px;
    }
}

/* Icônes alignées à droite */
.footer .icons {
    display: flex;
    gap: 15px;
    margin-left: auto; /* Les pousse complètement à droite */
}

.footer .icons a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
}



.bg-dev{
  color: var(--blanc);
  background-color: #d4ab04;

}
.bg-resp{
  background-color: #4379FF;
}

.bg-admin{
  background-color: #FF615C;
}

.bg-modo{
  background-color: #E0B505;
}

.bg-support{
  background-color: #D8913F;
}

.bg-douanier{
  background-color: #172E6B;
}

@media screen and (max-width: 990px) {
    .navbar {
        text-align: center;
    }

    .navbar a {
        display: block;
        padding: 8px 0; /* Ajuste l'espacement */
    }

    .nav-link::after {
        content: '';
        position: absolute;
        left: 50%; /* Positionne au centre */
        bottom: 0px; /* Ajuste l'espacement sous le texte */
        width: 20%;
        height: 5px; /* Contrôle l'épaisseur du surlignage */
        background: linear-gradient(
            to right,
            var(--linear1) 0%,
            var(--linear2) 100%
    );
        border-radius: 10px;
        transform: translateX(-50%); /* Ajuste pour centrer exactement */
        opacity: 0; /* Le soulignage est invisible par défaut */
        transition: opacity 0.3s; /* Transition douce pour l'apparition */
    }
    body.navbar-open::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--noirt);;
        z-index: 997; /* S'assure que c'est sous la navbar */
        transition: background 0.3s ease-in-out;
    }
}

@media screen and (max-width: 768px) {
.telephone{display: block;}
.ordi{display: none;}
}