/* =================== FONTS début ===================== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@500;600;700&family=Poppins:wght@600;700&family=Raleway:wght@500;600;700;800;900&display=swap');
@font-face {
    font-family: 'Poppins';
    src: url(../fonts/Poppins-Regular.ttf);
}

/* =================== FONTS début ===================== */

/* =================== INITIALISATION fin ===================== */
*, *::before, *::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.text-secondary {
    color: var(--color-dark) !important;
}
.tm-text {
    font-family: 'Raleway', sans-serif !important;
}

body {
    font-family: 'Open Sans', sans-serif !important;
    color: var(--color-dark) !important;
    background: var(--color-light);
    overflow-x: hidden !important;
}

img {
    object-fit: cover !important;
    height: 100% !important;
    /* width: 100%; */
}

/* =================== INITIALISATION début ===================== */

/* =============== COULEURS début ================== */

:root {
    --color-orange: #ff6600;
    --color-orange-dark: ;
    --color-yellow: #e5e104;
    /* --color-yellow-dark: #FCC820; */
    --color-yellow-dark: #FAC312;
    --color-dark: #292738;
    --color-dark-white: #777;
    --color-dark-light: #302f3a;
    --color-light: hsl(252, 30%, 96%);
    --color-gray: hsl(252, 15%, 65%);
    --search-padding: 0.3rem 1rem;
    --border-radius: 2rem;
}



/* =============== COULEURS fin ================== */

/* =============== BOUTONS ======================= */

.btn-Itta {
    text-transform: uppercase;
    font-size: 13px;
    padding: 12px 60px;
    background-color: var(--color-yellow-dark);
    /* display: inline-block; */
    border-radius: 0.3rem;
    font-weight: 700;
    color: #fff !important;
}

.bg-tm {
    background-color: var(--color-dark) !important;
}
.bg-ita {
    background-color: var(--color-yellow-dark) !important;
}

.color-tm {
    color: var(--color-yellow-dark) !important;
}


/* =============== HOME debut ================== */

/* navbar début */

#div-nav {
    z-index: 9; 
    /* max-width: 60vw; */
    top: 20px;
}


#div-nav nav {
    border-top: var(--color-yellow) solid 1px;
    /* background-color: var(--color-dark); */
    background-color: #292738d0;
    backdrop-filter: blur(3px) !important;
}
@media screen and (min-width: 769px) {
    #div-nav nav {
        /* height: 80px; */
        padding-top: 18.7px;
        padding-bottom: 18.7px;
        transition: 0.3s;
    }
}
#div-nav.scroll {
    top: 0;
}
#div-nav.scroll nav {
    padding-top: 8.5px;
    padding-bottom: 8.5px;
    transition: 0.3s;
}

#div-nav nav .navbar-brand {
    position: relative;
    width: 100px;
}

#div-nav nav .navbar-brand img {
    position: absolute;
    z-index: 99;
    width: 100%;
    height: 100px !important;
    left: 0 !important;
    bottom: -33px !important;
}
#div-nav.scroll nav .navbar-brand img {
    position: absolute;
    z-index: 99;
    width: 100%;
    height: 80px !important;
    left: 0 !important;
    bottom: -22px !important;
}

@media screen and (max-width: 767px) {
    #div-nav nav .navbar-brand {
        overflow: hidden !important;
    }
    #div-nav nav .navbar-brand img {
        position: absolute;
        z-index: 99;
        width: 100%;
        height: 78px !important;
        left: 30% !important;
        bottom: -20px !important;
    }
    #div-nav.scroll nav .navbar-brand img {
        position: absolute;
        z-index: 99;
        width: 100%;
        height: 78px !important;
        left: 25% !important;
        bottom: -20px !important;
    }
}

#div-nav nav .nav-item .nav-link {
    font-family: 'Raleway', 'Open Sans', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    border-radius: 0;
}

