
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10; /* Toujours au-dessus de la vidéo */  
}

.burger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: #FEEEDD;
    cursor: pointer;
  }



nav a {
    text-transform: uppercase;
    color: #FEEEDD;
    text-decoration: none;
    padding: 50px;
    font-size: 24px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    font-family: "Rubik", sans-serif;

}
nav a:hover {
    color: #FF9C40;
    text-decoration: none;
 
}

nav {
margin: 20px auto;
}



/*Banière*/

.banner {
    position: relative;
    width: 100%;
    height: 100%; /* Hauteur de la bannière */
    overflow: hidden;
}

.banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #0B1854;
}

/*Accroche*/

.accroche{
   
    width: 100%;
    height: 500px;
    background-color: #0B1854;
    clip-path: ellipse(75% 50% at 50% 0%);
    margin-top: -50px; /* Permet de coller l'accroche au bas de la vidéo */

}

.accroche h3{
    font-family: "Rubik", sans-serif;
    text-transform: uppercase;
    text-align: center; /* Centre le texte horizontalement */
    padding-top: 50px;
    font-size: 2.5em; 
    font-weight: 600; /* Rend le texte plus épais */
    color: #FEEEDD; 

}

.accroche h2{
    font-family: "Rubik", sans-serif;
    margin-top: -20px;
    text-align: center; /* Centre le texte horizontalement */
    font-size: 2.5em; 
    font-weight: 400; /* Rend le texte plus épais */
    color: #FEEEDD; 

}

/*Service*/

.service h1 {
    font-family: "Rubik", sans-serif;
    text-align: center; /* Centre le texte horizontalement */
    text-transform: uppercase; /* Met en majuscules */
    font-size: 2.5em; 
    font-weight: 600; /* Rend le texte plus épais */
    color: #0B1854; 
 
}

.service {
 
    width: 60%;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 60px; /* Espacement entre les sections */
    margin-top: -184px;
}

.row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
  
}

.video {
    flex: 1;
    max-width: 90%;
  

}

