body{
  overflow-x: hidden;
}

/* ====================== */
/* section header front */
/* ====================== */

.menu-header{
  padding-top: 1rem;
}

section {
  border-bottom: solid 0.5px var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 1rem !important;
  margin-left: 1rem !important;
}

section:last-child {
  border-bottom: none;
}

#section1 {
  height: 30rem;
}

.surround {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.surround .surrounded {
  padding: 16px 16px;
  border: none;
  background: none;
  outline: none;
  color: black;
}

.surround svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  pointer-events: none;
}

#svg-sign {
  top: 8rem;
  stroke: black;
  stroke-width: 1px;
}

#svg-team, #svg-software, #svg-function, #svg-audit, #svg-clients {
  width: 85%;
  height: 100%;
  stroke: #02326C;
  stroke-width: 3px;
}

.surround path {
  stroke-dasharray: 0 0;
  display: none;
}

.surround:hover path {
  animation: draw 1s forwards;
  display: block;
}

@keyframes draw {
  from {
      stroke-dasharray: 0 1500;
  }

  to {
      stroke-dasharray: 1500 2000;
  }
}

#section1 h1 {
  color: var(--black);
  font-family: var(--font-family-baskerville-semibold);
  font-size: 35.8px;
  font-weight: 600;
  left: 551px;
  letter-spacing: 0;
  line-height: normal;
  text-align: center;
  width: 531px;
}

.sec-title {
  width: 100%;
  align-items: center;
}

section h2.section-title {
  letter-spacing: 0;
  line-height: normal;
  padding-right: 30px;
  text-transform: uppercase;
  width: 100%;
  flex-basis: content;
}


.section-description {
  color: var(--black);
  font-family: var(--font-family-baskerville-regular);
  font-size: var(--font-size-xs);
  font-weight: 400;
  width: 50%;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
  flex-basis: 66.66%;
}

.text-team {
  width: 50rem; /* Définit la largeur du conteneur à 30% de la largeur de l'écran */
  margin: 0 auto; /* Centre le bloc horizontalement */
  text-align: center; /* Centre le texte à l'intérieur du bloc */
  padding-bottom: 10rem;
}

.text-team h3 {
  display: block;
  color: var(--black);
  font-family: var(--font-family-baskerville-semibold);
  font-size: var(--font-size-xxl);
  font-weight: 600;
  letter-spacing: 0;
  line-height: normal;
  /*text-align: center;*/
  margin-bottom: 2rem;
}

.text-team p {
  text-align: left; /* Aligne le texte à gauche */
}

.text-team .line-1 {
  display: inline-block;
  width: 80%; /* La première ligne occupe moins d'espace, donc elle sera forcée de casser plus tôt */
}

.text-team .line-2 {
  display: block; /* S'assure que la seconde partie du texte commence sur une nouvelle ligne */
}

.log-log1 {
  display: flex;
  justify-content: flex-start;
  margin: 5rem auto 5rem auto;
}

.log {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  height: auto;
  gap: 2rem;
}

.log1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  height: auto;
  gap: 2rem;
}

.log1 .log_wrapper_img img {
  width: 42.125rem;
  height: 19.75rem;
}

.log .log_wrapper_img img {
  width: 42.125rem;
  height: 19.75rem;
}

.log-texts {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 512px;
  width: 112.5%;
}

.divider-right {
  border-right: 1px solid var(--black);
}

.log-title {
  color: var(--black);
  font-family: var(--font-family-baskerville-regular);
  font-size: 39.3px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
  text-transform: uppercase;
}

.log-subtitle {
  color: var(--black);
  font-family: var(--font-family-baskerville-semibold);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0;
  line-height: normal;
  text-align: center;
  margin-bottom: 32px;
}

.log-description {
  width: 35rem;
  height: 400px;
}

/* ====================== */
/* section fonctions */
/* ====================== */

.functions {
  margin-top: 3rem;
}

.func {
  width: 31.25rem;
}

.func-title {
  font-size: 1.3rem;
  font-weight: bolder;
  line-height: 1.5rem;
  margin-bottom: 1rem;
}

.func-desc {
  line-height: 1.2rem;
}

.func-desc,.func-title {
  font-family: 'open sans', sans-serif;
  width: 15rem;
}

