body{
     background-color: #f1f1f1;
    font-family: 'Roboto', sans-serif;
}



/* Style de base */
.header-navbar {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    margin-left: 60px;
    text-transform: uppercase;
    list-style: none;
    justify-content: flex-end;
    color: #0a0a0a;

}

.header-navbar li {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.2px;
    text-align: start;
    margin-right: 5px;
    list-style: none;
}

.header-navbar li a {
    color: #646464;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.2px;
    text-align: center;
    list-style-type: none;
    padding: 14px 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.header-navbar li a.active {
   /* text-decoration: underline;*/
    color: #f79631;
}


.menu-toggle {
    display: none;
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
    float: right;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}


.nav-list a {
    text-decoration: none;
    color: #000;
}

/* Actif */
.nav-list a.active {
    font-weight: bold;
}

/* Style pour les petits écrans */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .menu-contact a{

        color: #646464!important;
        background-color: #fff!important;
    }
    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top:40px; /* Ajustez selon la hauteur de votre menu */
        right: -20px;
        background-color: #fff;
        float: right;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        margin: 10px 0;
    }
}

.wrapper {
    display: flex;
}

.avantages {
    max-width: 1360px;
    padding-top: 0;
    width: 224px;
    margin-right: 20px;
}

.cours {
    background-color: white;
    flex: 1;
}

.avantages a {
    text-decoration: none;
    color: inherit;
    text-align: start;
    font-size: 13px !important;
    line-height: 1.25;
    padding: 10px 20px 10px 20px;
    min-width: 100%;
    box-sizing: border-box;
}

.avantages a:hover {
    color: #ffaa50;
}

.avantages h1 {
    text-align: start;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    border-top: none;
    padding: 10px 25px;
}

.part1 h1:first {
    font-size: 40px;
}

.etape {
    padding-left: 8px;
    color: #f79631;
}

.chap-section p {
    padding-top: 5px;
    color: #282828;
    font-weight: 600;
    font-size: 18px;
}

.list-section {
    padding: 0;
    border-bottom: 1px solid #e6e6e6;
}

.abb-section {
    padding: 8px;
}

.abb-section div {
    padding: 10px 0;
    line-height: 1.4;
    box-sizing: border-box;
}

.abb-section img {
    max-width: 100%;
}

.side-image {
    display: flex;
}


/*--------------------------------------------------------------*/

.cours-title {
    font-size: 48px;
    color: #ffaa50;
    padding-bottom: 12px;
    padding-top: 30px;
    font-family: Arial;
    font-weight: 400;
    margin: 0;
    text-align: left;
}

.chapter {
    font-size: 18px;
    border-top: 1px solid #f1f1f1;
}

.chapter-title {
    font-size: 18px;
    color: #ffaa50;
    padding-top: 13px;
    padding-bottom: 13px;
    cursor: pointer;
    overflow: hidden;
    text-align: left;
}

.chapter-content {
    color: #000;
    font-size: 16px;
    text-align: left;
}


/*--------------------------------------------------------*/

@media screen and (max-width: 768px) {
    .avantages a {
        font-size: 14px !important;
    }
    .avantages a img {
        height: 40px;
        width: 40px;
    }
    .list-section {
        padding: 10px;
    }
}

body {
    background-color: #f1f1f1;
    font-family: 'Roboto', sans-serif;
}

header {
    z-index: 2;
    width: 100%;
    position: fixed;
    top: 0;
    height: 80px;
    background-color: white;
    display: flex;
    border-bottom: 1px solid #dadada;
}

.header-wrap {
    display: flex;
    padding: 0 115px;
    width: 100%;
    align-items: center;
    margin: 0 auto;
    max-width: 1360px;
}

.logo img {
    height: 60px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.9rem;
    text-decoration: none;
    color: #646464;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.header-navbar {
    display: flex;
    flex: 1;
    align-items: center;
    margin-left: 60px;
    text-transform: uppercase;
    list-style: none;
    justify-content: flex-end;
    color: #0a0a0a;
}

.header-navbar li {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.2px;
    text-align: center;
    margin-right: 6px;
    list-style: none;
}

.header-navbar li a {
    color: #646464;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.2px;
    text-align: center;
    list-style-type: none;
    padding: 14px 20px;
    text-transform: uppercase;
}

