/** END FONCTIONS **/
#haut {
  height: 500px;
  background-color: #172944;
  position: relative;
}
#haut #logo {
  padding-top: 30px;
}
#haut #logo img {
  margin: 0 auto;
  width: 106px;
}
#haut .img {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.2;
}
#haut .conteneur {
  height: 100%;
}
#haut .content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 25px 20px;
}
#haut .titre {
  color: #fff;
  margin-bottom: 15px;
}
#haut .titre:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 4px;
  background-color: #D79084;
  border-radius: 2px;
}
#presentation,
#realisations,
#collections .bandeau,
#collections .catalogue,
#cta,
#seo {
  padding: 50px 20px;
}
#section_actus {
  padding: 0 20px;
}
#presentation {
  background-color: #F4F0EF;
}
#presentation #metiers {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}
#presentation #metiers .metier {
  display: block;
  flex: 1;
  text-align: center;
}
#presentation #metiers .metier:nth-of-type(1) .morph {
  background-color: #172944;
  border-radius: 50% 50% 50% 0;
}
#presentation #metiers .metier:nth-of-type(2) .morph {
  background-color: #D79084;
  border-radius: 50%;
}
#presentation #metiers .metier:nth-of-type(3) .morph {
  background-color: #84AE9A;
  border-radius: 0 50% 50% 0;
}
#presentation #metiers .morph {
  width: 92px;
  height: 92px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