#func-1 .func-title,
#func-1 .func-desc {
  margin-left: 12rem;

}

#func-2 .func-title,
#func-2 .func-desc {
  margin-left: 1.5rem;
}

#func-2 .func-title {
  padding-top: 15rem;
}

#func-3 .func-title,
#func-3 .func-desc {
  margin-left: 12rem;
}

#func-4 .func-title {
  padding-top: 13rem;
}

#func-1 {
  width: 28.75rem;
  background-image: url("../imgs/function1.png");
  background-position: 2rem top;
  background-repeat: no-repeat;
  background-size: auto 13.75rem;
  min-height: 13.75rem;
  margin-bottom: 25rem;
}

#func-2 {
  width: 28.75rem;
  background-image: url("../imgs/function2.png");
  background-repeat: no-repeat;
  background-size: auto 13.125rem;
  background-position: left 2rem;
  margin-bottom: 10rem;
  margin-top: 5rem;
}

#func-3 {
  width: 28.75rem;
  background-image: url("../imgs/function3.png");
  background-position: -1rem -1rem;
  background-repeat: no-repeat;
  background-size: auto 13.75rem;
  min-height: 13.75rem;
}

#func-4 {
  width: 28.75rem;
  background-image: url("../imgs/function4.png");
  background-repeat: no-repeat;
  background-size: auto 13.125rem;
  background-position: -2rem top;
  margin-bottom: 5rem;
}

.line-inclined-1 {
  width: 13.813rem;
  height: 12.938rem;
  margin-top: 7rem;
  background-image: url("../imgs/line-inclined-1.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.line-inclined-2 {
  width: 13.813rem;
  height: 12.938rem;
  margin-top: 5rem;
  background-image: url("../imgs/line-inclined-2.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.func-col2 {
  margin-left: -1rem;
}

.func-col3 {
  margin-left: 2rem;
}


/* ====================== */
/* section Audit */
/* ====================== */

.audit-title {
  color: var(--black);
  font-family: var(--font-family-baskerville-regular);
  font-size: 3.6rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
  padding-bottom: 3rem;
  text-transform: uppercase;
}

.audit-subtitle {
  color: var(--black);
  font-family: var(--font-family-baskerville-semibold);
  font-size: var(--font-size-xxl);
  font-weight: 600;
  left: 579px;
  letter-spacing: 0;
  line-height: normal;
  text-align: center;
  padding-bottom: 3rem;
}

.audit-desc {
  text-align: left;
  width: 43rem;
}

.audit-signe {
  margin-bottom: 5rem;
}

/*

* css section clients

*/

.clients-title {
  text-align: center;
  width: 100%;
  color: var(--black);
  font-family: var(--font-family-baskerville-regular);
  font-size: 3.6rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: normal;
}

.carousel-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  height: 300px;
}

.carousel-button .prev-button{
  position:absolute;
  left: 0rem;
}

.carousel-button .next-button{
  position:absolute;
  right: 1rem;
}

.carousel-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  overflow: hidden;
  /* Ajuster la largeur en fonction de la taille des flèches */
  width: calc(100% - 100px); 
  padding: 2rem;
}

.carousel-items .column {
  width: calc(100% / 4); /* 4 colonnes affichées à la fois */
  transition: all 0.3s ease;
  text-align: center;
}

.carousel-items .column.active {
  width: calc(100% / 4); /* Colonne active avec largeur 100% */
}

.client {
  padding-top: 3rem;
  color: var(--black);
  font-family: var(--font-family-baskerville-regular);
  font-size: 2rem;
  font-weight: 500;
  height:fit-content;
  letter-spacing: 0;
  line-height: small;
  margin-bottom: 0rem;
}

.client2 {
  color: var(--black);
  font-family: var(--font-family-baskerville-regular);
  font-size: 2rem;
  font-weight: 500;
  height:fit-content;
  letter-spacing: 0;
  line-height: small;
}

.fleche_gauche {
  width: 300px;
  background-image: url("../imgs/fleche_gauche1.jpg");
  background-repeat: no-repeat;
  background-size: auto 210px;
  background-position: left top;
  margin-bottom: 5rem;
}

.fleche_droite {
  width: 300px;
  background-image: url("../imgs/fleche_droite1.jpg");
  background-repeat: no-repeat;
  background-size: auto 210px;
  background-position: right top;
  margin-bottom: 5rem;
}

