:root{
    --font-roboto: "Roboto", sans-serif;
    --font-ubuntu: "Ubuntu", sans-serif;
    --font-color-primary: #222;
    --font-color-primary-light: #5B5B5B;
    --font-color-secondary: #F69F4F;
    --font-color-secondary-light: #febb7a;
    --font-color-tertiary: #49C8DF;

    --light-grey: #B8B8B8;
}

.text-orange {
    color: var(--font-color-secondary);
}

.fs-18 {
    font-size: 18px;
}
.fs-24 {
    font-size: 24px;
}
.bold{
    font-weight: 700;
}

aside .nav-side .nav-title {
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    font-family: var(--font-ubuntu);
}
aside .nav-side .nav-title::before {
    content: '';
    background-image: url(../../assets/img/orange-dot.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 12px;
    width: 12px;
    display: block;
    position: absolute;
    top: 13px;
    left: -20px;
}

ul {
    padding-left: 15px;
}
aside ul {
   padding: 0;
}
aside .nav-side ul li {
   list-style: none;
}
aside .nav-side a {
    color: var(--font-color-primary);
    text-decoration: none;
}
aside .nav-side a.active {
    color: var(--font-color-secondary);
}

.mb-6 {
    margin-bottom: 128px;
}
.mt-6 {
    margin-top: 128px;
}

.list-style-blob-orange {
    list-style-image: url(../../assets/img/orange-dot.png);
}

.list-style-blob-blue {
    list-style-image: url(../../assets/img/blue-dot.png);
}

h1, h2, h3 {
    text-transform: uppercase;
    font-family: var(--font-ubuntu);
}
h1 {
    font-size: 44px;
}
h2 {
    font-size: 28px;
}
h3 {
    font-size: 24px;
}
h3.line::before {
    content: '';
    height: 1px;
    width: calc(var(--percent));
    min-width: 15%;
    background-color: var(--font-color-secondary);
    display: block;
    margin-bottom: 32px;
}
h4 {
    font-size: 18px;
    font-family: var(--font-ubuntu);
}

p  {
    color: var(--font-color-primary-light);
    font-size: 16px;
}

body{
    background-image: url("../img/blob_header.png");
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 40%;
    font-family: var(--font-roboto);
    color: var(--font-color-primary);
}

.legend{
    font-size: 12px;
    text-align: center;
}

header, main {
    margin: 0px 72px;
}
header .logo{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 230px;
}

header .logo img{
    width: 60px;
    height: 60px;
    margin-right: 16px;
}

header .logo span{
    font-family: var(--font-ubuntu);
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    max-width: 150px;
}

header nav{
    margin: 32px 0 105px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-ubuntu);
    font-weight: 400;
    font-size: 16px;
}

header nav ul li.active{
    font-weight: 700;
}

header nav ul li{
    list-style: none;
    display: inline-block;
    margin-right: 32px;
}

header nav ul li a{
    color: var(--font-color-primary);
    text-decoration: none;
    transition: text-shadow .3s;
}
header nav ul li a:hover{
    color: var(--font-color-primary);
    text-shadow: 0 0 .75px var(--font-color-primary), 0 0 .75px var(--font-color-primary);
}

#home-hero h1 {
    font-family: var(--font-ubuntu);
    font-size: 32px;
    font-weight: 500;
}
#home-hero  p {
    font-family: var(--font-ubuntu);
    font-size: 22px;
}

/* BOUTONS */
.btn-outline-primary {
    color: var(--font-color-primary);
    border: 1px solid var(--font-color-primary);
    border-radius: 50px;
}
.btn-outline-primary:hover {
    color: white;
    border: 1px solid var(--font-color-primary);
    background-color: var(--font-color-primary);
}

.btn-secondary {
    color: var(--font-color-primary);
    border: 1px solid var(--font-color-secondary);
    background-color: var(--font-color-secondary);
    border-radius: 50px;
}
.btn-secondary:hover {
    color: var(--font-color-primary);
    border: 1px solid var(--font-color-secondary-light);
    background-color: var(--font-color-secondary-light);
}

