
*
{
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

main
{
   width: 100vw;
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: white;
   box-sizing: border-box;
}

.haut
{
    max-width: 50rem;
    width: 80%;
    margin-top: 20px;
    /*padding: 2rem 9%;*/
}

.haut h3
{
    font-size: 4rem;

}

.haut span
{
    color: rgb(242, 142, 44);
    font-size: 2rem;
    padding: 10px 0;
    line-height: 1.5;
}


.haut p
{
    max-width: 400px;
    font-size: 1.3rem;
    padding: 10px 0;
    line-height: 1.5;
    color: #828282;
}

.haut a
{
    font-size: 0.8rem;
    font-weight: 700px;
    color: rgb(243, 152, 14);
    text-decoration: none;
    padding: 3px 5px;
    border: 2px solid rgb(137, 86, 28);
    border-radius: 20px;
    transition: all 0.7s ease;
    white-space: nowrap;
}



.carte
{
   width: 98vw;
    max-width: 1100px;
    margin: 0 60px 35px;
    padding: 20px 10px;
    overflow: hidden;
}

.carte_item
{
    list-style: none;
}

.carte_lien
{
    user-select: none;
    display: block;
    /*background-color: rgb(255, 252, 248);*/
    padding: 20px;
    border-radius: 10px;
    text-decoration: none;
    border: 2px solid lightgray;
    box-shadow: 0 10px 10px rgba(0 , 0, 0, 0.05);
    transition: 0.2s ease;
}

.carte_lien:active
{
    cursor: grabbing;
}

.carte_lien:hover
{
    border-color: #5372f0;
}

.carte_image
 {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 10px;
 }

.carte_nom
 {
    color: #5372f0;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 16px 0 18px;
    background: #DDE4FF;
    width: fit-content;
    border-radius: 50px;
 }

 .carte_titre
 {
    font-size: 1.19rem;
    color: #5372f0;
    font-weight: 600;
 }

 .carte_description
 {
    color: #000;
 }

 .carte_avance
 {
    width: 35px;
    height: 35px;
    color: #5372f0;
    border-radius: 50%;
    margin: 30px 0 5px;
    background: none;
    cursor: pointer;
    border: 2px solid #5372f0;
    transform: rotate(-45deg);
    transition: 0.4s ease;
 }

 .carte_lien:hover .carte_avance
 {
    background: #5372f0;
    color: #fff;

 }

 .descriptif
 {
   margin-top: 20px;
   padding: 20px;
   display: flex;
   justify-content: center;
   border-radius: 10px;
   border: 2px solid rgb(255, 224, 209);
   /*background-color: rgb(247, 245, 245);
   background: linear-gradient(#eceffe, #ebefff);*/
   color: #000;

 }

 .descriptif h2
 {
   font-size: 1rem;
   text-align: center;
   display: none;
 }

 .descriptif ul
 {
   list-style: none;
 }

 .descriptif ul .partie
 {
   list-style: none;
   margin-top: 20px;
 }


 .descriptif ul .partie h3
 {
   margin-left: 20px;
 }

 .descriptif .section
 {
   display: flex;
   justify-content: space-between;
   /**/
 }

 .descriptif .section li
 {
   position: relative;
   display: block;
   width: 250px;
   height: 170px;
   border: 2px solid black;
   border-color: #5372f0;
   border-radius: 10px;
 }

 .descriptif .section li .section_fond
 {
   position: absolute;
   width: 100%;
   height: 100%;
   z-index: 1;
 }

 .descriptif .section li .section_form
 {
   position: absolute;
   width: 100%;
   height: 100%;
   z-index: 2;
   top: 0;
   left: 0;
 }

 .descriptif ul .partie li .section_fond img
 {
   width: 100%;
   height: 100%;
   object-fit: cover;
   opacity: 0.3;
 }

 .descriptif .section li h4
 {
   text-align: center;
   padding: 5px 0;
 }

 .descriptif .section li p
{
   padding: 5px;
}

 .swiper-pagination-bullet
 {
    width: 13px;
    height: 13px;
    opacity: 0.5s;
    background: #5372f0;
 }

 .swiper-pagination-bullet-active
 {
    opacity: 1;
 }

 .swiper-slide-button
 {
    color: #5372f0;
    margin-top: -35px;
 }

 .video
 {
   margin-top: 20px;
   width: 95%;
   display: flex;
   justify-content: center;
   align-items: center;
 }

 .video video
 {
   width: 80%;
   height: 550px;
   border-radius: 5px;
 }

 @media screen and (max-width: 768px) 
 {
   .haut h3
   {
      font-size: 3.5rem;
      
   }

    .carte
    {
      
      max-width: 500px;
      margin: 0 10px 25px;
    }

    .swiper-slide-button
    {
        display: none;
    }
 }

 @media screen and (max-width: 850px) 
 {
   .carte
   {
      width: 95vw;
   }

   .descriptif
   {
       width: 95vw;
   }

   .descriptif .corps
   {
      width: 100%;
   }

 }


 @media screen and (max-width: 450px) 
 {
   main
   {
      align-items: center;
      margin-bottom: 10px;
   }

   .carte
   {
      width: 95vw;
   }

   .descriptif
   {
       width: 95vw;
   }

   .descriptif .corps
   {
      width: 100%;
   }

   .descriptif .section
   {
     display: flex;
     flex-direction: column;
      width: 100%;
   }

   .descriptif .section li
   {
      width: 100%;
      margin-bottom: 5px
   };
 }

