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; 
  }
.banner-section {
    background-color: #ff5722; /* Orange background color */
    position: relative;
    height: 700px; /* Hauteur de la bannière */
    background-size: cover; /* 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;
    margin-top: 5%;
  }
.banner {
    position: relative;
    height: 700px; /* Hauteur de la bannière */
    background-size: cover; /* 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_marketing/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-section h1 {
    width: 100%;
    text-transform: uppercase;
    color: white;
    font-size: 36px;
    line-height: 1.4;
    text-align: left;
    margin-top: -400px;
    margin-left: 100px;
    padding: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  }
  
/* Tablettes et petits ordinateurs (moins de 768px) */
@media (max-width: 768px) {
    .banner-section {
      height: 400px;
      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-section h1 {
        font-size: 26px;
        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-section {
      height: 250px;
      margin-top: 11%;
    }
  
    .overlay {
      top: 60px; /* Ajuste la position de l'image */
      background-size: 100%; /* Réduit encore la taille de l'image sur mobile */
    }
  
    .banner-section 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: -10px; /* Ajuste la position horizontale */
      text-align: left; /* Centre le texte sur mobile pour un meilleur rendu */
    }
  }
  
  /* ******************************************************************************************************** */
  .service-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
  }
  
  .service-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .service {
    width: 30%;
    margin-bottom: 20px;
    position: relative;
  }
  
  .service-button {
    background-color: transparent;
    border: 2px solid #FF5722;
    color: #FF5722;
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 100%;
    text-align: center;
  }
  
  .service-button.active {
    background-color: #FF5722;
    color: white;
  }
  
  .service-button:hover {
    background-color: #FF5722;
    color: white;
  }
  
  /* Contenu dynamique */
  .service-content {
    display: none;
    text-align: justify;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
  }
  
  .service-content.active {
    display: block;
  }
  
  .service-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
  }
  
  /* Media Queries */
  @media (max-width: 768px) {
    .service {
      width: 45%;
    }
  
    .service-content p {
      font-size: 14px;
    }
  }
  
  @media (max-width: 480px) {
    .service {
      width: 100%;
    }
  }
  /* ****************************************************************************************************** */

  .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: 180px;
    z-index: 1; /* Assure que le texte est au-dessus de l'image */
    max-width: 800px;
  }
  
  .text-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    padding: 20px;
    border-radius: 10px;
  }
  .text-content h2 {
    text-transform: uppercase;
    color: var(--orangef);
    padding-left: 20px;
    border-radius: 10px;
  }
  
  .mockup {
    position: absolute;
    top: -200px;
    right: 650px;
    bottom: 0;
    z-index: 2; /* Place l'image derrière le texte */
  }
  
  .mockup img {
    width: 900px; /* Taille de l'image mockup */
    height: 700px;
    object-fit: cover; /* Assure que l'image ne se déforme pas */
  }
  
  /* Responsivité pour tablettes */
  @media (max-width: 768px) {
    .mockup-text-section{
        padding: 20px;
    }
    .mockup {
        position: absolute;
        top: 0;
        right: 260px;
      }
    .mockup img {
      width: 600px; /* Taille réduite sur tablette */
      height: 500px;
    }
    .text-content {
        margin-top: 120px;
        margin-left: 260px;
        max-width: 500px;
      }
  
    .text-content p {
      text-align: justify;
    }
  }
  
  /* Responsivité pour mobiles */
