
/* le css de la navigation cnrst */
.logo-image img.logo-cnrst {
  width: 2.75rem;   
  /* height: auto; */
}

.logo-slogan {
  font-size: 0.9rem;
  color: #333;
  margin-top: 0.4rem;
  font-weight: 500;
  text-align: center;
}

/* ===== HEADER STICKY EN HAUT ===== */
body {
  margin: 0;
  padding: 0;
}

main, .content, .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.navbar {
  margin-bottom: 0 !important;
}

.header-progres {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgb(46, 125, 50);
  color: white;
  font-family: 'Segoe UI', sans-serif;
  padding: 0.2rem 0.5rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin: 0 !important;
}
.main-content {
  padding-top: 84px; 
}


/* ===== STRUCTURE COMPACTE ===== */
.header-progres,
.menu-row,
.menu-container,
.logo-progres,
.connexion-wrapper-below {
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  line-height: 1 !important;
}

/* ===== STRUCTURE FLEXIBLE ===== */
.menu-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ===== LOGO ===== */
.logo-progres {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.logo-red {
  color: #b30000;
}

.logo-black {
  color: white;
}

.logo-icon i {
  font-size: 1.2rem;
  color: #b30000;
  transform: translateY(1px);
}

.logo-slogan {
  font-size: 0.55rem;
  color: #e0e0e0;
  margin-top: 0.1rem;
}

/* ===== MENU PRINCIPAL ===== */
.menu-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.menu-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}

.menu-links li {
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.menu-links li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
  border-bottom: 3px solid transparent;
  display: inline-block;
  margin-bottom: 0 !important;
}

/* Élément actif */
.menu-links li.active a {
  border-bottom: 3px solid #b30000;
  color: #b30000;
  font-weight: bold;
}

/* Hover */
.menu-links li a:hover {
  border-bottom: 2px solid #b30000;
  /* color: #990000; */
}

/* ===== CONNEXION ===== */
.connexion-wrapper-below {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 1rem;
  gap: 0.5rem;
  margin-top: 0;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.login-separator {
  width: 2px;
  height: 24px;
  background-color: #ccc;
}

.btn-connexion {
  background-color: #b30000;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background-color 0.2s ease;
}

.btn-connexion:hover {
  background-color: #990000;
}

/* ===== BOUTON BURGER MOBILE ===== */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .menu-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
    margin-top: 0.5rem;
  }

  .menu-container {
    display: none;
  }

  .menu-container.open {
    display: flex;
  }

  .menu-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .connexion-wrapper-below {
    justify-content: flex-start;
    padding-left: 1rem;
  }
}



































































































/* ===== RESET ===== */
/* * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
} */
/* body {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
} */
/* pour la bande du menu en haut */
/* .cnest-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1.5rem;
    background-color: rgb(27, 94, 32);
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 1000;
    border-bottom: 2px solid #fff;
    font-family: 'Open Sans', sans-serif;
} */

/* .cnest-marquee {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: slide-left 20s linear infinite;
    font-size: 1rem;
    color: #fffaf0;
    line-height: 1.4;
} */

/* .cnest-marquee .rouge {
    color: rgb(225, 0, 0);
    font-weight: bold;
}

@keyframes slide-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }

} */


/* pour le logo */
/* .logo-container img.logo-cnrst {
    max-height: 40px;
    object-fit: contain;
}
.logo-cnrst {
    max-height: 40px;
    height: auto;
    width: auto;
    object-fit: contain;
} */

/* ===== HEADER INSTITUTIONNEL ===== */
/* .header-institutionnel {
    position: absolute;
    width: 100%;
    margin-top: 0.25rem;
    top: 0;
    background-color: #fff;
    z-index: 900;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    border-bottom: 2px solid rgb(50, 168, 82);
} */

/* ===== BRANDING CNRST ===== */
/* .branding {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(0.5rem, 2vw, 1rem) 0;
    gap: 1rem;
}
.branding.hidden {
    opacity: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
} */
/* .logo-cnrs {
    height: clamp(40px, 5vw, 60px);
    margin-right: 1rem;
}
.titre-cnrs {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: rgb(225, 0, 0);
    font-weight: bold;
}
#brandingBloc {
    opacity: 1;
} */