.video img {
    width: 100%;
    height: auto;
    min-height: 200px; /* Assure que l'image a une hauteur visible */
    border: 5px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(45deg, #FF9C40, #c4640a);
    animation: borderAnimation 1.5s infinite ease-in-out;
    border-radius: 10px;
 
}

/* Alternance des blocs */
.row:nth-child(even) {
    flex-direction: row-reverse; /* Inverse l'ordre pour l'effet quinconce */
}

@keyframes borderAnimation {
    0% {
        border-image-source: linear-gradient(45deg, #FF9C40,#c4640a);
    }
    
    50% {
        border-image-source: linear-gradient(90deg, #FF9C40, #c4640a);
    }
    100% {
        border-image-source: linear-gradient(135deg, #FF9C40, #c4640a);
    }
}

.text {
    position: relative;
   
    flex: 1;
    max-width: 75%;
   
   
}

/* Ligne dégradée sous le titre */
.text h2 {
    font-family: "Rubik", sans-serif;
    font-weight: 600; /* Rend le texte plus épais */
    color:#0B1854;
    text-transform: uppercase;
    margin: 0 auto;
    padding-bottom: 10px; /* Espacement entre le titre et la ligne */
    position: relative;
    font-size: 30px; /* Taille du titre */
}

.text h2::after {
    content: "";
    position: absolute;
    bottom: -5px; /* Position de la ligne sous le texte */
    left: 0;
    width: 40%;
    height: 5px; /* Hauteur de la ligne */
    background: linear-gradient(to right, #FF9C40, #c4640a); /* Dégradé */
    border-radius: 10px;
}



.text p{
    font-family: "Rubik";
    font-weight: 400; /* Rend le texte plus épais */
    font-size: 18px; /* Taille de la police pour la lisibilité */
    line-height: 1.5; /* Interligne pour un texte aéré */
    text-align: justify; /* Justifie le texte pour une meilleure présentation */
    margin: 20px auto; /* Marge autour du paragraphe pour qu'il ne touche pas les bords */
    
    max-width: 800px; /* Limite la largeur du paragraphe pour ne pas qu'il soit trop large */
    color:#0B1854 ;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #0B1854; /* Bordure autour du bouton */
    color: #0B1854;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background 0.3s ease;
}

.btn:hover {
    
    border: 2px solid #FF9C40; /* Bordure autour du bouton */
    color: #FF9C40;
}


/*Accroche*/

.accroche2{
   
        width: 100%;
        height: 250px;
        background-color: #0B1854;
        clip-path: ellipse(60% 50% at 50% 50%);
        margin-top: 70px; /* Permet de coller l'accroche au bas de la vidéo */
    
    }
    
.accroche2 p{
        font-family: "Rubik", sans-serif;
        font-weight: 400; 
        line-height: 1.6; 
        text-align: center; /* Centre le texte horizontalement */
        padding-top: 50px;
        font-size: 2.5em; 
       
        color: #FEEEDD; 
    
    }

    .maj {
        text-transform: uppercase;
        font-weight: 600;
      }

/*Processus*/

.processus {
    display: flex;
    gap: 80px;
    justify-content: center;
    padding: 80px;
    margin: 0 auto;
    align-items: flex-start; /* Ajouté */
  }

    .processus h3 {
        font-family: "Rubik";
        font-weight: 400;
        color: #0B1854;
        font-size: 18px;
        height: 100px; /* Ajuste selon tes besoins */
        display: flex;
        align-items: flex-start; /* Pour que le texte colle en bas du bloc */
        text-align: center;
      }

.item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
    }

    .item h3 {
        margin-top: auto; /* Pousse le texte vers le bas */
      }


.icon {
        width: 70px;
        height: 70px;
        background-color: #FF9C40;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        font-size: 24px;
    }
.text {
        font-family: "Rubik", sans-serif;
        font-weight: 600;
        margin: 20px;
        font-size: 24px;
       
        color:#0B1854;
    }

    .container h1 {
        text-align: center; /* Centre le texte horizontalement */
        text-transform: uppercase; 
        font-size: 2.5em; 
        font-family: "Rubik", sans-serif;
        color: #0B1854; 
        margin-top: 50px; /* Espace en haut */
        margin-bottom: 0px;
    }
    


.content {
    flex: 1; /* Pousse le footer en bas */
}


@media (min-width: 320px)  {
   .video img {
    width: 100%;
    height: auto;
    min-height: 200px; /* Assure que l'image a une hauteur visible */
    border: 5px solid;
    border-image-slice: 1;
 
}
}


/* Responsive 

@media (min-width: 320px) and (max-width: 480px) {

  header {
    flex-direction: column;
    align-items: flex-end;
    padding: 20px 0;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .burger {
    display: block;
    margin-bottom: 15px;
    padding: 8px 12px;
    cursor: pointer;
    margin-right: 0;
  }

  nav {
    flex-direction: column;
    display: none;
    width: 100%;
    text-align: right;
    box-sizing: border-box;
    padding-right: 0;
  }

  nav.show {
    display: flex;
  }

  nav a {
    padding: 15px 20px;
    font-size: 16px;
  }

  .banner {
    width: 100%;
    height: 45vh;
    position: relative;
    overflow: hidden;
  }

  .banner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }

  .accroche {
    height: 180px;
    clip-path: ellipse(90% 45% at 50% 0%);
    margin-top: -50px;
  }

  .accroche h3,
  .accroche h2 {
    font-size: 1.3em;
    padding: 10px;
    text-align: center;
    margin-top: -50px;
  }

  .accroche2 {
    height: 160px;
    clip-path: ellipse(80% 50% at 50% 50%);
    margin-top: 40px;
  }

  .accroche2 p {
    font-size: 1.2em;
    padding: 30px 10px 0;
    text-align: center;
  }

  .service {
    width: 90%;
    margin: 20px auto 0;
    gap: 30px;
  }

  .service h1 {
    font-size: 1.6em;
    padding: 0 10px;
    text-align: center;
  }

  .row {
    flex-direction: column !important;
    gap: 20px;
    align-items: center;
  }

  .video,
  .text {
    max-width: 100%;
    padding: 0;
  }

  .text h2 {
    font-size: 20px;
    text-align: center;
  }

  .text h2::after {
    width: 60%;
    left: 50%;
    transform: translateX(-50%);
  }

  .text p {
    font-size: 15px;
    text-align: justify;
    padding: 0 10px;
  }

  .btn {
    font-size: 14px;
    padding: 6px 14px;
  }

  .processus {
    flex-direction: column;
    gap: 30px;
    padding: 30px 10px;
    align-items: center;
  }

  .processus h3 {
    font-size: 15px;
    text-align: center;
  }

  .item {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .icon {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .text {
    font-size: 16px;
    margin: 8px;
  }

  .container h1 {
    font-size: 1.6em;
    margin-top: 20px;
    padding: 0 10px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
 
  
  }

  .menu {
    
    width: 100%;
    max-width: 360px;
  }

  .menu h4 {
    font-size: 1.1em;
    
  }

  .menu a {
    font-size: 0.95em;
  }

  .socials .icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .ligne {
    display: none;
  }
}
  */


@media (max-width: 375px) {
    header {
      flex-direction: column;
      align-items: flex-end;
      padding: 15px;
      overflow-x: hidden;
    }
  
    nav {
      display: none;
      flex-direction: column;
      width: 100%;
      text-align: right;
    }
  
    nav.show {
      display: flex;
    }
  
    nav a {
      padding: 10px 15px;
      font-size: 16px;
    }
  
    .banner {
      height: 40vh;
    }

     .video img {
    width: 80%;
    height: auto;
    min-height: 200px; /* Assure que l'image a une hauteur visible */
    border: 5px solid;
    border-image-slice: 1;
 
}
  
    .accroche {
      height: 300px;
      clip-path: ellipse(90% 45% at 50% 0%);
    }
  
    .accroche h2, .accroche h3 {
      font-size: 1.4em;
      padding: 0 10px;
    }
  
    .service {
      width: 95%;
      margin-top: -140px;
    }
  
    .text p {
      font-size: 15px;
    }
  }
    

  @media (max-width: 600px) {
    header {
      flex-direction: column;
      align-items: flex-end;
      padding: 18px;
    }
  
    nav a {
      padding: 12px 18px;
      font-size: 17px;
    }
  
    .accroche {
      height: 320px;
    }
  
    .text p {
      font-size: 16px;
    }
  
    .banner {
      height: 45vh;
    }
  }
  


@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-end; 
        padding: 20px 0; 
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
      }
      
      .burger {
        display: block;
        margin-bottom: 15px;
        max-width: 100%;
        padding: 8px 12px;
        cursor: pointer;
       
      }
      
      nav {
        flex-direction: column;
        display: none; 
        width: 100%;
        text-align: right;
        
        box-sizing: border-box;
      }
      
      nav.show {
        display: flex;
      }
      
      nav a {
        padding: 15px 25px; 
        font-size: 18px;
      }
      
      
      .banner {
        width: 100%;
        height: 50vh;
        position: relative;
        overflow: hidden;
      }
      
      .banner video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        transform: none;
      }
      
      .accroche {
        height: 340px;
        clip-path: ellipse(90% 45% at 50% 0%);
        margin-top: -50px;
      }
      
      .accroche h3 {
        font-size: 1.6em;
        padding-top: 30px;
       
     
      }
      
      .accroche h2 {
        font-size: 1.5em;
        margin-top: -10px;
      
       
      }
      
      .service {
        width: 90%;
        margin: 30px auto;
        gap: 40px;
        margin-top: -160px; 
      }
      
      .service h1 {
        font-size: 1.8em;
        padding: 0 10px;
      }
      
      .row {
        flex-direction: column !important;
        gap: 20px;
        align-items: center;
      }
      
      .video, .text {
        max-width: 100%;
        padding: 0;
      }
      
      .text h2 {
        font-size: 24px;
        text-align: center;
      }
      
      .text h2::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
      }
      
      .text p {
        font-size: 16px;
        text-align: justify;
        padding: 0 10px;
      }
      
      .btn {
        font-size: 15px;
        padding: 8px 16px;
      }

      .accroche2 {
    height: 180px;
    clip-path: ellipse(80% 50% at 50% 50%);
    margin-top: 50px;
  }

  .accroche2 p {
    font-size: 1.3em;
    padding-top: 40px;
   
  
  }
      
      .processus {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
        align-items: center;
      }
      
      .processus h3 {
        font-size: 16px;
        height: auto;
        text-align: center;
        align-items: center;
      }
      
      .item {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
      }
      
      .item h3 {
        margin-top: 10px;
      }
      
      .icon {
        width: 60px;
        height: 60px;
        font-size: 20px;
      }
      
      .text {
        font-size: 18px;
        margin: 10px;
      }
      
      .container h1 {
        font-size: 1.8em;
        margin-top: 30px;
        padding: 0 10px;
      }
}

