.background_header_cabinet {
    position: relative;
    padding: 250px 0;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

.background_header_cabinet h1,
.background_header_cabinet h2 {
    margin: 50px;
    color: #ffffff;
    text-align: center;
    position: relative;
    z-index: 2;
}

.background_header_cabinet h1 {
    font-size: 48px;
    font-weight: bold;
}


.second_section_cabinet {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px 70px;
    background-image: linear-gradient(90deg, rgba(26, 42, 68, 0), rgba(26, 42, 68, 0.2), rgba(26, 42, 68, 0));
    background-repeat: no-repeat;
    background-size: 960px 1px;
    background-position: center calc(100% - 70px);
}

.second_section_cabinet h2{
    text-align: center;
      margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 700;
    color: #1A2A44;
}

.background_blanc_cabinet {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 50px 40px;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(26, 42, 68, 0.12);
}

.background_blanc_cabinet .img_gauche {
    flex: 0 0 35%;
}

.background_blanc_cabinet .img_gauche img {
    background-color: #ffffff;
    object-fit: contain;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

 .text p {
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: #2a2a2a;}

@media (max-width: 900px) {
    .background_blanc_cabinet {
        flex-direction: column;
        padding: 30px 20px;
    }

    .background_blanc_cabinet .img_gauche {
        flex: 0 0 auto;
        width: 100%;
    }
}


.section_equipe {
  width: 80%;        /* largeur de la section */
  max-width: 1400px; /* limite pour grand écran */
  margin: 0 auto;    /* centre la section */
        padding: 70px 0;   /* espacement vertical */
}

.section_equipe h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 700;
  color: #1A2A44;
}

.person-text {
    background: linear-gradient(145deg, #263142 0%, #1f2733 55%, #1a2230 100%);
    padding: clamp(32px, 5vw, 64px);
    border-radius: 14px;
    border: 1px solid rgba(241, 230, 197, 0.14);
    box-shadow: 0 14px 34px rgba(18, 30, 48, 0.24);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.person-text h3 {
    margin: 0;
    font-family: "Lato", "Segoe UI", Arial, sans-serif;
     font-size: 22px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.2px;
  color: #F1E6C5;
}

.person-text p {
  margin: 0;
    font-family: "Lato", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
    max-width: 62ch;
  color: white;
}

.person {
  display: flex;           
  align-items: center;     
  gap: 40px;               
  margin-bottom: 40px;    
}

.person-img,
.person-text {
  flex: 1;                 
}

.person-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;     
  display: block;
    box-shadow: 0 8px 22px rgba(26, 42, 68, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.person-img img:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 30px rgba(26, 42, 68, 0.2);
}

.second_person {
  flex-direction: row-reverse;
}

/* responsive pour mobile */
@media (max-width: 768px) {
  .person {
    flex-direction: column;
    gap: 20px;
  }

    .person-text {
        padding: 28px 22px;
        gap: 12px;
    }

    .person-text h3 {
        font-size: 20px;
    }
}

.section_valeurs h2 {
    text-align: center;
  margin-bottom: 40px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 700;
  color: #1A2A44;
}

.section_valeurs {
    padding-bottom: 70px;
    background-image: linear-gradient(90deg, rgba(26, 42, 68, 0), rgba(26, 42, 68, 0.2), rgba(26, 42, 68, 0));
    background-repeat: no-repeat;
    background-size: 960px 1px;
    background-position: center bottom;
}


.section_valeurs .valeurs-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
}

.section_valeurs .valeurs-container .valeur {
    flex: 0 0 320px;
    background: linear-gradient(160deg, #f6f0df 0%, #fdf9f0 100%);
    border: 1px solid rgba(26, 42, 68, 0.12);
    padding: 44px 36px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(26, 42, 68, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
}

.section_valeurs .valeurs-container .valeur:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(26, 42, 68, 0.2);
}

.section_valeurs .valeurs-container .valeur h3 {
    margin: 0 0 14px;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 600;
    color: #1A2A44;
}

.section_valeurs .valeurs-container .valeur p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #2a2a2a;
}





.section_call_to_action {
    width: 100%;
    max-width: none;
    margin: 0;
    color: #1A2A44;
    text-align: center;
    padding: 80px 20px;
    background-size: cover;
    background-position: center;
}

.section_call_to_action h2 {
    margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 700;
    color: #1A2A44;
}

.section_call_to_action p {
    margin: 0 auto;
    max-width: 820px;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.5;
    color: black;
}

.section_call_to_action a {
    all: unset;
    cursor: pointer;
    display: inline-block;
    margin-top: 30px;
}

.section_call_to_action a:hover {
    all: unset;
    cursor: pointer;
    display: inline-block;
    margin-top: 30px;
}

.section_carrousel {
    padding: 80px 20px;
    text-align: center;
}

.section_carrousel .text {
    max-width: 1100px;
    margin: 0 auto;
}

.section_carrousel .text h2 {
    margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 700;
    color: #1A2A44;
}

.section_carrousel .text p {
    margin: 0 auto 36px;
    max-width: 820px;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.5;
    color: black;
}

.js-partners-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.js-partners-carousel .carousel-track {
    display: flex;
    width: max-content;
    animation: partners-scroll 30s linear infinite;
}

.js-partners-carousel:hover .carousel-track {
    animation-play-state: paused;
}

.js-partners-carousel .partner-slide {
    width: 200px;
    min-width: 200px;
    height: 100px;
    margin: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.js-partners-carousel .partner-logo {
    max-width: 100%;
    max-height: 76px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.js-partners-carousel .partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.js-partners-carousel .partner-name {
    font-size: 15px;
    color: #1A2A44;
    text-align: center;
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .background_header_cabinet {
        padding: 120px 16px 90px;
        min-height: 220px;
    }

    .background_header_cabinet h1,
    .background_header_cabinet h2 {
        margin: 16px 0;
    }

    .background_header_cabinet h1 {
        font-size: clamp(30px, 8vw, 38px);
    }

    .background_header_cabinet h2 {
        font-size: clamp(16px, 4.3vw, 20px);
    }

    .second_section_cabinet {
        padding: 50px 16px 40px;
    }

    .section_equipe {
        width: 100%;
        padding: 50px 16px;
    }

    .section_valeurs {
        padding-bottom: 40px;
    }

    .section_valeurs .valeurs-container {
        padding: 8px;
        gap: 18px;
    }

    .section_valeurs .valeurs-container .valeur {
        flex: 1 1 100%;
        padding: 28px 22px;
    }

    .section_call_to_action {
        padding: 50px 16px;
    }

    .section_carrousel {
        padding: 50px 16px;
    }

    .js-partners-carousel .partner-slide {
        width: 160px;
        min-width: 160px;
        margin: 0 10px;
    }
}

