/* --- HERO SECTION --- */
.hero-section{
    /*padding-top: 85px;*/
    padding-top: 130px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position:center top;
    background-color:var(--color-white);
    /*min-height:925px;*/
    height:925px;
    position: relative;

    background-position: center;
    background-size: 100% 100%;
}

.hero-section > .container{
    padding-left:0;
    padding-right:0;
}

.hero-section .hero-box{
    justify-content:space-between;
    gap:50px;
}

.hero-section .hero-title{
    margin-top:20px;
}

.hero-section .hero-subtitle{
    text-transform: uppercase;
    font-size:15px;
    font-weight:900;
}

.hero-section .hero-description{
    max-width:85%;
}

.hero-section .hero-image-home{
    display:none;
}

.hero-section .hero-content{
    max-width:55%;
}

.hero-section h1{
    font-size:80px;
    line-height:1;
}

.hero-section .hero-buttons{
    gap:15px;
}

.hero-section .hero-buttons .tooltip-wrapper {
  position: relative;
  display: inline-flex;
}

.hero-section .hero-buttons .tooltip {
  /*display: none;*/
  position: absolute;
  top: 100%; 
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--color-light-teal);
  border-radius: 10px;
  padding: 10px;
  width: 210px;
  text-align: center;
  font-size: 15px;
  line-height: 18px;
  z-index: 10;
}

.hero-section .hero-buttons .tooltip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.hero-section .hero-buttons .tooltip::after {
  content: '';
  position: absolute;
  bottom: calc(100% - 1px);
  left: 50%;
  transform: translateX(-50%);
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 9px solid var(--color-light-teal);
}

/*.hero-section .hero-buttons .tooltip {
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-section .hero-buttons .tooltip-wrapper:hover .tooltip {
  display: block;
  opacity: 1;
}*/

.hero-section .hero-buttons .tooltip {
  opacity: 0;
  visibility: hidden; /* keeps layout but hides */
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-section .hero-buttons .tooltip-wrapper:hover .tooltip {
  opacity: 1;
  visibility: visible;
}

.hero-section .hero-image{
    max-width:536px;
    margin-right:200px;
}

#design-hero1, #design-hero2{
    display:none;
}

.hero-section .bottom-content{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    margin-top: 50px;
    width:100%;
}

.hero-section .bottom-content .social_row{
    display:flex;
    gap:5px;
    margin-bottom:10px;
}

.hero-section .bottom-content .social_row a{
    width:25px;
    height:25px;
    transition: background-color 0.3s;
    border-radius: 50%;;
}

.hero-section .bottom-content .social_row a:hover{
    background-color: var(--color-light-teal);
}

.hero-section .bottom-content .bottom_infos{
    grid-column: 1;
}

.hero-section .bottom-content .bottom_infos p{
    margin-bottom:0;
    font-size:15px;
    font-weight: 500;
    font-style: italic;
}

.hero-section .bottom-content .cta{
    grid-column: 2;
    justify-self: center;
}

.hero-section #video-projet{
    position: absolute;
    right: 180px;
    bottom: -150px;
    width: 122px;
    height: 122px;
    transition: transform 0.3s ease; /* Smooth transition */
    z-index:100;

    /*fixed*/
    position: fixed;
    bottom: 70px;
    right: 70px;
}

.hero-section #video-projet:hover {
  transform: scale(1.2); /* Scale 1.5x on hover */
  cursor: pointer;
}

/* Fullscreen overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Video container */
.popup-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

/* Close button */
.popup-close {
    position: absolute;
    top: 100px;
    right: 200px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

    background-image: url('/wp-content/themes/sante-reproductive/img/popup-x.svg');
    width: 51px;
    height: 51px;
}

@media screen and (min-width: 1920px) {
    .hero-section{
        background-size: 100% 925px;
    }
}

@media screen and (max-width: 1749px) {
    .hero-section > .container{
        padding-left:50px;
        padding-right:50px;
    }
}

@media screen and (max-width: 1600px) {
    .hero-section{
        min-height:unset;
        height:unset;
        padding-top: 115px;
    }
}

@media screen and (max-width: 1400px) {
    .hero-section .hero-image {
        margin-right: 0px;
    }
}

@media screen and (max-width: 1279px) {
    .hero-section{
        /*height: 90vh;*/
    }

    .hero-section .hero-box{
        flex-direction: column;
        justify-content: space-between;
        gap: 50px;
    }

    .hero-section .hero-content{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top:20px;
    }

    .hero-section .hero-content {
        max-width: 100%;
    }

    .hero-section .hero-content .hero-buttons{
        height:unset;
        justify-content: center;
    }

    .popup-close {
        top: 50px;
        right: 50px;
    }

    .popup-content {
        width: 95%;
    }
}

@media (max-width: 992px) {
    .hero-section > .container{
        padding-left:30px;
        padding-right:30px;
    }

    .hero-section h1 {
        font-size: 60px;
    }

    .hero-section .bottom-content{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-section .bottom-content .social_row {
        justify-content: center;
    }
}

@media screen and (max-width: 575px) {
    .hero-section > .container{
        padding-left:15px;
        padding-right:15px;
    }

    .hero-section h1 {
        font-size: 50px;
    }

    .hero-section .hero-content .hero-buttons{
        flex-direction: column;
    }

    .hero-section #video-projet{
        width: 80px;
        height: 80px;
        bottom: 20px;
        right: 20px;
    }
}



/* --- COLOR BLOCK SECTION --- */
.color-block-section{
    display: flex;
    justify-content: center;
    padding: 55px 0;
}

.color-block-section .color-box{
    background-color:var(--color-green);
    max-width:1364px;
    margin:0 30px;
    border-radius:23px;
    padding-left: 130px;
    padding-right: 130px;
}

.color-block-section h2{
    border-bottom: 1px solid #101822;
    padding-bottom: 10px;
}

@media screen and (max-width: 991px) {
    .color-block-section .color-box {
        padding: 55px 30px 50px 30px;
    }
}

@media screen and (max-width: 575px) {
    .color-block-section .color-box {
        padding: 35px 15px 40px 15px;
    }

    .color-block-section .color-box{
        margin:0 15px;
    }
}



/* --- INFOS SECTION --- */
.infos-section{
    display:flex;
    position: relative;
}

.infos-section .infos-box{
    align-items: flex-end;
}

.infos-section .infos-content{
    width:55%;
}

.infos-section .infos-title{
    font-size: var(--font-lg);
    font-weight: 400;
}

.infos-section .infos-content-right{
    width:45%;
}

.infos-section .infos-content-right .infos-image img{
    width:467px;
    height:auto;
    top: -110px;
    right: 70px;
    position: absolute;
}

.infos-section .infos-content-right .infos-description{
    margin-bottom:40px;
}

@media (max-width: 1500px) {
    .infos-section .infos-title{
        font-size: 108px;
    }

    .infos-section .titre-3::before {
        top: -10px;
        bottom: 22px;
    }
}

