/** END FONCTIONS **/
#bandeauhome {
  padding-top: 20px;
  bottom: 20px;
  height: 660px;
  background: linear-gradient(170deg, #F42D20, #B50909);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 0% 100%);
}
#bandeauhome #slider .slide {
  position: relative;
  max-width: 350px;
}
#bandeauhome #slider .slide .ddd {
  position: absolute;
  bottom: 0;
  left: 0;
}
#bandeauhome #slider .slide .texte * {
  color: #fff;
}
#bandeauhome #slider a {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  opacity: 0;
}
#differenciations {
  margin-top: 50px;
  text-align: center;
}
#differenciations .diffs .diff {
  width: 280px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 50px;
  text-align: left;
  position: relative;
}
#differenciations .diffs .diff:after {
  content: '';
  position: absolute;
  top: -15px;
  right: 10px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 80px 65px 0;
  border-color: transparent #b1001b transparent transparent;
  z-index: 1;
}
#differenciations .diffs .diff:before {
  content: '';
  background-color: #5C0A17;
  height: 20px;
  width: 25px;
  transform: rotate(40deg);
  position: absolute;
  top: -9px;
  right: 74px;
  z-index: -1;
  box-shadow: 1px -1px 0 0 #5c0a17;
}
#differenciations .diffs .diff .visuel {
  width: 100%;
  height: 340px;
  background-color: #ddd;
  z-index: 1;
  position: relative;
}
#differenciations .diffs .diff .visuel:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: -10px;
  left: 0;
  right: 0;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}