/* ===== MENU WRAPPER ===== */
/* .menu-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-top: 1px solid #ddd;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 0.5rem;
} */

/* ===== NAVIGATION ===== */
/* .nav-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color:rgb(27, 94, 32);
    margin: 1rem;
    cursor: pointer;
} */
/* .nav-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.nav-horizontal.show {
    display: flex;
} */
/* .nav-links {
    display: flex;
    gap:  0.75rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    position: relative;
    padding: 0.3rem 0.5rem;
    font-size: 0.90rem;
} */
/* .nav-links a.active {
  background-color: rgb(225, 0, 0); 
  color: #fff;
  border-radius: 2px;
} */


/* .nav-links a:hover {
    background-color: rgb(225, 0, 0);
    color: #fff;
    border-radius: 2px;
} */
/* .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background-color: rgb(225, 0, 0);
}
.nav-links a:hover::after {
    width: 100%;
} */

/* ===== SOUS-MENU ===== */
/* .has-submenu {
    position: relative;
} */
/* .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 0.5rem 0;
    display: none;
    min-width: 180px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 999;
} */
/* .submenu li {
    list-style: none;
}
.submenu a {
    display: block;
    padding: 0.4rem 0.75rem;
    color: rgb(0, 104, 55);
    text-decoration: none;
    font-weight: 500;
}
.submenu a:hover {
    color: rgb(225, 0, 0);
    background-color: #f5f5f5;
} */
/* .has-submenu:hover .submenu {
    display: block;
}
.submenu-icon {
    margin-left: 6px;
    font-size: 0.8rem;
    color: rgb(0, 122, 51);
    vertical-align: middle;
}
.has-submenu.open .submenu-icon {
    transform: rotate(180deg);
} */

/* .submenu-icon::after {
  content: "⌄";
  font-size: 0.8rem;
  margin-left: 6px;
  color: rgb(0, 122, 51);
  transition: transform 0.2s ease;
}

.has-submenu.open .submenu-icon::after {
  content: "⌃";
} */



/* ===== LANGUE ===== */
/* .lang-select {
    margin-left: 1rem;
}
.lang-select select {
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgb(0, 122, 51);
    font-weight: 500;
    background-color: #fff;
    color: rgb(0, 122, 51);
    cursor: pointer;
} */

/* ===== ACTIONS HEADER ===== */
/* .header-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 0,5rem;
    position: relative;
} */
/* .search-container {
    position: relative;
}
.search-trigger {
    cursor: pointer;
    font-weight: 500;
    color: rgb(0, 122, 51);
} */
/* .search-form {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: #fff;
    padding: 1rem;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    width: 250px;
    transform: translateY(-10px);
} */
/* .search-container:hover .search-form {
    display: flex;
} */
/* .search-form input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    font-size: 0.875rem;
    width: 100%;
    margin-top: 0.5rem;
} */
/* .search-form button {
    padding: 0.5rem;
    background-color: rgb(225, 0, 0);
    border: 1px solid #ccc;
    font-size: 0.875rem;
    width: 100%;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
} */
/* .search-form button:hover {
   background-color:rgb(0, 122, 51);
}
.search-login {
    gap: 0.75rem;
} */

/* ===== BOUTON CONNEXION ===== */
/* .login-button {
    padding: 0.4rem 0.75rem;
    background-color: rgb(27, 94, 32);
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    border: 1px solid rgb(0, 122, 51);
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 0.9rem;
}
.login-button:hover {
    background-color: rgb(225, 0, 0);
    color: #fff;
    border-color: rgb(225, 0, 0);
}  */

/* ===== RESPONSIVE ===== */
/* @media (max-width: 768px) {
    .nav-horizontal {
        flex-direction: column;
        align-items: flex-start; 
        display: none;
        width: 100%;
    }
    .nav-horizontal.show {
        display: flex;
    }
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    .header-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-top: 1rem;
        width: 100%;
    }
    .search-login {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-top: 0.5rem;
        width: 100%;
    }
    .login-button {
        width: 100%;
        text-align: center;
    }
    .nav-toggle {
        display: block;
        font-size: 0.75rem;
        background: none;
        border: none;
        color: #006837;
        cursor: pointer;
        margin: 1rem;
    }
    .logo-cnrst {
        max-height: 45px;
    }
} */


  
