/* Pour le onepage calqué sur le modèle infinite loop */

/* typo */
h1, h2, h3, h4, h5, h6, 
.contenu, 
.nav-item a, 
.decouvrir,
.sous-titre {
    font-family: Roboto;
}
.sous-titre {
    font-weight: 300;
    font-size: 1.2rem;
    color: #999;
}

/* fontes icones material */
.material-icons {
    line-height: 0;
    padding: 0;
    vertical-align: -0.35rem;
}

/* utiles */
.inline-block {
    display: inline-block;
}
.inline {
    display: inline;
}
.flex {
    display: flex;
}
.flex-center {
    justify-content: center;
}
.flex-column {
    flex-direction: column;
}
.flex-align-start {
    align-items: flex-start;
}
.center {
    margin: auto;
}
.sectionline {
    border: 1px solid white;
    width: 6rem;
}
body {
    background-color: #333;
}

/* barre de navigation */
.lien-home {
    opacity: 0;
  }
.scrolled { /* page scrollée */
    opacity: 1;
  }
#tmNav {
    position: fixed;
    width: 100%;
    z-index: 32000;
    background-color: transparent;
    transition: all 0.3s ease;
}
#tmNav.navbar-not-scrolled { /* page non scrollée */
    background-color: rgba(0, 0, 0, 0.4);
}
#tmNav.navbar-scrolled { /* page scrollée */
    background-color: white;
    border-bottom: 2px solid #333;
    box-shadow: 0 0 24px #555;
} 

#tmNav .nav-link  {
    font-weight: 500;
}

#tmNav .nav-item {
    list-style: none;
}

#tmNav .nav-item a {
    font-weight: 400;
    font-size: 1.1rem;
    margin: 0 0.rem;
}

#tmNav.navbar  .tm-nav-link {
    color: white;
} 
#tmNav.navbar-scrolled .tm-nav-link {
    color: #369;
}

#tmNav.navbar-not-scrolled .tm-nav-link:hover {  /* page non scrollée */
    color: #369;
    background-color: rgba(255, 255, 255, 0.85);
}
  
#tmNav.navbar-scrolled .tm-nav-link.current,
#tmNav.navbar-scrolled .tm-nav-link:hover,
#ulNavBar .active a {
    color: #FFF!important;
    background-color: #369;
}
  
/* le menu burger */
#tmNav  .navbar-toggler {
    border: 2px solid white;
    color: white;
    margin: 0;
}
#tmNav.navbar-scrolled .navbar-toggler {
    border-color: #707070;
}

#tmNav .navbar-toggler-icon {
    color: white;
    font-size: 32px;
    line-height: 1.5;
    margin: -4px;
    padding: 0;
}
#tmNav.navbar-scrolled .navbar-toggler-icon {
    color: #707070;
}

/* barre de navigation sur écran étroit MOBILE */
@media (max-width: 767px) {
    .navbar-nav {
      max-width: 200px;
      text-align: right;
    }
    .navbar-collapse {
      background-color: rgb(255, 255, 255);
      padding: 10px;
      border-radius: 3px;
    }
    .navbar-collapse .nav-link {
      color: #707070;
      padding-right: 20px;
    }
    #tmNav .nav-item a {
        color: #707070;
      }
    .lien-home {
        opacity: 1;
    }
    #tmNav.navbar .tm-nav-link {
        color: #707070;
    } 
    #tmNav.navbar .tm-nav-link:hover {
        color: #FFF;
        background-color: #369;
    }
  }

@media (min-width: 768px) and (max-width: 1023px) {
    .tm-intro-text-container {
        padding-left: 0px;
    }
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 8px;
        padding-left: 8px;
    }
}

@media (min-width: 1024px) {
    .tm-intro-text-container {
        padding-left: 0px;
    }
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 20px;
        padding-left: 20px;
    }
}


/* accueil */
#accueil { /* ancre pour le menu */
    padding: 0;
    margin: 0;
    width: 0;
    height: 0;
}
.accueil {
    height: 100vh;
    background-color: #222;
    background: url(../images/fotimprim_slider_homepage_sombre.jpeg) no-repeat center center; 
    -webkit-background-size: 100%; 
    -moz-background-size: 100%; 
    -o-background-size: 100%; 
    background-size: 100%; 
    -webkit-background-size: cover; 
    -moz-background-size: cover; 
    -o-background-size: cover; 
    background-size: cover; 
    background-attachment: fixed;
}
@supports (-webkit-touch-callout: none) { /* pour iphone et ipad car fixed n'est pas supporté */
    .accueil {
        background-size: auto 120vh;
        background-attachment: scroll;
    }    
}
.titre-hero {
    position: absolute;
    z-index: 10000;
    top: calc(50% - 78px);
    left: 0px;
    right: 0;
}
.hero-title {
    font-weight: 500;
    text-transform: none;
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 3rem;
    opacity: 1.0;
    text-shadow: 0px 0px 10px black;
}
button.pas-bouton {
    cursor: default!important;
    border: 2px solid rgba(0, 0, 0, 0.7);
}
h2.cartouche-telephone {
    text-align: center;
    text-shadow: 0px 0px 10px black;
    font-size: 3rem;
    margin: 5px 0 10px 0;
    width: auto;
    color: white;
}
.icon-mail-titre {
    color: yellow;
    font-size: 48px;
    margin-left: 3rem;
    cursor: pointer;
}
.icon-mail-titre:hover {
    color: white;
}


