/*
    Theme Name: Prima Group
    Version: 1.0
    Author: Bastien (Rose & Piment)
*/

@font-face {
    font-family: 'LeagueGothic Re';
    src:  url('fonts/LeagueGothic-Regular.woff2') format('woff2'),
        url('fonts/LeagueGothic-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Exo2 Re';
    src:  url('fonts/Exo2-Regular.woff2') format('woff2'),
        url('fonts/Exo2-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Exo2 Bo';
    src:  url('fonts/Exo2-Bold.woff2') format('woff2'),
        url('fonts/Exo2-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* 
 1. Generale
*/

:root {
    --gris-1: #f2f2f1;
    --bleu-1: #283f52;
    --bleu-2: #676979;
    --rouge-1: #e32747;
}

html {
    overflow-x: hidden;
}
body,
html {
    width: 100%;
    height: auto;
    font-size: 20px;
}
body {
    font-family: 'LeagueGothic Re', Helvetica, sans-serif;
    color: var(--bleu-1);
}

.bg-gris {
    background-color: var(--gris-1);
}
.bg-bleu {
    background-color: var(--bleu-1);
}
.bg-rouge {
    background-color: var(--rouge-1);
}

.text-gris {
    color: var(--gris-1);
}
.text-bleu {
    color: var(--bleu-1);
}
.text-rouge {
    color: var(--rouge-1);
}

section {
    padding: 3rem 0;
}

b,
strong {
    font-family: 'Exo2 Bo', Helvetica, sans-serif;
    font-weight: 900;
}

a {
    color: var(--bleu-1);
    text-decoration: none;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

button:hover,
button:focus,
a:hover,
a:focus {
    color: var(--bleu-1) !important;
    box-shadow: 0 !important;
    outline: 0 !important;
}

p {
    font-family: 'Exo2 Re', Helvetica, sans-serif;
    color: var(--bleu-1);
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 20px;
}
p:last-child {
    margin-bottom: 0;
}

ul li {
    font-family: 'Exo2 Re', Helvetica, sans-serif;
    font-size: 0.9rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'LeagueGothic Re', Helvetica, sans-serif;
    color: var(--bleu-1);
    line-height: 1;
}

h1 *,
h2 *,
h3 *,
h4 *,
h5 *,
h6 * {
    font-family: 'LeagueGothic Re', Helvetica, sans-serif;
    color: var(--rouge-1);
}

.page-titre h1 {
    background-color: var(--rouge-1);
    color: #fff;
    font-size: 2rem;
    display: table;
    padding: 0.5rem 1rem;
    margin: 0 auto;
}

h2.bloc-rouge-abso {
    display: inline-flex;
    background: var(--rouge-1);
    padding: 0.5rem 1rem;
    color: #fff;
    text-align: center;
    margin: 0 auto;
    width: 150px;
    height: 150px;
    align-items: end;
    justify-content: center;
    position: absolute;
    top: -3rem;
    left: 0;
    right: 0;
    z-index: 2;
}

.bloc-rouge-rela {
    text-align: center;
}
.bloc-rouge-rela h2 {
    display: inline-flex;
    background: var(--rouge-1);
    padding: 0.5rem 1rem;
    color: #fff;
    text-align: center;
    margin: 0 auto;
    width: 150px;
    height: 150px;
    align-items: end;
    justify-content: center;
}

figure {
    margin: 0;
}

.card {
    border: 0;
}
.card,
.card img {
    border-radius: 0;
}

.parallax {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.parallax img.background {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
    width: 100%;
    z-index: -1
}

.breadcrumbs {
    text-align: center;
    font-size: 0.8rem;
    color: #c6cacd;
}
.breadcrumbs a {
    color: #999;
}

@media screen and (max-width: 767px) {
    .btn-read-more {
        display: table !important;
    }
    .show-few-lines {
        display: -webkit-box;
        overflow : hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;  
    }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    /* IE10+ CSS here */
    .card > * {
        flex: 0 0 auto;
    }
}

/* 
 2. Bouton
*/

.devis {
    background-color: var(--bleu-1);
    display: table;
    margin: -4rem auto 0;
    z-index: 1;
    position: relative;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.devis:hover {
    background-color: var(--rouge-1);
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
}
.devis a {
    padding: 1.5rem 1.5rem 2rem;
    display: block;
}
.devis a img {
    width: 75px;
}
.devis a span {
    color: #fff;
    max-width: 80px;
    display: block;
    text-align: center;
    line-height: 1;
    font-size: 1.4rem;
    margin-top: 0.7rem;
}

.btn-prima-1 {
    background-color: var(--bleu-1);
    color: #fff !important;
    padding: 0.2rem 0.5rem;
    margin: 0.5rem 0 0.5rem auto;
    display: table;
    white-space: nowrap;
}
.btn-prima-1:hover,
.btn-prima-1:focus {
    background-color: var(--rouge-1);
    color: #fff !important;
}

.btn-actu-1 {
    color: var(--rouge-1) !important;
    position: relative;
    padding-right: 35px;
    margin-left: auto;
    display: table;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.btn-actu-1:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
}
.btn-actu-1::before {
    content: "";
    background-image: url(img/fleche.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 30px;
    height: 22px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.btn-carte-1 {
    color: var(--bleu-1) !important;
    position: relative;
    padding-left: 65px;
    margin: 2rem auto 0;
    display: table;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    font-size: 1.3rem;
}
.btn-carte-1:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
}
.btn-carte-1::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f002";
    color: var(--rouge-1) !important;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 2.5rem;
}

/* 
 3. Header
*/

header .logo {
    max-height: 150px;
}

@media screen and (max-width: 991px) {
    header .btn-prima-1 {
        margin: 0.5rem auto;
    }
}

/* 
 4. Navigation
*/

#navigation {
    padding: 0;
}
#navigation .navbar {
    padding: 0;
    margin: 0;
}

#navigation .navbar .navbar-nav li {
    padding-left: 0;
    margin-bottom: 0;
}
#navigation .navbar .navbar-nav li a {
    font-family: 'LeagueGothic Re', Helvetica, sans-serif !important;
    color: var(--bleu-1);
    font-size: 1.5rem;
    text-align: center;
    padding: 3rem 1rem 0.15rem !important;
    line-height: 1;
    height: 100%;
    display: flex;
    align-items: end;
}
#navigation .navbar .navbar-nav li a:hover {
    color: var(--rouge-1) !important;
}

#navigation .navbar .navbar-nav li.rouge {
    background-color: var(--rouge-1);
    position: relative;
}
#navigation .navbar .navbar-nav li.rouge:before {
    content: "";
    background-color: var(--rouge-1);
    position: absolute;
    height: 100%;
    width: 100%;
    top: -100%;
    z-index: -1;
}
#navigation .navbar .navbar-nav li.rouge a {
    color: #fff;
}
#navigation .navbar .navbar-nav li.rouge a:hover {
    background-color: var(--bleu-1);
    color: #fff !important;
}

