/*!
 * 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.
*/

/* General */
.hover-lift {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.hover-overlay {
    position: relative;
    overflow: hidden;
}

.hover-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hover-overlay:hover::after {
    opacity: 1;
}

.hover-border {
  position: relative;
}

.hover-border::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

.hover-border:hover::after {
  width: 100%;
}

.interactive {
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.interactive:hover,
.interactive:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .interactive {
    transition: none;
  }
}

/* Section hero */
.hero {
    height: 37.7vh;
    min-height: 377px;
    position: relative;
    overflow: hidden;
    background-color: var(--tertiary);
}

.hero .fitparallax-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transform: scale(1);
    animation: heroZoom 20s ease-in-out forwards;
}

@keyframes heroZoom {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.15) translate(-2%, -2%);
    }
}

.hero .content {
    position: relative;
    display: flex;
    justify-content: end;
    align-items: center;
    flex-direction: column;
    text-align: center;
    z-index: 2;
}

.hero .content.start {
    align-items: start;
    text-align: start;
}

.hero.center .content {
    justify-content: center !important;
}

.hero .content h1,
.hero .content h1 span {
    font-weight: 700 !important;
    font-size: 80px;
    color: var(--light);
}

/* General */
.number {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
    font-weight: 700;
    background: var(--primary-variant);
}

/* Card */

.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;
}

/* Compétition */

/* Section Program */
.fit-program-item {
    transition: all 0.4s ease 0.05s;
    background-color: var(--light);
}

.fit-program-item:hover {
    transform: translateY(-6px);
    background-color: #c9ea03;
}

.fit-program-item h3 {
    font-weight: 700;
    font-size: 22px;
    color: #000;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fit-program-item p {
    font-weight: 400;
    color: #000;
}

/* Cta */
/* Cta */
.cta {
    height: 300px;
    overflow: hidden;
}

.cta>div {
    height: 100%;
}

.cta-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: ctaFloat 12s ease-in-out infinite alternate;
}

@keyframes ctaFloat {
    0% {
        transform: scale(1.05) translateY(0);
    }

    100% {
        transform: scale(1.08) translateY(-8px);
    }
}