#div-nav nav #marker {
    position: absolute;
    height: 2px;
    left: 0;
    width: 16.5%;
    background-color: var(--color-yellow);
    bottom: -19.5px;
    transition: 0.5s;
}
#div-nav.scroll nav #marker {
    bottom: -10.5px;
}

@media screen and (max-width: 767px) {
    #div-nav nav .nav-item .nav-link.active,
    #div-nav nav .nav-item .nav-link:hover {
        color: var(--color-yellow) !important;
    }
}

/* navbar fin */

/* banière page d'accueil DÉBUT */


#carouselBanner {
    width: 100%;
    height: 100vh;
    position: relative;
}
#carouselBanner:before {
    content: "";
    background: rgba(0, 0, 0, 0.678);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

#carouselBanner .carousel-control-next{
    width: 0% !important;
    overflow: hidden !important;
    transition: 0.15s;
    visibility: hidden;
}
#carouselBanner .carousel-control-prev {
    width: 0% !important;
    overflow: hidden !important;
    transition: 0.15s;
    visibility: hidden;
}

#carouselBanner:hover .carousel-control-next{
    width: 10% !important;
    justify-content: center !important;
    padding-left: 0rem;
    transition: 0.3s;
    visibility: visible;
}
#carouselBanner:hover .carousel-control-prev {
    width: 10% !important;
    justify-content: center !important;
    padding-right: 0rem;
    transition: 0.3s;
    visibility: visible;
}

#carouselBanner .carousel-inner .carousel-item .bg-blur{
    content: "";
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}
#carouselBanner .carousel-inner .carousel-item .carousel-caption {
    bottom: 35%;
}
.carousel-caption .dialog {
    background-color: #292738bd;
    width: 200px;
    height: 200px;
    border: #fff solid 1px;
    border-radius: 10px;
}
.carousel-caption h1 {
    font-size: 70px;
}

.carousel-caption hr {
    height: 3px;
    color: var(--color-yellow);
    background-color: var(--color-yellow);
    opacity: 1;
    width: 150px;
    margin-left: auto;
    margin-right: auto;
}

/* animation à l'affichage du caroussel */
.carousel-item .carousel-caption h1 {
    position: relative;
    top: -100px;
    transition: 0.3s;
    opacity: 0;
}
.carousel-item .carousel-caption hr {
    position: relative;
    top: -100px;
    transition: 0.6s;
    opacity: 0;
}
.carousel-item .carousel-caption p {
    position: relative;
    opacity: 0;
}
.carousel-item.active .carousel-caption h1 {
    opacity: 1;
    top: 0;
    transition: 0.3s;
}
.carousel-item.active .carousel-caption hr {
    opacity: 1;
    top: 0;
    transition: 0.6s;
}
.carousel-item.active .carousel-caption p{
    opacity: 1;
    animation-name: top_down;
    animation-delay: 0.5s;
    animation-duration: 1s;
    font-size: 1.5rem;
}


.carousel-banner-text {
    z-index: 9;
    color: #fff !important;
    top: 50%;
    left: 15%;
    right: 15%;
}

@keyframes top_down {
    0% {
        opacity: 0;
        bottom: -50px;
        transition: 0.3s;
    }
    100% {
        opacity: 1;
        bottom: 0;
        transition: 0.3s;
    }
}




@media screen and (max-width: 992px) {
    .carousel-caption h1 {
        font-size: 40px;
    }
    .carousel-caption p {
        font-size: 0.8rem;
    }
    #carouselBanner .carousel-inner .carousel-item .carousel-caption {
        bottom: 35%;
    }
}


/* banière page d'accueil FIN */


/* services début */

#services {
    position: relative;
    background-color: var(--color-dark);
}

@media screen and (max-width: 767px) {
    #services {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

#services .boxes {
    z-index: 1;
    position: relative;
    top: -100px;
}

#services .btn-blog {
    top: -30px;
}