/* Responsivité pour mobiles */
@media (max-width: 480px) {
    .mockup-text-section {
    margin-top: 0px;
      flex-direction: column-reverse; /* Affiche l'image et le texte en colonne */
      padding: 10px;
    }
  
    .mockup {
        margin-top: 80px;
      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 {
        margin-top: 0px;
      background-color: transparent; /* Supprime le fond semi-transparent sur mobile */
    }
  }
  /* ************************************************************************** */


  .tabs-section {
    padding: 40px 20px;
    background-color: #f4f4f4;
    margin-bottom: 3%;
  }
  
  .tab-taille {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Tabs Navigation */
  .tabs-navigation {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-around;
  }
  
  .tab-button {
    background-color: transparent;
    border: 2px solid #FF5722;
    color: #FF5722;
    padding: 10px 20px;
    margin: 10px 5px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 48%;
  }
  
  .tab-button.active {
    background-color: #FF5722;
    color: white;
  }
  
  .tab-button:hover {
    background-color: #FF5722;
    color: white;
  }
  
  /* Tabs Content */
  .tabs-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .tab-content {
    display: none;
    width: 100%;
    transition: opacity 0.3s ease;
  }
  
  .tab-content.active {
    display: block;
    justify-content: space-between;
  }
  
  .tab-text {
    text-align: justify;
    margin-top: 80px;
    width: 60%;
    order: 1; /* Texte à gauche */
  }
  
  .tab-image {
    width: 35%;
    order: 2; /* Image à droite */
  }
  
  .tab-image img {
    max-width: 100%;
    border-radius: 10px;
  }
  
  /* Media Queries for Mobile */
  @media (max-width: 768px) {
    .tabs-navigation {
      flex-wrap: wrap;
    }
    
    .tabs-content {
      flex-direction: column;
      align-items: center;
    }
  
    .tab-button {
      width: 48%; /* Deux boutons par ligne */
    }
  
    .tab-content.active {
      flex-direction: column-reverse;
    }
  
    .tab-content {
      flex-direction: column-reverse;
    }
  
    .tab-text {
      width: 100%;
      margin-top: 20px;
      order: 3; /* Texte en bas sur mobile */
    }
  
    .tab-image {
        margin: 0 auto;
      width: 70%;
      order: 1; /* Image en haut sur mobile */
    }
  }
  
  @media (max-width: 480px) {
    .tab-button {
      width: 45%; /* Largeur ajustée pour très petits écrans */
    }
    .tab-content{
        flex-direction: column-reverse;
    }
  }
  
  /* ******************************************************************** */
  .description{
    text-align: justify;
}
.languages-section {
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
    padding: 50px;
}

.languages h2 {
    max-width: 1200px;
    margin: 0 auto;
    text-transform: uppercase;
    color: #ff5722;
    text-align: left;
    font-size: 2.5rem; /* Taille de police par défaut */
    margin-bottom: 20px;
}
 .languages h6{
    font-size: 16px;
    text-transform: uppercase;
    text-align: left;
 }

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

    .languages h2 {
        font-size: 2rem; /* Réduction de la taille du titre sur tablette */
    }
}

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

    .languages h2 {
        font-size: 1.5rem; /* Réduction de la taille du titre sur mobile */
    }
}

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


.slider-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    position: relative;
  }
  
  .image-slider {
    height: 250px;
    max-width: 900px;
    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: 10px;
    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: 40%;
    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: #FF5722;
    margin-bottom: 20px;
    text-transform: uppercase;
  }
  
  .section-description {
    font-size: 18px;
    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.1);
    padding: 20px;
    min-width: 300px;
    margin-right: 20px;
    text-align: center;
  }
  
  .realisation-card img {
    width: 100%;
    border-radius: 10px;
  } 
  .realisation-card video{
    width: 100%;
    border-radius: 10px;
  }
  
  .realisation-card h2 {
    font-size: 20px;
    color: #FF5722;
    margin: 20px 0 10px;
  }
  
  .realisation-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
  }
  
  .realisation-card button {
    background-color: #FF5722;
    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: #E64A19;
  }
  
  /* 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;
    }
  }

  /* Flèches du carrousel */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7); /* Couleur de fond plus opaque */
    color: white;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Ajout de transitions */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Ombre pour donner un effet flottant */
  }
  
  
  .left-arrow {
    left: 10px;
  }
  
  .right-arrow {
    right: 10px;
  }
  
  .carousel-arrow:hover {
    background-color: rgba(255, 87, 34, 0.9); /* Changement de couleur au survol */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Accentuation de l'ombre au survol */
  }
  /* ******************************************************************* */
  .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: #FF5722;
    margin-bottom: 20px;
    text-transform: uppercase;
  }
  
  .section-description {
    font-size: 18px;
    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; /* Ajoute un espace supplémentaire en haut pour descendre l'image */
    opacity: 0; /* Débute cachée */
  }

  @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; /* Applique l'animation */
}
  
  
  /* 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, rgb(229, 159, 131), rgb(235, 235, 235, 0.4));
    text-align: center;
    padding: 40px 20px;
    color: #000;
  }
  
  .transformation-text {
    font-size: 28px;
    font-weight: bold;
    color: black;
    line-height: 1.4;
    max-width: 920px;
    margin: 0 auto;
  }
  
  .highlight {
    color: #fff;
    font-weight: bold;
  }
  
  @media (max-width: 768px) {
    .transformation-text {
      font-size: 18px;
    }
  }
  /* ******************** le code  pour la marge mini ordinateur ******************************* */
  @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;
    }
    .image-card{
      margin: 0 auto;
      width: 100px;
      margin-right: 10px;
    }
    .image-card img{
      width: 100px;
    }

    .banner-section{
      margin-top: 10%;
    }
    .mockup {
      right: 560px;
      top: -140px;
    }
    .faq-image img {
      width: 90%;
      margin-top: 300px;
    }
  }