.staff-desc{
  display:block;
}

.responsive-screenshot {
  display: none;
}

.responsive-screenshot-en {
  display: none;
}


/* carousel équipe */

.carousel-team {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  margin: 2rem auto 4rem auto;
}

.carousel-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  overflow: hidden;
  /* Ajuster la largeur en fonction de la taille des flèches */
  width: calc(100% - 100px); 
}

.btn-arrow .left-arrow{
  position:absolute;
  left: 0rem;
}

.btn-arrow .next-arrow{
  position:absolute;
  right: 1rem;
}

.carousel-cards .column {
  width: calc(100% / 4); /* 4 colonnes affichées à la fois */
  transition: all 0.3s ease;
  text-align: center;
}

.carousel-cards .column.active {
  width: calc(100% / 4); /* Colonne active avec largeur 100% */
}


/* responsive*/

@media (max-width: 1700px) {
  .carousel-cards img {
    width: 20rem;
  }
}

@media (max-width: 1550px) {
  .log1 .log_wrapper_img img {
    width: 35rem;
    height: 16rem;
  }

  .log .log_wrapper_img img {
    width: 35rem;
    height: 16rem;
  }

  .log-description {
    width: 30rem;
  }
}

@media (max-width: 1500px) {
  .carousel-cards img {
    width: 17rem;
  }

  .client {
    font-size: 1.5rem;
    padding-top: 1rem;
  }

  .client2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 1300px) {
  .log1 .log_wrapper_img img {
    width: 30rem;
    height: 13rem;
  }

  .log .log_wrapper_img img {
    width: 30rem;
    height: 13rem;
  }
  
  .log-texts {
    height: 700px;
  }

  .log-description {
    width: 25rem;
    height: 520px;
  }

  .functions {
    transform: translateX(10%);
  }

  .carousel-team {
    width: 90%;
  }

  .carousel-cards {
    flex-wrap: nowrap;
  }

  .carousel-cards .column {
    margin-right: 2.3rem;
    margin-left: 2.3rem;
  }
}

@media (max-width: 1150px) {
  .menu-header{
    display: none;
  }

  .log-log1 {
    display: block;
  }

  .log {
    gap: 1rem;
    margin-bottom: 4rem;
  }

  .log1 {
    gap: 1rem;
  }

  .log1 .log_wrapper_img img {
    width: 42.125rem;
    height: 19.75rem;
  }

  .log .log_wrapper_img img {
    width: 42.125rem;
    height: 19.75rem;
  }

  .log-texts {
    width: 100%;
    height: auto;
  }

  .divider-right {
    border-right:none;
  }

  .log-description {
    width: 35rem;
    height: auto;
  }

  .carousel-cards .column {
    margin-right: 8rem;
    margin-left: 4rem;
  }
}

@media (max-width: 1100px) {

  .audit-desc {
    width: 50rem;
  }

  .text-team{
    padding-bottom: 5rem;
  }
}

@media (max-width: 1028px) {
  
  #func-1 {
    margin-bottom: 20rem;
  }

  #func-2 {
    margin-bottom: 8rem;
  }

  .line-inclined-1 {
    display: none;
  }

  .line-inclined-2 {
    display: none;
  }

  .carousel-items .column {
    width: calc(100% / 2); /* 3 columns displayed at a time */
  }

  .carousel-cards .column {
    margin-right: 9rem;
    margin-left: 2rem;
  }
}

@media (max-width: 900px) {
  .text-team{
    width: 40rem;
  }

  .audit-desc {
    width: 80%;
  }

  .clients-title {
    font-size: 2.5rem;
}

  .client {
    font-size: 1.2rem;
    padding-top: 1rem;
  }

  .client2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .carousel-cards {
    flex-wrap: wrap;
  }

  .carousel-cards .column {
    margin-right: 0rem;
    margin-left: 0rem;
    width: 100vw; 
  }
}

@media (max-width: 850px) {
  .baskerville-semi-bold-black-24px {
    font-size: var(--font-size-s);
  }

  .log1 .log_wrapper_img img {
    width: 42.125rem;
    height: 19.75rem;
  }

  .log .log_wrapper_img img {
    width: 42.125rem;
    height: 19.75rem;
  }

  .divider-right {
    border-right:none;
  }

  .log-description {
    width: 30rem;
  }
}