#navigation .navbar ul.dropdown-menu {
    background-color: transparent;
    border: 0;
    width: 100%;
}
#navigation .navbar ul.dropdown-menu li {
    width: 100%;
}
#navigation .navbar ul.dropdown-menu li a {
    text-align: left;
    background-color: var(--gris-1);
    color: var(--bleu-1);
    border-radius: 25px;
    margin-bottom: 0.4rem;
}
#navigation .navbar ul.dropdown-menu li a:hover {
    background-color: var(--jaune-2);
    color: #fff !important;
}

#navigation .navbar .offcanvas {
    background-color: #fff;
}
#navigation .navbar .offcanvas .logo {
    max-height: 80px;
}

#navigation .navbar .navbar-nav .dropdown-toggle::after {
    display: none;
}

#navigation .navbar ul.navbar-nav .dropdown-menu {
    background-color: var(--gris-1);
    padding: 0;
    border-radius: 0;
    border: 0;
    width: auto;
}
#navigation .navbar ul.navbar-nav .dropdown-menu li {
    width: auto;
    margin-left: 0;
}
#navigation .navbar ul.navbar-nav .dropdown-menu li a {
    font-family: 'Exo2 Re', Helvetica, sans-serif !important;
    text-align: left;
    letter-spacing: -0.5px;
    width: auto;
    border-radius: 0;
    padding: 0.4rem 1rem !important;
    font-size: 0.8rem;
    margin-bottom: 0;
}
#navigation .navbar ul.navbar-nav .dropdown-menu li a:hover {
    background-color: var(--rouge-1);
}
#navigation .navbar ul.navbar-nav .dropdown-menu li:last-child a {
    margin-bottom: 0;
}

/* Fixed navigation */

#navigation .navbar.fixed-header {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 150;
    padding: 0 1rem 0.5rem;
}
#navigation .navbar.fixed-header .navbar-brand {
    display: none;
    padding-top: 0 !important;
    padding-bottom: 0;
}
#navigation .navbar.fixed-header .navbar-brand img {
    max-height: 50px;
    width: 100%;
}
#navigation .navbar.fixed-header .offcanvas-menu {
    display: flex !important;
}
#navigation .navbar.fixed-header .navbar-nav {
    border: 0;
    padding: 0;
    text-align: left !important;
}

