.desktop-nav .uk-navbar-left img, .mobile-nav .uk-navbar-left img{
	opacity: 0;
	transition: all .3s ease-out;
}

.desktop-nav .uk-sticky-below .uk-navbar-left img, .mobile-nav .uk-sticky-below .uk-navbar-left img{
	opacity: 1;
}

.herobanner-logo{
    z-index: 12;
    position: relative;
    height: 7rem;
    width: auto;
}

.banner-title{
    background-color: var(--green);
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    overflow: hidden;
}

.banner-title svg{
    overflow:visible;
}

.banner-size{
    min-height: 25vh;
}

.banner-size h1{
    font-size: 4rem;
    line-height: 1.2;
    text-transform: uppercase;
    z-index: 12;
    position: relative;
}



.container-cards{
    margin-top: 2rem;
    padding: 2rem 0;
    border-top: solid 1px var(--yellow);
}

.liste-puce-verte li{
    font-family: var(--font-secondary);
  } 

  @media screen and (max-width:960px) {
    .banner-size h1{
        font-size: 2rem;
        line-height: 1.2;
    }

    .banner-title .uk-position-absolute{
        bottom: 1rem;
        top: initial;
    }

    .banner-size{
        min-height: 25vh;
    }

    .banner-title svg{
        width: 16rem;
    }

    .herobanner-logo{
        height: 4rem;
        margin-top: 0;
    }

}
/*---etablissements--*/

.etablissements h2{
    font-size:2.25rem;
    font-family: var(--font-primary);
    color: var(--dark-green);
    font-weight: 500;
    margin-bottom: 2rem;
}

@media screen and (max-width:960px) {
    .etablissements h2{
        font-size:1.5rem;
    }
}

.etablissements .img-etablissement img{
    width: 100%;
    height: 100%;
}

.etablissements .img-etablissement {
    position: relative;
    overflow: hidden;
}

.etablissements .overlay {
    position: absolute;
    bottom: -100%; /* Hors de la vue au départ */
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1rem;
    background: #00303C;
    background: linear-gradient(180deg, rgba(0, 48, 60, 0) 50%, rgba(0, 48, 60, 1) 100%);
    color: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    opacity: 0; /* On cache l'élément au début */
    transition: bottom 0.4s ease-out, opacity 0.4s ease-out; /* Effet de glissement avec la transition */
}

.etablissements .overlay .icon {
    margin-right: 8px;
}

.etablissements .img-etablissement .overlay span{
    line-height: 1;
}

.etablissements .img-etablissement:hover .overlay {
    bottom: 0; /* On fait glisser l'overlay vers le haut */
    opacity: 1; /* On rend l'overlay visible */
}



.etablissements .uk-card-body{
    padding: 0;
}

.etablissements .uk-card h3{
    font-family: var(--font-secondary);
    color: var(--dark-green);
    font-size: 1.5rem;
    font-weight: 700;
    line-height:1.5;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.min-height{
    min-height: 4.5rem;
}

@media screen and (max-width:960px){
    .etablissements .uk-card h3{
        min-height: initial;
    }
}

.etablissements p{
    margin: 0;
    font-family: var(--font-secondary);
    color: var(--green);
    font-size: 0.875rem;
}

.etablissements .adresse, .etablissements .internet{
    margin: 0.25rem 0;
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 1rem;
    
}

.etablissements .adresse a,.etablissements .internet a{
    color: var(--green);
    margin-left: 0.25rem;
    text-transform: initial;
    text-align: start;
}

.etablissements .second-adresse{
    padding-left: 1rem;
}

.uk-card-body {
    position: relative; /* Pour positionner l'élément sur le dessus */
}

.site-link {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 48, 60, 0) 50%, rgba(0, 48, 60, 1) 100%);
    opacity: 0; /* Commence invisible */
    transform: translateY(100%); /* Commence en bas */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Transition douce */
    padding: 10px;
    text-align: center;
}

.site-link a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-link a img {
    margin-right: 8px; /* Pour espacer l'icône et le texte */
}

/* Au survol de l'élément parent */
.uk-card-body:hover .site-link {
    opacity: 1; /* Rendre visible */
    transform: translateY(0); /* Remonter le texte */
}


/*----chiffres-cle----*/

.chiffres-cle {
    padding-top: 0;
    padding-bottom: 0;
}

.chiffres-cle .uk-container-expand-right .background{
    background-color: var(--yellow);
    margin-right:-40px ;
    padding: 5rem;
}


.chiffres-cle .citation h2{
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 500;
    font-family: var(--font-primary);
    margin-bottom: 2rem;
    position: relative;
}

.chiffres-cle .citation h2::before{
    content:'';
    background-image:url('https://ghtsante41.fr/wp-content/uploads/2025/04/quote.svg');
    width: 49px;
    height: 35px;
    display: block;
    position: absolute;
    top: -2rem;
    left: -3rem;
}


.chiffres-cle .illu-chiffres-cle{
    top: 3rem;
    right: 0;
}

.chiffres-cle .illu-chiffres-cle svg{
    overflow: visible;
}

.item-chiffre{
    padding: 2rem;
    z-index: 12;
    position: relative;
    border-radius: var(--radius-s);
}

.item-chiffre p{
    margin-bottom: 0;
    margin-top: 1rem;
    font-size: 1.25rem;
    font-family: var(--font-secondary);
    font-weight: 500;
    margin-top: 0;
}

.item-chiffre .number{
    font-size: 3rem;
    font-family: var(--font-primary);
    font-weight: 500;
    line-height: 1;
    margin: 0;
}

