/* ===== STYLES DES MODULES (CODE ORIGINAL) ===== */

.module {
  margin-top: 20px;
}
.module:first-child {
  margin-top: 0;
}
.module.box-1,
.module.box-2,
.module.box-3,
.module.box-4,
.module.box-5,
.module.box-6,
.module.box-7,
.module.box-8,
.module.box-9 {
  padding: 30px;
}

.module.box-1 {
  background: rgba(13,179,199,0.95);
  color: #fff;
  border-radius: 30px 30px;
  padding-left: 10px !important;
  margin-top: 10px !important;
  margin-bottom: -10px !important;
}
.module.box-1 h2 {
  font-size: 30px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 100;
}
.module.box-1 h2 .sub-title {
  font-weight: 700;
}
.module.box-2 {
  background: #f2f2f2;
  color: #333;
  border-radius: 5px;
  padding: 0;
}
.module.box-2 .title {
  padding: 15px 30px;
  background: #f7ca18;
}
.module.box-2 .title h2 {
  font-size: 30px;
  color: #333;
  text-transform: capitalize;
  font-weight: 100;
}
.module.box-2 .title h2 .sub-title {
  font-weight: 700;
}
.module.box-2 .description {
  padding: 30px;
}
.module.box-3 {
  background: #22c65c;
  color: #fff;
  border-radius: 5px;
}
.module.box-3 h2 {
  font-size: 30px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 100;
}
.module.box-3 h2 .sub-title {
  font-weight: 700;
}
.module.box-4 {
  background: #304559;
  color: #fff;
  box-sizing: border-box;
  position: relative;
}
.module.box-4 h2 {
  font-size: 30px;
  color: #fff;
  text-transform: capitalize;
  font-weight: 700;
}
.module.box-4 h2 i {
  margin-right: 10px;
}
.module.box-4:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-width: 0 0 30px 30px;
  border-style: solid;
  border-color: rgba(0,0,0,0) rgba(0,0,0,0) #fff #3e5973;
  background: none;
  display: block;
  width: 0;
}
.module.box-5 {
  background: rgba(49,68,91,0.95);
  color: #fff;
  border-radius: 30px 30px;
}
.module.box-5 h2 {
  font-size: 30px;
  color: #fff;
  text-transform: uppercase;
  font-weight: 100;
}
.module.box-5 h2 .sub-title {
  font-weight: 700;
}
.module.box-6 {
  background: #ef4836;
  color: #fff;
}
.module.box-6 h2 {
  font-size: 30px;
  color: #fff;
  text-transform: lowercase;
  font-weight: 100;
}
.module.box-6 h2 i {
  margin-right: 10px;
}
.module.box-6 h2 .sub-title {
  font-weight: 700;
}
.module.box-7 {
  background: rgba(201,214,226,0.98);
  border: 2px solid #304559;
  color: #333;
}
.module.box-7 h2 {
  font-size: 30px;
  font-weight: 100;
}
.module.box-7 h2 .sub-title {
  font-weight: 700;
}
.module.box-8 {
  background: #ecf0f1;
  color: #333;
}
.module.box-8 h2 {
  font-size: 30px;
  font-weight: 100;
  text-transform: uppercase;
  border-bottom: 1px solid #e1e5e6;
}
.module.box-8 h2 .sub-title {
  font-weight: 700;
}
.module.box-9 {
  color: #666;
  margin-bottom: 50px;
}
.module.box-9 h2 {
  color: #666;
  font-size: 30px;
  font-size: 100;
  text-transform: uppercase;
}
.module.box-9 h2 .sub-title {
  font-weight: 700;
}
/* FIN des styles modules - L'accolade en trop était ICI */


/* ===== RÉDUIRE L'ESPACEMENT ENTRE LES IMAGES DU MENU ===== */

/* Réduire le padding entre chaque élément de menu */
#sp-menu .sp-megamenu-parent > li > a,
#sp-menu .sp-megamenu-parent > li > span {
    padding-left: 1px !important;
    padding-right: 1px !important;
}

/* Pour le dernier élément (Liens) */
#sp-menu .sp-megamenu-parent > li:last-child > a {
    padding-right: 0 !important;
    padding-left: 1px !important;
}

/* Réduire les marges autour des images */
#sp-menu .sp-megamenu-parent > li > a img,
#sp-menu .sp-megamenu-parent > li > span img {
    margin: 0 !important;
    padding: 0 !important;
}

/* Ajustement pour les écrans plus petits (tablettes) */
@media (max-width: 1199px) {
    #sp-menu .sp-megamenu-parent > li > a,
    #sp-menu .sp-megamenu-parent > li > span {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
}

/* ===== SUPPRIMER LA FLÈCHE DU SOUS-MENU ===== */

/* Masquer la flèche vers le bas pour les éléments avec sous-menu */
#sp-menu .sp-megamenu-parent > li.sp-has-child > a:after,
#sp-menu .sp-megamenu-parent > li.sp-has-child > span:after {
    display: none !important;
}

/* ===== METTRE LES SOUS-MENUS EN GRAS ===== */

/* Tous les liens dans les sous-menus (dropdowns) */
#sp-menu .sp-dropdown li.sp-menu-item > a,
#sp-menu .sp-dropdown li.sp-menu-item > span {
    font-weight: bold !important;
}

/* Si vous voulez aussi les titres de groupes en gras */
#sp-menu .sp-dropdown .sp-mega-group > li > a {
    font-weight: bold !important;
}

/* Items dans les listes de sous-menu */
#sp-menu .sp-dropdown .sp-dropdown-items li a,
#sp-menu .sp-dropdown .sp-dropdown-items li span {
    font-weight: bold !important;
}

/* ===== EFFET DE SURBRILLANCE AU SURVOL DES SOUS-MENUS ===== */

/* Surbrillance au survol des liens des sous-menus */
#sp-menu .sp-dropdown li.sp-menu-item > a:hover,
#sp-menu .sp-dropdown li.sp-menu-item > span:hover {
    background-color: #1a9cb0 !important;
    color: #ffffff !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

/* Surbrillance pour tous les liens dans les dropdowns */
#sp-menu .sp-dropdown .sp-dropdown-items li a:hover,
#sp-menu .sp-dropdown .sp-dropdown-items li span:hover {
    background-color: #1a9cb0 !important;
    color: #ffffff !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

/* Animation fluide pour la transition */
#sp-menu .sp-dropdown li.sp-menu-item > a,
#sp-menu .sp-dropdown li.sp-menu-item > span,
#sp-menu .sp-dropdown .sp-dropdown-items li a,
#sp-menu .sp-dropdown .sp-dropdown-items li span {
    transition: all 0.3s ease !important;
}

/* ===== ARRONDIR LES COINS DES SOUS-MENUS ===== */

/* Arrondir les coins du conteneur des sous-menus */
#sp-menu .sp-dropdown .sp-dropdown-inner {
    border-radius: 10px !important;
    overflow: visible !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Arrondir aussi le dropdown principal */
#sp-menu .sp-dropdown {
    border-radius: 10px !important;
    overflow: visible !important;
}