#nav-tab button {
    border: 1px solid var(--light-grey);
    border-right: 0;
    border-radius: 0;
    padding-top: 34px;
    padding-bottom: 34px;
    min-width: 250px;
    position: relative;
    overflow: hidden;
    font-size: 18px;
    color: var(--font-color-primary);
}
#nav-tab button:last-child {
    border-right:  1px solid var(--light-grey);
}
.nav-tabs {
    border-bottom: 1px solid var(--light-grey) !important;
}

#nav-tab .nav-link:not(.active):before {
    content: '';
    background-image: url(../../assets/img/blob_tabs1.png), url(../../assets/img/blob_tabs2.png) ;
    background-size: 57px, 7px;
    background-repeat: no-repeat;
    width: 97px;
    height: 97px;
    display: block;
    position: absolute;
    z-index: -1;
    background-position: top 10px left 0px, top 20px right 80px;
    top: -65px;
    left: -50px;
    transition: all 0.3s ease-in-out;
}

#nav-tab .nav-link.active {
    background-image: url(../../assets/img/blob_tabs1.png), url(../../assets/img/blob_tabs2.png) ;
    background-size: 88px, 64px;
    background-repeat: no-repeat;
    background-color: #fae4cf;
}
#nav-tab .nav-link {
    background-color: white;
    font-family: var(--font-ubuntu);
    font-size: 18px;
}
#nav-tab .nav-link:hover {
    background-color: #fae4cf;
}
#nav-tab .nav-link:hover::before {
    top: 0px;
    left: 0px;
    background-position: top 0% left 0%, top 0% left 0%;
    background-size: 88px, 64px;
}

#nav-tab div{
    font-family: var(--font-roboto);
    font-size: 26px;
    font-weight: 500;
    text-align: center;
}

#nav-tabContent {
    border:  1px solid var(--light-grey);
    border-top: 0px;
    background-color: white;
}

.tab-title.mobile {
    font-family: var(--font-roboto);
    font-size: 20px;
    font-weight: 500;
}
.tab-title {
    font-family: var(--font-roboto);
    font-size: 24px;
    font-weight: 500;
}

.blob-bottom-right-blue{
    position: relative;
}
.blob-bottom-right-blue::after{
    content: '';
    background-image: url(../../assets/img/blob_1.png);
    background-repeat: no-repeat;
    width: 177px;
    height: 197px;
    display: block;
    position: absolute;
    bottom: -80px;
    right: -60px;
    z-index: -1;
}

.temp-blob {
    background-image: url(../../assets/img/blob_temp.png);
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 700;
    font-family: var(--font-ubuntu);
    width: 25%;
    min-width: 130px;
    height: 39%;
    min-height: 140px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    float: left;
    font-size: 22px;
}
.temp-blob span{
    left: 50%;
    display: block;
    position: relative;
    transform: translate(-50%);
}

.blob-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 150px;
}
.blob-icon div.blob {
    background-image: url(../../assets/img/blob_icon.png);
    background-repeat: no-repeat;
    background-size: 66px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    width: 66px;
    height: 73px;
    font-weight: 700;
    font-family: var(--font-ubuntu);
    font-size: 28px;
}
.blob-icon span{
    left: 50%;
    display: block;
    position: relative;
    transform: translate(-50%);
}

.group-blob-icon {
    max-width: 350px;
}

main section a {
    color: var(--font-color-tertiary);
    font-size: 16px;
    font-family: var(--font-ubuntu);
    text-transform: uppercase;
    text-decoration: none;
    transition: text-shadow .3s;
}
main section a:hover {
    color: var(--font-color-tertiary);
    text-shadow: 0 0 .75px var(--font-color-tertiary), 0 0 .75px var(--font-color-tertiary);
}

.ref-biblio {
    color: var(--font-color-secondary);
    text-transform: none;
}
.ref-biblio:hover {
    color: var(--font-color-secondary);
    text-shadow: 0 0 .75px var(--font-color-secondary), 0 0 .75px var(--font-color-secondary);
}

