/******************** `Communiquer de Presse ***************************/


h1 {

    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 60px;
    font-weight: 600;
    text-transform: uppercase;


}

@media (max-width: 1096px) {
    .hero-content {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 10px;
    }

    .underline {
        display: none;
    }

    /* .swiper, */
    /* .swiper-wrapper,
  .swiper-slide {
    height: 60vh;
  } */
    h1 {
        font-size: 40px;
        /* Ajustement pour mobile */
    }

    h1 span {
        display: inline;
    }

    p {
        font-size: 16px;
        /* Ajustement pour mobile */
    }




}

@media (max-width: 768px) {
    h1 {
        font-size: 35px;
        /* Encore plus petit sur téléphone */
    }

    p {
        font-size: 14px;
        /* Réduction du texte */
        margin: 0 0 30px;
    }


}




/* Sur petits écrans (mobile portrait) */
@media (max-width: 480px) {
    .hero-content {
        gap: 20px;
        padding: 0 px;
        width: 100%;
    }

    h1 {
        font-size: 24px;
        /* Taille encore plus petite sur très petit écran */
    }

    h1 span {
        display: inline;
    }

    p {
        font-size: 12px;
        margin: 0 0 20px;
    }

    .buttons .btn {
        font-size: 12px;
        padding: 8px 12px;

    }

    .text-content {
        width: 100%;
        text-align: center;
    }
}


/****************** section 1 ****************************/

#section1 {
    height: 400px;
    width: 100%;
    position: relative;

    background-image: url('../images/Equipes/equipe.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.small_underline {
    height: 5px;
    width: 200px;
    background: var(--clr-orange);
    margin-bottom: 5px;
    /* Secondary color */
}

.second-underline {
    height: 5px;
    width: 20px;
    background: var(--clr-orange);
    margin-bottom: 5px;
    /* Secondary color */
}

.blue_underline {
    height: 5px;
    width: 20px;
    background: var(--clr-blue-2);
    margin-bottom: 5px;
    /* Secondary color */
}

#section1>div:nth-child(2) {
    display: flex;
    color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 10;
    position: relative;
    text-align: center;
}

#section1>div:nth-child(2)>p {
    font-weight: bold;
    font-size: 0.8rem;
}

#section1>div:nth-child(2)>div:nth-child(2) {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-weight: bold;

}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}


/****************** end section 1 ****************************/

/****************** section 2 ****************************/
#section2 {
    height: auto;
    padding: 50px 50px 50px;


}

.left h1 {
    font-size: 40px;
    background: var(--clr-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    font-weight: 500;
    padding-bottom: 20px;
    background-color: red;
}

.left p {
    font-size: 1rem;
    line-height: 30px;
    font-family: var(--ff-primary);
    text-align: justify;
    padding-bottom: 30px;
}



.line-combo {
    display: flex;
    gap: 5px;
    margin-top: -40px;
    margin-bottom: 30px;
}


.sec-cont {
    display: grid;
    grid-template-columns: 50% 45%;
    gap: 4rem;
    height: auto;
    padding-bottom: 40px;
}

.right {
    padding: 15px 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/intervenant/Group\ 53.png');

    background-repeat: no-repeat;
}

.right p {
    padding-top: 15px;
}

/* .right div {
    width: 80%;
    margin: 0 auto;
    height: 100%;
} */
.image-container {
    position: relative;

    /* Set your desired width */
    height: 500px;
    /* Set your desired height */
      width: 500px;
    margin: 0 auto;
    padding: 0 15px;
}

.image-container::before {
    content: "";
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 500px;
    height: 100%;
    background-color: #c17f16;
    border-radius: 8px;
    z-index: 1;
}

.image-container img {
    position: relative;
    width: 500px;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    display: block;
    border-radius: 8px;
}




.right p {
    /* margin-top: 20px; */
    font-weight: bold;
    text-align: center;
}

.right p span {
    font-weight: 400;
    margin-left: 5px;
    text-align: center;
}

.lastp {
    /* margin-top: 20px; */
    line-height: 30px;
}

@media (max-width: 1100px) {
    .sec-cont{
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .sec-cont {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        height: auto;
        padding-bottom: 40px;
    }

    .right {
        display: none;
    }
}


@media (max-width: 768px) {
#section2 {
    height: auto;
    padding: 50px 20px 50px;
}

    .left>h1 {
        font-size: 30px;


    }

    .left br {
        display: none;
    }

    #section2 p {


        font-size: 15px;
   
    }


    .lastp {
        margin-top: 0px;
    }
}

/****************** end section 2 ****************************/
/******************  section 3 ****************************/
#section3 {
    padding-top: 50px;
    height: auto;
padding: 50px 18px 150px;

    background-color: #F5F5F5;

}