/* bouton decouvrir */
.decouvrir {
    border: 2px solid white;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    background-image: -webkit-linear-gradient(90deg, white 50%, transparent 50%);
    background-image: linear-gradient(90deg, white 50%, transparent 50%);
    background-position: 100%;
    background-size: 400%;
    -webkit-transition: background 400ms ease-in-out;
    transition: background 400ms ease-in-out;
    font-weight: 400;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin: 0px;
    width: 190px!important;
}
.decouvrir .material-icons {
    line-height: 0;
    padding: 0;
    vertical-align: -0.35rem;
}
.decouvrir:hover {
    background-position: 0;
    color: black;
}
#contact-button:hover {
    background-position: 0;
    color: black;
}
.boutons-hero {
    position: absolute;
    max-width: 300px;
    overflow: hidden;
    z-index: 10000;
    padding: 0px;
    top: calc(50% + 70px);
    left: calc(50% - 100px);
    display: flex;
    flex-direction: column;
}
.boutons-hero * {
    font-weight: 500;
}
.boutons-hero btn {
    width: 190px!important;
}
.boutons-hero button {
    margin: 0 0 12px 0;
}


/* les espaces en tete des articles */
article.prestations,
article.presentation,
article.services,
article.clients,
article.contact {
    padding-top: 4rem;
    padding-bottom: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
    width: 100vw;
    max-width: 100vw;
    }
@media screen and (max-width: 767px) {
    article.prestations,
    article.presentation,
    article.services,
    article.clients,
    article.contact {
        padding-top: 6rem;
    }
}



/* section PRESENTATION */
article.presentation {
    background-color: #EC0;
    display: flex;
    justify-content: center;
}
article.presentation .contenu {
    margin: 0;
    color: #03E;
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
    max-width: 800px;
}
article.presentation .material-icons {
    line-height: 0;
    font-size: 2.5rem;
    padding: 0;
    vertical-align: -0.5rem;
}
/* encore plus étroit on revoie espaces et taille typo */
@media screen and (max-width: 767px) {
    article.presentation .contenu {
        margin: 0;
        font-size: 4.4vw;
    }
    article.presentation .material-icons {
        font-size: 5vw;
        padding: 0;
        vertical-align: -0.2rem;
    }
}



/* section PRESTATIONS */
article.prestations {
    background-color: #08C;
}
article.prestations .ligne-elements {
    margin-left: 4rem;
    margin-right: 1rem;
    padding-right: 2rem;
}
article.prestations .contenu * {
    color: white;
}
article.prestations h2 {
    font-size: 1.7rem;
    font-weight: 300;
    text-transform: uppercase;
    word-spacing: 0.6rem;
    color: white;
}
article.prestations .sectionline {
    color: white;
    background-color: white;
    margin-top: 1.5rem;
    margin-bottom: 4rem;
}

article.prestations .contenu i {
    font-size: 1.9rem;
}
article.prestations .contenu h3 {
    font-size: 1.2rem;
    font-weight: 300;
}
article.prestations footer {
    background: transparent;
}

article.prestations button.bouton-tarifs {
    background: #FD0;
    color: #08C;
}
article.prestations button.bouton-tarifs:hover {
    background: #FFF;
    color: #08C;
}


/* icones des services et prestations */
article.prestations .material-icons,
article.services .material-icons {
    line-height: 0.6;
    font-size: 40px;
    margin-right: 0.4rem;
}



/* section SERVICES */
article.services {
    background-color: #E05;
}
article.services .ligne-elements {
    margin-left: 4rem;
    margin-right: 1rem;
    padding-right: 2rem;
}
article.services .contenu * {
    color: white;
}
article.services h2 {
    font-size: 1.7rem;
    font-weight: 300;
    text-transform: uppercase;
    word-spacing: 0.6rem;
    color: white;
}
article.services .sectionline {
    color: white;
    background-color: white;
    margin-top: 1.5rem;
    margin-bottom: 4rem;
}
article.services .contenu i {
    font-size: 1.9rem;
}
article.services .contenu h3 {
    font-size: 1.2rem;
    font-weight: 300;
}
article.services footer {
    background: transparent;
}



/* Les tableaux de prestations et services */
.ligne-elements {
    padding-bottom: 2rem;
}
.ligne-elements .element {
    min-width: 280px;
}
.ligne-elements .element li {
    font-size: 1.0rem;
}
.ligne-elements .element i {
    color: white;
    font-size: 2.2rem;
    margin-right: 1rem;
}
.ligne-elements .element h3 {
    color: white;
    font-size: 1.4rem;
    max-width: 250px;
}