@media screen and (min-width: 992px) {
    #navigation .navbar .dropdown:hover>.dropdown-menu {
        display: block;
        width: auto;
        padding: 0.5rem 0;
        min-width: 100%;
    }
    #navigation .navbar .dropdown:hover>.dropdown-menu>.dropdown:hover>.dropdown-menu {
        top: 0;
        left: 90%;
    }
    #navigation .navbar .social-links {
        display: flex;
        justify-content: end;
    }
}

@media screen and (max-width: 991px) {
    #navigation .navbar {
        padding: 0 12px;
    }
    #navigation .navbar .navbar-brand {
        display: block !important;
        padding-top: 0.5rem;
    }
    #navigation .navbar .navbar-brand img {
        max-height: 50px;
        width: 100%;
    }

    #navigation .navbar .offcanvas-menu {
        display: flex !important;
    }

    #navigation .navbar .offcanvas-body .navbar-nav li {
        margin-bottom: 0.5rem;
        width: 100%;
        padding: 0;
    }
    #navigation .navbar .navbar-nav li.rouge:before {
        display: none;
    }
    #navigation .navbar .offcanvas-body .navbar-nav li a,
    #navigation .navbar .offcanvas.show .offcanvas-body .navbar-nav li a {
        padding: 0.15rem 1rem 0.15rem !important;
        text-align: center;
        display: block;
    }

    #navigation .navbar .offcanvas-header .btn-close {
        top: 1rem;
        position: absolute;
        right: 1rem;
    }

    #navigation .navbar .navbar-toggler {
        background-color: var(--bleu-1);
        color: #fff;
        border-color: var(--bleu-1);
        z-index: 15;
        margin-top: 0.5rem;
        margin-left: auto;
    }
    #navigation .navbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    #navigation .navbar.fixed-header .navbar-toggler {
        margin: 0 0 0 auto;
    }

    #navigation .navbar.fixed-header {
        padding: 0.5rem 1rem;
    }
}

/* 
 5. Carousel
*/

div[id^="carousel"]:not(#carouselStandard) {
    position: relative;
}
div[id^="carousel"]:not(#carouselStandard) .carousel-item {
    background-color: var(--gris-1);
    height: 600px;
}
div[id^="carousel"]:not(#carouselStandard) .carousel-item.video::before {
    content: "";
    background-image: url(img/lecteur.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 55px;
    height: 55px;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    transform: translateY(-50%);
    margin: 0 auto;
}
div[id^="carousel"]:not(#carouselStandard) .carousel-item img.img-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    height: 100%;
    margin: 0 auto;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
}
div[id^="carousel"]:not(#carouselStandard) .carousel-item video {
    position: absolute;
    top: 50%;
    right: 50%;
    height: 100%;
    width: 100%;
    transform: translateY(-50%) translateX(50%);
    margin: 0 auto;
    text-align: center;
    z-index: 1;
    object-fit: cover;
    pointer-events: none;
}

div[id^="carousel"]:not(#carouselStandard) .carousel-control-next,
div[id^="carousel"]:not(#carouselStandard) .carousel-control-prev {
    z-index: 3;
}

@media screen and (max-width: 1199px) {
    div[id^="carousel"]:not(#carouselStandard) .carousel-item {
        height: 500px;
    }
}

@media screen and (max-width: 991px) {
    div[id^="carousel"]:not(#carouselStandard) .carousel-item {
        height: 400px;
    }
}

@media screen and (max-width: 767px) {
    div[id^="carousel"]:not(#carouselStandard) .carousel-item {
        height: 350px;
    }
}

@media screen and (max-width: 575px) {
    div[id^="carousel"]:not(#carouselStandard) .carousel-item {
        height: 250px;
    }
}

/* carousel accueil */

#carouselAccueil {
    z-index: 0 !important;
    max-width: 1920px !important;
    margin: 0 auto !important;
}

/* carousel chiffres */

#carouselChiffres-1 .carousel-item {
    height: 420px !important;
}

#carouselChiffres-2 .carousel-item {
    height: 480px !important;
}

@media screen and (max-width: 991px) {

    #carouselChiffres-1 .carousel-item {
        height: 380px !important;
    }

    #carouselChiffres-2 .carousel-item {
        height: 420px !important;
    }
}

/* carousel realisations */

div[id^="carouselRealisations"] .carousel-item {
    height: 420px !important;
}

