
:root {
  --bleuclair: #00b1d7;
  --bleufonce: #00548e;
  --bleupastel: #b2effc;
  --bleupastel2: #78c8ff;
  --grisclair: #d2d2d2;
  --grisfonce: #282A2B;
  --blanc: #fff;
}


body{
    font-family: "Manrope", sans-serif;
    font-weight:400;
    min-width:320px;
    color:var(--grisfonce);
    line-height:1.2;
    font-size:17px;
    background:var(--blanc);
}



/*---------------------classes récurentes--------------------*/

a, a:hover, a:active, a:visited{
    text-decoration:none;
}
ul{
    list-style:none;
}
.img-resp img, img.img-resp {
    max-width:100%;
    width:auto;
    height:auto;
}


.bold{
    font-weight: 600;
}


.fond-blanc{
    background-color:var(--blanc);
}
.fond-grisclair{
    background-color:var(--grisclair);
}
.fond-grisfonce{
    background-color:var(--grisfonce);
}


.tabs--primary li{
    padding:5px 10px;
    border-top:1px solid #ccc;
    border-right:1px solid #ccc;
    background: #fff;
}
.tabs--primary li:first-child{
    border-left:1px solid #ccc;
}
.tabs--primary {
    margin-top:20px;
    margin-bottom:20px;
    position: relative;
}

/*----------------------editeur-----------------------*/
.blanc{
    color:var(--blanc);
}

.bleuclair{
    color: var(--bleuclair);
}
.bleufonce{
    color: var(--bleufonce);
}
.editeur p:first-child{
   margin-top: 20px;
}
.editeur ul{
   list-style: disc;
   margin-top:15px;
}

.editeur li{
    margin-bottom: 5px;
}
a,
.editeur a{
    color:var(--bleuclair);
}
a:hover,
.editeur a:hover{
    color:var(--bleufonce);
}

/*----------------------bandeau-----------------------*/

.fond-bandeau{
    background: url(../img/fond.jpg) no-repeat;
    background-size: cover;
    overflow: hidden;
}
.h-400{
   height: 400px;
}

[class^="ligne"]{
    display: inline-block;
    padding: 0px 10px; 
    height: 40px; 
    line-height: 40px; 
    box-shadow: black 0px 4px 10px -5px; 
    text-shadow: none; 
    background: white; 
    font-size: calc(18px + 4 * ((100vw - 320px) / 680));
    white-space: nowrap; 
    width: auto; 
    opacity: 0; 
    visibility: hidden; 
    margin-left: 0px; 
    margin-top: 0px;
    position: absolute; 
    left: 12%;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
    z-index: 100;
}
[class^="ligne"]{
    font-weight: 500;
}

.mac,
.lipad,
.pipad,
.iphone{
    position: absolute;  
    visibility: hidden;
    display: block; 
    animation-duration: 0.5s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
}
.mac{   
    left: 50%; 
    width: 447px; 
    height: auto; 
    animation-name: animMac;
    animation-delay: 1s;
}

@keyframes animMac {
  0%   {top:-50px;  visibility: hidden; }
  75%  {top:110px;  visibility: visible; }
  100% {top:65px;   visibility: visible;}
}

.ligne1{  
    top: 71px;  
    animation-name: animLigne1;
    animation-delay: 1.3s;
}
@keyframes animLigne1 {
  0%   {visibility: hidden; opacity: 0; }
  100% {visibility: visible; opacity: 1; }
}


.lipad{ 
    top: 210px; 
    width: 200px; 
    height: auto; 
    animation-name: animLipad;
    animation-delay: 1.8s;
}
@keyframes animLipad {
  0%   {left: 2000px;  visibility: hidden; }
  75%  {left: 40%;  visibility: visible; }
  100% {left: 49%; visibility: visible;}
}


.ligne2{ 
    top: 116px; 
    animation-name: animLigne2;
    animation-delay: 1.8s;
}

@keyframes animLigne2 {
  0%   {visibility: hidden; opacity: 0; }
  100% {visibility: visible; opacity: 1; }
}

.pipad{
    left: 77%; 
    width: 151px; 
    height: auto;
    animation-name: animPipad;
    animation-delay: 2s;
}
@keyframes animPipad {
  0%   {top:500px;  visibility: hidden; }
  75%  {top:160px;  visibility: visible; }
  100% {top:188px;   visibility: visible;}
}

.ligne3{ 
    top: 161px;
    animation-name: animLigne3;
    animation-delay: 2.3s;
}

