body{
    overflow-x: hidden;
}

section {
    margin-top: 7%;
}

h1.section-title {
    text-align: center;
    font-size: 38px;
    background: linear-gradient(90deg, #0A58A5 -9.21%, #16202C 123.02%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5%;
    font-weight: 500;
}

.presentation{
    width: 40%;
    margin: 150px auto;
}

.presentation h1{
    line-height: 84px; 
    background: linear-gradient(121deg, #0A58A5 30.49%, #F90 94.13%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 34px;
    font-weight: 600;
    line-height: 39px;
}

.presentation p{
    color: #4C5A6F;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 162.5% */
    margin-top: 27px;
}

.presentation video{
    margin-top: 53px;
    border-radius: 20px;
    margin-bottom: 36px;
    width: 100%;
}

.presentation a{
    border-radius: var(--arrondi, 20px);
    background: #0A58A5;
    width: 100%;
    display: flex;
    height: 51px;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.chat-container {
    margin: 130px auto;
    width: 50%;
    overflow: scroll;
    position: relative;
}

.chat-left{
    display: flex;
    flex-direction: row-reverse;
    align-items: start;
    margin: 37px 0;
    gap: 15px;
    position: relative;
}

.chat-left .text{
    border-radius: var(--arrondi, 20px);
    border: 1px solid #DFE5EC;
    background: #F4F7F9;
    padding: 20px 30px;
    line-height: 28px; /* 175% */
    color: #4C5A6F;
    max-width: 82%;
}

.chat-left .avatar{
    width: 30px;
    height: 30px;
    border-radius: 100%;
}

.edit-icon {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chat-left:hover .edit-icon {
    opacity: 1;
}

.edit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    transition: background-color 0.3s ease, visibility 0.3s ease;
}

.edit-modal.show {
    visibility: visible;
    background-color: rgba(0, 0, 0, 0.5);
}

.edit-modal-content {
    background: white;
    padding: 0 30px 30px 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.edit-modal.show .edit-modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* Ajout de l'animation de fermeture */
.edit-modal.closing {
    background-color: rgba(0, 0, 0, 0);
}

.edit-modal.closing .edit-modal-content {
    transform: translateY(20px);
    opacity: 0;
}

.edit-modal-content textarea {
    width: 100%;
    font-size: 16px;
    border: 1px solid #DAE5EF;
    border-radius: 20px;
    min-height: 150px;
    padding: 1rem;
    background-color: #F4F7F9;
    line-height: 24px;
    margin-bottom: 40px;
}

.edit-modal-content textarea:focus {
    outline: none;
}

.edit-modal-content h3{
    color: #4C5A6F;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: 20px;
    padding-top: 90px;
}

.modal-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.modal-header h5{
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    color: #4C5A6F;
}

.edit-modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.edit-modal-buttons button {
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.edit-modal-buttons .cancel {
    background: #F4F7F9;
    color: #4C5A6F;
}

.edit-modal-buttons .save {
    background: #0A58A5;
    color: white;
}

.projects{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 17px;
    grid-row-gap: 17px;
    margin-top: 50px;
}

.projects .project{
    border-radius: var(--arrondi, 20px);
    border: 1px solid #E3ECF3;
    padding: 25px;
    cursor: not-allowed;
}

.projects .project div{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.projects .project div p{
    color: #4C5A6F;
    font-size: 14px;
    font-weight: 400;
    line-height: 26px;
}

.projects .project div p span{
    color: #0A58A5;
}

.quotes-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 40px 0;
}

.quotes {
  display: flex;
  align-items: center;
  gap: 23px;
  max-width: 80%;  /* Pour éviter que ça prenne toute la largeur */
}

.quote {
  text-align: center;
}

.quote h1 {
  color: #4C5A6F;
  font-size: 32px;
  font-weight: 400;
  line-height: 30px;
}

.quote p {
  margin-top: 40px;
  color: #4C5A6F;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
}

.zenadia{
    margin: 68px auto;
    display: flex;
    justify-content: center;
}

.chat-container .bot{
    display: flex;
    align-items: start;
    gap: 17px;
}

.chat-container .bot p{
    color: #4C5A6F;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 162.5% */
}

.bot-text{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bot-text h1{
    background: linear-gradient(90deg, #0A58A5 -9.21%, #16202C 123.02%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 34px;
    font-weight: 600;
    line-height: 34px; /* 70.588% */
}

.tarifs-content{
    width: 63%;
    margin: 91px auto;
}

.tarifs-content h1{
    text-align: center;
    line-height: 84px;
    font-size: 34px;
    font-weight: 600;
    line-height: 30px; /* 70.588% */
    background: linear-gradient(90deg, #0A58A5 -9.21%, #16202C 123.02%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tarifs-content p{
    border-radius: 10px;
    border: 1px solid rgba(255, 153, 0, 0.40);
    background: rgba(255, 153, 0, 0.10);
    width: fit-content;
    margin: 36px auto 78px auto;
    padding: 2px 17px;
    color: #4C5A6F;
    font-size: 12px;
    line-height: 36px;
}

.packs{
    display: flex;
    gap: 20px;
    justify-content: center;
}

.packs .pack{
    border-radius: var(--arrondi, 20px);
    border: 1.5px solid #DAE5EF;
    padding: 30px ;
    width: 33%;
}

.packs .pack h2{
    text-align: center;
    color: #4C5A6F;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px; /* 157.143% */
}

.packs .pack h6{
    color: #0A58A5;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 22px; /* 68.75% */
    margin: 23px auto 35px auto;
    text-align: center;
}

.packs .pack a{
    border-radius: var(--arrondi, 20px);
    border: 1px solid #0A58A5;
    width: 100%;
    display: flex;
    height: 54px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #0A58A5;
    font-weight: 600;
}

.advantages{
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.advantages div{
    display: flex;
    gap: 10px;
    align-items: center;
}

.advantages div span{
    color: #4C5A6F;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px; /* 142.857% */
}

.chat-container .choices{
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 37px;
}

.chat-container .choices .choice{
    width: 50%;
    border-radius: var(--arrondi, 20px);
    border: 1px solid #DFE5EC;
    background: #F4F7F9;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 119px;
    gap: 30px;
    padding: 34px 40px;
}

.chat-container .choices .choice p{
    color: #4C5A6F;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px; /* 150% */
}

.chat-container .choices a.choice:hover{
    border: 1px solid #0A58A5;
    background: #F4F7F9;
    text-decoration: none;
    transition: .5s;
}

.chat-container .choices .choice.active{
    border: 1px solid #0A58A5;
    background: rgba(10, 88, 165, 0.10);    
}

.chat-container .choices .choice.active p{
    color: #0A58A5;
    font-weight: 700;
    line-height: 24px; /* 150% */
}

.dropdown-el {
    display: inline-block;
}

.dropdown-el .dropdown-head {
    cursor: pointer;
    position: relative;
}

.current-selected {
    border-radius: 20px;
    background: #F4F7F9;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4C5A6F;
    font-size: 16px;
}

.dropdown-el .dropdown-body {
    position: relative;
}

.dropdown-body  {
    transition: opacity 0.3s ease-out;
    opacity: 0;
    display: none;
}
  
.dropdown-body.show {
    opacity: 1;
    display: block; 
}

.dropdown-body-inner {
    position: absolute;
    right: -28px;
    top: 33px;
    width: 170px;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.10);
    padding: 22px 0;
}

.dropdown-item {
    cursor: pointer;
    transition: all .5s ease-in-out;
    background: white;
    display: flex;
    align-items: center;
    color: #4C5A6F;
    font-size: 16px;
    padding: 0 29px;
    justify-content: space-between;
}

.dropdown-item .lang{
    display: flex;
    align-items: center;
    gap: 18px;
}

.dropdown-item:last-child{
    margin-top: 27px;
}

/*---------------------------------banner---------------------------------*/

section.banner{
    padding-top: 90px;
    display: flex;
    align-items: end;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 90px;
    position: relative;
    margin-top: 8%;  
    padding-bottom: 90px;
}

section.banner h1{
    text-align: center;
    font-size: 50px;
    line-height: 70px;
    background: linear-gradient(121deg, #0A58A5 30.49%, #F90 94.13%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

section.banner p{
    color: #4C5A6F;
    text-align: center;
    font-size: 16px;
    line-height: 34px;
}

.banner-bottom {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 35px;
    padding-bottom: 60px;
    width: 59%;
}


.banner img{
    position: absolute;
    left: 1%;
    width: 19%;
    height: 65%;
}

.banner-bottom form{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    width: 100%;
}


.banner-bottom .link-button {
    text-align: center;
    padding: 17px;
    font-size: 16px;
}

.banner img {
    position: absolute;
    left: 1%;
    width: 19%;
    height: 65%;
    bottom: 0;
}

.link-button {
    width: 304px;
    height: 60px;
    background: linear-gradient(89.4deg, #0A58A5 -17.39%, #FF9900 167.71%);
    border-radius: 20px;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

section.demo {
    background: linear-gradient(156deg, #0A58A5 1.27%, #F90 87.58%);
    padding: 73px 248px;
    margin-top: 0;
}

section.demo p {
    text-align: center;
    color: #FFF;
    font-size: 24px;
    line-height: 46px;
}

section.demo img {
    width: 100%;
    margin-top: 50px;
    overflow-x: hidden;
}


/*---------------------------------functions---------------------------------*/

.functions .slider{
    margin: 0 125px;
    height: 400px;
}

span.swiper-pagination-bullet{
    height: 30px;
    width: 30px;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active{
    background-color: #0A58A5
}

.functions .slider .slides{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    display: none;
    transition: transform 0.5s ease-in-out;
}

.swiper-slide{
    display: flex !important;
    gap: 30px
}

.slide{
    border-radius: 25px;
    background: #FAFAFA;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 40px 20px;
    width: 33%;
    height: 300px;
}

.slide h3{
    font-size: 20px;
    text-align: center;
    color: #0A58A5;
}

.slide p{
    color: #4C5A6F;
    text-align: center;
    font-size: 16px;
    line-height: 26px; 
}

.slide img{
    width: 94px;
    height: 69px;
}

.nav-buttons{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 70px 0;
    gap: 17px;
}

.nav-buttons button{
    width: 27px;
    height: 27px;
    background-color: #EFEFEF;
    border-radius: 100%;
    border: none;
}

.w3-button.active{
    background-color: #0A58A5;
}

/*---------------------------------partners---------------------------------*/

.partner-list {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 100px;
}

.partnerbloc {
    border-radius: 20px;
    border: 1.5px solid #F6F6F6;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.partnerbloc img{
    width: 115px
}

.marquee {
    display: flex;
    block-size: var(--marquee-item-height);
    margin-block: var(--marquee-item-height);
    position: relative;
    overflow-x: hidden;
    mask-image: linear-gradient(
      to right,
      hsl(0 0% 0% / 0),
      hsl(0 0% 0% / 1) 20%,
      hsl(0 0% 0% / 1) 80%,
      hsl(0 0% 0% / 0)
    );
  }
  
  .marquee--8 {
    --marquee-item-width: 100px;
    --marquee-item-height: 100px;
    --marquee-duration: 36s;
    --marquee-items: 8;
  }
  
  .marquee--3 {
    --marquee-item-width: 150px;
    --marquee-item-height: 150px;
    --marquee-duration: 24s;
    --marquee-items: 3;
  }
  
  .marquee--6 {
    --marquee-item-width: 166px;
    --marquee-item-height: 100px;
    --marquee-duration: 32s;
    --marquee-items: 6;
  }
  
  .marquee__item {
    --marquee-item-offset: max(
      calc(var(--marquee-item-width) * var(--marquee-items)),
      calc(100% + var(--marquee-item-width))
    );
    --marquee-delay: calc(var(--marquee-duration) / var(--marquee-items) * (var(--marquee-items) - var(--marquee-item-index)) * -1);
    position: absolute;
    inset-inline-start: var(--marquee-item-offset);
    transform: translateX(-50%);
    animation: go linear var(--marquee-duration) var(--marquee-delay, 0s) infinite;
  }
  
  .marquee__item:nth-child(4n) {
    border-top-right-radius: 1rem;
  }
  
  .marquee__item:nth-child(4n + 1) {
    border-bottom-right-radius: 1rem;
  }
  
  .marquee__item:nth-child(4n + 2) {
    border-bottom-left-radius: 1rem;
  }
  
  .marquee__item:nth-child(4n + 3) {
    border-top-left-radius: 1rem;
  }
  
  .marquee--8 .marquee__item:nth-of-type(1) {
    --marquee-item-index: 1;
  }
  
  .marquee--8 .marquee__item:nth-of-type(2) {
    --marquee-item-index: 2;
  }
  
  .marquee--8 .marquee__item:nth-of-type(3) {
    --marquee-item-index: 3;
  }
  
  .marquee--8 .marquee__item:nth-of-type(4) {
    --marquee-item-index: 4;
  }
  
  .marquee--8 .marquee__item:nth-of-type(5) {
    --marquee-item-index: 5;
  }
  
  .marquee--8 .marquee__item:nth-of-type(6) {
    --marquee-item-index: 6;
  }
  
  .marquee--8 .marquee__item:nth-of-type(7) {
    --marquee-item-index: 7;
  }
  
  .marquee--8 .marquee__item:nth-of-type(8) {
    --marquee-item-index: 8;
  }
  
  .marquee--3 .marquee__item:nth-of-type(1) {
    --marquee-item-index: 1;
  }
  
  .marquee--3 .marquee__item:nth-of-type(2) {
    --marquee-item-index: 2;
  }
  
  .marquee--3 .marquee__item:nth-of-type(3) {
    --marquee-item-index: 3;
  }
  
  .marquee--6 .marquee__item:nth-of-type(1) {
    --marquee-item-index: 1;
  }
  
  .marquee--6 .marquee__item:nth-of-type(2) {
    --marquee-item-index: 2;
  }
  
  .marquee--6 .marquee__item:nth-of-type(3) {
    --marquee-item-index: 3;
  }
  
  .marquee--6 .marquee__item:nth-of-type(4) {
    --marquee-item-index: 4;
  }
  
  .marquee--6 .marquee__item:nth-of-type(5) {
    --marquee-item-index: 5;
  }
  
  .marquee--6 .marquee__item:nth-of-type(6) {
    --marquee-item-index: 6;
  }
  
  @keyframes go {
    to {  
      inset-inline-start: calc(var(--marquee-item-width) * -1);
    }
  }

/*---------------------------------fiche---------------------------------*/

section.fiche {
    height: 600px;
    position: relative;
    background: #FAFAFA;
    padding-top: 2rem;
}

.showing {
    display: flex;
    gap: 100px;
    padding: 0 130px;
    height: 500px;
}

.showing .text {
    width: 300px;
}

.showing p {
    color: #4C5A6F;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 2rem;
}

.showing a {
    border-radius: 20px;
    border: 1.5px solid #0A58A5;
    color: #0A58A5;
    font-size: 16px;
    padding: 20px 40px;
    margin-top: 70px;
}

.showing img {
    position: absolute;
    bottom: 0;
    right: 5%;
    height: 500px;
}

/*---------------------------------structures---------------------------------*/

section.structures {
    padding: 6% 4%;
    position: relative;
    z-index: 999;
    margin-top: 105px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0;
}

.tabbedContent {
    display: flex;
    gap: 87px;
    align-items: center;
    height: 500px;
}

section.structures .onglets {
    display: flex;
    flex-direction: column;
    gap: 2;
    color: #4C5A6F;
    font-size: 16px;
    width: 100%;
}

section.structures .onglets .onglet.active {
    border-radius: 16px;
    background: #EEF3F8;
}

section.structures .onglets .onglet {
    padding: 2rem 3.5rem;
    cursor: pointer;
}

.tab-content.active {
    display: block;
}

.tab-content {
    display: none;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0px 0px 12px 0px rgba(76, 90, 111, 0.10);
    padding: 3.5rem;
    width: 100%;
    height: fit-content;
}

.tab-content p {
    color: #4C5A6E;
    font-size: 1rem;
    margin-top: 2rem;
    line-height: 26px;
}

section.structures a {
    width: 431px;
    height: 66px;
    border-radius: 20px;
    background: linear-gradient(141deg, #0A58A5 0%, #F90 100%);
    color: #fff;
    font-size: 18px;
    border: none;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*---------------------------------users---------------------------------*/

.users {
    padding: 50px 60px;
    background: #FAFAFA;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.users h1 {
    text-align: center;
    color: #4C5A6F;
    font-size: 28px;
}

.usercards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.usercard {
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
    padding: 20px 30px;
}

.usercard .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.usercard .head .name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4C5A6F;
}

.usercard .head .name h2{
    font-size: 18px;
}

.usercard .head .name span{
    font-size: 12px;
}

.usercard p {
    margin-top: 30px;
    color: #4C5A6F;
    font-size: 16px;
    line-height: 26px;
}

.usercard.middle {
    margin-top: 100px;
}

/*---------------------------------temoignages---------------------------------*/

section.temoignages {
    padding: 0 140px;
}

.testimonies {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.testimonies .card {
    border-radius: 25px;
    background: #F4F7F9;
    width: 100%;
    padding: 60px 57px;
    min-height: 400px;
}

.testimonies .card p {
    color: #4C5A6F;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
}

.testimonies .card .user-details {
    display: flex;
    gap: 39px;
    align-items: center;
    margin-top: 56px;
    justify-content: center;
}

.testimonies .card img {
    width: 80px;
    height: 80px;
    border-radius: 100%;
    object-fit: cover;
    object-position: top;
}

.user-details h5 {
    background: linear-gradient(127deg, #0A58A5 12.00%, #F90 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
}

.user-details span {
    color: #4C5A6F;
    font-size: 14px;
}

/*---------------------------------contacts---------------------------------*/

section.question form {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 18px;
}

section.question form input {
    border-radius: 20px;
    border: 1px solid #D8E8F8;
    background: #F4F7F9;
    width: 545px;
    height: 60px;
    padding: 1rem;
    font-size: 16px;
}

section.question form textarea {
    width: 545px;
    height: 209px;
    border-radius: 20px;
    border: 1px solid #D8E8F8;
    background: #F4F7F9;
    padding: 1rem;
    font-size: 16px;
}

section.question form button {
    width: 188px;
    height: 60px;
    border-radius: 20px;
    background: #0A58A5;
    color: #fff;
    font-size: 18px;
    border: none;
}

/*---------------------------------essai---------------------------------*/

section.essai {
    border-radius: 40px;
    background: linear-gradient(140deg, #0A58A5 0%, #F90 98.73%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 75px;
    color: #fff;
    padding: 113px 0;
    margin-right: 38px;
    margin-left: 38px;
}

section.essai h1 {
    font-size: 50px;
}

section.essai p {
    font-size: 24px;
}

section.essai a {
    border-radius: 20px;
    background: #0A58A5;
    width: 331px;
    padding: 19px 39px;
    color: #fff;
    font-size: 18px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*---------------------------------footer---------------------------------*/

footer {
    margin-top: 100px;
    padding: 40px 39px;
}

footer .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .top img {
    width: 322px;
    height: 75.16px;
}

footer .top nav .nav-links {
    display: flex;
    gap: 56px;
    align-items: center;
}

footer .top nav .nav-links a {
    font-size: 16px;
    color: #0A58A5;
}

footer .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 70px;
}

footer .bottom p {
    font-size: 14px;
    color: #4C5A6F;
}

footer .bottom .followus {
    display: flex;
    align-items: center;
    gap: 15px;
}

footer .bottom p {
    font-size: 14px;
    color: #4C5A6F;
}

.scroll-up-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.mobile-slider{
    display: none !important
}

.mobile-nav{
    display: none;
}

/***---------------------------------tarif--------------------------------*/

.join {
    margin: 87px 20%;
}

.join .section-title {
    text-align: center;
    font-size: 38px;
    background: linear-gradient(90deg, #0A58A5 -9.21%, #16202C 123.02%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    font-weight: 500;
}

.join .section-description {
    font-size: 24px;
    line-height: 34px;
    text-align: center;
    color: #4C5A6F;
    margin: 30px 0 50px 0;
}

.join h2 {
    margin-top: 52px;
    background: linear-gradient(90deg, #0A58A5 -9.21%, #16202C 123.02%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 28px;
    font-weight: 500;
}

.join p {
    color: #4C5A6F;
    font-size: 16px;
    line-height: 26px;
    margin: 20px 0;
}

.join ul {
    margin: 20px 0;
    padding-left: 20px;
    color: #4C5A6F;
    list-style: none;
}

.join ul li {
    margin: 12px 0;
    line-height: 26px;
    font-size: 16px;
    position: relative;
    padding-left: 20px;
}

.join ul li::before {
    content: "•";
    color: #0A58A5;
    font-size: 20px;
    position: absolute;
    left: -5px;
}

.join ul ul {
    margin: 10px 0 10px 20px;
}

.join ul ul li::before {
    content: "◦";
    font-size: 18px;
    left: -5px;
}

.feature-block {
    margin: 40px 0;
    padding: 30px;
    border-radius: 20px;
    background: #F4F7F9;
}

.feature-block h3 {
    color: #0A58A5;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Style du formulaire */
.premium-form {
    margin-top: 50px;
    width: 100%;
}

.premium-form .group {
    margin-bottom: 20px;
}

.premium-form label {
    display: block;
    color: #4C5A6F;
    font-size: 14px;
    margin-bottom: 8px;
}

.premium-form input,
.premium-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #DAE5EF;
    border-radius: 10px;
    font-size: 16px;
    color: #4C5A6F;
    background: #F4F7F9;
}

.premium-form textarea {
    min-height: 120px;
    resize: vertical;
}

.premium-form .submit {
    margin-top: 30px;
}

.premium-form button {
    width: 100%;
    padding: 15px;
    background: #0A58A5;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.premium-form button:hover {
    background: #084785;
}

/* Styles mobiles */
@media (max-width: 768px) {
    .join {
        margin: 40px 20px;
    }

    .join .section-title {
        font-size: 28px;
    }

    .join p:first-of-type {
        font-size: 20px;
        line-height: 28px;
        margin: 20px 0 40px 0;
    }

    .join h2 {
        font-size: 24px;
        margin-top: 40px;
    }

    .feature-block {
        padding: 20px;
        margin: 30px 0;
    }

    .feature-block h3 {
        font-size: 18px;
    }

    .join ul {
        padding-left: 10px;
    }

    .join ul li {
        font-size: 15px;
        line-height: 24px;
    }

    .premium-form {
        margin-top: 30px;
    }

    .premium-form input,
    .premium-form textarea {
        padding: 10px;
    }
}

.loader {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.loader-dots {
  display: flex;
  gap: 8px;
}

.loader-dots div {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0A58A5;
  animation: loader 0.8s infinite alternate;
}

.loader-dots div:nth-child(2) {
  animation-delay: 0.2s;
}

.loader-dots div:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loader {
  to {
    opacity: 0.3;
    transform: translateY(-4px);
  }
}

.msger-inputarea.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.project {
  border-radius: 15px;
  border: 1px solid #DAE5EF;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project:hover {
  border-color: #0A58A5;
  background: rgba(10, 88, 165, 0.05);
}

.signup-link {
  width: 100%;
  height: 51px;
  border-radius: 20px;
  background: #0A58A5;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.signup-link:hover {
  background: #084785;
  color: #FFF;
}

@media (max-width: 768px) {
    .presentation {
        width: 90%;
        margin: 100px auto;
    }

    .presentation h1 {
        font-size: 28px;
        line-height: 34px;
        text-align: center;
    }

    .presentation p {
        font-size: 16px;
        text-align: center;
        margin-top: 20px;
    }

    .presentation video {
        width: 100%;
        margin-top: 30px;
        margin-bottom: 25px;
    }

    .presentation .cta-button {
        width: 100%;
        height: 50px;
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 15px;
    }

    .join p:first-of-type {
        font-size: 20px;
        line-height: 28px;
        margin: 20px 0 40px 0;
    }
}

/* Ajout d'une classe utilitaire pour le bouton CTA */
.cta-button {
    border-radius: var(--arrondi, 20px);
    background: #0A58A5;
    width: 100%;
    display: flex;
    height: 51px;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #084785;
    color: #fff;
}

/* Styles de base pour le conteneur de chat */
.chat-container {
    margin: 25px auto;
    width: 50%;
    overflow: scroll;
    position: relative;
}

/* Styles mobiles pour la page de discussion */
@media (max-width: 768px) {
    .chat-container {
        width: 90%;
        margin: 100px auto;
    }

    .chat-container .choices {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .chat-container .choices .choice {
        width: 100%;
        height: auto;
        min-height: 80px;
        padding: 20px;
        gap: 15px;
    }

    .chat-container .choices .choice img {
        width: 30px;
        height: 30px;
    }

    .chat-container .choices .choice p {
        font-size: 14px;
        line-height: 20px;
    }

    .chat-container .bot {
        gap: 10px;
    }

    .chat-container .bot p {
        font-size: 14px;
        line-height: 22px;
    }

    .chat-container .bot img {
        width: 30px;
        height: 30px;
    }

    .chat-left {
        margin: 20px 0;
    }

    .chat-left .avatar {
        width: 25px;
        height: 25px;
    }

    .cont {
        height: auto;
        min-height: 60vh;
        padding: 20px 0;
    }

    .projects {
        grid-template-columns: auto;
    }
}

/* Améliorations des interactions */
.chat-container .choices .choice {
    transition: all 0.3s ease;
    text-decoration: none;
}

.chat-container .choices .choice:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-container .choices .choice:active {
    transform: translateY(0);
}

/* Amélioration de l'accessibilité */
.chat-container .choices .choice:focus {
    outline: 2px solid #0A58A5;
    outline-offset: 2px;
}

/* Styles pour le message de génération */
.msger-inputarea.generating {
  background-color: #f5f5f5;
  padding: 15px;
  text-align: center;
  border-radius: 25px;
  border: 1px solid #DDE6EE;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.generation-message {
  color: #4C5A6F;
  font-size: 14px;
}

.generation-error {
  color: #dc3545;
  font-size: 14px;
}

/* Styles pour la barre de défilement */
.cont {
  scrollbar-width: thin; /* Pour Firefox */
  scrollbar-color: #DDE6EE transparent; /* Pour Firefox */
}

.cont::-webkit-scrollbar {
  width: 1px; /* Largeur de la barre de défilement */
}

.cont::-webkit-scrollbar-track {
  background: transparent; /* Fond de la piste */
}

.cont::-webkit-scrollbar-thumb {
  background-color: #DDE6EE; /* Couleur de la barre */
  border-radius: 20px; /* Bords arrondis */
}

.cont::-webkit-scrollbar-thumb:hover {
  background-color: #C5D1DC; /* Couleur au survol */
}

/* Styles mobiles pour la page des tarifs */
@media (max-width: 768px) {
  .tarifs-content {
    width: 90%;
    margin: 40px auto;
  }

  .tarifs-content h1 {
    font-size: 28px;
    line-height: 34px;
  }

  .tarifs-content p {
    font-size: 11px;
    margin: 20px auto 40px auto;
  }

  .packs {
    flex-direction: column;
    gap: 30px;
  }

  .packs .pack {
    width: 100%;
    padding: 25px;
  }

  .packs .pack h2 {
    font-size: 16px;
  }

  .packs .pack h6 {
    font-size: 28px;
    margin: 15px auto 25px auto;
  }

  .packs .pack a {
    height: 50px;
    font-size: 14px;
  }

  .advantages {
    margin-top: 25px;
    gap: 20px;
  }

  .advantages div span {
    font-size: 13px;
    line-height: 18px;
  }

  .advantages div img {
    width: 16px;
    height: 16px;
  }
}