@media screen and (max-width: 991px) {
    div[id^="carouselRealisations"] .carousel-item {
        height: 320px !important;
    }
}

/* carousel details */

div[id^="carouselDetails"] .carousel-item {
    height: 280px !important;
}

@media screen and (max-width: 991px) {
    div[id^="carouselDetails"] .carousel-item {
        height: 240px !important;
    }
}

/* 
 6. Solutions
*/

#solutions h2 {
    text-align: center;
    position: relative;
    padding-top: 80px;
}
#solutions h2::before {
    content: "";
    background-image: url(img/fleche.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100px;
    height: 74px;
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#solutions .card-solutions a .card {
    background-color: var(--rouge-1);
    padding: 0.5rem;
    margin-top: -3rem;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#solutions .card-solutions a:hover .card:hover {
    background-color: var(--bleu-1);
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
}
#solutions .card-solutions .card img {
    width: 90px;
}
#solutions .card-solutions .card .h3 {
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.1;
}

@media screen and (max-width: 767px) {
    #solutions .card-solutions .card h3 {
        text-align: center;
    }
}

@media screen and (max-width: 575px) {
    #solutions .card-solutions a .card {
        margin-top: 0;
    }
}

/* 
 7. Solutions (header)
*/

#solutions-header {
    background-image: url(img/solutions-parallax.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}
#solutions-header .card img {
    width: 90px;
}
#solutions-header .card .card-body .card-title {
    color: var(--bleu-1);
    font-size: 1.4rem;
    line-height: 1.1;
}

@media screen and (max-width: 767px) {
    #solutions-header .card .card-body .card-title {
        text-align: center;
    }
}

/* 
 8. Solutions (page)
*/

#solutions-page .intro {
    background-color: var(--bleu-1);
    padding: 0.5rem 1rem;
    margin-top: 3rem;
}
#solutions-page .intro * {
    color: #fff;
}
#solutions-page .citations {
    text-align: center;
    position: relative;
    padding-top: 70px;
    margin-top: 1rem;
}
#solutions-page .citations::before {
    content: "";
    background-image: url(img/quote-1.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 70px;
    height: 48px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* 
 9. Pictogrammes
*/

#pictogrammes h2 {
    position: relative;
}
#pictogrammes h2:before {
    content: "";
    background-color: var(--gris-1);
    width: 999999%;
    height: 100%;
    position: absolute;
    left: -9999%;
    right: 0;
    top: 0;
    z-index: -1;
}

#pictogrammes .card.picto {
    text-align: center;
}
#pictogrammes .card.picto img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-height: 100px;
}
#pictogrammes .card.picto .card-body {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#pictogrammes .card.picto:hover .card-body {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
}
#pictogrammes .card.picto .card-body .card-title {
    color: var(--bleu-1);
    font-size: 1.4rem;
    margin-top: 0.8rem;
    line-height: 1;
}

/* 
 10. Chiffres
*/

#chiffres .counter .counter-wrapper {
    text-align: center;
}
#chiffres .compteur .counter .counter-wrapper .counter-value {
    color: var(--rouge-1);
    font-size: 3.5rem;
    text-align: center;
    display: inline-block;
}
#chiffres .compteur .counter .counter-wrapper .counter-extra {
    color: var(--rouge-1);
    text-align: center;
    display: inline-block;
    font-size: 1.8rem;
}
#chiffres .compteur .counter .counter-wrapper .counter-text {
    font-size: 1.8rem;
    text-align: center;
    margin-top: -0.5rem;
    line-height: 0.9;
}

/* 
 11. Activités
*/

#activites a:hover {
    cursor: auto;
}
#activites .card.carre-1 {
    position: relative;
    width: 100%;
    height: 375px;
    z-index: 1;
}
#activites .card.rectangle-1 {
    position: relative;
    width: 100%;
    height: 760px;
    z-index: 1;
}
#activites .card.rectangle-2 {
    position: relative;
    width: 100%;
    height: 246.5px;
    z-index: 1;
}
#activites .card.rectangle-3 {
    position: relative;
    width: 100%;
    height: 503px;
    z-index: 1;
}
#activites .card.rectangle-4 {
    position: relative;
    width: 100%;
    height: 246.5px;
    z-index: 1;
}
#activites .card .card-img-overlay {
    background: rgb(0 0 0 / 50%);
    border-radius: 0;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}
#activites .card:hover .card-img-overlay {
    background: transparent;
}
#activites .card img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.5s ease;
    width: 100%;
    z-index: -1
}
#activites .card h3 {
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    text-align: center;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#activites .card:hover h3 {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
}