/* Sur des écrans etroits on passe en colonne */
@media screen and (max-width: 1200px) {
    article.prestations .ligne-elements,
    article.services .ligne-elements {
      flex-direction: column;
      justify-content: flex-start;
      width: 100%;
      padding-left: calc(((100% - 700px) / 2) + 100px);
    }
    article.prestations .element,
    article.services .element {
        margin-bottom: 1.5rem;
    }
    article.prestations .element h3,
    article.services .element h3 {
        max-width: 450px;
    }
    article.prestations .ligne-elements,
    article.services .ligne-elements {
        margin-bottom: 0;
        padding-bottom: 0;
        margin-left: 3rem;
        margin-right: 1rem;
        padding-right: 2rem;
    }
  }
/* encore plus étroit on revoie espaces et taille typo */
@media screen and (max-width: 767px) {
    article.prestations .ligne-elements,
    article.services .ligne-elements {
        margin-left: 2rem;
        margin-right: 1rem;
        padding-right: 2rem;
    }
  }

/* boutons */
a.bouton-presta {
    text-transform: uppercase;
    margin: auto;
    width: auto;
    margin-top: 5px;
    margin-bottom: 5px;
}
button.bouton-presta {
    text-transform: uppercase;
    margin: auto;
}
button.bouton-presta:hover {
    color: black;
}



/* SECTION Nos clients */
article.clients {
    background-color: white;
    width: 100vw;
    max-width: 100vw;
}
article.clients * {
    color: black;
}
article.clients h2 {
    font-size: 1.7rem;
    font-weight: 300;
    text-transform: uppercase;
    word-spacing: 0.6rem;
}
.sectionLineClients {
    margin-bottom: 1rem;
    border: 1px solid #999;
    width: 6rem;
}
.caroussel,
.caroussel-entete {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
}

/* taille des vignettes dans les carroussels clients et réalisations, placement */
.caroussel .couv-livre img {
    width: auto;
    height: 230px;
}
.caroussel .logo-client img {
    width: 230px;
    height: auto;
}
.caroussel .couv-livre,
.caroussel .logo-client {
    display: flex;
    flex-direction: column;
}
.caroussel .couv-livre img,
.caroussel .logo-client img {
    margin: auto;
}
.caroussel .couv-livre figcaption,
.caroussel .logo-client figcaption {
    text-align: center;
    hyphens: none;
    padding: 0 1rem;
}
.caroussel .material-icons {
    padding: 0;
    margin: 0;
}
.caroussel .couv-livre .titre {
    font-style: italic;
}
.caroussel .couv-livre .credit {
    font-weight: bold;
}
.caroussel .logo-client .description {
    font-weight: bold;
}
/* encore plus étroit on revoie espaces et taille typo */
@media screen and (max-width: 767px) {
    .caroussel .couv-livre img {
        width: auto;
        height: 150px;
    }
    .caroussel .logo-client img {
        width: 150px;
        height: auto;
    }
}


/* section contact */
article.contact {
    background-color: #444;
}
article.contact * {
    color: white;
}
article.contact h2 {
    font-size: 1.7rem;
    font-weight: 300;
    text-transform: uppercase;
    word-spacing: 0.6rem;
}
.sectionLineContact {
    margin-bottom: 1rem;
    border: 1px solid;
    width: 6rem;
}


article.contact .contenu-contact {
    display: flex;
    justify-content: center;
    padding-bottom: 4rem;
}

/* iframe responsive mode bootstrap */
article.contact .plan {
    max-width: 800px;
}



article.contact p {
    font-size: 1.0rem;
    margin-bottom: 0.9rem;
    line-height: 1.2;
    font-weight: 300;
}
article.contact .bloc {
    margin: 0 2rem 2rem 1rem;
}
article.contact a {
    display: inline-block;
    color: yellow!important;
    text-decoration: none;
}

.coordonnees a {
    display: inline;
}

/* Sur des écrans etroits on passe en colonne */
@media screen and (max-width: 992px) {
    article.contact .contenu-contact {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    article.contact .plan {
        margin: auto;
    }
    article.contact .adresse,
    article.contact .coordonnees {
        margin: 0;
        padding: 0;
    }
    article.contact .coordonnees {
        margin-top: 2rem;
    }
    article.contact .adresse {
        margin-bottom: 1rem;
    }
    article.contact .plan {
        max-width: 992px;
    }
  }


footer {
    background-color: black;
    padding: 1rem 0 0.5rem 0;
}
footer p {
    color: #CCC;
}

/* la page d'erreurs */
body.errors * {
    color: white;
    background: none;
}
body.errors nav {
    background: white;
    padding: 4px 0 4px 1rem;
    position: fixed;
    top: 20px;
    right: 0;
    left: 0;
    z-index: 100;
}
body.errors footer {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 90;
}
body.errors .boite-message {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 80;
}
body.errors .titre {
    font-size: 10vw;
    color: #bdf;
}
body.errors .message {
    font-size: 4.2vw;
}
body.errors .material-icons {
    padding-top: 10vh;
    font-size: 13vw;
    color: #bdf;
}
body.errors .material-icons a {
    text-decoration: none;
}
