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

body {
  background-color: #e0f2fe; /* Bleu clair */
}

/* Header */
header {
  background-color: white;
  font-family: 'Arial rounded MT Bold', sans-serif;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
  width: 50px;
  height: 50px;
  background-color: #333;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
}
.SITE-TECHNO {
  color: #333;
  font-weight: bold;
}

/* Menu Desktop */
.desktop-menu {
  display: flex;
  height: 100%;
}

.menu-item, a:visited.menu-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 15px;
  color: #333;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}
a.menu-item, a.submenu-item {
  text-decoration: none;
  color: #333;
}
.desktop-menu a {
  text-decoration: none;
  color: #333;
}
a:hover.menu-item, a:hover.submenu-item {
  color: #2980b9;
}

.menu-item:hover, .menu-item.active, a:hover.menu-item {
  color: #2980b9; /* Rose */
}

.menu-item:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #2980b9;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  width: 200px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  display: none;
  z-index: 100;
}

.submenu-item {
  padding: 12px 15px;
  color: #333;
  transition: background-color 0.3s;
}

.submenu-item:hover, a:hover .submenu-item {
  background-color: #f5f5f5;
  color: #2980b9;
}

.menu-item:hover .submenu {
  display: block;
}
a:hover.menu-item, a:hover.submenu-item {
  text-decoration: none;
  color: #2980b9;
}
/* Alignement spécial pour le dernier élément du menu */
.desktop-menu .menu-item:last-child .submenu {
  left: auto;
  right: 0;
}

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

/* Menu Mobile */
.mobile-menu-btn {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background-color: white;
  z-index: 1000;
  transition: left 0.3s;
  padding-top: 70px;
  overflow-y: auto;
  font-family: 'Arial rounded MT Bold', sans-serif;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-item, .mobile-menu-item a:visited {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  color: #333;
  font-weight: bold;
  cursor: pointer;
  position: relative;
}

.mobile-menu-item.active {
  color: #2980b9;
}

.mobile-submenu {
  display: none;
  background-color: #f9f9f9;
}

.mobile-submenu-item, .mobile-menu-item a:visited {
  padding: 12px 30px;
  border-bottom: 1px solid #eee;
  color: #333;
}
.mobile-menu a {
  text-decoration: none;
}
.mobile-menu-item:hover {
  color: #2980b9;
}

.mobile-submenu-item:hover, .mobile-submenu-item a:hover {
  color: #2980b9;
}

.mobile-menu-item.active .mobile-submenu {
  display: block;
}

.mobile-menu-item::after {
  content: '+';
  position: absolute;
  right: 20px;
}

.mobile-menu-item.active::after {
  content: '-';
}

/* Croix de fermeture */
.close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1002;
}

.close-btn.active {
  opacity: 1;
  visibility: visible;
}

.close-btn::before, .close-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #334155;
  transform-origin: center;
  border-radius: 3px;
}

.close-btn::before {
  transform: rotate(45deg);
}

.close-btn::after {
  transform: rotate(-45deg);
}