#activites .text-wrapper {
    background-color: #fff;
    display: table;
    position: relative;
    padding: 1.5rem;
}
#activites .text-wrapper * {
    font-family: 'LeagueGothic Re', Helvetica, sans-serif;
}
#activites .text-wrapper:before {
    content: "";
    background-color: var(--rouge-1);
    width: 999%;
    height: 1.5rem;
    position: absolute;
    z-index: -1;
}

#activites.page a:hover {
    cursor: grab !important;
}

@media screen and (max-width: 1199px) {
    #activites .card.carre-1 {
        height: 270px;
    }
    #activites .card.rectangle-1 {
        height: 550px;
    }
    #activites .card.rectangle-2 {
        height: 177px;
    }
    #activites .card.rectangle-3 {
        height: 365px;
    }
    #activites .card.rectangle-4 {
        height: 175px;
    }
}

@media screen and (max-width: 991px) {
    #activites .card.carre-1,
    #activites .card.rectangle-1,
    #activites .card.rectangle-2,
    #activites .card.rectangle-3,
    #activites .card.rectangle-4 {
        height: 200px;
    }
}

@media screen and (max-width: 575px) {
    #activites .card.carre-1,
    #activites .card.rectangle-1,
    #activites .card.rectangle-2,
    #activites .card.rectangle-3,
    #activites .card.rectangle-4 {
        height: 150px;
    }
}

/* 
 12. Services
*/

#services h2 {
    color: var(--rouge-1);
    text-align: center;
}
#services .services-wrapper.odd {
    background: var(--gris-1);
    background: linear-gradient(90deg, rgba(242,242,241,1) 70%, rgba(255,255,255,1) 100%);
}
#services .services-wrapper.even {
    background: var(--gris-1);
    background: linear-gradient(-90deg, rgba(242,242,241,1) 70%, rgba(255,255,255,1) 100%);
}
#services .services-wrapper .row {
    padding: 2.5rem 0 1.5rem;
}
#services .services-wrapper .row .service {
    text-align: center;
    font-size: 1.4rem;
    line-height: 1;
    position: relative;
    margin-bottom: 1rem;
}
#services .services-wrapper .row .service::before {
    content: "";
    background-image: url(img/fleche-2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 115px;
    height: 93px;
    position: absolute;
    top: 50%;
    left: -25%;
    transform: translateY(-50%);
}
#services .services-wrapper .row .service:first-child::before {
    display: none;
}
#services .services-wrapper .row .service img {
    width: 55px;
}

@media screen and (max-width: 991px) {
    #services .services-wrapper .row .service::before {
        display: none;
    }
}

/* 
 13. Réalisations
*/

#realisations {
    background-color: var(--gris-1);
}

/* 
 14. Réalisations (page)
*/

#realisations-page h2,
#realisations-page-details h2 {
    color: var(--rouge-1);
    text-align: center;
}
#realisations-page .square,
#realisations-page-details .square {
    position: relative;
    padding-bottom: 20px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#realisations-page .square:hover,
#realisations-page-details .square:hover {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
}
#realisations-page .square::before,
#realisations-page-details .square::before {
    content: "";
    background-image: url(img/fleche.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 30px;
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#realisations-page-details .square.active,
#realisations-page-details .square.active:hover {
    -webkit-transition: unset;
    transition: unset;
}
#realisations-page-details .square.active:hover  {
    -webkit-transform: unset;
    transform: unset;
}
#realisations-page-details .square.active::before {
    display: none;
}
#realisations-page-details .square.active .square-box {
    background-color: var(--rouge-1) !important;
}
#realisations-page-details .realisations div:nth-child(2n+1) .square .square-box {
    background-color: var(--bleu-2);
}
#realisations-page-details .realisations div:nth-child(2n+2) .square .square-box {
    background-color: var(--bleu-1);
}
#realisations-page-details .card .card-body {
    display: flex;
    align-items: center;
}
#realisations-page-details .card .card-body .card-title {
    font-size: 1.2rem;
    color: var(--bleu-1);
    margin: 0;
}

@media screen and (max-width: 991px) {
    #realisations-page-details .square.active .square-box:before {
        display: none;
    }
    #realisations-page-details .square.active .square-box .square-content {
        position: unset;
    }
}

/* 
 15. Atouts
*/

#atouts .square .title {
    position: relative;
    text-align: center;
    padding-top: 45px;
    font-size: 1.5rem;
}
#atouts .square .square-box,
#atouts .square .title {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#atouts .square:hover .title  {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
}
#atouts .square .title::before {
    content: "";
    background-image: url(img/fleche.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 30px;
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#atouts .collapse .card-title {
    background-color: var(--rouge-1);
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    padding: 0.2rem 1rem 0.2rem;
}
#atouts .collapse .card-body * {
    color: #fff;
}