@media (min-width: 768px) and (max-width: 1024px) {
    header {
      flex-direction: column;
      align-items: flex-end;
      padding: 20px 0; /* Supprime padding à droite */
      width: 100%;
      box-sizing: border-box;
    
    }
  
    .burger {
      display: block;
      margin-bottom: 15px;
      max-width: 100%;
      padding: 8px 12px;
      cursor: pointer;
      margin-right: 0; /* Pas d’espace à droite */
    }
  
    nav {
      flex-direction: column;
      display: none; /* caché par défaut */
      width: 100%;
      text-align: right;
   
      box-sizing: border-box;
    }
  
    nav.show {
      display: flex;
    }
  
    nav a {
      padding: 15px 25px;
      font-size: 18px;
    }

    .service {
  width: 90%;
  margin: 30px auto;
  gap: 40px;
  margin-top: -160px; /* ajuste si besoin */
}

.service h1 {
  font-size: 1.8em;
  padding: 0 10px;
}

.row {
  display: flex;
  flex-direction: column !important;
  gap: 20px;
  align-items: center;
}

.video, .text {
  width: 100%;
  max-width: 800px; /* limite la largeur sur grands écrans */
  padding: 0;
}

.video img, 
.video video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-width: 100%;
  border-radius: 10px;
}