#presentation #metiers .picto {
  height: 62px;
}
#presentation #metiers .titre {
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1.2;
  font-weight: bold;
  font-family: 'Comfortaa', sans-serif;
  color: #172944;
  margin-top: 15px;
}
#presentation #metiers .texte {
  display: none;
}
#collections .bandeau {
  background-color: #172944;
}
#collections .catalogue {
  background-color: #F4F0EF;
}
#seo .fl-rich-text p {
  font-style: italic;
  font-size: 14px;
}
#cta .btn:first-of-type {
  margin-right: 30px;
}
/* Version 768 */
/* Version > 1024 */
@media (min-width: 1024px) {
  #haut .content {
    margin-right: 0;
    right: 50%;
  }
  #presentation .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #presentation .row .col {
    width: 50%;
  }
  #cta {
    text-align: center;
  }
}
/* Version > 1200 */
@media (min-width: 1200px) {
  #haut {
    height: calc(100vh - 150px);
    min-height: 600px;
    max-height: 780px;
    max-width: 1700px;
    margin: 0 auto;
  }
  #haut #logo {
    padding-top: 40px;
  }
  #haut #logo img {
    width: 212px;
  }
  #haut .content {
    right: 40%;
    margin-bottom: 140px;
  }
  #haut .content .titre:after {
    width: 280px;
    right: inherit;
  }
  #haut .forme {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 610 610"><path d="M305,0h0A305,305,0,0,1,610,305v0A305,305,0,0,1,305,610H0a0,0,0,0,1,0,0V305A305,305,0,0,1,305,0Z"/></path></svg>') no-repeat;
    mask-size: 610px 610px;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 610 610"><path d="M305,0h0A305,305,0,0,1,610,305v0A305,305,0,0,1,305,610H0a0,0,0,0,1,0,0V305A305,305,0,0,1,305,0Z"></path></svg>') no-repeat;
    -webkit-mask-size: 610px 610px;
  }
  #presentation {
    box-shadow: 0 -140px 0 0 #F4F0EF;
    padding-top: 100px;
    padding-bottom: 65px;
  }
  #presentation .row {
    min-height: 750px;
  }
  #presentation .row .left {
    width: 600px;
    padding-right: 80px;
    padding-left: 35px;
    position: relative;
  }
  #presentation .row .left:before {
    content: '';
    width: 4px;
    border-radius: 2px;
    background-color: #D79084;
    position: absolute;
    top: -30px;
    bottom: 90px;
    left: 0;
  }
  #presentation .row .right {
    flex: 1;
  }
  #presentation #metiers {
    display: block;
  }
  #presentation #metiers .metier {
    display: flex;
    flex-direction: column;
    justify-content: end;
    position: relative;
    overflow: hidden;
    text-align: left;
    transition: all 0.4s ease;
  }
  #presentation #metiers .metier > img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: all 0.2s ease;
  }
  #presentation #metiers .metier .morph {
    border-radius: 0;
    width: 64px;
    height: 62px;
    margin: 0;
    transition: all 0.2s ease 0.2s;
  }
  #presentation #metiers .metier .titre {
    font-size: 30px;
    color: #fff;
    text-transform: initial;
    transition: all 0.2s ease 0.2s;
  }
  #presentation #metiers .metier .texte {
    display: block;
    opacity: 0;
    visibility: hidden;
    font-size: 20px;
    line-height: 1.5;
    font-weight: bold;
    font-family: 'Comfortaa', sans-serif;
    color: #fff;
    width: 60%;
    position: absolute;
    transition: all 0.2s ease 0s;
    transform: translateY(30px);
  }
  #presentation #metiers .metier:nth-of-type(1) {
    border-radius: 50% 50% 50% 0;
    width: 440px;
    height: 440px;
    background-color: #172944;
    padding-left: 60px;
    padding-bottom: 60px;
    margin-bottom: 160px;
  }
  #presentation #metiers .metier:nth-of-type(2) {
    border-radius: 50%;
    width: 340px;
    height: 340px;
    background-color: #D79084;
    justify-content: center;
    padding-left: 45px;
    position: absolute;
    right: 0;
    top: 0;
  }
  #presentation #metiers .metier:nth-of-type(3) {
    width: 300px;
    height: 300px;
    border-radius: 0 50% 50% 0;
    background-color: #84AE9A;
    padding-left: 25px;
    padding-bottom: 25px;
    position: absolute;
    right: 100px;
    bottom: 0;
  }
  #presentation #metiers .metier:hover {
    background-color: #000;
    border-radius: 20%;
  }
  #presentation #metiers .metier:hover > img {
    opacity: 0.8;
  }
  #presentation #metiers .metier:hover .titre,
  #presentation #metiers .metier:hover .morph {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.2s ease 0s;
  }
  #presentation #metiers .metier:hover .texte {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.2s ease 0.2s;
  }
  #realisations {
    padding: 80px 20px;
    position: relative;
  }
  #realisations .deco_cr {
    left: calc(50% - 820px);
    top: 500px;
  }
  #realisations .deco_pv {
    left: calc(50% + 60px);
    top: 890px;
  }
  #realisations .deco_rr {
    left: calc(50% + 560px);
    top: 1240px;
  }
  #realisations .deco_db {
    left: calc(50% - 1000px);
    top: 1700px;
  }
  #realisations .btn {
    position: absolute;
    bottom: 400px;
    right: 170px;
  }
  #collections .bandeau {
    padding-top: 100px;
    padding-bottom: 200px;
    max-width: 1700px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
  }
  #collections .bandeau .texte {
    padding-left: 35px;
    position: relative;
  }
  #collections .bandeau .texte:before {
    content: '';
    width: 4px;
    border-radius: 2px;
    background-color: #84AE9A;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
  }
  #collections .bandeau .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #collections .bandeau .row .left {
    width: 56%;
  }
  #collections .bandeau .row .right {
    width: 44%;
    display: flex;
    justify-content: center;
  }
  #collections .catalogue {
    padding-top: 90px;
    padding-bottom: 90px;
    box-shadow: 0 -330px 0 0 #F4F0EF;
    position: relative;
  }
  #collections .catalogue .deco_cr {
    left: calc(50% - 820px);
    top: 430px;
  }
  #collections .catalogue .btn {
    position: absolute;
    top: 180px;
    right: 40px;
  }
  #collections .catalogue .row {
    display: flex;
    justify-content: space-between;
  }
  #collections .catalogue .row .col {
    width: 50%;
    position: relative;
  }
  #morphing {
    width: 550px;
    height: 550px;
    overflow: hidden;
    margin: -190px 0 0 auto;
    animation: morphing 3s ease-in-out infinite;
    position: relative;
    z-index: 11;
  }
  #morphing .carousel__nav,
  #morphing .carousel__dots {
    display: none;
  }
  #morphing .carousel__slide {
    width: 100%;
    padding: 0;
  }
  #morphing img {
    object-fit: cover;
    width: 550px;
    height: 550px;
  }
  @keyframes morphing {
    0%,
    10%,
    100% {
      border-radius: 0 50% 50% 0;
    }
    30%,
    40% {
      border-radius: 50% 50% 50% 0;
    }
    60%,
    80% {
      border-radius: 50%;
    }
  }
  #cta {
    padding-top: 140px;
    padding-bottom: 140px;
  }
  #cta .fl-rich-text {
    max-width: 1100px;
    margin: 0 auto;
  }
  #seo .fl-rich-text {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
  }
  #section_actus {
    position: relative;
  }
  #section_actus:before {
    content: '';
    position: absolute;
    top: -50px;
    left: calc(50% + 380px);
    width: 548px;
    height: 404px;
    background-image: url(../images/pattern_pointes_argile.png);
    background-size: 548px;
    background-position: right 0;
    background-repeat: no-repeat;
  }
  #section_actus .btn {
    position: absolute;
    top: 200px;
    right: 0;
  }
  #section_actus .les_articles {
    margin: 0;
    padding-right: 90px;
  }
  #section_actus .les_articles li {
    padding: 0;
    margin-right: 30px;
  }
  #section_actus .les_articles li:first-of-type {
    flex: 1;
  }
  #section_actus .les_articles li:first-of-type .visuel img {
    height: 420px;
  }
  #section_actus .les_articles li:not(:first-of-type) {
    margin-top: 50px;
    width: 300px;
  }
  #section_actus .les_articles li:not(:first-of-type) .visuel img {
    height: 300px;
  }
}
/* Version > 1300 */
@media (min-width: 1300px) {
  #haut .content {
    margin-left: 0;
  }
}