@keyframes animLigne3 {
  0%   {visibility: hidden; opacity: 0; }
  100% {visibility: visible; opacity: 1; }
}


.iphone{
    top: 253px; 
    width: 61px; 
    height: auto; 
    animation-name: animIphone;
    animation-delay: 2.5s;
}

@keyframes animIphone {
  0%   {right: -500px;  visibility: hidden; }
  75%  {right: 15%;  visibility: visible; }
  100% {right: 10%; visibility: visible;}
}

.ligne4{ 
    top: 206px; 
    animation-name: animLigne4;
    animation-delay: 2.8s;
}
@keyframes animLigne4 {
  0%   {visibility: hidden; opacity: 0; }
  100% {visibility: visible; opacity: 1; }
}

.ligne5{ 
    top: 251px; 
    animation-name: animLigne5;
    animation-delay: 3.2s;
}
@keyframes animLigne5 {
  0%   {visibility: hidden; opacity: 0; }
  100% {visibility: visible; opacity: 1; }
}

.ligne6{ 
    top: 296px;
    animation-name: animLigne6;
    animation-delay: 3.7s;
}
@keyframes animLigne6 {
  0%   {visibility: hidden; opacity: 0; }
  100% {visibility: visible; opacity: 1; }
}



/*----------------------navigation-----------------------*/
.navbar-toggler,
.navbar-toggler:hover,
.navbar-toggler:focus{
    border: none;
    box-shadow: none;
}

.logo-mob{
    width: 220px;
}
.tel-mobile a{
    font-size:30px;
    color:var(--bleuclair);
}
.offcanvas-header{
    flex-direction: column;
}
.navbar-nav{
    height:118px;
}
.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}
.navbar-brand img{
    width: 200px;
    height: auto;
}

.navbar-expand-lg .navbar-nav .nav-link{
    padding: 0 10px;
    text-transform: uppercase;
    height: 100%;
    align-content:center;
    border-right: 2px solid var(--grisclair);
    font-weight: 600;
}

.navbar-expand-lg .navbar-nav .nav-link.active:hover,
.navbar-expand-lg .navbar-nav .nav-link:hover{
    background: var(--bleufonce);
    color: var(--blanc);
    border-right: 2px solid var(--blanc);
}
.navbar-expand-lg .navbar-nav .nav-link.active{
    background: var(--bleuclair);
    color: var(--blanc);
}


/*-----------------------pages-------------------*/	

h2.bordure-bleue{
    background: url(../img/fond-gris.png);
    padding: 10px 25px;
    border-left: 3px solid var(--bleuclair);
    font-weight:600;    
}

[class*="carre"] {
    padding:25px 30px 20px 70px;
    position: relative;
    border-radius: 7px;
}
.services [class*="carre"] {
    height: 100%;
}
[class*="carre"] h3{
    font-weight: 600;
    margin-bottom: 20px;
}
[class*="carre"] p{
    font-size: 18px;
    line-height: 1.4;
}
[class*="carre"] [class^="fa"] {
    position: absolute;
    left: 13px;
    top: 23px;
    height: 44px;
    width: 44px;
    /*background: var(--blanc);
    border-radius: 100%;*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.carre-bleu{
    /*background: linear-gradient(to bottom, var(--bleupastel), transparent);
    border-left: 1px solid var(--bleupastel);
    border-right: 1px solid var(--bleupastel);
    border-bottom: 1px solid var(--bleupastel);*/
    border: 2px solid var(--bleuclair);
}
.carre-gris{
    /*background: linear-gradient(to bottom, var(--grisclair), transparent);
    border-left: 1px solid var(--grisclair);
    border-right: 1px solid var(--grisclair);
    border-bottom: 1px solid var(--grisclair);*/
    border:2px solid var(--grisfonce);
}
.carre-bleu2{
    /*background: linear-gradient(to bottom, var(--bleupastel2), transparent);
    border-left: 1px solid var(--bleupastel2);
    border-right: 1px solid var(--bleupastel2);
    border-bottom: 1px solid var(--bleupastel2);*/
    border:2px solid var(--bleufonce);
}

.carre-bleu .fas{
    color: var(--bleuclair);
}
.carre-gris .fas{
    color: var(--grisfonce);
}
.carre-bleu2 .fas{
     color: var(--bleufonce);
}

