:root {
    --primary-color2: #2c3e50;
    --primary-color: #004877;
    --primary-color-trans: #00487700;
    --secondary-color: #3498db;
    --secondary-color2: #3498dbe5;
    --background-light: #f4f6f7;
    --background-light2: #f4f6f7; 
    --text-color: #333;
    --text-color2: #9b9b9b;
    --text-color-white:#fff;
    --overlay-color: rgba(0,0,0,0.5);
    --overlay-color-services:#002d4ba8;
    --overlay-color2: #112b44cc;
    --overlay-color3: #112b44cc;
    --overlay-color4: rgba(0,0,0,0.6);
    --orange :#FF9800;
    --orange-transp :#FF980000;
    --orange-trans :linear-gradient(to right, #FF98004f , #FF980000 );
    --orange-trans-left :linear-gradient(to left, #FF98004f , #FF980000 );
    --orange2 :#FF98004f;
    --degrade-45 :linear-gradient(149deg, #3498db00 ,#2c3e5004, #1c1e20aa );
}
@font-face {
    font-family: "Barlow" ;
    src: url(../font/Barlow-Medium.ttf);
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-display: swap;
}


@font-face {
    font-family: "Barlow light" ;
    src: url(../font/Barlow-Light.ttf);
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* transition: min-height 0.2s ease-out;  */
}



body, html {
    
    font-family: 'Barlow light', sans-serif;
    /* line-height: 1.3; */
    color: white;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h2{
    line-height: 3rem;
    font-size: 3rem;
    margin-bottom: 20px;
}



/****************** navigation  ******************/

.nav-logo span {
    font-size: 2rem;
    z-index: 3;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    /* background-color:var(--secondary-color); */
    /* background-image: linear-gradient(90deg, var(--secondary-color2) 30%, #0066aa38 100%); */
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
    z-index: 5;
    border-top: 4px solid;
    border-image: linear-gradient(to right, var(--secondary-color)70%, var(--orange)0%) 1;
}
.main-nav::before {
    content: '';
    position: absolute;
    height: 110px;
    width: 100%;
    background: linear-gradient(180deg, #21201fc2, rgba(33, 32, 31, 0));
    z-index: -1;
}

.nav-container {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 10px 20px;
    z-index: 5;
}

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 3;
}

.nav-logo i{
    font-size: 28px;
    color: var(--orange);
    margin-right: 8px;
}

.nav-logo .raoul{
    /* font-size: 1.8rem; */
    font-weight: bold;
    color: var(--text-color-white);
    line-height: 2rem;
}

.nav-logo .raoul b{
    /* font-size: 1.8rem; */
    color: orange;
}
.nav-logo .sous-raoul{
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color-white);
    margin-bottom: 2px;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    /* border-right: 1px dotted rgba(255, 255, 255, 0.199); */
}

.nav-menu a {
    text-decoration: none;
    color: white;
    /* font-size: 14px; */
    transition: color 0.3s ease;
    /* padding: 10px ; */
    border-right: #f4f6f755 1px dotted;
    padding: 0 8px;

}
.nav-menu li:last-child a {
    border: none;
}

.nav-menu a:hover {
    color: var(--orange);
    transform: scale(2.1);
    font-weight: bold;
}

.nav-logo span, .parallax-header h1{
    white-space: nowrap;
}

/********* FIN NAV **********/

  
section, header {
    min-height: 100vh;
    border-bottom: 2px var(--secondary-color) solid;
}



/* Responsive ****************************************** */

@media (max-width: 768px) {

    .container{
        width: 100%!important;
        padding: 0!important;
    }

    .hero .container{
        padding: 20px!important;
    }

    .nav-container{
        flex-wrap: wrap;
        justify-content: center!important;

    }
    .nav-logo{
        width: 100%;
        justify-content: center;
    }
    .nav-menu{
        justify-content: center;
        position: fixed;
        bottom: 0;
        width: 100%;
        padding-bottom: 3vw;
        padding-top: 3vw;
        /* background-color: var(--primary-color); */
        background: linear-gradient(169deg, var(--secondary-color) 15%, var(--primary-color));
        border-right: 5px solid var(--orange);
       
    }
    .nav-menu a{
        font-size: clamp(1rem, 4vw, 2.5rem);
    }

    .triangle2{
        z-index: 5;
        width: 3vw!important;
        height: 3vw!important;
    }


    header h1 {
        opacity: 0;

    }

    h2 {
        font-size: 35px;
        line-height: 2.5rem;
    }

    header .container{
        width: 100%;
    }
    header p {
        width: auto;
    }

    header .sub2{
        font-size: 18px;
        padding: 20px 0;
    }

    .services .container {
        flex-direction: column;
    }

    .servicesIllustration{
        max-width: max-content!important;
    }
    .services .servicesIllustration {
        min-width: 100%;
        background: none!important;
        justify-content: center!important;
    }
    .services .servicesIllustration img {
        width: 70%;
        min-width: 230px;
        max-width: 330px;
        padding: 20px;
        max-height: 303px;
        width: auto;
    }
    .services .right .servicesIllustration {
        border-right: 5px solid var(--orange) !important;
        order: -1;
        justify-content: flex-end!important;
    }
    .services .left .servicesIllustration { 
        border-left: 5px solid var(--orange) !important;      
        justify-content: flex-start!important;
    }

    .services .right {
        padding-left: 20px !important;
    } 

    .services .left {
        padding-right: 20px !important;
    } 


}


/* suite 1  */
.btn-section{
    margin-top: 20px;
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.btn-section:hover {
    background-color: var(--orange);
}


.container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.titreSection{
    width: 90%;
    max-width: 1200px;
    margin: 10px auto 0;
    position: relative;
    color: var(--orange);
    text-transform: uppercase;
    font-weight: bolder ;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding: 5px 0 3px;
    border-bottom: 2px dotted ;
    border-image: linear-gradient(to right, var(--orange)00%, var(--orange-transp)30%) 1;
    z-index: 3;
    align-self: flex-start;
}

.contact .titreSection{
    /* top : 10px; */
}


.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

/* hero *********************************************************************/
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color);
    z-index: 2;
}

.hero {
    background-image: url('../img/hero-bg.jpg');
    background-position: center ;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;    
    min-height: 100vh;
}

.hero .container {
    text-align: right;
    border-right: 5px solid var(--orange);
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
    align-self: baseline;
}

.hero .container p{
    text-align: justify;
   
}
/* services *****************************************************/

.services {
    background-image: url('../img/service1.jpg');
    background-position: center ;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction:column;
    position: relative;    
    min-height: 100vh;

}
.services h2{
    margin-bottom: 0;
}
.services span{
    font-variant: small-caps;
    display: block;
    margin-bottom: 20px!important;
    color: var(--orange);
    
}

.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--overlay-color-services);
    z-index: 2;
}