@media screen and (max-width: 1279px) {
    .infos-section .infos-box{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap:30px;
    }

    .infos-section .infos-content{
        width:unset;
    }

    .infos-section .infos-title{
        text-align: center;
    }
    
    .infos-section .infos-content-right{
        width:unset;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap:20px;
    }
    
    .infos-section .infos-content-right .infos-image img{
        top:unset;
        right:unset;
        position: relative;
    }

    .infos-section .infos-content-right .infos-texte{
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .infos-section .infos-content-right .infos-button{
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 992px) {
    .infos-section .infos-title{
        font-size: 80px;
    }

    .infos-section .titre-3::before {
        top: -6px;
        bottom: 16px;
    }
}

@media (max-width: 575px) {
    .infos-section .infos-title{
        font-size: 50px;
    }

    .infos-section .titre-3::before {
        top: -3px;
        bottom: 13px;
    }

    .infos-section .infos-content-right .infos-image img{
        width:350px;
        height:350px;
    }
}



/* --- EQUIPE 1 SECTION --- */
.equipe1-section{
    display:flex;
    background-color: var(--color-white)
}

.equipe1-section .equipe1-box{
    gap:40px;
}

.equipe1-section .equipe1-content{
    gap:50px;
}

.equipe1-section .equipe1-content .equipe1-headline{
    width:fit-content;
}

.equipe1-section h2{
    margin-bottom:0;
}

.equipe1-section .equipe1-content .equipe1-description{
    flex:1;
    margin-bottom:0;
}

.equipe1-section .equipe1-membres{
    gap:20px;
}

.equipe1-section .equipe1-membres .equipe1-membre{
    width:fit-content
}

.equipe1-section .equipe1-membres .equipe1-membre img{
    width:370px;
    max-width: 100%;
    height: auto;
}

.equipe1-section .equipe1-membres .equipe1-membre .nom{
    margin-top: 25px;
    margin-bottom:0px;
    font-size: 20px;
    font-family: var(--font-secondary);
    font-weight:500;
    display: flex;
    align-items: center;
}

.equipe1-section .equipe1-membres .equipe1-membre .nom::before,
.equipe1-section .equipe1-membres .equipe1-membre .nom::after {
  content: "";
  height: 1px;
  width: 25px;
  background-color: #101822;
  display: inline-block;
}

.equipe1-section .equipe1-membres .equipe1-membre .nom::before {
  margin-right: 10px;
}

.equipe1-section .equipe1-membres .equipe1-membre .nom::after {
  margin-left: 10px;
}

/*@media (max-width: 1279px) {
    .equipe1-section .equipe1-membres{
        flex-wrap:wrap;
    }
}*/

@media (max-width: 992px) {
    .equipe1-section .equipe1-content{
        flex-direction:column;
        align-items:center;
    }

    .equipe1-section .equipe1-content .equipe1-headline{
        align-items:center;
    }

    .equipe1-section .equipe1-content .equipe1-description{
        text-align:center;
    }
}



/* --- EQUIPE 2 SECTION --- */
.equipe2-section{
    display:flex;
    background-color: var(--color-white);
    position:relative;
}

.equipe2-section .equipe2-box{
    gap:40px;
}

.equipe2-section .equipe2-content{
    gap:50px;
}

.equipe2-section .equipe2-content .equipe2-headline{
    width:fit-content;
}

.equipe2-section h2{
    margin-bottom:0;
}

.equipe2-section .equipe2-content .equipe2-description{
    flex:1;
    margin-bottom:0;
}

.equipe2-section .equipe2-membres{
    gap:20px;
}

.equipe2-section .equipe2-membres .equipe2-membre{
    width:fit-content;
    position:relative;
    z-index: 2;
}

.equipe2-section .equipe2-membres .equipe2-membre img{
    width:370px;
    max-width: 100%;
    height: auto;
}

.equipe2-section .equipe2-membres .equipe2-membre .barre-infos{
    position: absolute;
    background-color: var(--color-white);
    bottom: 20px;
    padding:8px;
    border-radius:14px;
    width: 90%;
    left: auto;
    right: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.equipe2-section .equipe2-membres .equipe2-membre .nom{
    margin-bottom:0px;
    font-family: var(--font-secondary);
    font-weight:600;
}

.equipe2-section .equipe2-membres .equipe2-membre .poste{
    margin-bottom:0px;
}

.equipe2-section .equipe2-membres .equipe2-membre .barre-infos .barre-lien{
    width: 33px;
    height: 33px;
}

.equipe2-section .equipe2-membres .equipe2-membre .barre-infos .barre-lien:hover{
    background-color: var(--color-blue);
    border-radius:50%;
}

.equipe2-section .equipe2-membres .equipe2-membre .barre-infos .barre-lien a{
    height: 33px;
    width: 33px;
    display: block;
}

.equipe2-section .equipe2-membres .equipe2-membre .barre-infos .barre-lien a img{
    width: 33px;
    height: 33px;
}

.equipe2-section #design-equipe2{
    position:absolute;
    bottom: -72px;
    left: -118px;
    width:329px;
    height: auto;
    z-index:1;
}

@media (max-width: 992px) {
    .equipe2-section h2{
        text-align: center;
    }

    .equipe2-section .equipe2-content{
        flex-direction:column;
        align-items:center;
    }

    .equipe2-section .equipe2-content .equipe2-headline{
        align-items:center;
    }

    .equipe2-section .equipe2-content .equipe2-description{
        text-align:center;
    }

    .equipe2-section #design-equipe2{
        display:none;
    }
}



/* --- EQUIPE 3 SECTION --- */
.equipe3-section{
    display:flex;
    background-color: var(--color-white);
    position:relative;
}

.equipe3-section .equipe3-box{
    gap:40px;
}

.equipe3-section .equipe3-content{
    gap:50px;
}

.equipe3-section .equipe3-content .equipe3-headline{
    width:fit-content;
}

.equipe3-section h2{
    margin-bottom:0;
}

.equipe3-section .equipe3-content .equipe3-description{
    flex:1;
    margin-bottom:0;
}

.equipe3-section .equipe3-membres{
    gap:15px;
}

.equipe3-section .equipe3-membres .equipe3-membre{
    position:relative;
    z-index: 2;
    width: 370px;
    background-color: #BFEBEF;
    border-radius:22px;
    padding:15px;
}

.equipe3-section .equipe3-membres .equipe3-membre img{
    width:370px;
    max-width: 100%;
    height: auto;
}

.equipe3-section .equipe3-membres .equipe3-membre .barre-infos{
    display: flex;
    align-items: center;
}

.equipe3-section .equipe3-membres .equipe3-membre .barre-infos img{
    width:74px;
    height:74px;
}

.equipe3-section .equipe3-membres .equipe3-membre .barre-infos .nom{
    margin-bottom:0px;
    font-family: var(--font-secondary);
    font-weight:600;
    margin-left:20px;
}

.equipe3-section .equipe3-membres .equipe3-membre .poste{
    margin-bottom:0px;
}

.equipe3-section .equipe3-membres .equipe3-membre .barre-lien{
    width: 33px;
    height: 33px;
}

.equipe3-section .equipe3-membres .equipe3-membre .barre-lien:hover{
    background-color: var(--color-blue);
    border-radius:50%;
}

.equipe3-section .equipe3-membres .equipe3-membre .barre-lien a{
    height: 33px;
    width: 33px;
    display: block;
}

.equipe3-section .equipe3-membres .equipe3-membre .barre-lien a img{
    width: 33px;
    height: 33px;
}

.equipe3-section .design-equipe3{
    position:absolute;
    bottom: -77px;
    right: -163px;
    width:914px;
    height: auto;
    z-index: 1;
}

@media (max-width: 1600px) {
    .equipe3-section .equipe3-membres .equipe3-membre{
        width: 32%;
    }
}

@media screen and (max-width: 1279px) {
    .equipe3-section .equipe3-membres .equipe3-membre{
        width: 49%;
    }
}

@media (max-width: 992px) {
    .equipe3-section h2{
        text-align: center;
    }

    .equipe3-section .equipe3-content{
        flex-direction:column;
        align-items:center;
    }

    .equipe3-section .equipe3-content .equipe3-headline{
        align-items:center;
    }

    .equipe3-section .equipe3-content .equipe3-description{
        text-align:center;
    }

    .equipe3-section .equipe3-membres .equipe3-membre{
        width: 100%;
    }

    .equipe3-section .design-equipe3{
        display:none;
    }
}

@media (max-width: 575px) {
    .equipe3-section h2{
        font-size:30px;
    }
}

/*
 * Styles pour le Modal des sections Équipe
 * Adapté des styles du modal .lexicon-section
 */

.equipe2-section .teamModal,
.equipe3-section .teamModal {
    display: none; /* Caché par défaut */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0; /* Pour l'animation */
    transition: opacity 0.3s ease;
}

.equipe2-section .team-modal-content,
.equipe3-section .team-modal-content {
    background-color: var(--color-white, #fff); /* Fallback blanc */
    margin: auto;
    padding: 25px;
    border-radius: var(--border-radius-lg, 12px); /* Fallback */
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
    max-width: 500px;
    width: 80%;
    position: relative;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.equipe2-section .team-modal-close-button,
.equipe3-section .team-modal-close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: var(--color-navy, #001f3f); /* Fallback navy */
    cursor: pointer;
    transition: color 0.2s;
}

.equipe2-section .team-modal-close-button:hover,
.equipe3-section .team-modal-close-button:hover {
    color: var(--color-orange, #f3722c); /* Fallback orange */
}

.equipe2-section #teamModalTitle,
.equipe3-section #teamModalTitle {
    margin-top: 5px;
    margin-bottom: 15px;
    color: var(--color-navy, #001f3f);
    font-family: var(--font-secondary, sans-serif);
    font-size: var(--font-sm, 1.2rem);
    font-weight: 600;
}

.equipe2-section #teamModalText,
.equipe3-section #teamModalText {
    line-height: 1.6;
    color: var(--color-navy, #001f3f);
    font-family: var(--font-primary, sans-serif);
    font-size: var(--font-body, 1rem);
}

/* Responsive pour le contenu du modal */
@media (max-width: 575px) {
    .equipe2-section .team-modal-content,
    .equipe3-section .team-modal-content {
        padding: 20px;
        width: 90%;
    }
}



/* --- ICONE SECTION --- */
.icone-section{
    display:flex;
}

.icone-section .regular-content .special-text{
    display:unset;
}

.icone-section .regular-content .texte{
    margin-top:30px;
    text-align: center;
}

.icone-section .icone-box{
    max-width: 1364px;
    padding-left:0;
    padding-right:0;
    gap: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-top:40px;
    align-items: stretch;
}

.icone-section .icone-box .icone-bloc{
    max-width:30%;
    gap:15px;
    border-bottom: 1px solid black;
    height:unset;
}

.icone-section .icone-bloc img{
    width:35px;
    height:auto;
}

.icone-section .icone-bloc .titre{
    font-weight: 500;
    font-size:30px;
    font-family:var(--font-secondary);
    margin-bottom:0px;
}

.icone-section .button{
    display: flex;
    justify-content: center;
    margin-top: 50px;

}

@media (max-width: 1500px) {
    .icone-section .icone-box{
        padding-left:30px;
        padding-right:30px;
    }
}

@media screen and (max-width: 1279px) {
    .icone-section .icone-bloc{
        max-width:100%;
        align-items: center;
    } 

    .icone-section .icone-bloc .titre{
        text-align: center;
    } 

    .icone-section .icone-bloc .texte{
        text-align: center;
    } 
}

@media screen and (max-width: 992px) {
    .icone-section .icone-box {
        flex-direction: column;
        align-items: center;
    }

    .icone-section .icone-box .icone-bloc {
        max-width: 50%;
    }
}

@media (max-width: 775px) {
    .icone-section .icone-box .icone-bloc {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .icone-section .icone-box{
        padding-left:15px;
        padding-right:15px;
    }

    .icon-section .alt-title {
        text-align: center;
    }

    .icone-section .regular-content .special-text {
        display: block;
    }
}



/* --- LEXIQUE SECTION --- */
.lexicon-section {
    position: relative;
    margin: 0 auto;
    color: var(--color-navy);
    font-family: var(--font-primary);
    overflow-x: hidden;
}

.lexicon-section .element-lexique{
    position:absolute;
    width: 1000px;
    height: auto;
    z-index: -1;
    top: -146px;
    right: -232px;
}

.lexicon-section .main-title {
    font-family: var(--font-secondary);
    font-size: var(--font-lg);
    font-weight: 400;
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    max-width: 760px;
}

.lexicon-section .highlight {
    background-color: var(--color-green);
    padding: 2px 10px;
    font-style: italic;
    display:inline-block;
    border-radius:9px;
    font-weight:500;
    line-height: 0.9;
}

.lexicon-section .divider {
    height: 1px;
    background-color: #101822;
    margin: 15px 0;
    width: 100%;
}

.lexicon-section .accordion {
    /*margin-bottom: 20px;*/
}

.lexicon-section .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lexicon-section .accordion-title {
    font-size: 55px;
    font-weight:500;
    font-family: var(--font-secondary);
}

.lexicon-section .accordion-icon {
    width: 51px;
    height: 51px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.accordion-icon img {
    width: 51px;
    height: 51px;
    object-fit: contain;
}

.lexicon-section .collapse-icon {
    width: 24px;
    height: 24px;
    background-color: var(--color-beige);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: var(--color-navy);
    margin-left: 10px;
}

.lexicon-section .accordion-content {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: height 0.5s cubic-bezier(0.33, 1, 0.68, 1), 
                opacity 0.4s cubic-bezier(0.33, 1, 0.68, 1), 
                transform 0.5s cubic-bezier(0.33, 1, 0.68, 1),
                padding 0.3s cubic-bezier(0.33, 1, 0.68, 1);
    padding-top: 0;
    padding-bottom: 0;
    will-change: height, opacity, transform;
}

.lexicon-section .accordion.active .accordion-content {
    height: auto!important;
    opacity: 1;
    transform: translateY(0);
    padding-bottom: 25px;
    padding-top: 10px;
    height: 253px;
    display: flex;
    gap: 150px;
}

.lexicon-section .term-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));*/
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.lexicon-section .term-link {
    text-decoration: none;
    color: var(--color-navy);
    display: block;
}

.lexicon-section .term-link .term-tag .tag-icon {
    color: var(--color-blue);
}

.lexicon-section .term-tag {
    padding: 20px 15px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    height: 82px;
    width:260px;
    font-weight:600;
}

.lexicon-section .term-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.lexicon-section .tag-icon {
    /*width: 20px;
    height: 20px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.9rem;*/

    width: 33px;
    height: 33px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lexicon-section .document-icon {
    width: 23px;
    height: 23px;
}

.lexicon-section .content-text {
    line-height: 1.3;
    font-size: var(--font-body);
}

.lexicon-section .bottom_text{
    font-size:15px;
    color: #9A9084;
    display: flex;
    width: 100%;
}

/* Modal Styles */
.lexicon-section .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 105%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lexicon-section .modal-content {
    background-color: var(--color-white);
    margin: auto;
    padding: 25px;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25);
    max-width: 500px;
    width: 80%;
    position: relative;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lexicon-section .close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: var(--color-navy);
    cursor: pointer;
    transition: color 0.2s;
}

.lexicon-section .close-button:hover {
    color: var(--color-orange);
}

.lexicon-section #modalTitle {
    margin-top: 5px;
    margin-bottom: 15px;
    color: var(--color-navy);
    font-family: var(--font-secondary);
    font-size: var(--font-sm);
    font-weight: 600;
}

.lexicon-section #modalText {
    line-height: 1.6;
    color: var(--color-navy);
    font-family: var(--font-primary);
    font-size: var(--font-body);
}

@media (max-width: 1600px) {
    .lexicon-section .accordion.active .accordion-content {
        gap: 100px;
    }
}

@media (max-width: 1300px) {
    .lexicon-section .accordion.active .accordion-content {
        gap: 50px;
    }
}

@media (max-width: 1279px) {
    .lexicon-section .accordion.active .accordion-content {
        gap: 30px;
        flex-direction: column;
    }

    .lexicon-section .accordion.active{
        width:100%;
    }

    .lexicon-section .term-grid {
        display:flex;
        flex-wrap:wrap;
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .lexicon-section .element-lexique{
        display:none;
    }

    .lexicon-section .main-title {
        font-size: 45px;
        width:100%;
        text-align: center;
    }

    .lexicon-section .accordion-title{
        font-size: 40px;
        line-height:1;
    }
    
    .lexicon-section .term-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 575px) {
    .lexicon-section .main-title {
        font-size: 40px;
    }

    .lexicon-section .accordion-title{
        font-size: 25px;
        line-height:1;
    }
    
    .lexicon-section .term-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .lexicon-section .modal-content {
        padding: 15px;
        width: 95%;
    }
}



/* --- LEXIQUE SECTION --- */
.video-section{
    position:relative;
    background-color: var(--color-white);
}

.video-section .video-player .video-container{
    width: 100%;
    height: 100%;
    border-radius: 12px;
    max-width: 1364px;
    margin: auto;
}

.video-section .video-player .video-container iframe{
    width: 100%;
    height: 700px;
    border-radius: 12px;
}

@media (max-width: 1600px) {
    .video-section .video-player .video-container iframe{
        height:565px;
    }
}

@media (max-width: 992px) {
    .video-section .video-player .video-container iframe{
        height:465px;
    }
}


@media (max-width: 575px) {
    .video-section .video-player .video-container iframe{
        height:365px;
    }
}



/* --- ARTICLES SECTION --- */
.articles-section {
    position:relative;
}

.articles-section .text-container {
    position: relative;
    width: 100%;
    top:70px;
}

.articles-section .text {
    font-family: var(--font-secondary);
    font-weight: 900;
    text-transform: uppercase;
    position: absolute;
    width: 100%;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20vw;
    line-height: 0.7;
    pointer-events: none; /* Prevents text selection */
    cursor: default; /* Changes the cursor to default instead of text cursor */
    user-select: none; /* Prevents text selection across browsers */
}

.articles-section .text-front {
    color: var(--color-yellow);
    z-index: 0;
    top: 0;
}

.articles-section .text-middle {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-yellow);
    opacity: 0.8;
    top: 20vw;
    z-index: 0;
}

.articles-section .text-back {
    color: transparent;
    -webkit-text-stroke: 1px var(--color-yellow);;
    opacity: 0.4;
    top: 40vw;
    z-index: 0;
}

.articles-section .articles-box {
    z-index:1;
    position:relative;
}

.articles-section .regular-content {
    max-width:420px;
    align-items: flex-start;
}

.articles-section .regular-content h2{
    font-size: 40px;
}

.articles-section .regular-content .title .special-text::after{
    left:0;
    transform: unset;
    background-size: 200px 50px;
    width: 200px;
    height: 50px;
}

.articles-section .regular-content .texte{
    margin: 20px 0;
}

.articles-section .articles-container {
    margin: 0 auto;
    padding: 0 15px;
    /*padding-top:220px;*/
}

.articles-section .articles-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    /*margin-bottom: 40px;*/
}

.articles-section .article-item {
    flex: 0 0 calc(100% - 20px);
    max-width: calc(100% - 20px);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid black;
    padding: 50px 30px 30px 30px;
}

.articles-section .article-item:hover {
    transform: translateY(-5px);
}

.articles-section .article-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.articles-section .article-image {
    position: relative;
    overflow: hidden;
    width: 130px;
    height: 130px;
    margin: 0 auto;
}

.articles-section .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.articles-section .article-title {
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:5px;
    flex-direction: column;
    text-align: center;
}

.articles-section .article-title h3 {
    margin: 0;
    font-size: 25px;
    font-weight: 500;
    font-family: var(--font-secondary);
    text-transform: none;
}

.articles-section .article-subtitle p {
    margin: 5px 0;
}

.articles-section .article-more {
    display:flex;
    width: 50px;
    height: 50px;
    border: 1px solid black;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
}

.articles-section .article-more img {
    width: 14px;
    height: 14px;
}

@media screen and (max-width: 1400px) {
    .articles-section .articles-box {
        flex-direction: column;
        gap:50px;
    }

    .articles-section .regular-content {
        max-width: 100%;
        align-items: center;
    }

    .articles-section .regular-content h2 {
        text-align: center;
    }

    .articles-section .regular-content .title .special-text::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .articles-section .regular-content .articles-bouton  {
        justify-content: center;
    }
}

@media screen and (min-width: 576px) {
    .articles-section .article-item {
        flex: 0 0 calc(100% - 20px);
        max-width: calc(100% - 20px);
    }
}

@media screen and (min-width: 768px) {
    .articles-section .article-item {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media screen and (min-width: 992px) {
    .articles-section .article-item {
        flex: 0 0 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
    
    .articles-section .articles-flex {
        justify-content: center;
    }
}

@media screen and (max-width: 575px) {
    .articles-section .articles-container {
        padding-left:0;
        padding-right:0;
    }

    .articles-section .article-title h3 {
        font-size: 20px;
    }
}



/* --- RESSOURCES SECTION --- */
.ressources-section{
    display:flex;
    position:relative;
}

.ressources-section .ressources-box{
    gap:80px;
    align-items: flex-end;
}

.ressources-section .ressources-headline{
    text-align: start;
    width: 40%;
}

.ressources-section .ressources-title{
    margin-bottom: 0;
    font-size:45px;
    font-weight:500;
    margin-bottom:40px;
}

.ressources-section .ressources-title .special-text{
    display:unset;
}

.ressources-section .ressources-title .special-text::after{
    bottom: -10px;
    width: 140px;
    height: 30px;
    background-size: 140px 30px;
}

.ressources-section .ressources-lignes{
    position:relative;
}

.ressources-section .ressources-lignes-headline h2{
    margin-bottom:30px;
}

.ressources-section .ressources-lignes .ressources-lignes-content{
    gap:15px;
}

.ressources-section .ressources-lignes .ressources-ligne{
    position: relative;
    z-index: 2;
    width: 370px;
    background-color: var(--color-yellow);
    height: 395px;
    border-radius: 16px;
    padding: 15px;
    transition: all 0.3s ease;
}

.ressources-section .ressources-lignes .ressources-ligne:hover {
    transform: translateY(-2px);
}

.ressources-section .ressources-lignes .ressources-ligne .barre-infos{
    display: flex;
    align-items: center;
}

.ressources-section .ressources-lignes .ressources-ligne .barre-infos .ligne-logo{
    width:100%;
    height:260px;
    background-color: #fff;
    border-radius:15px;
    display:flex;
    align-items: center;
    justify-content: center;
}

.ressources-section .ressources-lignes .ressources-ligne .barre-infos .ligne-logo img{
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
}

.ressources-section .ressources-lignes .ressources-ligne .barre-infos .nom{
    margin-bottom:0px;
    font-family: var(--font-secondary);
    font-weight:500;
    font-size:30px;
    line-height:1.3;
    padding-top:15px;
    flex:1;
    display: flex;
    align-items: center;
    text-align: center;
}

.ressources-section .ressources-lignes .ressources-ligne .barre-lien{
    width: 65px;
    height: 65px;
    border-radius: 16px;
    position:absolute;
    top:0;
    right:0;
    background-color:var(--color-yellow);
    display:flex;
    align-items: center;
    justify-content: center;
}

.ressources-section .ressources-lignes .ressources-ligne .barre-lien img{
    width: 33px;
    height: 33px;
}

.ressources-section .ressources-organismes{
    position:relative;
    width:60%;
}

.ressources-section .ressources-organismes-headline h2{
    margin-bottom:30px;
}

.ressources-section .ressources-organismes .ressources-organismes-content{
    row-gap:50px;
    column-gap:30px;
}

.ressources-section .ressources-organismes .ressources-organisme{
    position: relative;
    z-index: 2;
    width: 22%;
    background-color: #fff;
    height: 100px;
    border-radius: 16px;
    padding: 15px;
    transition: all 0.3s ease;
    justify-content: center;
    gap: 20px;

    /*border-bottom: 1px solid black;*/
    height: unset;
    border-radius: unset;
    padding: 0;
    /*padding-bottom:10px;*/
}

.ressources-section .ressources-organismes .ressources-organisme .ressources-organisme-box{
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    border-bottom: 1px solid black;
    padding-bottom: 10px;
}

.ressources-section .ressources-organismes .ressources-organisme:hover {
    transform: translateY(-2px);
}

.ressources-section .ressources-organismes .ressources-organisme .barre-infos{
    display: flex;
    align-items: center;
}

.ressources-section .ressources-organismes .ressources-organisme .barre-infos .nom{
    margin-bottom: 0px;
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
}

.ressources-section .ressources-organismes .ressources-organisme .barre-lien{
    width: 14px;
    height: 14px;
    display: flex;
}

.ressources-section .ressources-organismes .ressources-organisme .barre-lien img{
    width: 14px;
    height: 14px;
}

@media (max-width: 1600px) {
    .ressources-section .ressources-lignes .ressources-ligne{
        width: 32%;
    }

    .ressources-section .ressources-organismes .ressources-organisme{
        /*width: 32%;*/
    }
}

@media screen and (max-width: 1279px) {
    .ressources-section .ressources-headline{
        text-align: center;
    }

    .ressources-section .ressources-lignes .ressources-ligne{
        width: 49%;
    }

    .ressources-section .ressources-organismes .ressources-organisme{
        width: 30%;
    }

    .ressources-section .ressources-box {
        gap: 80px;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 992px) {
    .ressources-section .ressources-title{
        font-size:55px;
    }

    .ressources-section .ressources-title .titre-4::before{
        top: 4px;
        left: -9px;
        right: -6px;
        bottom: -1px;
    }
    .ressources-section .ressources-lignes-headline{
        align-items:center;
    }

    .ressources-section .ressources-lignes-headline h2{
        text-align: center;
    }

    .ressources-section .ressources-lignes .ressources-ligne{
        width: 100%;
    }

    .ressources-section .ressources-organismes-headline{
        align-items:center;
    }

    .ressources-section .ressources-organismes-headline h2{
        text-align: center;
    }

    .ressources-section .ressources-organismes .ressources-organisme{
        width: 45%;
    }

    .ressources-section .ressources-headline {
        text-align: center;
        width: 100%;
    }

    .ressources-section .ressources-organismes .ressources-organismes-content {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .ressources-section .ressources-title{
        font-size:50px;
    }

    .ressources-section .ressources-lignes .ressources-ligne .barre-infos .nom{
        font-size:20px;
        line-height:1.2;
    }

    .ressources-section .ressources-organismes .ressources-organisme .barre-infos .nom{
        font-size:20px;
        line-height:1.2;
    }

    .ressources-section .ressources-organismes .ressources-organisme{
        width: 100%;
    }

    .ressources-section .ressources-title .special-text {
        display: block;
    }
}



/* --- SECTION LIGNE DU TEMPS --- */
.events-section {
    background-color:var(--color-white);
}

.events-section >.container {
    max-width:100%;
    padding-left: 0;
    padding-right:0;
}

.events-section .events-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding-bottom: 45px;
    display: flex;
    align-items: center;
}

.events-section .events-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.events-section .divider {
    position:absolute;
    width:100%;
    top:110px;
    /*border-bottom: 2px dotted #8BCBD0;*/
    margin: 30px 0;
    background-image: radial-gradient(circle, #4dd0e1 3px, transparent 3px);
    background-size: 15px 3px;
    background-repeat: repeat-x;
    height: 3px;
}

.events-section .events-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.2, 0, 0.15, 1);
    will-change: transform;
    touch-action: pan-y;
    user-select: none;
    gap: 80px; /* Ajoute un decalage au visuel */
}

.events-section .events-track:hover {
    cursor:grab;
}

.events-section .events-track.drag-active {
    cursor: grabbing !important;
}

.events-section .event-item {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 200px;
    transition: transform 0.25s ease;
    user-drag: none;
    -webkit-user-drag: none;
    max-width: 398px; /* Ajoute un decalage au visuel */
    position:relative;
}

.events-section .event-item .event-year{
    border: 2px solid #FDDB8A;
    background-color: #fff;
    border-radius: 50%;
    width: 85px;
    height: 85px;
    display: flex;
    justify-content: center;
    align-items: center;
    position:absolute;
    left:-40px;
    top:100px;
    font-weight:600;
}

.events-section .event-item img {
    max-width: 398px;
    max-height:270px;
    object-fit: cover;
    height: auto;
    user-drag: none;
    -webkit-user-drag: none;
}

.events-section .event-item .event-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
    line-height: 1.2;
}

.events-section .drag-active .event-item {
    transform: scale(0.98);
}
  
.events-section .drag-active .event-item.active {
    transform: scale(1);
}

.events-section .slider-arrow-events {
    width: fit-content;
    height: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.3s;
}

.events-section .slider-arrow-events:hover {
    background: var(--color-blue);
}

.events-section .slider-arrow-events.prev-arrow-events {
    margin-right: 15px;
    display:none;
}

.events-section .slider-arrow-events.next-arrow-events {
    margin-left: 15px;
    display:none;
}

.events-section .icon-drag{
    display: flex;
    justify-content: center;
}

.events-section .icon-drag img{
    width: 160px;
    height: 80px;
}

.events-section .icon-drag-v2{
    display: flex;
    justify-content: center;
    gap:10px;
}

.events-section .icon-drag-v2 .prev-arrow-events:hover,
.events-section .icon-drag-v2 .next-arrow-events:hover{
    cursor: pointer;
}

.events-section .icon-drag-v2 .prev-arrow-events svg{
    width:30px;
    height:auto;
}

.events-section .icon-drag-v2 .hand-events{
    width:80px;
    height:auto;
}

.events-section .icon-drag-v2 .next-arrow-events svg{
    width:30px;
    height:auto;
}

@media (max-width: 992px) {
    .events-section .events-track {
        gap: 50px;
    }

    .events-section .event-item .event-year{
        top:60px;
    }

    .events-section .divider {
        top:70px;
    }
}

@media (max-width: 700px) {
    .events-section .events-track {
        gap: 40px;
    }

    .events-section .event-item .event-year{
        top:40px;
    }

    .events-section .divider {
        top:50px;
    }
}

@media (max-width: 575px) {
    .events-section .events-track {
        gap: 40px;
    }
    
    .events-section .event-item .event-year{
        top:30px;
    }

    .events-section .event-item .event-title {
        font-size: 16px;
        line-height: 1.1;
    }

    .events-section .divider {
        top:40px;
    }
}



/* --- GUIDE SECTION --- */
.guide-section{
    display:flex;
    background-color: var(--color-white);
    position:relative;
    background-image: url('/wp-content/themes/sante-reproductive/img/bg-guide.png');
    padding-top:120px;
    padding-bottom:120px;
    background-size: cover;
}

.guide-section .guide-box{
    gap:30px;
}

.guide-section .guide-headline .guide-title{
    margin-bottom:40px;
}

.guide-section .guide-headline .guide-title .special-text{
    z-index:1;
}

.guide-section .guide-headline .guide-title .special-text::after{
    left:0;
    transform: unset;
}

.guide-section .guide-content{
    gap:50px;
    width:30%;
}

.guide-section .guide-content .guide-headline{
    width:fit-content;
}

.guide-section h2{
    margin-bottom:0;
}

.guide-section .guide-elements{
    gap:15px;
    width:70%;
}

.guide-section .guide-elements .guide-element{
    position:relative;
    width: 250px;
    height:270px;
    border:1px solid #0F0F0F;
    border-radius:22px;
    padding:15px;
    padding-top: 35px;
    padding-bottom: 20px;
    transition: all 0.3s ease;
}

.guide-section .guide-elements .guide-element:hover{
    transform: translateY(-2px);
}

.guide-section .guide-elements .guide-element .barre-img.pdf{
    width:75px;
    height: auto
}

.guide-section .guide-elements .guide-element .barre-infos{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guide-section .guide-elements .guide-element .barre-infos img{
    width:75px;
    height: 75px;
}

.guide-section .guide-elements .guide-element .barre-infos .titre{
    font-family: var(--font-secondary);
    font-weight:500;
    font-size:25px;
    text-align: center;
    line-height: 1.1;
    margin-top: 10px;
    margin-bottom: 5px;
}

.guide-section .guide-elements .guide-element .barre-infos .subtitle{
    margin-bottom:10px;
}

.guide-section .guide-elements .guide-element .barre-lien{
    width: 27px;
    height: 27px;
    position:absolute;
    top: 15px;
    right:15px;
}

.guide-section .guide-elements .guide-element .barre-lien:hover{
    background-color: var(--color-blue);
    border-radius:50%;
}

.guide-section .guide-elements .guide-element .barre-lien a img{
    width: 27px;
    height: 27px;;
}

.guide-section .guide-elements .guide-element .cta-icon img{
    width:50px;
    height:50px;
}

@media (max-width: 1600px) {
    .guide-section .guide-elements .guide-element{
        width: 32%;
    }
}

@media screen and (max-width: 1279px) {
    .guide-section .guide-elements .guide-element{
        width: 49%;
    }

    .guide-section .guide-box {
        gap: 30px;
        flex-direction: column;
    }

    .guide-section .guide-content {
        gap: 50px;
        width: 100%;
    }

    .guide-section .guide-content .guide-headline {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .guide-section .guide-elements {
        gap: 15px;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .guide-section h2{
        text-align: center;
    }

    .guide-section .guide-content{
        flex-direction:column;
        align-items:center;
    }

    .guide-section .guide-content .guide-headline{
        align-items:center;
    }

    .guide-section .guide-elements .guide-element{
        width: 100%;
    }
}



/* --- VIDEO 2 (CAPSULES) SECTION --- */
.video2-section{
    background-color: var(--color-white);
    position:relative;
}

/*.video2-section #main-video-player {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    max-height:700px;
    background: #000;
    border-radius: 43px;
    margin-bottom: 20px;
}

.video2-section #main-video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}*/

.video2-section .video2-player .video2-container{
    width: 100%;
    height: 100%;
    border-radius: 12px;
    max-width: 1364px;
    margin: auto;
}

.video2-section .video2-player .video2-container iframe{
    width: 100%;
    height: 700px;
    border-radius: 12px;
}

.video2-section #thumbnail-container {
    display: grid;
    gap: 1rem;
    margin-top:30px;
    margin-bottom:40px;
    grid-template-columns: repeat(5, 1fr);
    max-width: 1364px;
}

.video2-section .thumbnail-item {
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    border: 2px solid transparent;
    padding: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video2-section .thumbnail-item:hover {
    transform: scale(1.05);
}

.video2-section .thumbnail-item.active {
    border-color: #F0895D;
    border-radius: 6px;
}

.video2-section .thumbnail-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 11px;
    display: block;
}

.video2-section .thumbnail-title {
    font-family: var(--font-secondary);
    font-weight: 600;
    margin-top: 15px;
    text-align: center;
    width: 100%;
    overflow: hidden; 
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 218px;
}

.video2-section .video2-bouton .btn{
    border-color:#101822;
    align-items: center;
}

.video2-section .video2-bouton .btn::after{
    width:21px;
    height:21px;
    background-image: url('/wp-content/themes/sante-reproductive/img/bouton-plus.svg');
}

@media (max-width: 1600px) {
    .video2-section .video2-player .video2-container iframe{
        height:565px;
    }
}

@media (max-width: 1279px) {
    .video2-section #thumbnail-container {
        display:flex;
        flex-wrap:wrap;
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .video2-section .video2-player .video2-container iframe{
        height:465px;
    }
}


@media (max-width: 575px) {
    .video2-section .video2-player .video2-container iframe{
        height:365px;
    }
}

/*@media (min-width: 640px) {
    .video2-section #thumbnail-container {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 768px) {
    .video2-section #thumbnail-container {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1024px) {
    .video2-section #thumbnail-container {
        grid-template-columns: repeat(5, 1fr);
    }
}*/



/* --- THEATRE SECTION --- */
.theatre-section{
    background-color: var(--color-white);
    position:relative;
}

.theatre-section .theatre-headline{
    width:100%;
    margin-bottom:70px;
}

.theatre-section .theatre-headline h2{
    font-size:125px;
    font-weight:400;
    margin-bottom:0;
}

.theatre-section .title-5{
    font-style: italic;
    font-weight: 500;
    display: inline-block;
    position: relative;
    z-index: 0;
}

.theatre-section .title-5::before{
    content: "";
    position: absolute;
    background-color: var(--color-orange);
    border-radius: 6px;
    top: 5px;
    left: -11px;
    right: -8px;
    bottom: -1px;
    z-index: -1;
}

.theatre-section .theatre-lignes-headline h2{
    margin-bottom:20px;
}

.theatre-section .theatre-texte{
    padding-right:120px;
}

.theatre-section .theatre-texte a{
    font-weight:bold;
}

.theatre-section .theatre-boutons{
    gap:30px;
}

.theatre-section .theatre-boutons a{
    display:flex;
    align-items: center;
    gap:15px;
    transition: transform 0.2s ease-in-out;
}

.theatre-section .theatre-boutons a:hover{
    transform: translateY(-2px);
}

.theatre-section .theatre-boutons a .icon{
    width:45px;
    height:auto;
}

.theatre-section .theatre-boutons a.livre .icon{
    width:39px;
    height:auto;
}

.theatre-section .theatre-boutons a .nom{
    font-size:30px;
    font-weight:500;
    font-family: var(--font-secondary);
}

.theatre-section .theatre-boutons a .link{
    width:35px;
    height:auto;
}

.theatre-section .theatre-videos{
    gap:20px;
}

.theatre-section .theatre-videos .video1-player .video1-container{
    width:100%;
}

.theatre-section .theatre-videos .video1-player .video1-container iframe{
    width:100%;
    height:450px;
    border-radius:30px;
}

.theatre-section .theatre-videos .video2-player .video2-container{
    width:100%;
}

.theatre-section .theatre-videos .video2-player .video2-container iframe{
    width:100%;
    height:450px;
    border-radius:30px;
}

@media (max-width: 1600px) {
    .theatre-section .theatre-headline h2{
        font-size:100px;
    }
}

@media (max-width: 1279px) {
    .theatre-section .theatre-headline h2{
        font-size:80px;
        text-align: center;
    }

    .theatre-section .theatre-lignes-headline{
       align-items: center;
    }

    .theatre-section .theatre-infos{
        flex-direction: column;
    }

    .theatre-section .theatre-infos .theatre-texte{
        padding-right:0;
        text-align: center;
    }

    .theatre-section .theatre-infos .theatre-boutons{
        gap:15px;
        margin-bottom:30px;
    }
}

@media (max-width: 992px) {
    .theatre-section .theatre-headline h2{
        font-size:50px;
    }

    .theatre-section .theatre-videos{
        flex-direction: column;
    }

    .theatre-section .theatre-videos .video1-player .video1-container iframe{
        height:350px;
    }

    .theatre-section .theatre-videos .video2-player .video2-container iframe{
        height:350px;
    }
}

@media (max-width: 575px) {
    .theatre-section .theatre-boutons a{
        gap:5px;
    }

    .theatre-section .theatre-boutons a.musique .icon{
        width:35px;
        height:auto;
    }

    .theatre-section .theatre-boutons a.livre .icon{
        width:29px;
        height:auto;
    }
    
    .theatre-section .theatre-boutons a .nom{
        font-size:20px;
    }

    .theatre-section .theatre-boutons a .link{
        width:30px;
        height:auto;
    }
}



/* --- NORMAL (TEXTE + IMAGE) SECTION --- */
.normal-section{
    position:relative;
    z-index: 1;
}

.normal-section .normal-box{
    gap:130px;
}

.normal-section .normal-box .normal-content{
    width:40%;
}

.normal-section .normal-box .normal-content h2{
    margin-bottom:20px;
}

.normal-section .normal-box .normal-content .texte .circle{
    display:flex;
    align-items: center;
    gap:10px;
    margin-bottom:20px;
}

.normal-section .normal-box .normal-content .texte .circle::before{
    content:'';
    display:block;
    width:47px;
    height:47px;
    border:1px solid #707070;
    border-radius:50%;
}

.normal-section .normal-box .normal-content .texte .circle.circle-2::before{
    background-color: #EAEAEA;
}

.normal-section .normal-box .normal-content .texte .circle .circle-content{
    display: flex;
    flex-direction: column;
    align-items: start;
    flex: 1;
}

.normal-section .normal-box .normal-content .texte .circle .circle-content br{
    display: none;
}
.normal-section .normal-box .normal-content .texte .circle .circle-content .title{
    font-weight:900;
    text-transform: uppercase;
}

.normal-section .normal-box .normal-content .button{
    margin-top:20px;
}

.normal-section .normal-box .normal-image{
    width:60%;
}

.normal-section .normal-box .normal-image .image img{
    border-radius:20px;
}

@media (max-width: 1600px) {
    .normal-section .normal-box{
        gap:50px;
    }
}

@media (max-width: 1300px) {
    .normal-section .normal-box .normal-image{
        width:50%;
    }
}

@media (max-width: 992px) {
    .normal-section .normal-box{
        gap:40px;
        flex-direction: column!important;
    }

    .normal-section .normal-box .normal-content h2{
        text-align:center;
    }

    .normal-section .normal-box .normal-content{
        align-items: center;
        width:100%;
    }

    .normal-section .normal-box .normal-content .texte{
        text-align: center;
    }

    .normal-section .normal-box .normal-content .texte .circle .texte{
        text-align: start;
    }

    .normal-section .normal-box .normal-image .copyright{
        text-align: center;
    }

    .normal-section .normal-box .normal-image{
        width:100%;
    }
}

@media (max-width: 575px) {

    .normal-section .normal-box .normal-content h2{
        font-size:30px;
    }
}



/* --- REGULAR (TEXTE + BOUTONS) SECTION --- */
.regular-section{
    position:relative;
    z-index: 1;
}

.regular-section .regular-box{
    width:100%;
    max-width:1000px;
    margin:auto;
}

.regular-section .regular-box .regular-content{
    align-items: center;
    width:100%;
}

.regular-section .regular-box .regular-content h2{
    margin-bottom:5px;
    text-align:center;
}

.regular-section .regular-box .regular-content .texte{
    text-align: center;
    width:100%;
    margin-top:30px;
}

.regular-section .regular-box .regular-content .buttons{
    margin-top:20px;
    gap:20px;
}

@media (max-width: 575px) {

    .regular-section .regular-box .regular-content h2{
        font-size:30px;
    }
}


/* Decouvrir equipe section */
.decouvrir-equipe-section{
    max-width: 1000px;
    margin:auto;
    text-align: center;
}

.decouvrir-equipe-section .texte{
    margin-top:30px;
}

.decouvrir-equipe-section .equipes{
    gap: 15px;
    margin-bottom:50px;
}

.decouvrir-equipe-section .equipes .equipe img{
    max-width: 128px;
    height: auto;
    background-color: #C7F0ED;
    border-radius: 50%;
    padding: 5px;
}

.decouvrir-equipe-section .equipes .equipe .nom{
    font-size:22px;
    font-weight:500;
}

.decouvrir-equipe-section .texte2{
    background-color: var(--color-light-teal);
    padding: 25px;
    font-size: 15px;
    color: #000;
    border-radius: 20px;
}

@media (max-width: 1100px) {

    .decouvrir-equipe-section .equipes {
        flex-direction: column;
    }
}

/*recherche-section */
.recherche-section .boxes {
    gap:20px;
}

.recherche-section .subtitle {
    text-align: center;
}

.recherche-section .boxes .box {
    border: 1px solid #E87F37;
    border-radius: 24px;
    padding: 20px;
}

.recherche-section .boxes .box .box-header{
    gap:10px;
    align-items: center;
    margin-bottom:20px;
}

.recherche-section .boxes .box .box-header .titre-box{
    font-size:30px;
    font-weight:500;
}

.recherche-section .boxes .box img {
    width:41px;
    height:auto;
}

@media screen and (max-width: 992px) {
    .recherche-section .boxes {
        flex-direction: column;
    }

    .recherche-section .boxes .box .box-header {
        justify-content: center;
    }

    .recherche-section .boxes .box .texte-box {
        text-align: center;
    }
}


/*equipe4-section */
.equipe4-section {
    background-color: white;
    background-image: url('/wp-content/themes/sante-reproductive/img/bg-collab.png');
    background-size: cover;
}

.equipe4-section  .equipe2-content{
    flex-direction: column;
    align-items: flex-start;
}

.equipe4-section  .equipe2-content .special-text{
    display:unset;
}

.equipe4-section .equipe2-content .special-text::after{
    z-index:1
}

.equipe4-section .equipe2-description{
    width:50%;
}

.equipe4-section .equipe2-niveaux{
    width:100%;
    gap: 50px;
    display: flex;
    flex-direction: column;
    margin-bottom:100px;
}

.equipe4-section .equipe2-niveaux .niveau-titre{
    font-size:20px;
    width:300px;
}

.equipe4-section .equipe2-niveaux .niveau{
    align-items: flex-start;
}

.equipe4-section .equipe2-membres .equipe2-membre{
    width:200px;
}

.equipe4-section .equipe2-membres .equipe2-membre .photo{
    width: 122px;
    height: 122px;
    background-color: #C7F0ED;
    border-radius: 50%;
    padding: 5px;

    object-position: center;
    object-fit: cover;
}

.equipe4-section .equipe2-membres .equipe2-membre .barre-infos{
    position: relative;
    width: 100%;
    flex-direction: column;
    background-color: transparent;
    bottom:0;
}

.equipe4-section .equipe2-membres .equipe2-membre .barre-texte{
    text-align: center;
}

.equipe4-section .equipe2-membres .equipe2-membre .barre-texte .nom{

}

.equipe4-section .equipe2-membres .equipe2-membre .barre-texte .nom .first-word {
  display: block; /* forces line break after first word */
}

.equipe4-section .equipe2-membres .equipe2-membre .barre-lien{
    border:1px solid black;
    font-size:15px;
    border-radius:50px;
    width: unset!important;
    height:unset!important;
    margin-top:15px;
}

.equipe4-section .equipe2-membres .equipe2-membre .barre-infos .barre-lien:hover {
    background-color: var(--color-light-teal);
    border-radius: 50px;
}

.equipe4-section .equipe2-membres .equipe2-membre .barre-lien .team-tag-icon{
    display:flex;
    gap:5px;
    align-items: center;
    padding:8px;
}

.equipe4-section .equipe2-membres .equipe2-membre .barre-lien img{
    width:15px;
    height:15px;
}

.equipe4-section #design-equipe2{
    display:none;
}

.equipe4-section .equipe2-texte-bouton{
    font-size: 45px;
    font-weight: 500;
    text-align: center;
    line-height:1;
}

.equipe4-section .equipe2-texte-bouton .text-primary{
    display:block;
}

.equipe4-section .teamModal {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
}

.equipe4-section .team-modal-content {
    max-width: 1450px;
    background-color: transparent;
    display: flex;
    gap: 100px;
    box-shadow: unset;
    align-items: center;
}

.equipe4-section .team-modal-content .team-modal-perso {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 60px;
    border: 1px solid #0F0F0F;
    border-radius: 20px;
    justify-content: center;
}


.equipe4-section .team-modal-content .team-modal-bio {
    padding: 50px 0;
}

.equipe4-section .team-modal-content #teamModalPhoto {
    width:222px;
    height:222px;
    background-color: #C7F0ED;
    border-radius: 50%;
    padding: 10px;

    object-position: center;
    object-fit: cover;
}

.equipe4-section .team-modal-content #teamModalTitle {
    font-size:40px;
    font-weight:500;
    text-align: center;
    margin-top:20px;
    margin-bottom:10px;
    color:#0F0F0F;
}

.equipe4-section .team-modal-content #teamModalText {
    font-size:18px;
    font-weight:400;
    color:#000;
    font-family: var(--font-secondary);
}

.equipe4-section .team-modal-content #teamModalLiens {
    display: flex;
    gap: 10px;
    margin-top:30px;
}