#differenciations .diffs .diff .titre {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  transform: translateY(calc(330px - 100%));
  color: #fff;
  text-transform: uppercase;
  font-family: 'Cooper Hewitt';
  font-size: 20px;
  font-weight: bold;
  z-index: 1;
}
#differenciations .diffs .diff .content {
  padding-top: 15px;
}
#differenciations .diffs .diff .lien {
  text-transform: uppercase;
  color: #000;
  font-family: 'Cooper Hewitt';
  font-weight: bold;
  margin-top: 15px;
  display: block;
}
#brochures {
  padding: 30px 0;
  background: linear-gradient(170deg, #F42D20, #B50909);
}
#brochures .titre {
  margin-bottom: 20px;
}
#brochures .titre span {
  margin-bottom: 0;
}
#brochures .brochures {
  text-align: center;
  margin-top: 50px;
}
#brochures .brochures a {
  display: block;
  padding: 10px;
}
#brochures .brochures a img {
  display: inline-block;
  box-shadow: 10px -10px 0 0 #303030;
}
#actus {
  margin-top: 50px;
  padding: 0 20px;
}
#actus .editor-titre2 {
  text-align: center;
}
#actus .btn {
  margin-top: 30px;
  margin-bottom: 50px;
}
/* Version 768 */
/* Version > 1024 */
@media (min-width: 1024px) {
  #bandeauhome {
    height: 830px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 100px), 0% 100%);
    background: linear-gradient(90deg, #F42D20, #B50909);
  }
  #bandeauhome .conteneur {
    height: calc(100% - 100px);
  }
  #bandeauhome .contenue {
    width: 50%;
    position: absolute;
    top: 100px;
  }
  #bandeauhome .texte {
    font-size: 19px;
  }
  #bandeauhome img {
    width: initial;
  }
  #bandeauhome #slider {
    overflow: hidden;
    background-image: url(../images/lignes.png);
    background-size: 132px;
    background-position: right 200px center;
    background-repeat: no-repeat;
  }
  #bandeauhome #slider .owl-stage-outer {
    overflow: initial;
    padding: 70px 0;
  }
  #bandeauhome #slider .slide {
    position: relative;
    max-width: initial;
    display: flex;
    align-items: flex-end;
  }
  #bandeauhome #slider .slide .droite,
  #bandeauhome #slider .slide .gauche {
    width: 50%;
    position: relative;
  }
  #bandeauhome #slider .slide .droite {
    max-width: 570px;
  }
  #bandeauhome #slider .slide .ddd {
    position: absolute;
    bottom: -70px;
    top: initial;
    left: 40px;
  }
  #bandeauhome #slider .slide:before {
    content: '';
    position: absolute;
    top: 60px;
    right: 90px;
    width: 80px;
    height: 300px;
    background-color: #9F0000;
  }
  #bandeauhome .owl-item {
    opacity: 0;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
  }
  #bandeauhome .owl-item.active {
    opacity: 1;
  }
  #bandeauhome .owl-controls {
    margin-top: 0;
  }
  #bandeauhome .owl-controls .owl-nav {
    position: absolute;
    top: 50%;
    left: calc(50% - 30px);
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(-50%);
  }
  #bandeauhome .owl-controls .owl-nav > div {
    padding: 0;
    margin: 0;
    width: 50px;
    height: 30px;
    background-color: transparent;
    background-image: url(../images/fleche.png);
    background-size: 51px;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 0;
  }
  #bandeauhome .owl-controls .owl-nav > div.owl-next {
    transform: rotate(180deg);
  }
  #differenciations .diffs {
    display: flex;
    align-items: start;
    justify-content: space-between;
    z-index: 5;
  }
  #differenciations .diffs .conteneur {
    position: relative;
  }
  #differenciations .diffs:before {
    content: '';
    width: 121px;
    height: 528px;
    background-image: url(../images/trait.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 121px;
    position: absolute;
    top: -170px;
    left: 0px;
  }
  #differenciations .diffs .diff {
    background-color: #F2F2F2;
  }
  #differenciations .diffs .diff .titre {
    transform: translateY(calc(320px - 100%));
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
  }
  #differenciations .diffs .diff .content {
    padding: 0 20px;
    margin-top: 30px;
    position: absolute;
    top: 100%;
    opacity: 0;
    margin: 0;
    padding-bottom: 100px;
    visibility: hidden;
    transition: opacity 0.2s 0.2s;
    z-index: 10;
  }
  #differenciations .diffs .diff .visuel {
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
  }
  #differenciations .diffs .diff:hover .visuel {
    opacity: 0;
  }
  #differenciations .diffs .diff:hover .content {
    opacity: 1;
    transform: translateY(-100%);
    visibility: visible;
  }
  #differenciations .diffs .diff:hover .titre {
    transform: translateY(calc(200px - 100%));
    color: #F42D20;
  }
  #brochures {
    margin-top: -80px;
    padding-top: 130px;
    padding-bottom: 80px;
  }
  #brochures .row {
    display: flex;
    align-items: center;
  }
  #brochures .row .col {
    width: 50%;
  }
}
/* Version > 1200 */
@media (min-width: 1200px) {
  #main {
    overflow: hidden;
  }
  #bandeauhome .contenue {
    width: 40%;
    padding-right: 50px;
  }
  #bandeauhome .titre {
    margin-bottom: 20px;
  }
  #bandeauhome .texte {
    max-width: 500px;
  }
  #differenciations {
    text-align: left;
    margin-top: 70px;
  }
  #differenciations .titre {
    padding-left: calc(50% - 180px);
  }
  #differenciations .diffs .diff {
    width: 360px;
    margin-right: 0;
    margin-left: 0;
  }
  #differenciations .diffs .diff .visuel {
    height: 440px;
  }
  #differenciations .diffs .diff .titre {
    font-size: 22px;
    transform: translateY(calc(400px - 100%));
  }
  #differenciations .diffs .diff:nth-child(1) {
    margin-top: -150px;
  }
  #differenciations .diffs .diff:nth-child(3) {
    margin-top: 150px;
  }
  #brochures {
    margin-top: -85px;
    padding-bottom: 130px;
  }
  #brochures .contenue {
    max-width: 500px;
  }
  #brochures .brochures a img {
    box-shadow: none;
    opacity: 0.8;
    transform: scale(0.9);
  }
  #brochures .brochures .center a img {
    opacity: 1;
    transform: scale(1);
    box-shadow: 10px -10px 0 0 #303030;
  }
  #brochures .owl-controls {
    margin-top: 0;
  }
  #brochures .owl-controls .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateY(-50%);
  }
  #brochures .owl-controls .owl-nav > div {
    padding: 0;
    margin: 0;
    width: 50px;
    height: 30px;
    background-color: transparent;
    background-image: url(../images/fleche.png);
    background-size: 51px;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 0;
  }
  #brochures .owl-controls .owl-nav > div.owl-next {
    transform: rotate(180deg);
  }
  #actus {
    margin-top: 70px;
    padding: 0;
  }
  #actus .editor-titre2 {
    margin-bottom: 70px;
  }
  #actus .les_articles li {
    width: 20%;
    background-color: #F2F2F2;
  }
  #actus .les_articles li .visuel {
    height: 500px;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
  }
  #actus .les_articles li .titre {
    transform: translateY(calc(460px - 100%));
    z-index: 30;
    left: 30px;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
  }
  #actus .les_articles li .date {
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
  }
  #actus .les_articles li .content {
    padding: 0 30px;
    margin-top: 30px;
    position: absolute;
    top: 100%;
    opacity: 0;
    margin: 0;
    padding-bottom: 100px;
    visibility: hidden;
    transition: opacity 0.2s 0.2s;
  }
  #actus .les_articles li:hover .date {
    color: #F42D20;
    text-shadow: none;
  }
  #actus .les_articles li:hover .visuel {
    opacity: 0;
  }
  #actus .les_articles li:hover .content {
    opacity: 1;
    transform: translateY(-100%);
    visibility: visible;
  }
  #actus .les_articles li:hover .titre {
    transform: translateY(calc(200px - 100%));
    color: #F42D20;
    text-shadow: none;
  }
}