.services .container{
    display: flex;
    margin: 70px auto;
    max-width: 1300px;
    z-index: 2;
    /* text-align: justify; */
    width: 100%;
}

.servicesIllustration.crea img{
    transform: translateX(-47px);
}
.servicesIllustration.ecom img{
    transform: translateX(-10px) translateY(20px);
    max-width: 365px;
}
.servicesIllustration.refe img{
    transform: translateY(10px) translateX(40px);
}
.servicesIllustration.ia img{
    transform: translateY(14px);
    max-width: 310px;
}


.services .container >div:not(.servicesIllustration){
    border-right: 5px solid var(--orange);
    padding-right: 20px;
}

.services .container.left >div:not(.servicesIllustration){
    padding-left: 20px;
    padding-right: 0;
    border: none;
    border-left: 5px solid var(--orange)!important;
}

 .container.right .servicesIllustration{
    background: var(--orange-trans);
    margin-right: 20px;
    justify-content:flex-start ;

 }
  .container.left .servicesIllustration{
    background: var(--orange-trans-left);
    justify-content:flex-end ;
    order: -1;
 }

.servicesIllustration{
    position: relative;
    /* min-width: 350px;    */
    max-width: 400px;
    display: flex;
    align-items: flex-start;
    width: 30%;

}
.servicesIllustration img{
   /* position: absolute;
   object-fit: cover; */
    max-width: 500px;
    padding: 10px;
}

.container.left .servicesIllustration img{
    right: 0;

 }


.services .right{
    text-align: right;
}

.services .left{
    text-align: left;
}
.services p {
    text-align: justify;
}


.services ul{
    text-align: left;
    overflow: hidden;
    position: relative;
    background-color: #33333369;
    list-style: none;
    padding: 20px;
    /* column-count: 2;        */
    column-gap: 40px;
    margin-top: 20px;
    border-radius: 3px;
    padding-left: 50px;
}

.services ul::before{
    content: 'Inclus';
    display: block;
    position: absolute;
    padding: 5px;
    background-color: #3498db;
    transform: rotate(315deg);
    left: -2em;
    top: 0.5em;
    text-align: center;
    font-variant: small-caps;
    width: 100px;

}


.services ul span{
    position: absolute;
}

.services ul li{
    color: #ddd;
    position: relative;
    padding-left: 20px;
}
.services ul li::before{
  content: "\2713";  /* coche plus épaisse \2714 */
  color: var(--orange);
  position: absolute;
  left: 0;           /* place la puce à droite */
  top: 0;
}



/* CONTACT Section ***********************************************************/

.contact {
    background-image: url('../img/christopher-gower-m_HRfLhgABo-unsplash.jpg');
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    position: relative;    
    min-height: 100vh;
}
.contact .titreSection{

    color: var(--primary-color);
    border-image: linear-gradient(to right, var(--primary-color)00%, var(--primary-color-trans)30%) 1;

}

.containerContact{
    align-self: baseline;
    max-width: 1000px;
}

.contact h2 {
    margin-bottom: 30px;
    text-align: center;

}
.contact-overlay {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--degrade-45);
    z-index: 1;
}
.contact .container  {

    backdrop-filter: blur(20px);
    background-color: #33333333;
    border-right: 5px solid var(--orange);
}

.contact .container > div {
    display: flex;
    justify-content: center;
}
.contact .container > div p {
    width: 30%;
    margin-right: 30px;
    text-align: justify;
 
}
.contact-form textarea{
    /* margin-bottom: 0!important; */
}

/* bouton mail de contact */
.btnMail{
    width: 100%;
}

.contact-form {
    max-width: 50%;
    /* margin: 0 auto; */
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
}

/* Footer Styles ********************************/


footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 30px 0;
}

.social-links {
    margin: 20px 0;
}

.social-icon {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--secondary-color);
}