/** END FONCTIONS **/
#entete {
  background-image: url(../images/sfere_fond_header_ambiance.webp), url(../images/sol_retro.png);
  background-position: top, bottom;
  background-size: 100%, 200%;
  background-repeat: no-repeat;
  background-color: #070B7F;
  padding: 50px 20px;
  position: relative;
  border-radius: 0 0 0 50px;
}
#entete .contenu_haut {
  margin-top: 40vw;
}
#entete .contenu_haut .titre-pacman {
  display: flex;
}
#entete .contenu_haut .titre-pacman span {
  color: #FFD926;
}
#entete .contenu_bas {
  margin-top: 50px;
  position: relative;
  z-index: 2;
}
#entete .imprimante {
  background-position: top;
  background-size: 100%;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-image: url(../images/imprimante_bandeau_home.webp);
  animation: levitation 6s ease-in-out infinite;
  z-index: 2;
}
#entete .neon {
  background-position: top;
  background-size: 100%;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}
#entete .neon.rouge {
  background-image: url(../images/neon_rouge.webp);
  animation: neonrouge 6s ease-in-out infinite;
}
#entete .neon.bleu {
  background-image: url(../images/neon_bleu.webp);
  animation: neonbleu 4s ease-in-out infinite;
}
#entete .deco {
  position: absolute;
  top: -20vw;
  left: 0;
}
#entete .deco .lignes {
  position: absolute;
  top: 0;
  left: 50px;
  transform: translateY(-50%);
}
#entete .deco .lignes svg {
  width: 800px;
}
@keyframes levitation {
  0%,
  100% {
    transform: translateY(0%);
  }
  50% {
    transform: translateY(-3%);
  }
}
@keyframes neonrouge {
  0%,
  100% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  20% {
    opacity: 0;
  }
  30% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
}
@keyframes neonbleu {
  0%,
  100% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  20% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  90% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
}
#section_actus {
  padding: 100px 0;
}
#avantages {
  padding: 50px 20px;
}
#liste_avantages .visuel {
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.45);
}
#liste_avantages .liste {
  display: grid;
  grid-gap: 20px;
}
#liste_avantages .liste .item {
  background: linear-gradient(to right, #5E26FC, #0D97FD);
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 10px;
  grid-gap: 20px;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
}
#liste_avantages .liste .item .picto {
  width: 45px;
}
#liste_avantages .liste .item p {
  margin-bottom: 0;
}
#liste_avantages .liste .item .big {
  font-family: 'fenwick';
  font-weight: bold;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0;
}
#liste_avantages .liste .item .medium {
  font-family: 'fenwick';
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0;
}
#liste_avantages .liste .item .small {
  font-size: 14px;
  margin-top: 15px;
  display: block;
}
#liste_avantages .liste .item:hover {
  transform: scale(0.95);
}
#seo .ligne,
#seo .pacman {
  display: none;
}
/* Version 768 */
@media (min-width: 768px) {
  #entete .contenu_haut {
    margin-top: 0;
    width: 50%;
    min-height: 45vw;
    display: flex;
    align-items: center;
    position: relative;
  }
  #entete .contenu_bas {
    text-align: center;
    max-width: 960px;
    margin-right: auto;
    margin-left: auto;
  }
  #entete .deco {
    display: none;
    top: 50%;
    transform: translateY(-50%);
  }
}
/* Version > 1024 */
@media (min-width: 1024px) {
  #entete {
    background-size: 100%;
  }
  #liste_avantages {
    position: relative;
    margin-top: 30px;
  }
  #liste_avantages .visuel {
    margin-left: auto;
    margin-right: 0;
  }
  #liste_avantages .liste {
    position: absolute;
    top: 100px;
    left: 0;
  }
  #liste_avantages .liste .item {
    flex-direction: row;
    align-items: center;
    max-width: 480px;
  }
  #liste_avantages .liste .content {
    flex: 1;
  }
}
/* Version > 1200 */
@media (min-width: 1200px) {
  #entete {
    padding: 100px 0;
    border-radius: 0 0 0 100px;
  }
  #entete .deco {
    display: block;
    left: -150px;
    width: 100vw;
    height: 170px;
    top: calc(50% - 80px);
  }
  #entete .deco .pacman {
    position: absolute;
    left: 0;
    top: 85px;
    transform: rotate(-7deg);
    clip-path: polygon(0% 0%, 100% 0%, 100% 25%, 50% 50%, 100% 75%, 100% 100%, 0% 100%);
    animation: pacman 0.5s ease infinite;
  }
  #entete .deco .pacman img {
    width: 82px !important;
  }
  #entete .deco .lignes {
    left: 80px;
    top: 70px;
    clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  }
  #entete .deco .lignes svg {
    clip-path: polygon(0% 0%, 0% 100%, 4% 100%, 4% 0%, 40% 0%, 40% 100%, 100% 100%, 100% 0%);
    width: initial;
  }
  #entete .titre-pacman {
    text-shadow: 0 0 0 BLACK;
  }
  @keyframes pacman {
    50% {
      clip-path: polygon(0% 0%, 100% 0%, 100% 40%, 50% 50%, 100% 60%, 100% 100%, 0% 100%);
    }
  }
  #avantages {
    padding: 100px 20px 0 20px;
    position: relative;
    z-index: 1;
  }
  #offres {
    overflow: hidden;
  }
  #offres .conteneur {
    position: relative;
  }
  #offres .conteneur:before {
    content: '';
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(#1390FE, transparent);
    position: absolute;
    right: -500px;
    top: -60px;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    filter: blur(5rem);
  }
  #offres .conteneur:after {
    content: '';
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(#1390FE, transparent);
    position: absolute;
    left: 0;
    bottom: -300px;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    filter: blur(5rem);
  }
  #offres .conteneur * {
    z-index: 1;
  }
  #offres .deco {
    position: absolute;
    top: 0;
    left: -120px;
  }
  #offres .deco .pacman {
    position: absolute;
    top: 140px;
    left: -25px;
    z-index: 1;
  }
  #offres .deco .lignes {
    clip-path: polygon(0% 0%, 0% 100%, 8% 100%, 8% 0%, 63% 0%, 63% 100%, 100% 100%, 100% 0%);
  }
  #liste_avantages {
    margin-top: 50px;
  }
  #liste_avantages .liste .item .picto {
    width: 60px;
  }
  #liste_avantages .liste .item .big {
    font-size: 26px;
  }
  #liste_avantages .liste .item .medium {
    font-size: 18px;
  }
  #seo {
    position: relative;
  }
  #seo .ligne {
    position: absolute;
    bottom: -130px;
    left: -100px;
    display: block;
  }
  #seo .ligne img {
    max-width: initial;
  }
  #seo .pacman {
    position: absolute;
    bottom: 450px;
    left: -105px;
    z-index: 1;
    display: block;
  }
  #seo .fl-module-rich-text {
    position: relative;
  }
}
