* ::before ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
   
    height: auto;
    margin: 0;
    padding: 0;
    background: #1f1f1f;
   
}

a {
    text-decoration: none;
    color: #f1f1f1;
}



a:visited {
    color: #f1f1f1;
}

.header {
    height: 90vh;
    width: auto;
    background: #1f1f1f;
    background: url(img/bgheader.jpg) no-repeat;
    background-position: 25% 50%;

}

.maestrom {
    text-align: center;
    padding-top: 145px;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.3vw;
    color: white;
    padding: 0;

}
/* Animation MAESTROM */

.lettres-maestrom {
    display: inline-block;
    animation: flash 4.8s linear infinite;
}

ul a:hover .lettres-maestrom {
    animation: flash 1s linear infinite;
}


@keyframes flash {
    0% {
        color: #484848;
        text-shadow: none;
    }
    20% {
        color: #484848;
        text-shadow: none
    }
    0% {
        color: white;
        text-shadow: 0 0 7px white, 0 0 30px #ff4272;
    }

}

ul li:nth-child(1) {
    animation-delay: 0.1s;
}
ul li:nth-child(2) {
    animation-delay: 0.2s;
}
ul li:nth-child(3) {
    animation-delay: 0.3s;
}
ul li:nth-child(4) {
    animation-delay: 0.4s;
}
ul li:nth-child(5) {
    animation-delay: 0.5s;
}
ul li:nth-child(6) {
    animation-delay: 0.6s;
}
ul li:nth-child(7) {
    animation-delay: 0.7s;
}
ul li:nth-child(8) {
    animation-delay: 0.8s;
}
ul li:nth-child(9) {
    animation-delay: 0.9s;
}

/* FIN ANIMATION MAESTROM */

.boxpromo {
    width: 100%;
   height: 250px;
}

.titre {
    position: relative;
    text-align: center;
    top:48%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding-bottom: 40px;
    border: solid 1px white;
    border-radius: 30px;
    width: 40%;
}

.blackfriday {
    margin-left: 20px;
    margin-right: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5vw;
    color: #1f1f1f;
    list-style-type: none;
    animation: flash 1.4s linear infinite;
    letter-spacing: 10px;
    text-shadow: -1px 0 #414141, 0 1px #414141, 1px 0 #414141, 0 -1px #414141;
    animation: fondblanc 1.2s ease forwards;
    animation-play-state: paused

}

.promo {
    position: absolute;
    top:48%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 6vw;
    font-family:ohno-fatface, serif;
    font-weight: 200;
    font-style: normal;
    text-shadow: -1px 0 #ff4273, 0 1px #ff4273, 1px 0 #ff4273, 0 -1px #ff4273;
    color: #1f1f1f;
    animation: fondrose 1.2s ease forwards;
    animation-play-state: paused;
    background: #1f1f1f;
    padding: 0 20px;
}

/* Animation hover */

.titre:hover .blackfriday {
    animation: fondblanc 1.2s ease forwards;
    animation-play-state: running
}


.titre:hover .promo {
    animation: fondrose 1.2s ease forwards;
    animation-play-state: running;
    animation-delay: 0.4s;
    
}

@keyframes fondblanc{
    0% {
        text-shadow: -2px 0 #414141, 0 1px #414141, 2px 0 #414141, 0 -1px #ff4273;
        color: #1f1f1f;
    }
    100% {
        text-shadow: none;
        color: white;
    }
}

@keyframes fondrose {
    0% {
        text-shadow:-1px 0 #ff4273, 0 1px #ff4273, 1px 0 #ff4273, 0 -1px #ff4273;
        color: #1f1f1f;

    }
    100% {
        text-shadow: none;
        color:#ff4273 ;


    }
}

.phrase-header  {
    text-align: center;
    color: #f1f1f1;
    font-family: omnes-pro, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 30px;
    position: relative;
    animation: apparition 1.5s linear forwards;
    opacity: 0;
}


.phrase-header a::after {
    content: "";
    display: block;
    width: 0px;
    margin:5px auto 0 auto ;
    height: 2px;
    border-radius:2px ;
    background: #f1f1f1;
    transition: width 0.2s ease-out;
}

.phrase-header a:hover::after {
    width: 20%;
}


@keyframes apparition {
    0% {
        opacity: 0;
        top: 1%;
    }

    30% {
        top: 0;
    }

    100% {
        top: 0;
        opacity: 1;
    }
}

.plan {
    background: #333;
    padding: 5% 20%;
    text-align: center;
    color: #efefef;
    font-family:'Montserrat', sans-serif;
}

.plan h1 {
    color: #ff4272;
}

.plan a::after {
    content: "";
    display: block;
    width: 0px;
    margin:5px auto 0 auto ;
    height: 2px;
    border-radius:2px ;
    background: #f1f1f1;
    transition: width 0.2s ease-out;
}

.plan a:hover {
    color: #ff4272;
}

.plan a:hover::after {
    width: 50%;
}

/* CONTENU */


.container{
    padding: 5% 20%;
    position: relative;
    background: #efefef;
    text-align: center;
}

.container h2 {
    font-family:'Montserrat', sans-serif;
    font-size: 40px;
    color: #ff4272;
    padding-bottom: 5%;
}

.card h3 {
    color: white;
    font-family: omnes-pro, sans-serif;
    font-size: 32px;
    text-align: center;
    padding: 20px 0;
    background: #333;
    border-radius: 20px 20px 0 0;
    margin: 0;
    transition: all 0.5s;
}


.card {
    width: 300px;
    height: 550px;
    border-radius: 30px;
    display: inline-block;
    margin: 20px;
    border: 2px solid #1f1f1f;
    position: relative;
    transform: scale(1);
    transition: transform 0.4s;
    
}