/* 
 16. Partenaires
*/

#partenaires {
    background-color: var(--rouge-1);
}
#partenaires .img-certif {
    border: 20px solid var(--bleu-1);
}

/* 
 17. Temoignages
*/

#temoignages {
    background-color: var(--gris-1);
}
#temoignages h2 {
    text-align: center;
    position: relative;
    padding-top: 70px;
}
#temoignages h2::before {
    content: "";
    background-image: url(img/quote-1.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 70px;
    height: 48px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}
#temoignages .card {
    background-color: transparent;
}
#temoignages .card .card-body {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#temoignages .card:hover .card-body {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
}
#temoignages .card .card-body .card-title {
    color: var(--bleu-1);
    text-align: justify;
    font-size: 1.5rem;
}
#temoignages .card .card-body a {
    color: var(--rouge-1);
    text-align: right;
    display: block;
}

/* 
 18. Actualités
*/

#actualites .intro {
    text-align: justify;
    position: relative;
    padding-left: 90px;
}
#actualites .intro::before {
    content: "";
    background-image: url(img/quote-1.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 70px;
    height: 48px;
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
}

#actualites .card time {
    background-color: var(--gris-1);
    color: var(--bleu-1);
    padding: 0.2rem 1rem;
    display: block;
}
#actualites .card h2 {
    background-color: var(--rouge-1);
    color: #fff;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    display: block;
    margin-bottom: 0;
    position: absolute;
    z-index: 2;
    width: 100%;
}
#actualites .card .card-body {
    position: relative;
}
#actualites .card .card-body::before {
    content: "";
    background: var(--bleu-1) url(img/bulle.svg);
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: 50% 95%;
    width: 50px;
    height: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
}
#actualites .card .card-header,
#actualites .card .card-footer {
    background-color: var(--gris-1);
    border-radius: 0;
    border: 0;
    z-index: 3;
}

#actualites span.page-numbers.current {
    color: var(--rouge-1);
}

/* 
 19. Single
*/

/* 
 20. Environnement
*/

#environnement .card {
    margin-left: -40%;
    text-align: justify;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 5;
}
#environnement .card .card-title {
    background-color: var(--bleu-1);
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    padding: 0.2rem 1rem 0.3rem;
    margin: 0 2rem 1rem 2rem;
}
#environnement .card .btn-prima-1 {
    margin-left: auto;
}

@media screen and (max-width: 991px) {
    #environnement .card {
        margin-left: 0;
    }
}

/* 
 21. Bureau d'études
*/

#bureau-etudes .wrapper {
    position: absolute;
}
#bureau-etudes .wrapper .content-wrapper {
    top: 50%;
    transform: translateY(-50%);
    position: relative;
}

@media screen and (max-width: 991px) {
    #bureau-etudes .wrapper{
        position: relative;
    }
}

/* 
 22. Ressources
*/

#ressources {
    background-color: var(--gris-1);
}
#ressources h2 {
    text-align: center;
    position: relative;
    padding-top: 70px;
}
#ressources h2::before {
    content: "";
    background-image: url(img/quote-1.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 70px;
    height: 48px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}
#ressources a .card {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#ressources a .card i {
    text-align: center;
    padding-top: 1.2rem;
    font-size: 3rem;
    color: var(--rouge-1);
}
#ressources a:hover .card {
    background-color: var(--rouge-1);
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
}
#ressources a:hover .card i,
#ressources a:hover .card .card-title {
    color: #fff !important;
}

/* 
 23. Contact
*/

#contact .adresse *:not(i) {
    font-family: 'LeagueGothic Re', Helvetica, sans-serif;
    font-size: 1.2rem;
}
#contact .contact-wrapper {
    background-color: var(--bleu-1);
    padding: 2rem 3rem 0;
    margin-bottom: -5rem;
}
#contact .contact-wrapper * {
    font-family: 'LeagueGothic Re', Helvetica, sans-serif;
}
#contact .contact-wrapper .text-wrapper {
    margin-bottom: 1.5rem;
}
#contact .contact-wrapper .text-wrapper * {
    color: #fff;
    line-height: 1;
}

#contact-us label,
#contact-us .frm_primary_label {
    color: #fff;
}

.frm_form_fields * {
    font-family: 'Exo2 Re', Helvetica, sans-serif !important;
}

/* 
 24. Carte
*/

#carte {
    margin-top: 8rem;
}
#carte .modal .modal-content {
    border-radius: 0;
}

