/*!
 * Custom css - Version - 1.1.1
 * Copyright (c) 2026 Webstudio <info@astrolab.com> and another company

 * L’autorisation est accordée à toute personne qui en obtient une copie de ce style.
 * Il est strictement interdit de publier(vendre) sans l'autorisation préalable des auteurs.
 * Des spécialistes sont à l'origine des documents fournis.
*/

/* Section hero */
#hero {
    height: 37.7vh;
    min-height: 377px;
    position: relative;
}

#hero .fitparallax-img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#hero .content {
    position: relative;
    display: flex;
    justify-content: end;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

#hero .content h1,
#hero .content h1 span {
    font-weight: 800 !important;
    font-size: 70px;
    color: var(--light);
}

/* Gallery */

.fit-card {
    background-color: #fff !important;
    border: none !important;
    border-radius: 0px !important;
    overflow: hidden;
    position: relative;
    transition: transform .3s ease;
}

.fit-card .fit-card-image {
    --ratio: 1 / 1;
    width: 100%;
    aspect-ratio: var(--ratio);
    overflow: hidden;
    background: transparent;
    padding: 0px;
    position: relative;
    transition: transform .3s ease;
}

.fit-card .fit-card-image.fit-xl {
    --ratio: auto;
}

.fit-card .fit-card-image.fit-sm {
    --ratio: 16/9;
}

.fit-card .fit-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: #ffffff;
    transition: transform .3s ease;
}

.fit-card .content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    z-index: 1;
    display: flex;
    justify-content: end;
    align-items: start;
    flex-direction: column;
    background: #646464;
    background: linear-gradient(180deg, rgba(100, 100, 100, 0) 0%, rgba(25, 47, 42, 1) 100%);
}

.fit-card .content h3 {
    font-size: 25px;
}

.fit-card .content .rating {
    font-size: 10px;
}

.fit-card.fit-xl {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fit-card.fit-xl .fit-card-image {
    height: 100%;
    aspect-ratio: auto !important;
}

.fit-card.fit-xl .fit-card-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}