.uk-grid > div:nth-child(1) .item-chiffre,
.uk-grid > div:nth-child(6) .item-chiffre {
    background: var(--dark-green);
    color: var(--white);
}

.uk-grid > div:nth-child(2) .item-chiffre,
.uk-grid > div:nth-child(4) .item-chiffre {
    background: var(--green);
    color: var(--white);
}

.uk-grid > div:nth-child(3) .item-chiffre,
.uk-grid > div:nth-child(5) .item-chiffre {
    background: var(--light-green);
    color: var(--dark-green);
}

.uk-grid > div:nth-child(1) .item-chiffre:after,
.uk-grid > div:nth-child(6) .item-chiffre:after {
    content: '';
    position: absolute;
    width: 39px;
    height: 37px;
    bottom: -1.5rem;
    right: 1rem;
    background: url('https://ghtsante41.fr/wp-content/uploads/2025/04/triangle-dark-green.svg');
    background-size: contain;
}


.uk-grid > div:nth-child(2) .item-chiffre:after,
.uk-grid > div:nth-child(4) .item-chiffre:after {
    content: '';
    position: absolute;
    width: 38px;
    height: 37px;
    bottom: -1.5rem;
    left: 1rem;
    background: url('https://ghtsante41.fr/wp-content/uploads/2025/04/triangle-green.svg');
    background-size: contain;
}

.uk-grid > div:nth-child(3) .item-chiffre:after,
.uk-grid > div:nth-child(5) .item-chiffre:after {
    content: '';
    position: absolute;
    width: 39px;
    height: 37px;
    bottom: -1.5rem;
    right: 1.5rem;
    background: url('https://ghtsante41.fr/wp-content/uploads/2025/04/triangle-light-green.svg');
    background-size: contain;
}

.uk-grid > div:nth-child(1) .item-chiffre:before{
    content: '';
    position: absolute;
    width: 5rem;
    height: 5rem;
    top: -2.5rem;
    left: 1rem;
    background: url('https://ghtsante41.fr/wp-content/uploads/2025/04/icon-chiffre-cle-1.svg');
    background-size: contain;
}
.uk-grid > div:nth-child(2) .item-chiffre:before{
    content: '';
    position: absolute;
    width: 5rem;
    height: 5rem;
    top: -2.5rem;
    left: 1rem;
    background: url('https://ghtsante41.fr/wp-content/uploads/2025/04/icon-chiffre-cle-2.svg');
    background-size: contain;
}
.uk-grid > div:nth-child(3) .item-chiffre:before{
    content: '';
    position: absolute;
    width: 5rem;
    height: 5rem;
    top: -2.5rem;
    left: 1rem;
    background: url('https://ghtsante41.fr/wp-content/uploads/2025/04/icon-chiffre-cle-3.svg');
    background-size: contain;
}
.uk-grid > div:nth-child(4) .item-chiffre:before{
    content: '';
    position: absolute;
    width: 5rem;
    height: 5rem;
    top: -2.5rem;
    left: 1rem;
    background: url('https://ghtsante41.fr/wp-content/uploads/2025/04/journee-icon.svg');
    background-size: contain;
}
.uk-grid > div:nth-child(5) .item-chiffre:before{
    content: '';
    position: absolute;
    width: 5rem;
    height: 5rem;
    top: -2.5rem;
    left: 1rem;
    background: url('https://ghtsante41.fr/wp-content/uploads/2025/04/professionnels-icon.svg');
    background-size: contain;
}
.uk-grid > div:nth-child(6) .item-chiffre:before{
    content: '';
    position: absolute;
    width: 5rem;
    height: 5rem;
    top: -2.5rem;
    left: 1rem;
    background: url('https://ghtsante41.fr/wp-content/uploads/2025/04/budget-icon.svg');
    background-size: contain;
}

@media screen and (max-width:960px) {
    .chiffres-cle{
        background-color: var(--yellow);
    }

    .chiffres-cle .uk-container-expand-right .background{
        margin-right:initial ;
        padding: 1.5rem;
    }

    .item-chiffre p{
        font-size: 1rem;
    }

    .item-chiffre .number{
        font-size: 2rem;
    }
    
    .uk-grid > div .item-chiffre:before{
        width: 3rem!important;
        height: 3rem!important;
        top: -1rem!important;
    }

    .uk-switcher .width-fix{
        max-width: calc(100vw - 40px);
    }

    .uk-tab::before{
        display: none;
    }
}


/*-----Instances------*/

.instances{
    padding-bottom: 0;
}

.instances h2{
    font-weight: 500;
    font-size:2rem;
}

.instances .uk-tab>li>a{
    text-transform: initial;
    color: var(--dark-green);
    font-size: 1rem;
    font-family: var(--font-primary);
}

.instances .uk-tab>.uk-active>a{
    color: var(--green);
    border-color: var(--green);
    border-right-width: 2px;
}

.instances h3{
    margin-top: 1.5rem;
}


.container-instance ul li{
    margin-top:0.25rem;
    color: var(--dark-green);
    font-size: 1rem;
    font-family: var(--font-secondary);
  } 
  
  .container-instance ul {
    list-style: none;
    padding-left: 0;
  }
  
  .container-instance ul li {
    position: relative;
    padding-left: 1rem;
  }
  
  .container-instance ul li::before {
    content: ""; /* Puces Unicode ou caractères spéciaux */
    background-color: var(--yellow)  ; /* Couleur différente du texte */
    position: absolute;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50px;
    display: inline-block;
    margin-left: 0;
    top: 8px;
  }
  