/*
Theme Name: Divi Enfant
Description: Theme enfant de Divi. Vous pouvez maintenant effectuer vos modifications en toute sécurité.
Author: WPMarmite
Author URI: https://wpmarmite.com
Template: Divi
Version: 1.0
*/


/*FONT*/
@font-face { 
    font-family: 'Montserrat-Regular'; 
    src: url('fonts/Montserrat-Regular.ttf') format('ttf'); 
    font-weight: 500; 
    font-style: normal; 
    font-display: swap; 
}
@font-face { 
    font-family: 'Montserrat-Bold'; 
    src: url('fonts/Montserrat-Bold.ttf') format('ttf'); 
    font-weight: 900; 
    font-style: normal; 
    font-display: swap; 
}
@font-face { 
    font-family: 'Montserrat-Medium'; 
    src: url('fonts/Montserrat-Medium.ttf') format('ttf'); 
    font-weight: 600; 
    font-style: normal; 
    font-display: swap; 
}
@font-face { 
    font-family: 'Montserrat-SemiBold'; 
    src: url('fonts/Montserrat-SemiBold.ttf') format('ttf'); 
    font-weight: 700; 
    font-style: normal; 
    font-display: swap; 
}
@font-face { 
    font-family: 'Montserrat-Thin'; 
    src: url('fonts/Montserrat-Thin.ttf') format('ttf');
    font-weight: 400; 
    font-style: normal; 
    font-display: swap; 
}

* {
    font-family: "Montserrat-Regular";
}

/*-------------------------------
            HEADER
-------------------------------*/
.header-custom {
    background-color: #f7f7f7;
}
.container-header {
    border:1px solid red;
}

.top-network {
  position: relative;
  width: 100%;
  min-height: 56px;
  background: #f7f7f7; /* fond de base */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 30px 50px;
}

/* bande verte en diagonale */
.top-network::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #61A834;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0%);
    z-index: 0;
}



.top-network {
  position: relative;
  width: 100%;
  min-height: 56px;
  background: #f7f7f7; /* fond de base */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 30px 50px;
}

/* bande verte en diagonale */
.top-network::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #61A834;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0%);
    z-index: 0;
}

.top-network .box-network {
    z-index: 1;
    color:white;
    font-size: 20px;
    display:flex;
    gap:15px;
}
.picto-network {
    display: flex;
    align-items: center;
    gap:5px;

}

/*NAV*/
.nav-desktop ul li a {
    color: black;
    font-size: 20px;
    display: flex;

    gap:8px;
    font-family: "Montserrat-Medium";
}

.nav-desktop a:hover {
    color: #61A834;
}
.nav-desktop a:hover svg path {
  fill: #61A834; /* couleur au hover */
}


.container-nav {
    border:2px solid purple;
}



/*---------------------------
        RESPONSIVE
---------------------------*/
@media (max-width:980px) {
    .top-network::before {
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 45%);
    }
    .top-network {
        justify-content: center;
        min-height: 80px;
        padding: 0px 20px 30px 50px;
    }
 
}