#grille-metiers{
  margin: 0 -20px;
}

@media only screen and (min-width: 600px) {
  #grille-metiers{
    margin: 0;
  }
}

#grille-metiers .line{
  display: flex;
  margin: 30px 0;
  flex-wrap: wrap;
  justify-content: flex-start;
  opacity: 1;
}

#grille-metiers .line:nth-child(even){
  justify-content: flex-end;
}

#grille-metiers.by2 .teasing-metier{
  width: 50%;
  padding: 30px;
  position: relative;
}

#grille-metiers .swiper{
  margin: 50px 0;
  overflow: visible;
}

#grille-metiers{
  padding: 0 30px;
}

#grille-metiers.by2 .teasing-metier.swiper-slide{
  width: 100%;
  background: none;
  flex-direction: column;
  padding: 0;
}

@media only screen and (min-width: 1000px) {
  #grille-metiers.by2 .teasing-metier{
    width: 33.333%;
    padding: 40px;
  }
}

#grille-metiers.by2 .teasing-metier-cover img{
  height: 50vh;
  max-width: 100%;
  object-fit: cover;
  display: block;
}

@media only screen and (min-width: 1000px) {
  #grille-metiers.by2 .teasing-metier-cover img{
    height: 60vh;
  }
}

.teasing-metier-cover a{
  border-radius: 40px;
  padding: 5px;
  border: 1px solid #FFFFFF;
  display: block;
  transition: all .2s ease;
}

@media only screen and (min-width: 1000px) {
  .teasing-metier-cover a{
    border-radius: 80px;
    padding: 30px;
  }
}

.teasing-metier-cover img{
  border-radius: 40px;
  filter: grayscale(100%);
  transition: all .2s ease;
}

.swiper-slide .teasing-metier-cover img{
  filter: grayscale(0);
}

@media only screen and (min-width: 1000px) {
  .teasing-metier-cover img{
    border-radius: 50px;
  }
}

.teasing-metier-cover a:hover img{
  filter: grayscale(0);
  border-radius: 150px;
}

.teasing-metier-content h3{
  font-size: 20px;
  font-weight: 600;
  padding: 20px 0;
  border-bottom: 1px solid #FFFFFF;
}


@media only screen and (min-width: 600px) {
  .teasing-metier-content h3{
    font-size: 30px;
  }
}

@media only screen and (min-width: 1000px) {
  .teasing-metier-content h3{
    font-size: 40px;
  }
}

.teasing-metier-description{
  font-size: 14px;
  margin-top: 20px;
  font-weight: 600;
  line-height: 1.8em;
}

@media only screen and (min-width: 1000px) {
  .teasing-metier-description{
    font-size: 20px;
  }
}

.teasing-metier-link{
  font-size: 0;
  border: 1px solid #FFF;
  display: inline-block;
  padding: 25px 30px;
  border-radius: 320px;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

.teasing-metier-link::before{
  width: 0;
  height: 100%;
  left: 0;
  top: 0;
  content: '';
  position: absolute;
  display: block;
  background: #FFFFFF;
  transition: all .3s ease;
}

.teasing-metier-link:hover::before{
  width: 100%;
}


.swiper-slide .teasing-metier-link{
  display: none;
}

.teasing-metier-link .arrow{
  position: relative;
}

.teasing-metier-link .arrow span:nth-child(1){
  width: 20px;
  height: 1px;
  display: block;
  background: #FFF;
  position: absolute;
  right: 0;
  bottom: 0;
  transform: rotate(45deg);
  transform-origin: right;
  transition: all .2s ease;

}

.teasing-metier-link:hover .arrow span:nth-child(1){
  background: #000000;
}

.teasing-metier-link .arrow span:nth-child(2){
  width: 80px;
  height: 1px;
  display: block;
  background: #FFF;
  transition: all .2s ease;
}

.teasing-metier-link:hover .arrow span:nth-child(2){
  background: #000000;
}

.teasing-metier-link .arrow span:nth-child(3){
  width: 20px;
  height: 1px;
  display: block;
  background: #FFF;
  position: absolute;
  right: 0;
  bottom: 0;
  transform: rotate(-45deg);
  transform-origin: right;
  transition: all .2s ease;
}

.teasing-metier-link:hover .arrow span:nth-child(3){
  background: #000000;
}

.metiers-swiper-pagination{
  text-align: center;
  margin-bottom: 30px;
  margin-top: 30px;
}
.metiers-swiper-pagination .swiper-pagination-bullet{
  background: none;
  border: 1px solid #FFFFFF;
  width: 16px;
  height: 16px;
  opacity: 1;
  margin: 10px !important;
}

.metiers-swiper-pagination .swiper-pagination-bullet-active{
  border-color: var(--bleu);
  background: var(--bleu);
}

#sticker-configurateur{
  position: absolute;
  width: 120px;
  height: 120px;
  display: block;
  top: 0;
  right: 0;
}

#sticker-configurateur img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

#sticker-configurateur-stick{
  position: relative;
  z-index: 2;
  padding: 13px;
}

#sticker-configurateur-mac{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  -webkit-animation: rotating 30s linear infinite;
  -moz-animation: rotating 30s linear infinite;
  -ms-animation: rotating 30s linear infinite;
  -o-animation: rotating 30s linear infinite;
  animation: rotating 30s linear infinite;
}

@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