.card ul {
    position: absolute;
    z-index: 2;
    list-style-type: none;
    text-align: center;
    padding: 0 20px;
}

.listes {
    font-size: 20px;
    margin: 10px 0;
    font-family: 'Montserrat', sans-serif;
    color: #1f1f1f;
    transition: color 0.3s;
}

.prix {
    color:#ff4273 ;
    font-weight: 600;
}

.prix-hover1 {
    margin-top: 30px;
}


/* Animation apparition carte hover */


.card::after{
    content: "";
    background: #1f1f1f;
    position: absolute;
    width: 300px;
    height: 470px;
    border-radius: 0 0 25px 25px;
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.4s;
    z-index: -1;
    left: 0;
    
}

.card:hover::after {
    z-index: 1;
    transform: scaleY(1);
}

.card:hover h3 {
    color: #ff4272;
    transition: all 0.5s;
}

.card:hover {
    transform: scale(1.05);
    transition: transform 0.5s;
}

.card:hover .listes {
    color: #f1f1f1;
    transition: color 0.3s;
}

.rouge  {
    color: #ff4272;
    
}

.list1 {
    transition-delay: 0.7s;
}
.list2 {
    transition-delay: 0.6s;
}
.list3 {
    transition-delay: 0.5s;
}
.list4 {
    transition-delay: 0.4s;
}
.list5 {
    transition-delay: 0.3s;
}
.list6 {
    transition-delay: 0.2s;
}
.list7 {
    transition-delay: 0.1;
}
.prix-hover1 {
    transform: scale(1);
    transition: 0.5s;
    font-weight: 200;
}

.prix-hover2 {
    transform: scale(1);
    transition: 0.5s;
    font-size: 25px;
}



.card:hover .list1 {
    transition-delay: 0.1s;
}
.card:hover .list2 {
    transition-delay: 0.2s;
}
.card:hover .list3 {
    transition-delay: 0.3s;
}
.card:hover .list4 {
    transition-delay: 0.4s;
}
.card:hover .list5 {
    transition-delay: 0.5s;
}
.card:hover .list6 {
    transition-delay: 0.6s;
}
.card:hover .list7 {
    transition-delay: 0.7s;
}

.card:hover .prix-hover1 {
  transform: scale(0.7);
  transition: all 0.8s ease;
  transition-delay: 0.2s;
}

.card:hover .prix-hover2 {
    transform: scale(1.3);
    transition: all 0.8s ease;
    transition-delay: 0.3s;
}

/* boutton */

.boutton {
    font-family:'Montserrat', sans-serif ;
    color: #f1f1f1;
    background-color: #ff4272;
    text-align: center;
    font-size: 18px;
    padding: 10px 40px;
    width: 250px;
    margin: 0 auto;
    margin-top: 80px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 9px #db1244;
    border-radius: 10px;
}

.boutton:hover {
    box-shadow: 0 6px #db1244;
    top: 3px;
}

.boutton:active {
    box-shadow: 0 3px #db1244;
    top: 6px;
}


/* FAQ */

.bloc-faq {
    background: #333;
    padding: 80px 25vw;
}

.bloc-faq h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    color: #ff4272;
}

.faq {
    position: relative;
  }
  input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
  }
  h3 {
    font-size: 30px;
    font-weight: 400;
    color: #efefef;
    margin: 20px 0 0;
  }
  label {
    cursor: pointer;
  }
  label {
    position: relative;
    display: block;
    padding-left: 30px;
    font-family: 'Montserrat', sans-serif; 
  }
  label::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 10px;
    border-left: 8px solid #ff4272;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-top: -8px;
  }
  input[type="checkbox"]:checked ~ h3 label::before {
    border-left: 8px solid transparent;
    border-top: 8px solid #ff4272;
    border-right: 8px solid transparent;
    margin-left: -4px;
    margin-top: -4px;
  }
  
  .faq-reponse {
    max-height: 0;
    font-size: 18px;
    overflow: hidden;
    padding-left: 30px;
    transition: max-height 0.4s ease;
    font-family:omnes-pro, sans-serif ;
    color: #efefef;
  }
  input[type="checkbox"]:checked ~ h3 ~ .faq-reponse {
    max-height: 100%;
  }

/* RESPONSIVE */

@media screen and (max-width: 1024px) {

    /* On enlève les animations sur les hovers */
    .titre:hover .blackfriday {
        animation-play-state: paused;
    }
    .titre:hover .promo {
        animation-play-state: paused;
    }

    .blackfriday {
        text-shadow: none!important;
        color: white!important;
        font-size: 3em;
    }

    .promo {
        background: none;
        text-shadow: none!important;
        color: #ff4273!important ;
        font-size: 4.5em;
        top: 70%;
        background: #1f1f1f;
    }
    .header {
        background: #1f1f1f;
    }

    .logo {
        font-size: 2em;
        padding-top: 10%;
    }

    .maestrom {
        padding-top: 10%;
    }

    .titre {
        width: 90%;
    }


    .phrase-header {
        display: none;
    }

    
    .container {
        padding: 0;
        text-align: center;
    }

    .card::after {
        left: 0;
    }

    .card {
        background: #1f1f1f;
        height: 610px;
    }

    .listes {
        color: white;
    }

    .prix-avant-offre {
        font-size: 18px;
    }

    .prix-offre {
        font-size: 30px;
    }

    .bloc-faq {
        background: #333;
        padding: 40px 5%;
    }

    .container h2 {
        padding-top: 8%;
    }

    .container {
        padding-bottom: 40px;
    }

    .plan {
        padding-left: 5%;
        padding-right: 5%;
    }

}