section.bloc-demo {
    max-width: 850px;
    margin: auto;
    margin-bottom: 128px;
    border: 1px solid var(--light-grey);
    border-radius: 10px;
    position: relative;
    background-color: white;
}
section.bloc-demo div {
    max-width: 615px;
}
section.bloc-demo div p {
    max-width: 550px;
    font-size: 18px;
    color: var(--font-color-primary);
}

section.bloc-demo::before {
    content: '';
    background-image: url('assets/img/blob_3.png');
    background-repeat: no-repeat;
    width: 460px;
    height: 440px;
    z-index: -1;
    position: absolute;
    left: -140px;
    top: -80px;
}

section.bloc-demo::after {
    content: '';
    background-image: url('assets/img/blob_1.png');
    background-repeat: no-repeat;
    width: 180px;
    height: 200px;
    z-index: -1;
    position: absolute;
    left: 730px;
    top: 160px;
}

footer {
    border-top: 1px solid var(--font-color-primary);
}


footer nav ul li a{
    color: var(--font-color-primary);
    text-decoration: none;
    transition: text-shadow .3s;
}
footer nav ul li a:hover{
    color: var(--font-color-primary);
    text-shadow: 0 0 .75px var(--font-color-primary), 0 0 .75px var(--font-color-primary);
}

.mask-blob{
    mask: url("../../assets/img/blob_mask.png");
}

aside div.fixed {
    position: fixed;
}

.offres {
    background-color: white;
    border: 1px solid var(--light-grey);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px;
}
.offres img {
    width: 91px;
}

form label {
    text-transform: uppercase;
    font-family: var(--font-ubuntu);
    font-weight: 700;
    font-size: 18px;
}

section.form {
    position: relative;
}
form::before {
    content: '';
    background-image: url('assets/img/blob_3.png');
    background-repeat: no-repeat;
    width: 460px;
    height: 440px;
    z-index: -1;
    position: absolute;
    left: 190px;
    bottom: -80px;
}

.accordion-button:focus {
    border-color: #febb7a;
    box-shadow: 0 0 0 .25rem #febb7a40;
}
.accordion-button:not(.collapsed) {
    color: #F69F4F;
    background-color: #febc7a23;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23F69F4F'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  }

.evolution{
    margin-bottom: 20px;
    width:80% !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

li .sub-item{
    padding-left : 10px
}

/* MOBILE NAV */
#mobile-nav .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 47px;
    right: 50px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

#mobile-nav .hamburger-lines {
    display: block;
    height: 26px;
    width: 32px;
    position: absolute;
    top: 50px;
    right: 50px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#mobile-nav .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #0e2431;
}

#mobile-nav .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
}

#mobile-nav .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
}

#mobile-nav .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
}

#mobile-nav input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
}

#mobile-nav input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
}

#mobile-nav input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
}

#mobile-nav-item {
    display: none;
}
#mobile-nav-item ul {
    margin-top: 150px;
    padding: 0;
}
#mobile-nav-item li {
    display: block;
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}
#mobile-nav input[type="checkbox"]:checked ~ #mobile-nav-item {
    display: block;
    background-color: white;
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

body:has(#mobile-nav input[type="checkbox"]:checked){
    overflow: hidden;
    height: 100vh !important;
}
body:has(#mobile-nav input[type="checkbox"]:checked) main{
   display: none;
}


@media (max-width: 991px) {
    section.bloc-demo::after {
        left: 530px;
        top: 220px;
    }
}
@media (max-width: 767px) {
    section.bloc-demo::after {
        left: 330px;
        top: 270px;
    }

    .blob-bottom-right-blue::after {
        bottom: -80px;
        right: -20px;
    }
    form::before {
        left: 20px !important;
    }
}
@media (max-width: 376px) {
    section.bloc-demo::after {
        left: 165px;
        top: 530px;
    }

    .blob-bottom-right-blue::after {
        bottom: -80px;
        right: -20px;
    }

    form::before {
        left: 20px !important;
        background-size: 300px;
        width: 300px;
    }
}
