body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
@media (min-width: 1200px) {
  .les-textes {
      font-size: 22px;
  }
  .les-titres {
      font-size: 32px;
  }
  .sous-titres {font-size: 28px;}
  }
  
  @media (max-width:1100px) {
      .les-textes {font-size: 20px;}
      .les-titres {font-size: 28px;}
  h3 {font-size: 24px;}
  }
  @media (max-width:768px) {
      .les-textes {font-size: 18px;}
      .les-titres {font-size: 24px;}
      h3 {font-size: 22px;}
  }
  
  @media (max-width:480px) {
      .les-titres {font-size: 16px;}
      .les-titres  {font-size: 20px;}
      h3 {font-size: 18px;
  }
  
  }
  
  /* Définition de la variable des couleurs  */
  :root {
      --orangef: #ff6233;
      --orangec: #ffbd59;
      --gris: #545454;
      --noir: #15171c; 
  }
  /* µµ************************************* debut du css de la bannière ******************************** */
.banner-section {
    background-color: #ff5722; /* Orange background color */
    color: white;
    padding: 40px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5%;
}
.banner {
    position: relative;
    height: 700px; /* Hauteur de la bannière */
    background-size: 100%; /* Assure que l'image couvre toute la bannière */
    background-position: center; /* Centre l'image dans la bannière */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .overlay {
    position: absolute;
    top: 200px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/Images/SP\ dev\ web/banner.webp'); /* Image de fond */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /* Assure que l'image couvre toute la bannière */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .banner h1 {
    width: 100%;
    color: white;
    font-size: 36px;
    line-height: 1.4;
    text-align: left;
    margin-top: -400px;
    margin-left: 90px;
    padding: 20px;
  }
  

/* Tablettes et petits ordinateurs (moins de 768px) */
@media (max-width: 768px) {
    .banner {
      height: 400px;
    }
    .banner-section{
      margin-top: 6%;
    }
  
    .overlay {
      top: 180px; /* Ajuste la position de l'image */
      background-size: 100%; /* Réduit la taille de l'image sur tablette */
    }
  
    .banner h1 {
        font-size: 26px;
        max-width: 800px;
        width: 100%; /* Augmente la largeur du texte */
      margin-top: -250px; /* Ajuste le décalage vertical */
      margin-left: 80px; /* Ajuste le décalage horizontal */
    }
  }
  
  /* Smartphones (moins de 480px) */
  @media (max-width: 480px) {
    .banner {
      height: 150px;
    }
    .banner-section{
      margin-top: 10%;
    }
    .overlay {
      top: 60px; /* Ajuste la position de l'image */
      background-size: 100%; /* Réduit encore la taille de l'image sur mobile */
    }
  
    .banner h1 {
      font-size: 12px; /* Taille de texte plus petite sur mobile */
      max-width: 800px;
      width: 100%; /* Augmente la largeur du texte pour qu'il prenne plus de place */
      margin-top: -100px; /* Ajuste la position verticale pour les petits écrans */
      margin-left: -40px; /* Ajuste la position horizontale */
      text-align: left; /* Centre le texte sur mobile pour un meilleur rendu */
    }
  }
  
/**************************************************************************************************************/
.mockup-text-section {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .text-content {
    margin-top: 150px;
    margin-left: 250px;
    z-index: 1; /* Assure que le texte est au-dessus de l'image */
    width: 100%;
  }
  
  .text-content p {
    line-height: 1.6;
    color: #333;
    padding: 20px;
    border-radius: 10px;
  }
  .text-content h2{
    text-transform: uppercase;
    color: var(--orangef);
    padding-left: 20px;
  }
  
  .mockup {
    position: absolute;
    top: -120;
    right: 650px;
    bottom: 0;
    z-index: 2; /* Place l'image derrière le texte */
  }
  
  .mockup img {
    width: 1000px; /* Taille de l'image mockup */
    height: 800px;
    object-fit: cover; /* Assure que l'image ne se déforme pas */
  }
  
  /* Responsivité pour tablettes */
  @media (max-width: 768px) {
    .mockup {
        position: absolute;
        top: 60;
        right: 290px;
      }
    .mockup img {
      width: 600px; /* Taille réduite sur tablette */
      height: 600px;
    }
    .text-content {
        margin-top: 120px;
        margin-left: 200px;
        max-width: 600px;
      }
  
    .text-content p {
      font-size: 16px;
    }
  }
  
  /* Responsivité pour mobiles */
/* Responsivité pour mobiles */
@media (max-width: 480px) {
    .mockup-text-section {
    margin-top: 10px;
      flex-direction: column-reverse; /* Affiche l'image et le texte en colonne */
      padding: 10px;
    }
  
    .mockup {
      position: relative; /* Relatif pour éviter que l'image soit superposée */
      right: 0px;
    }
  
    .mockup img {
      width: 400px; /* L'image occupe toute la largeur sur mobile */
      
    }
  
    .text-content {
    margin-top: 5px;
      width: 100%;
      padding: 0;
      text-align: justify;
      margin-left: 0px;
    }
  
    .text-content p {
      font-size: 14px;
      background-color: transparent; /* Supprime le fond semi-transparent sur mobile */
    }
  }
/***************************************************************************************************/
/* Style de base */
.text-content2 {
    text-align: justify;
    margin: 0 auto;
    max-width: 1200px;
    padding: 40px;
}

.text-content2 h2 {
  color: var(--orangef);
    text-transform: uppercase;
}

/* Responsivité pour tablettes */
@media (max-width: 768px) {
    .text-content2 {
        padding: 30px; /* Réduction du padding sur tablette */
    }
}

/* Responsivité pour smartphones */
@media (max-width: 480px) {
    .text-content2 {
        padding: 20px; /* Réduction encore plus grande du padding sur mobile */
    }
}
/* ******************************************************************************************* */ 


/* Style de base */
.description{
    text-align: justify;
}
.languages-section {
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
    padding: 50px;
}

.languages-section h2 {
    text-transform: uppercase;
    color: #ff5722;
    text-align: left;
    margin-bottom: 20px;
}
 .languages-section h6{
    font-size: 16px;
    text-transform: uppercase;
    text-align: left;
 }

/* Responsivité pour tablettes */
@media (max-width: 768px) {
    .languages-section {
        padding: 40px; /* Réduction du padding sur tablette */
    }


}

/* Responsivité pour smartphones */
@media (max-width: 480px) {
    .languages-section {
        padding: 30px; /* Réduction encore plus grande du padding sur mobile */
    }

}


.caroussel-noir{
    background-color: #545454;
}
/* Conteneur du carrousel */


.slider-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    position: relative;
  }
  
  .image-slider {
    height: 300px;
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease-in-out;
  }
  
  .image-card {
    text-align: center;
    width: 200px; /* Taille par défaut des images */
    margin-right: 30px;
    margin-top: 40px;
    position: relative;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
    transform: scale(0.8); /* Dézoom sur les images non actives */
    flex: 0 0 auto;
  }
  
  .image-card.active {
    transform: scale(1.1) translateY(0px);
    filter: grayscale(0); /* Les images actives sont en couleur */
    z-index: 1;
  }
  
  .image-card img {
    margin-top: 30px;
    width: 60%;
    border-radius: 15px;
  }
  
  .image-card h2 {
    font-size: 12px; /* Taille par défaut du texte */
    margin: 10px 0;
    text-align: center;
  }
  
  /* Style des boutons de navigation */
  .slider-navigation {
    text-align: center;
    margin-top: 20px;
  }
  
  .dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .dot.active {
    background-color: var(--orangef); /* Couleur du point actif */
  }
  
  .dot:hover {
    background-color: #555; /* Couleur au survol */
  }
  
  /* Media Queries pour rendre le slider responsive */
  
  /* Pour les écrans de moins de 768px */
  @media (max-width: 768px) {
    .image-card {
      width: 100px; /* Réduire la taille des images pour les petits écrans */
      margin-right: 15px; /* Réduire l'espacement */
    }
    .image-card.active {
      transform: scale(1.1) translateY(-5px); /* Ajuster le zoom pour l'image active */
    }
    .image-card h2 {
      font-size: 10px; /* Réduire la taille du texte */
    }
    .dot {
      width: 12px;
      height: 12px;
    }
  }
  
  /* Pour les écrans de moins de 480px */
  @media (max-width: 480px) {
    .image-slider{
        height: auto;
        width: 80%;
    }
    .image-card {
      width: 60px; /* Réduire davantage la taille des images */
    }
    .image-card.active {
      transform: scale(1.05) translateY(-3px); /* Ajuster légèrement le zoom */
    }
    .image-card h2 {
      font-size: 9px; /* Réduire la taille du texte */
    }
    .dot {
      width: 10px;
      height: 10px;
    }
  }
/* ******************************************************************* */

.realisation-section {
    margin: 0 auto;
    max-width: 1200px;
    text-align: justify;
    padding: 60px 20px;
    background-color: #fff;
  }
  
  .section-title {
    color: var(--orangef);
    margin-bottom: 20px;
    text-transform: uppercase;
  }
  
  .section-description {
    color: #333;
    margin: 0 auto 40px;
    line-height: 1.6;
  }
  
  /* Carousel styling */
  .carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
  }
  
  .realisation-cards-wrapper {
    display: flex;
    overflow: hidden;
  }
  
  .realisation-cards {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .realisation-card {
    background-color: #FFF;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    padding: 20px;
    min-width: 300px;
    margin-right: 20px;
    text-align: center;
  }
  
  .realisation-card img {
    width: 100%;
    border-radius: 10px;
  }
  
  .realisation-card h2 {
    font-size: 20px;
    color: var(--orangef);
    margin: 20px 0 10px;
  }
  
  .realisation-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
  }
  
  .realisation-card button {
    background-color: var(--orangef);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .realisation-card button:hover {
    background-color: var(--orangec);
    border: #f9f9f9 1px solid;
  }
  
  /* Flèches du carrousel */
  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    z-index: 10;
  }
  
  .left-arrow {
    left: 10px;
  }
  
  .right-arrow {
    right: 10px;
  }
  
  .carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Media Queries pour rendre la section responsive */
  @media (max-width: 768px) {
    .realisation-card {
      min-width: 250px;
    }
  
    .carousel-arrow {
      font-size: 18px;
      padding: 5px;
    }
  }
  /* *ù****************************************** css de la section de FAQ***************************************************** */

.faq-section {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 20px;
    background-color: #fff;
  }
  
  .faq-content {
    max-width: 600px;
  }
  
  .section-title {
    color: var(--orangef);
    margin-bottom: 20px;
    text-transform: uppercase;
  }
  
  .section-description {
    color: #333;
    margin-bottom: 40px;
    line-height: 1.6;
  }
  
  /* Accordéon Styles */
  .accordion {
    border-top: 1px solid #ddd;
  }
  
  .accordion-item {
    border-bottom: 1px solid #ddd;
  }
  
  .accordion-header {
    background-color: #fff;
    color: #FF5722;
    padding: 15px;
    width: 100%;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
  }
  
  .accordion-header[aria-expanded="true"] {
    background-color: #FF5722;
    color: white;
  }
  
  .accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
  }
  
  .accordion-body {
    padding: 15px;
    background-color: #f9f9f9;
    display: none;
  }
  
  .accordion-body p {
    margin: 0;
    font-size: 14px;
    color: #555;
  }
  
  .accordion-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
  }
  
  /* Image à droite */
  .faq-image {
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
  }
  
  .faq-image img {
    max-width: 500px;
    border-radius: 10px;
    margin-top: 140px;
    opacity: 0;
    transform: translateX(100%) rotate(120deg); /* Commence hors de l'écran à droite avec rotation */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

@keyframes rollInRight {
    0% {
        opacity: 0;
        transform: translateX(100%) rotate(120deg); /* Commence hors de l'écran à droite avec rotation */
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotate(0deg); /* Arrive à sa position normale */
    }
}

.roll-in-right {
    animation: rollInRight 1s ease-out forwards;
}



  
  /* Responsive */
  @media (max-width: 768px) {
    .faq-section {
      flex-direction: column;
      align-items: center;
    }
  
    .faq-image img {
      max-width: 70%;
      margin-top: 20px;
    }
  }
  /* ************************************************************************************* */

.transformation-section {
  background: linear-gradient(to right, #ff6233, #f16940, white);
  text-align: center;
  padding: 40px 20px;
  color: #000;
}

.transformation-text {
  font-size: 28px;
  font-weight: bold;
  color: black;
  line-height: 1.4;
  max-width: 900px;
  margin: 0 auto;
}

.highlight {
  color: #fff;
  font-weight: bold;
}

@media (max-width: 768px) {
  .transformation-text {
    font-size: 18px;
  }
}
/***************** le code css de la marge sur pc ****************************** */
@media (min-width: 900px) and (max-width: 1310px){
  .mockup-text-section, .text-content2, .languages-section, .realisation-section, .faq-section, .service-section, .languages{
    max-width: 1100px;
    margin: 0 auto;
  }
  .banner-section{
    margin-top: 10%;
  }
  .image-card{
    margin: 0 auto;
    width: 100px;
    margin-right: 10px;
  }
  .image-card img{
    width: 100px;
  }
  .mockup {
    right: 450px;
    top: -140px;
  }
  .faq-image img {
    width: 90%;
    margin-top: 300px;
  }
}