/* 
 25. Rejoignez-nous
*/

#rejoignez-nous .content-wrapper {
    position: relative;
}
#rejoignez-nous .content-wrapper::before {
    content: "";
    background-image: url(img/quote-2.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 250px;
    height: 170px;
    position: absolute;
    top: -2rem;
    right: 10%;
    margin: 0 auto;
    opacity: 0.4;
    z-index: -1;
}

/* 
 26. Offre
*/

#offres h2 {
    position: relative;
    display: table;
    margin: 0 auto;
    padding-left: 65px;
}
#offres h2::before {
    content: "";
    background-image: url(img/quote-1.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 34px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

#offres .job-wrapper {
    display: inline-flex;
    align-items: center;
    background-color: var(--bleu-1);
    width: calc(100% - 222px);
    padding: 0.22rem 1rem;
}
#offres .job-wrapper h3 {
    color: #fff;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-align: left !important;
    margin-bottom: 0;
    margin-right: 0.8rem;
}
#offres .job-wrapper .date {
    color: var(--gris-1);
    padding: 0.2rem 0;
}
#offres .job-wrapper h3,
#offres .job-wrapper .date {
    width: 100%;
    text-align: right;
}

#offres .description {
    display: inline-flex;
    text-align: center;
}
#offres .description a {
    background-color: #fff;
    border: 1px solid #fff;
    color: var(--bleu-1);
    border-radius: 0;
}
#offres .description a:hover {
    background-color: var(--rouge-1);
    border: 1px solid var(--rouge-1);
    color: #fff !important;
}

#offres a.btn-postuler {
    background-color: var(--rouge-1);
    border: 1px solid var(--rouge-1);
    color: #fff !important;
    display: inline-flex;
    border-radius: 0;
    margin-left: 3px;
}
#offres a.btn-postuler:hover {
    background-color: var(--bleu-2);
    border: 1px solid var(--bleu-2);
    color: #fff !important;
}

@media screen and (max-width: 991px) {
    #offres .job-wrapper {
        width: 100%;
    }
    #offres .description {
        display: block;
        text-align: right;
    }
}

/* 
 27. Footer
*/

footer .pre-footer {
    font-size: 1rem;
}
footer .pre-footer ul {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}
footer .pre-footer ul:last-of-type {
    margin-bottom: 0;
}
footer .pre-footer ul li:last-child {
    margin-bottom: 0;
}
footer .pre-footer ul li a {
    font-family: 'LeagueGothic Re', Helvetica, sans-serif;
    color: var(--bleu-1);
    display: block;
}
footer .pre-footer ul li a:hover {
    color: var(--rouge-1) !important;
    display: block;
}

footer .footer * {
    font-size: 0.9rem;
}

@media screen and (max-width: 1199px) {
    footer .pre-footer h2:after {
        display: none;
    }
}

@media screen and (max-width: 991px) {
    footer .pre-footer img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
    footer .pre-footer .social-links {
        margin: 1rem auto;
    }
}

@media screen and (max-width: 575px) {
    footer .pre-footer * {
        text-align: center;
    }
    footer .pre-footer h2 {
        margin-top: 1.5rem;
    }
    footer .pre-footer ul {
        text-align: center;
        padding-left: 0;
        list-style-type: none;
    }
}

/* 
 28. Square
*/

.square-box {
    position: relative;
    width: 100%;
    min-width: 150px;
    max-width: 220px;
    overflow: hidden;
    background-color: #e6e5e3;
}
.square-box:before {
    content: "";
    display: block;
    padding-top: 100%;
}
.square-box .square-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.square-box .square-content div {
    display: table;
    width: 100%;
    height: 100%;
}
.square-box .square-content div > span {
    display: table-cell;
    vertical-align: middle;
    color: #fff;
    line-height: 1.3;
    text-align: center;
    font-size: 1.4rem;
    padding: 0.5rem;
}
.square-box .square-content div > span * {
    margin-bottom: 0;
    color: #fff;
}
.square-box .square-content div > span img {
    max-width: 80px;
}

/* 
 29. Slick
*/