.equipe4-section .team-modal-close-button{
    background-image: url('/wp-content/themes/sante-reproductive/img/popup-x.svg');
    width: 51px;
    height: 51px;
    top:-50px;
}

@media screen and (max-width: 1279px) {

    .equipe4-section .teamModal {
        overflow: scroll;
    }

    .equipe4-section .team-modal-content {
        max-width: 100%;
        background-color: transparent;
        display: flex;
        gap: 0px;
        box-shadow: unset;
        align-items: center;
        flex-direction: column;
        padding: 0;
        text-align: center;
        padding-top: 93px;
        /* overflow: scroll; */
    }

    .equipe4-section .team-modal-close-button {
        width: 51px;
        height: 51px;
        top: 20px;
    }
}

@media screen and (max-width: 992px) {
    .equipe4-section .equipe2-content {
        align-items: center;
    }

    .equipe4-section .equipe2-description {
        width: 100%;
        margin-bottom: 50px !important;
    }

    .equipe4-section .equipe2-niveaux .niveau {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .equipe2-section .equipe2-membres {
        justify-content: center;
    }

    .equipe4-section .equipe2-niveaux .niveau-titre {
        font-size: 30px;
        width: 100%;
        margin-bottom: 20px;
    }

    .equipe4-section .equipe2-content .special-text {
        display: block;
    }

    .special-text::after {
        bottom: -39px;
        width: 209px;
        height: 54px;
        background-size: 209px 54px;
    }
}


/* Phases */
.phases-section{

}

.phases-section >.container{
    display:flex;
}

.phases-section .regular-content{
    width: 30%;
    align-items: flex-start;
}

.phases-section .icone-box{
    width: 70%;
    margin-top:0;
}

.phases-section .icone-box .icone-bloc {
    max-width: 45%;
    gap:5px;
    border-bottom: unset;
}

.phases-section .icone-bloc img {
    width: auto;
    height: 88px;
}

.phases-section .icone-box p {
    margin-bottom:20px;
}

.phases-section .icone-bloc .titre p {
    font-weight: 500;
    font-size: 25px;
    line-height: 1.1;
}

.phases-section .icone-bloc .subtitle p {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.1;
}

.phases-section .icone-bloc .texte p {
    font-weight: 400;
    font-size: 15px;
    line-height: 1.1;
}

@media screen and (max-width: 992px) {
    .phases-section >.container {
        display: flex;
        flex-direction: column;
        /* align-items: center; */
    }

    .phases-section .regular-content {
        width: 100%;
        align-items: center;
        text-align: center;
        margin-bottom: 50px;
    }

    .phases-section .icone-box {
        width: 100%;
        margin-top: 0;
    }

    .phases-section .icone-box .icone-bloc {
        max-width: 45%;
        gap: 5px;
        border-bottom: unset;
        text-align: center;
    }
}

@media screen and (max-width: 776px) {
    .phases-section .icone-box .icone-bloc {
        max-width: 100%;
        gap: 5px;
        border-bottom: unset;
        text-align: center;
    }
}



/* Articles evenements */
.articles-events-section{
    background-image: none!important;
}

.articles-events-section .articles-box{
    align-items: flex-start;
}

.articles-events-section .articles-flex {
    column-gap: 50px;
    row-gap: 20px;
}

.articles-events-section .article-link {
    flex-direction: row;
}

.articles-events-section .article-item {
    padding:0;
    border: none;
}

.articles-events-section .article-image {
    min-width: 122px;
    height: 122px;
    margin:0;
    margin-right:10px;
}

.articles-events-section .article-content {
    flex:1;
}

.articles-events-section .article-title {
    padding: 0;
    justify-content: flex-start;
    text-align: left;
    align-items: flex-start;
}

.articles-events-section .article-excerpt p {
    margin-bottom:0;
}

.articles-events-section .article-button {
    margin-left:10px;
}

.articles-events-section .articles-bouton{
    justify-content: center;
    margin-top: 100px;
}


.articles-events-section .article-item {
    flex: 0 0 calc(48% - 20px);
    max-width: calc(48% - 20px);
}


@media screen and (max-width: 992px) {
    .articles-events-section .article-item {
        flex: 0 0 calc(100% - 20px);
        max-width: calc(100% - 20px);
    }

    .articles-events-section .articles-bouton {
        justify-content: center;
        margin-top: 100px;
        margin-bottom:100px;
    }
}

@media screen and (max-width: 575px) {
    .articles-events-section .articles-flex {
        column-gap: 100px;
        row-gap: 50px;
    }

    .articles-events-section .article-link {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .articles-events-section .article-title {
        padding: 0;
        justify-content: center;
        text-align: center;
        align-items: center;
    }

    .partners-projet-section .regular-box .regular-content .partners {
        gap: 30px;
        flex-direction: column;
    }
}


/* Partenaires projet */
.partners-projet-section{
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
}

.partners-projet-section .regular-box {
    margin-bottom: -30px;
}

.partners-projet-section .regular-box .regular-content{
    margin-top: -108px;
    position: relative;
}

.partners-projet-section .regular-box .regular-content h2 {
    font-size:15px;
    font-weight:500;
    text-transform: uppercase;
    width:200px;
    background-color:#fff;
    padding:15px;
}

.partners-projet-section .regular-box .regular-content .partners{
    gap:30px;
}