.header-navbar li a.active {
    /*text-decoration: underline;*/
    color: #f79631;
}

.menu-contact a {
    color: white !important;
    padding: 14px 20px;
    background-color: #f79631;
    border-radius: 4px;
}


/*--------------------------------------------------------------*/

.main-wrap::before {
    display: block;
    height: 400px;
    background-image: radial-gradient(circle at bottom, #54688e, #2f3a4f 400px);
    content: " ";
    position: absolute;
    top: 0;
    z-index: -1;
    left: 0;
    background-color: #2f3a4f;
    background-repeat: no-repeat;
    line-height: 1;
    width: 100%;
}

.section-menu {
    z-index: 1;
    padding-top: 40px;
    text-align: center;
    padding-bottom: 100px;
}

.section-menu-wrap {
    padding-top: 0;
    flex-wrap: wrap;
    padding: 0 115px;
    margin: 0 auto;
    max-width: 1360px;
    box-sizing: border-box;
}

.part1 {
    flex: 5;
    padding: 0;
    position: relative;
}

.part1 h1 {
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 25px;
    margin: 0 0 15px;
    color: #fff;
}

.part1 div:first {
    font-size: 26px;
    color: white;
    font-weight: 300;
}

.part1 div span {
    font-weight: 700;
}

.btn1 {
    margin: 0 10px 10px 0;
    display: inline-block;
    padding: 0 30px;
    height: 50px;
    line-height: 50px;
    min-height: 45px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    background-color: #f79631;
    border: 1px solid #f79631;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    color: #fff;
}

.btn2 {
    background: rgba(47, 58, 79, 0.7);
    border: 1px solid #fff;
    color: #fff;
    display: inline-block;
    padding: 0 30px;
    height: 50px;
    text-decoration: none;
    line-height: 50px;
    min-height: 45px;
    font-size: 16px;
    margin: 0 10px;
    font-weight: 600;
    border-radius: 5px;
}

.avantages {
    max-width: 700px;
    padding-top: 50px;
    margin: 0 auto;
}

.avantages h2 {
    color: #fff;
    border-top: 1px solid #868b96;
    font-size: 26px;
    text-align: center;
    background-color: #f79631;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    font-weight: 400;
    line-height: 1.4;
    padding: 38px 20px;
}

.avantages h1 {
    color: #fff;
    border-top: 1px solid #868b96;
    font-size: 26px;
    text-align: center;
    background-color: #f79631;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    font-weight: 400;
    box-sizing: border-box;
    padding: 10px 20px;
    margin-bottom: 0px;
}

.avantages ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    box-shadow: 0px 10px 20px 0 rgba(47, 58, 79, 0.2);
}

.avantages li {
    padding: 20px 20px 20px 20px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #fff;
    border-bottom: 1px solid #bdbdbd;
    color: #676d7c;
}

.avantages li:last-child {
    border-bottom: none;
}

.avantages li img {
    width: 45px;
    margin-right: 20px;
    transform: rotate(90deg);
}

.avantages li span {
    color: #676d7c;
    font-size: 12px;
    font-weight: 400;
    text-align: start;
}

.etape {
    font-size: 20px !important;
    font-weight: 500 !important;
}


/*---------------------------------------------------*/

.chap-section {
    display: flex;
    flex-direction: column;
    justify-content: start;
    text-align: start;
}

.chap-section a {
    padding: 8px;
}

.list-section {
    padding: 20px 20px 20px 20px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #fff;
    color: #676d7c;
}


/*--------------------------------------------------------*/

@media screen and (max-width: 768px) {
    .header-wrap {
        padding: 0 20px;
    }

    .logo-text {
        font-size: 1.5rem;
    }
    /*----------------------------------*/
    .section-menu-wrap {
        padding: 0;
    }
    .part1 h1 {
        font-size: 20px;
    }
    .part1 div {
        font-size: 15px;
    }
    .avantages {
        max-width: 100%;
    }
}
.picto2{
    position: relative;

}

.legende {
    position: absolute;
    bottom: 0;
    background-color: rgba(200, 200, 200, 0.85);
    opacity: 0;
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease;
    line-height: 1.5;
    text-align: left;
    padding: 0 5px;
    margin:0 10px;
}

.picto2:hover .legende {
    opacity:1;
}

.footer {
    left: 0!important;
}