#carousel-logo {
    padding-top: 0;
    padding-bottom: 1rem;
}
#carousel-logo .slick-slide {
    margin: 0 5px;
}
#carousel-logo .slick-slide img {
    width: 100%;
}
#carousel-logo .slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}
#carousel-logo .slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
#carousel-logo .slick-list:focus {
    outline: none;
}
#carousel-logo .slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}
#carousel-logo .slick-slider .slick-track,
#carousel-logo .slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
#carousel-logo .slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
}
#carousel-logo .slick-track:before,
#carousel-logo .slick-track:after {
    display: table;
    content: '';
}
#carousel-logo .slick-track:after {
    clear: both;
}
#carousel-logo .slick-loading .slick-track {
    visibility: hidden;
}
#carousel-logo .slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}
#carousel-logo [dir='rtl'] .slick-slide {
    float: right;
}
#carousel-logo .slick-slide img {
    display: block;
}
#carousel-logo .slick-slide.slick-loading img {
    display: none;
}
#carousel-logo .slick-slide.dragging img {
    pointer-events: none;
}
#carousel-logo .slick-initialized .slick-slide {
    display: block;
}
#carousel-logo .slick-loading .slick-slide {
    visibility: hidden;
}
#carousel-logo .slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}
#carousel-logo .slide-arrow {
    position: absolute;
    top: 50%;
    margin-top: -15px;
}
#carousel-logo .slick-prev,
#carousel-logo .slick-next {
    background-color: var(--bleu-1);
    color: #fff !important;
    width: 30px;
    height: 30px;
    line-height: 10px;
    font-size: 1.5rem;
    border: 0;
    z-index: 1;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}
#carousel-logo .slick-prev {
    left: 9px;
}
#carousel-logo .slick-next {
    right: 9px;
}
#carousel-logo .slick-prev:hover,
#carousel-logo .slick-next:hover,
#carousel-logo .slick-prev:focus,
#carousel-logo .slick-next:focus {
    background-color: var(--rouge-1) !important;
    color: #fff !important;
}

/* 
 30. Social
*/

.social-links ul {
    position: relative;
    display: block;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 1rem;
}
.social-links .social-icon-colored li {
    position: relative;
    display: inline-block !important;
    margin: 0;
    margin-bottom: 0;
    padding-right: 0;
    padding-left: 0.2rem;
}
.social-links .social-icon-colored li:first-child {
    padding-left: 0;
}
.social-links .social-icon-colored li a {
    background-color: #fff;
    color: var(--bleu-1) !important;
    border: 3px solid var(--bleu-1);
    border-radius: 25px;
    position: relative;
    display: block;
    height: 35px;
    width: 35px;
    line-height: 28px;
    text-align: center !important;
    font-size: 25px !important;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    padding: 0 !important;
}
.social-links .social-icon-colored li a:hover {
    background-color: var(--bleu-1) !important;
    color: #fff !important;
}
.social-links .social-icon-colored li a i,
.social-links .social-icon-colored li a svg {
    font-size: 20px;
}

/* 
 31. Scroll to Top
*/

.scroll-to-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    color: #fff;
    font-size: 24px;
    text-transform: uppercase;
    line-height: 60px;
    text-align: center;
    z-index: 100;
    cursor: pointer;
    background-color: var(--bleu-1);
    border-radius: 0;
    display: none;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.scroll-to-top:hover {
    color: #fff;
    background-color: var(--bleu-1);
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
}

/* 
 32. Zoom
*/

.zoom {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background-color: var(--bleu-1);
}
.zoom img,
.zoom:before,
.zoom:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.zoom img {
    max-width: 100%;
    height: auto;
    backface-visibility: hidden;
    vertical-align: top;
}
.zoom:before,
.zoom:after {
    content: '';
    background-color: #fff;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    opacity: 0;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.zoom:before {
    width: 60px;
    height: 1px;
    left: 100%;
}
.zoom:after {
    height: 60px;
    width: 1px;
    top: 0%;
}
.zoom a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}
.zoom:hover img {
    zoom: 1;
    filter: alpha(opacity=30);
    -webkit-opacity: 0.3;
    opacity: 0.3;
}
.zoom:hover:before,
.zoom:hover:after {
    opacity: 1;
    top: 50%;
    left: 50%;
}

/* 
 33. 404
*/

.erreur {
    height: 100%;
}
.erreur .text-wrapper {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.erreur .title {
    font-size: 5em;
    font-weight: 700;
    color: var(--bleu-1);
    position: relative;
    text-align: center;
    line-height: 1;
}
.erreur .subtitle {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--rouge-1);
    position: relative;
    text-align: center;
    margin-top: 1rem;
}
.erreur .buttons {
    margin-top: 2rem;
}
.erreur .buttons a.button {
    background-color: var(--bleu-1);
    display: block;
    font-weight: 700;
    text-decoration: none;
    padding: 15px;
    text-transform: uppercase;
    color: #fff;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.erreur .buttons a.button:hover {
    background-color: var(--rouge-1);
    color: #fff !important;
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
}