.carre-bleu h3{
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bleuclair);
}
.carre-gris h3{
    padding-bottom: 10px;
    border-bottom: 2px solid var(--grisfonce);
}
.carre-bleu2 h3{
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bleufonce);
}

.projets h3{
    margin: 20px 0 10px;
    padding-left: 12px;
    border-left: 3px solid var(--bleuclair);
    font-size: 1.3rem;
    font-weight: 600;
    color: #555;
    transition: color .25s ease;
}
.projets h3 span.plus-petit{
    font-size: 1rem;
    display: block;
}
.projets a{
    display: block;
    text-decoration: none;
    color: inherit;
}

.projets img{
    display: block;
    transition: transform .25s ease, box-shadow .25s ease;
    border:2px solid var(--grisclair);
}

.projets a:hover img{
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0,84,142,.15);
}

.projets h3::after{
    content: "";
    display: block;
    width: 0;
    height: 2px;
    margin-top: 6px;
    background: var(--bleuclair);
    transition: width .25s ease;
}

.projets a:hover h3{
    color: var(--bleufonce);
}

.projets a:hover h3::after{
    width: 50px;
}



.cta-banner{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
    background:var(--grisfonce);
    color:#fff;
    padding:30px 40px;
    border-radius:8px;
    margin:50px 0;
}

.cta-content{
    flex:1;
}

.cta-banner h2{
    margin:0 0 8px;
    font-size:2rem;
    font-weight:700;
    line-height:1.3;
}

.cta-banner h2 span{
    color:var(--bleuclair);
}

.cta-banner p{
    margin:0;
    color:var(--grisclair);
    font-size:1.1rem;
}
.formulaire input[type="submit"],
.btn-cta{
    display:inline-block;
    background:var(--bleuclair);
    color:#fff;
    text-decoration:none;
    padding:14px 28px;
    border-radius:40px;
    font-weight:600;
    font-size: 18px;
    white-space:nowrap;
    transition:.3s;
    border:2px solid var(--bleuclair);
}
.formulaire input[type="submit"]:hover,
.btn-cta:hover{
    background:var(--blanc);
    color: var(--grisfonce);
    border:2px solid var(--grisfonce);
}
.fond-bandeau-page-detail,
.fond-bandeau-page{
    color: var(--blanc);
    height: 155px;
    display: flex;
    align-items: center;
}
.fond-bandeau-page.realisations{
    background-image:
    linear-gradient(to right, var(--bleufonce), transparent),
    url(../img/realisations.jpg);
    background-position:left center,right center;
    background-size:75% 100%, contain;
    background-repeat:no-repeat,no-repeat;  
}
.fond-bandeau-page.services{
    background-image:
    linear-gradient(to right, var(--bleufonce), transparent),
    url(../img/services.png);
    background-position:left center,right center;
    background-size:80% 100%, contain;
    background-repeat:no-repeat,no-repeat;  
}
.fond-bandeau-page.contact{
    background-image:
    linear-gradient(to right, var(--bleufonce), transparent),
    url(../img/contact.png);
    background-position:left center,right center;
    background-size:80% 100%, contain;
    background-repeat:no-repeat,no-repeat;  
}

.fond-bandeau-page.texte,
.fond-bandeau-page-detail{
    background: var(--bleufonce);
}
.fond-bandeau-page h1{
    text-shadow: var(--bleufonce) 1px 1px 2px;
    font-size: calc(1.375rem + 1.5vw);
    letter-spacing: -1px;
}
.fond-bandeau-page-detail h2,
.fond-bandeau-page span h2{
    font-size: calc(0.5rem + 1vw);
    display: block;
    margin-top: 5px;
}

.lien-externe,
.lien-externe a{
    font-size: 20px;
    font-weight: 700;
}

.rond-bleu{
    font-size: 20px;
    background: var(--bleuclair);
    border-radius: 100%;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    position: absolute;
    top:-5px;
    left:0;
}
.adresse h3{
    font-size: 24px;
    padding-left: 50px;
    margin-bottom: 20px;
    margin-top: 30px;
}

.adresse  p{
    padding-left: 50px;
}

/*---------------------carrousel-----------------------*/
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23555'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0'/%3e%3c/svg%3e");
}
.carousel-control-next-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23555'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708'/%3e%3c/svg%3e");
}
.carousel-indicators {
    bottom:-30px;
}
.carousel-indicators [data-bs-target] {
    background-color: var(--grisfonce);
}

/*-----------------------onglets de tri des réalisations----------------------------*/

