.titre{
    color: #FFFFFF!important;
}
.size-image-famille{
    width: 410px !important;
}
/*.size-image-projet{*/
/*    background-repeat: no-repeat;*/
/*    background-size: cover;*/
/*    width: 200px !important;*/
/*    height: 150px !important;*/
/*}*/
/*.header-famille{*/
/*    position: relative;*/
/*    bottom: 10px;*/
/*    top: -100px;*/
/*    min-height: 150px;*/
/*    max-height: 150px;*/
/*    padding: 30px;*/
/*}*/
.header-famille{
    position: relative;
    bottom: 10px;
    top: -60px;
    width: 200px !important;
    height: 150px !important;
    overflow: hidden;
    display: block;
}
.size-image-projet{
    aspect-ratio: inherit;
    position: relative;
    top: -65%;
    margin-top: 50%;
    max-width: 100%;
    width: 100%;
    height: auto;
}

/* Carte */
.famille-card {
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.famille-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

/* Wrapper image avec ratio fixe */
.famille-img-wrapper {
    aspect-ratio: 4 / 3; /* parfait pour réalisations */
    overflow: hidden;
    background-color: #f5f5f5;
}

/* Image */
.famille-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* MAGIQUE */
    transition: transform .4s ease;
}

.famille-card:hover .famille-img {
    transform: scale(1.05);
}

/* Texte */
.card-title {
    margin-bottom: .5rem;
}

.card-text {
    line-height: 1.4;
}

/*--------------------------------------------------------------
# card
--------------------------------------------------------------*/
.fond_familles{
    background-image: linear-gradient(160deg, rgba(95, 49, 2, 0.85), rgba(255, 255, 255, 0.85)), url("/img/fond/bg-acc-famille.jpg");
    background-repeat: no-repeat;
    color: whitesmoke;
    background-size: 100%;
    background-attachment: fixed;
}
.fond_familles h2 {
    font-size: 3rem;
    font-weight: 700;
}
.fond_card_famille{
    margin-top: 80px;
    background-image: linear-gradient(160deg, rgba(87,52,3,0.72), rgba(201,137,74,0.72)), url("/img/fond/bg-acc-famille.jpg");
    background-repeat: no-repeat;
    color: whitesmoke;
    background-size: cover;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border: none !important;
    border-radius: 10px;
}
.fond_card_famille:hover{
    -webkit-box-shadow: 0 20px 40px rgba(72,78,85,.6);
    box-shadow: 0 20px 40px rgba(72,78,85,.6);
    -webkit-transform: translateY(-15px);
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -o-transform: translateY(-15px);
    transform: translateY(-15px);
    border: none !important;
}

.body-famille{
    min-height: 150px;
    max-height: 1500px;
    padding: 15px;
}
.footer-famille{
    min-height: 60px;
    max-height: 60px;
    padding: 10px;
}
.title-descriptif-famille{
    background: linear-gradient(120deg,#fad06a 0%,#ff8603 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #FFFFFF !important;
    text-transform: uppercase;
}
.text-descriptif-famille{
    color: #ffffff !important;
}
.image-famille{
    width: 250px;
}
.mt-famille{
    margin-top: 100px;
    margin-bottom: 100px;
}
.haut_card_famille{
    position: relative;
    bottom: 10px;
    top: -60px;
    max-width: 200px;
    max-height: 300px;
}

.card-center{
    justify-content: center;
}
.card-family{
    width:15rem !important;
    height:15rem !important;
    border-radius: 15px !important;
}
.card-family:hover{
    background-image: linear-gradient(160deg, rgba(0, 1, 13,1), rgb(115, 62, 2)) !important;
    background-repeat: no-repeat;
    background-size: cover;
    border :0;
    border-radius: 15px !important;
}
.en_savoir_plus{
    -moz-border-radius:75px;
    -webkit-border-radius:75px;
    border-radius:75px;
    display:flex;
    align-items:center;
}
.btn.btn-famille {
    background-image: linear-gradient(160deg, rgb(181, 181, 181), rgb(255, 255, 255)) !important;
    color: #000;
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.15);
}
.btn.btn-famille:hover {
    background-image: linear-gradient(160deg, rgb(181, 181, 181), rgb(255, 255, 255)) !important;
    color: #000;
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.15);
}
.card-footer{
    border-top: none !important;
    background: none !important;
}
.btn_savoir_plus{
    position: relative;
    left :20px;
    top:55px;
}
.rating{
    color: #ffae00;
}