.boxes .box .card-title {
    line-height: 22px;
    font-weight: 800;
    font-style: normal;
    color: #333333;
    font-size: 18px;
}
.boxes .box .card-body .soul {
    color: var(--color-yellow-dark);
    width: 60px;
    height: 3px;
    background-color: var(--color-yellow-dark);
    opacity: 1;
}
.boxes .box .card-text {
    font-family: "Open Sans";
    line-height: 22px;
    font-weight: normal;
    font-style: normal;
    color: #777;
    font-size: 13px;
}

.box .img-card {
    position: relative;
    height: 216px;
    overflow: hidden;
    background-color: var(--color-dark);
    text-align: center;
    color: #fff;
}
.box .img-card .more {
    position: absolute;
    bottom: 0px;
    right: 0;
    font-size: .85rem;
    transition: 0.5s;
}
.more span {
    background-color: var(--color-dark);
    padding: 0.4rem 1rem;
}
.more i {
    background-color: var(--color-dark-light);
    padding: 0.56rem 0.5rem;
}


#services .boxes .box .img-card {
    /* opacity: 0.5; */
}

.box .img-card img{
    transition: 0.2s;
}
.box:hover img{
    transform: scale(1.7);
    transition: 0.3s;
}

.box:hover .more span{background-color: var(--color-yellow-dark); transition: 0.5s;}
.box:hover .more i{background-color: var(--color-yellow); transition: 0.5s;}

/* services fin */

/* réalisations début */

.title h2 {
    font-size: 30px;
    line-height: 30px;
    font-weight: 800;
}
.title p {
    line-height: 22px;
    color: #777;
    font-size: 13px;
    font-family: "Open Sans";
}
.title hr {
    color: var(--color-yellow-dark);
    width: 60px;
    height: 3px;
    background-color: var(--color-yellow-dark);
    opacity: 1;
}

#realisations .items {
    gap: 1.5rem 0;
}
#realisations .items .item .item-box {
    background-color: #FCFCFC;
}
#realisations .items .item h4 {
    line-height: 22px;
    font-weight: 800;
    font-style: normal;
    color: #333333;
    font-size: 18px;
}

#realisations .items .item p {
    font-weight: normal;
    font-style: normal;
    color: #777;
    font-size: 13px;
}
#realisations .items .item .i_realisation {
    font-size: 2.5rem;
    color: var(--color-yellow-dark);
}
.follow {
    display: block;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    color: var(--color-yellow-dark);
    overflow: hidden;
    display: inline-block;
}

.follow span {transition: 0.3s;}
.follow:hover span {
    padding-left: 0.5rem;
    transition: 0.3s;
}

/* réalisations fin */


/* abou debut */

#about {

}

#about .text-about, #about .bg-about {width: 50%;}
@media screen and (max-width: 700px) {
    #about .text-about {width: 100%;}
    #about .bg-about {width: 0%;}
}

#about .text-desc p {
    line-height: 22px;
    font-weight: normal;
    font-style: normal;
    color: #eee;
    font-size: 13px;
    text-align: justify;
}

#about .float {

}
.float .float-box span {
    font-size: 13px;
}

/* about fin */

/* bloc debut */

#bloc {

}

#bloc .card {
    border-radius: 0 !important;
    background-color: transparent;
    box-shadow: none;
}

#bloc .card .div-img-top {
    max-height: 216px;
    overflow: hidden !important;
}
#bloc .card .div-img-top img {
    height: 100% !important;
    width: 100%;
    object-fit: cover !important;
    border-radius: 0 !important;
}

#bloc .card .card-title {
    font-size: 1rem !important;
    font-weight: 700;
}
#bloc .card .card-text {
    font-size: 0.9rem !important;
}

/* bloc fin */


/* footer debut  */

#footer .footer-img {
    display: block;
    position: relative;
    width: 200px;
    height: 100px;
    overflow: hidden !important;
}
#footer .footer-img {

}

/* footer fin */

/* =============== HOME fin ================== */