.projets .nav-link.active, 
.projets .show > .nav-link {
    color: var(--blanc);
    background-color: var(--bleufonce);
    border-right: 1px solid var(--blanc);
}
.projets .nav-link {
    border-radius: 0;
    border-right: 1px solid var(--bleuclair);
}
.projets .nav-link {
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: 18px;
    font-weight: 500;
    color: var(--grisfonce);
    background-color: var(--blanc);
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}
.projets .nav-link:hover {
    color: var(--blanc);
    background-color: var(--bleuclair);
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
    border-right: 1px solid var(--blanc);
}
.projets .tab-pane.fade{
    transition: all 0.4s;
}



@media (max-width:768px){

    .cta-banner{
        flex-direction:column;
        text-align:center;
        padding:30px 20px;
    }

    .cta-banner h2{
        font-size:1.7rem;
    }

    .btn-cta{
        width:100%;
        max-width:280px;
    }

}

/*-----------------------formulaires----------------------------*/

.formulaire input[type="text"],
.formulaire input[type="email"],
.formulaire input[type="tel"],
.formulaire textarea{
	width:100%;
	margin-bottom:30px;
	padding: 10px 8px;
}
.formulaire input[type="text"]::placeholder,
.formulaire input[type="email"]::placeholder,
.formulaire input[type="tel"]::placeholder,
.formulaire textarea::placeholder{
    font-size: 18px;
    color: var(--grisfonce);
    opacity: 0.5;
}


/*-----------------------footer-------------------*/	

footer {
    background: var(--bleufonce);
}
footer p{
    color: var(--blanc);
    line-height: 1.4;
}
footer a{
   color: var(--blanc);
   margin: 10px;
   display: inline-block;
   white-space: nowrap;
}
footer a:after{
   content: ' | ';
   display: inline-block;
   margin-left: 20px;
}
footer a:last-child:after{
   content: '';
}

/*-----------------------responsive-------------------*/


@media (max-width: 1399px) {
    
    /*-------------------bandeau animation 1399--------------------------*/
	
    [class^="ligne"] {
        left:9%;
    }
    .pipad {
        left: 81%;
    }
    
    @keyframes animIphone {
        0%   {right: -500px;  visibility: hidden; }
        75%  {right: 8%;  visibility: visible; }
        100% {right: 5%; visibility: visible;}
      }

}




@media (max-width: 1199px) {
    
    /*-------------------bandeau animation 1199--------------------------*/
    [class^="ligne"] {
        left:7%;
    }
    .pipad{
        left: 85%; 
    }
    @keyframes animIphone {
        0%   {right: -500px;  visibility: hidden; }
        75%  {right: 5%;  visibility: visible; }
        100% {right: 0%; visibility: visible;}
      }
    

}



@media (max-width: 991px) {
	
	/*-----------------------navigation 991-------------------*/
        
        .navbar-nav {
            height: auto;
        }
        
        .navbar-expand-lg .navbar-nav .nav-link,    
        .navbar-expand-lg .navbar-nav .nav-link.active:hover,
        .navbar-expand-lg .navbar-nav .nav-link:hover,   
        .navbar-expand-lg .navbar-nav .nav-link.active{
            padding: 15px;
            text-align: center;
        }
        .projets .nav-link{
            padding: 8px 9px;
        }

	/*-------------------bandeau animation 991--------------------------*/
        [class^="ligne"] {
            left:1%;
        }
        
        .mac{
            left:48%;
            width: 360px;  
        }
        .lipad{
            width: 190px;
        }
        @keyframes animLipad {
            0%   {left: 2000px;  visibility: hidden; }
            75%  {left: 40%;  visibility: visible; }
            100% {left: 47%; visibility: visible;}
        }
        .pipad{
            width: 140px;
            left: 82%; 
        }
        .iphone{
            width: 50px;
        }
        
        @keyframes animIphone {
            0%   {right: -500px;  visibility: hidden; }
            75%  {right: 18%;  visibility: visible; }
            100% {right: 13%; visibility: visible;}
          }
         
          
        /*----------------------carres couleurs-----------------------------*/  

        .inversion .carre-gris{
            /*background: linear-gradient(to bottom, var(--bleupastel2), transparent);*/
            border: 2px solid var(--bleufonce);
        }  
        .inversion .carre-bleu2{
            /*background: linear-gradient(to bottom, var(--grisclair), transparent);*/
            border: 2px solid var(--grisfonce);
        }
           
        .inversion .carre-bleu2 .fas{
            color: var(--grisfonce);
        }
        .inversion .carre-gris .fas{
             color: var(--bleufonce);
        }
        
        .inversion .carre-gris h3{
            border-bottom: 2px solid var(--bleufonce);
        }
        .inversion .carre-bleu2 h3{
            border-bottom: 2px solid var(--grisfonce);
        }
        
        /*------si fond blanc--------*/
        
        .inversion .carre-bleu2{  
            border: 2px solid var(--bleuclair);
        }
        .inversion .carre-bleu2 .fas{
            color: var(--bleuclair);
        }
        .inversion .carre-bleu2 h3{
            border-bottom: 2px solid var(--bleuclair);
        }
        
        .inversion .carre-bleu{  
            border: 2px solid var(--bleufonce);
        }
        .inversion .carre-bleu .fas{
            color: var(--bleufonce);
        }
        .inversion .carre-bleu h3{
            border-bottom: 2px solid var(--bleufonce);
        }
        
        
        
        
        
        
        
     
        .fond-bandeau-page-detail h2,
        .fond-bandeau-page span h2{
            font-size: calc(0.8rem + 1.5vw);
        }
          
    }