#section3>h1 {
    font-size: 40px;
    background: var(--clr-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    font-weight: 500;
    padding-bottom: 20px;
    text-align: center;

}

#section3 h1+p {
    max-width: 1500px;
    margin: 0 auto 50px;
    padding-bottom: 0px;

    font-size: 18px;
    font-weight: 400;

    line-height: 1.6;

    text-align: center;
}




.team-carousel-container {
    width: 90%;
    margin: 0 auto;
    height: auto;
    position: relative;
}

.team-carousel {
    padding-bottom: 50px;
    padding-top: 150px;
    margin-top: 0px;


}

.team-card {
    background: white;
    border-radius: 5px;
    padding: 24px 15px 10px;
    text-align: center;
    -webkit-box-shadow: 0px 5px 6px 0px rgba(199, 127, 5, 1);
    -moz-box-shadow: 0px 5px 6px 0px rgba(199, 127, 5, 1);
    box-shadow: 0px 5px 6px 0px rgba(199, 127, 5, 1);
    border: 1px solid rgba(199, 127, 5, 1);
    border-top: none;
    height: 420px;
    width: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10rem;
    justify-self: center;
    font-family: var(--ff-primary);
    text-transform: capitalize;
}

.team-card p {
    text-align: justify;
}




.image-wrapper {
    position: absolute;
    top: -150px;
    width: 120px;
    height: 120px;
    margin-top: -80px;
    z-index: 10;
    /* Ensure wrapper is above outer rings */
}

/* Image styling */
.image-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 4;
}

/* Ripple rings */
.ring {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle,
            transparent 60%,
            /* inner transparent center */
            #C89A4B 70%,
            #C77F05 85%,
            transparent 100%
            /* outer transparent edge */
        );

}

/* First ring: closest and most intense */
.ring-1 {
    top: -8px;
    left: -8px;
    width: 136px;
    height: 136px;
    background-color: #C89A4B;
    opacity: 1;
    z-index: 3;
}

/* Second ring: still strong, just slightly lighter */
.ring-2 {
    top: -16px;
    left: -16px;
    width: 152px;
    height: 152px;
    background-color: #C89A4B;

    opacity: 0.75;
    /* previously 0.5 */
    z-index: 2;
}

/* Third ring: visible, but subtle fade */
.ring-3 {
    top: -24px;
    left: -24px;
    width: 168px;
    height: 168px;
    background-color: #C89A4B;

    opacity: 0.5;
    /* previously 0.25 */
    z-index: 1;
}


.team-card div {
    margin-top: 100px;
    font-family: var(--ff-primary);

}

.team-card h2 {
    font-family: var(--ff-primary);
    text-transform: uppercase;
    font-size: 20px;

}

.team-card h3 {
    color: #c17f16;
    font-size: 16px;
    font-weight: 600;
    margin: 16px 0;
    font-family: var(--ff-primary);

}

.team-card p {
    color: rgb(32, 32, 32);
    font-size: 0.875rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* Limite à 4 lignes */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--ff-primary);

}

.carousel-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 30%;
    margin: auto;
    margin-top: -8rem;
    /* Changed to negative value to pull it up */
    position: relative;
    /* Allows z-index to work */
    z-index: 10;
    /* Ensures it stays above other elements */
}

.team-card .cv {
          margin-top: 20px;
     
     display: flex;
     
     justify-content: end;
  
}

.team-card a {
  
   color: #c17f16;
      background-color: none;
        border: none;
        border-radius: 20px;
        font-size: 14px;
           border: 1px solid #c17f16;
              padding: 8px 16px;
    transition: all 0.3s ease-in-out;
    }
   .team-card a:hover {
   background-color: #a66d12;
   color: white;
    }
.nav-btn {
    background: #c17f16;
    color: white;
    border: none;
    padding: 7px 13px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.nav-btn:hover {
    background: #a66d12;
}

.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;

}

.pagination .swiper-pagination-bullet {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 2px solid #c17f16;
    border-radius: 6px;
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #c17f16;
    font-weight: 600;
}
@media (max-width: 1400px) {
    .team-card{
        width: 94%;
    }
}

@media (max-width: 1024px) {

 .team-card {
    height: 420px;
  }
  #section3 > h1 {
    font-size: 32px;
  }
  #section3 h1 + p {
    font-size: 16px;
  }
    .carousel-navigation {
        width: 50%;
        margin-top: -3rem;

    }

    .team-card h2 {
        font-size: 18px ;
    }

    .team-card h3 {
        font-size: 16px;
    }

 

 
}

@media (max-width: 768px) {
    .carousel-navigation {
        width: 80%;
        margin-top: -8rem;

    }
  #section3 > h1 {
    font-size: 26px;
  }
    .pagination {
        display: none;
    }

      .team-card {
    height: 440px;
  }
}