.text h2 {
  font-size: 24px;
  text-align: center;
}

.text h2::after {
  content: "";
  display: block;
  height: 2px;
  background: #000;
  margin: 8px auto 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
}

.text p {
  font-size: 16px;
  text-align: justify;
  padding: 0 10px;
}

.btn {
  font-size: 15px;
  padding: 8px 16px;
}
     .processus {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 20px;
    padding: 40px 20px;
  }

  .item {
    flex: 0 1 45%; /* Deux par ligne avec un petit espace entre */
    max-width: 45%;
    margin: 0 auto;
  }

  .accroche2 {
    height: 200px;
    clip-path: ellipse(80% 50% at 50% 50%);
    margin-top: 40px;
  }

  .accroche2 p {
    font-size: 1.8em;
    padding-top: 40px;
   
  
  }

  .processus h3 {
    font-size: 16px;
    text-align: center;
  }

  .icon {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }

  .text {
    font-size: 18px;
    margin: 10px;
  }

  .container h1 {
    font-size: 1.8em;
    margin-top: 30px;
    padding: 0 10px;
  }

      
  }

  @media (min-width: 1024px) and (max-width: 1440px) {
    header {
      justify-content: flex-end;
      padding: 20px 0px;
      overflow-x: hidden;
      max-width: 100%;
    }
  
    nav a {
      font-size: 20px;
      padding: 25px;
    }



  
    .banner {
      height: 60vh;
    }
  
    .service {
      width: 75%;
    }
  
    .text p {
      font-size: 18px;
    }
    .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }

  .video, .text {
    width: 45%;
    max-width: 600px;
    padding: 0;
  }

  .video img,
  .video video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 100%;
    border-radius: 10px;
  }

  .text h2 {
    font-size: 28px;
    text-align: center;
  }

  .text p {
    font-size: 18px;
    padding: 0 15px;
    text-align: justify;
  }

  .btn {
    font-size: 16px;
    padding: 10px 20px;
  }

  .processus {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 60px 40px;
  }

  .item {
    flex: 0 1 calc(50% - 40px); /* deux colonnes avec gap */
    max-width: 500px;
    box-sizing: border-box;
    margin: 0;
  }

  .icon {
    width: 70px;
    height: 70px;
    font-size: 24px;
    margin-bottom: 15px;
  }

  .item h3 {
    font-size: 22px;
    text-align: center;
    margin: 10px 0;
  }

  .text {
    font-size: 18px;
    text-align: center;
    padding: 0 10px;
  }

  .container h1 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 40px;
  }


}
  
  