@media (max-width: 767px) {
    
    
    [class^="ligne"] {
        font-size: calc(16px + 4 * ((100vw - 320px) / 680));
    }
    .mac{
        left:48%;
        width: 300px;  
    }
    .lipad{
        width: 160px;
    }
    @keyframes animLipad {
        0%   {left: 2000px;  visibility: hidden; }
        75%  {left: 40%;  visibility: visible; }
        100% {left: 47%; visibility: visible;}
    }

    .pipad{
        width: 125px;
    }
    
    /*--------------------footer 767---------------------*/
    
    footer a:after{
        content: '';
    }
        
}



@media (max-width: 575px) {
    
    [class^="ligne"] {
        font-size: calc(18px + 6 * ((100vw - 320px) / 680));
        left:5%;
    }
    
    .masque{
        height: 100%;
        width: 100%;
        position: absolute;
        z-index: 99;
        background: url(../img/fond.jpg) no-repeat;
        background-size: cover;
        opacity: 0;
        animation-name: animMasque;
        animation-duration: 0.5s;
        animation-delay: 3s;
        animation-fill-mode:forwards;
    }
    
    @keyframes animMasque {
        0%   {opacity: 0 }
        100% {opacity: 0.7}
    }
    
    .h-400{
        height: 330px
    }
    
    .mac{
        transform: translate(-50%, -20%); 
    }
    .lipad{
        transform: translate(-100%, -37%);
    }
    .pipad{
        transform: translate(-80%, -22%)
    }
    .iphone{
        transform: translate(-180%, -37%);
    }
    
    
    .ligne1{  
        top: 30px;  
        animation-delay: 3s;
    }
    .ligne2{ 
        top: 75px; 
        animation-delay: 3.5s;
    }
    .ligne3{ 
        top: 120px;
        animation-delay: 4s;
    }
    .ligne4{ 
        top: 165px; 
        animation-delay: 4.5s;
    }
    .ligne5{ 
        top: 210px; 
        animation-delay: 5s;
    }
    .ligne6{ 
        top: 255px;
        animation-delay: 5.5s;
    } 
    
    .fond-bandeau-page-detail,
    .fond-bandeau-page{
        min-height: 90px;
        height: auto;
    }
    	
}

@media (max-width: 360px) {
    
    .pipad{
        transform: translate(-65%, -22%)
    }

}

/*------------------------ scroll up-----------------------------*/

#scroll-up {
    position: fixed;
    z-index: 8000;
    bottom: 20px;
    right: 15px;
    display: none;
    width: 52px; 
    height: 52px;
    font-size: 18px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    color:var(--bleuclair);
    border-radius: 100%;
    cursor: pointer;
    border:2px solid var(--bleuclair);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

#scroll-up:after{
    content:'\25B2';
    font-size: 25px;
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    transition:all 0.5s;
}

#scroll-up:hover {
    background-color: var(--bleuclair);
    border:2px solid var(--bleuclair);
    color: #fff;
}

/*--------------captcha-----------------------*/

.h-captcha{
    margin-bottom: 30px;
}

/*------------------------ user login-----------------------------*/
#user-login-form label{
    display: block;
}
#user-login-form {
    margin-top: 20px;
}
#user-login-form input{
    margin:10px 0 15px;
}