@media (max-width: 800px) {
  .func {
    width: 20rem;
  }

  .functions {
    flex-direction: column;
    transform: translateX(0%);
  }

  #func-1 {
    margin-bottom: 6rem;
    margin-left: -1.5rem;
  }

  #func-2 {
    background-position: left 11rem;
    margin-bottom: -5rem;
    margin-left: -2rem;
  }

  #func-2 .func-title,
  #func-2 .func-desc {
    margin-left: 12rem;
  }

  #func-3 {
    margin-bottom: -10rem;
  }

  #func-4 {
    margin-bottom: 5rem;
    margin-left: -5rem;
    background-position: left 10rem;
  }

  #func-4 .func-title,
  #func-4 .func-desc {
    margin-left: 15rem;
  }

  .func-col2 {
      display: none;
  }

}

@media (max-width: 768px) {
  .log1 .log_wrapper_img img {
    width: 35rem;
    height: 16rem;
  }

  .log .log_wrapper_img img {
    width: 35rem;
    height: 16rem;
  }

  .audit-title {
    text-align: center;
    font-size: 2.3rem;
  }

  .audit-subtitle {
    font-size: var(--font-size-l);
  }

  .clients-title {
    font-size: 2rem;
  }

  .client {
    font-size: 1rem;
    padding-top: 1rem;
  }

  .client2 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 700px) {
  #section1 h1 {
    font-size: 1.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
    width: 25rem;
  }

  #svg-sign {
    top: 6rem;
  }
  .text-team {
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .text-team p {
    font-size: var(--font-size-xs);
    text-align: center;
  }

  .text-team h3 {
    font-size: var(--font-size-m);
  }

  .texte-log-phone {
    color: var(--black);
    font-family: var(--font-family-baskerville-semibold);
    font-size: var(--font-size-xs);
    font-style: normal;
    font-weight: 600;
    text-align: center;
  }

  .log-log1 {
    margin: 2rem auto 2rem auto;
  }

  .log1 .log_wrapper_img img {
    width: 30rem;
    height: 14rem;
  }

  .log .log_wrapper_img img {
    width: 30rem;
    height: 14rem;
  }

  .log-description {
    width: 22rem;
  }
}

@media (max-width: 600px) {

  .log-log1 {
    margin: 2rem auto 4rem auto;
  }

  .log {
    padding: 0px;
    margin-bottom: 6rem;
  }

  .log1 {
    padding: 0px;
  }

  .log1 .log_wrapper_img img {
    width: 100%;
    height: auto;
  }

  .log .log_wrapper_img img {
    width: 100%;
    height: auto;
  }

  .log-description {
    width: 80%;
  }

  .clients-title {
    font-size: 1.8rem;
  }

  .client {
    font-size: 0.8rem;
  }

  .client2 {
    font-size: 0.8rem;
  }
}

@media (max-width: 500px) { 
  .functions {
    flex-direction: column;
    transform: translateX(-50%);
  }

  .func-title {
    font-size: 1.2rem;
    width: 10rem;
  }
  
  .func-desc {
    font-size: 0.8rem;
    width: 10rem;
  }

  #func-1, #func-2, #func-3, #func-4 {
    width: 10rem;
    min-height: 10rem;
    background-size: auto 10rem;
  }

  #func-2 {
    background-position: left 15rem;
  }

  #func-1 .func-title,
  #func-1 .func-desc {
    margin-left: 9rem;
  }

  #func-2 .func-title,
  #func-2 .func-desc {
    margin-left: 9rem;
  }

  #func-3 .func-title,
  #func-3 .func-desc {
    margin-left: 9rem;
  }

  #func-3 {
    margin-bottom: -13rem;
  }

  #func-4 .func-title,
  #func-4 .func-desc {
    margin-left: 11rem;
  }

  .text-team p {
    font-size: 12px;
    text-align: left;
  }

  .text-team h3 {
    font-size: 20px;
  }

  .carousel-team {
    width: 100%;
  }

  .carousel-cards .column {
    width: 100%;
  }

  .carousel-cards img {
    width: 12rem;
  }

  .audit-subtitle {
    font-size: 20px;
  }

  .baskerville-semi-bold-black-24px {
    font-size: 12px;
  }
}