/* Accueil seulement */

/* hero */
.hero {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.home .hero .hero-media {
    width: 100%;
}

.home .hero .hero-media-surface {
    position: relative;
    width: 100%;
    background: transparent;
}

.home .hero .hero-media-surface::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--grispale);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 61.938rem) { /* 991px */
    .home .hero .hero-media-surface::before {
        display: none !important;
    }
}

.home .hero .hero-media-link,
.home .hero .hero-media-image {
    display: block;
    width: 100%;
    position: relative;
    z-index: 1;
}

.home .hero .hero-media-image {
    height: auto;
    border-radius: var(--border-radius);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, filter 0.35s ease;
}

.home .hero .hero-media-link {
    border-radius: var(--border-radius);
    overflow: hidden;
    transform: translateZ(0);
}

.home .hero .hero-media-link:hover .hero-media-image,
.home .hero .hero-media-link:focus-visible .hero-media-image {
    transform: scale(1.02);
    filter: brightness(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}


/* formations sur mesure */
.home #formations {
    background: var(--accent);
    padding: 6rem 1rem 6.5rem;
    margin-top: -3.25rem;
}

.home #formations h2 {
    color: var(--blanc);
    font-size: 1.875rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.home #formations .formations-list {
    gap: 1.25rem;
    max-width: 84rem;
    margin: 0 auto;
}

.home #formations .btn-small {
    white-space: nowrap;
}

.home #formations .formations-select-wrapper {
    max-width: 30rem;
    margin: 0 auto;
}

.home #formations .ui-select-trigger {
    border: none !important;
}


/* contenu après Hero */
.home .sandbox .vc_row:not(.vc_inner) {
    margin: 0;
    text-align: left;
    color: var(--primary);
    padding-top: 3rem;
    padding-bottom: 3rem;
    --bs-gutter-x: inherit;  
}

body.home #contenu {
    background-color: var(--blanc);
    background-image: url("../assets/grande_fleche.svg");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: auto calc(100% - 2rem);
    padding-bottom: 0;
}
@media (max-width: 61.938rem) { /* 991px */
    body.home #contenu {
        padding-bottom: 0;
    }
}

.home .accueil-bg-texte p, .home .accueil-bg-texte li {
    font-size: 2.188rem;
    line-height: 1.1;
}

.home h1 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.home h3 {
    color: var(--secondary);
    margin-top: 0;
    margin-bottom: 2.75rem;
}

@media (max-width: 47.938rem) { /* 767px/16 - MD */
    .home h3 {
        margin-bottom: 1.75rem;
    }
}

.statistiques .odometer, .statistiques em {
    color: var(--accent);
}

.home #contenu {
    position: relative;
    z-index: 1;
    overflow: visible;
}

.home .accueil-image-sous-stats-row {
    position: relative;
    z-index: 2;
    margin-top: -7rem;
    margin-bottom: 0;
    transform: translateY(8rem);
}

.home .accueil-image-sous-stats-col {
    display: flex;
    justify-content: center;
}

.home .accueil-image-sous-stats-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.home .accueil-image-sous-stats {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: cover;
}

.home .site-footer {
    position: relative;
    z-index: 0;
    padding-top: 8rem;
}

@media (min-width: 87.5rem) { /* 1400px+ */
    .home .accueil-image-sous-stats-row {
        margin-top: -14rem;
        transform: translateY(15rem);
    }

    .home .site-footer {
        padding-top: 15rem;
    }
}

@media (max-width: 74.938rem) { /* 1199px/16 - XL- */
    .home .sandbox .col-12 {
        width: 100%;
    }
    .home .sandbox .vc_row:not(.vc_inner) {
        padding-top: 3rem;
        padding-bottom: 3rem !important;
    }
    .home .sandbox .vc_row:not(:has(> .vc_column_container:only-child)) > .vc_column_container:first-child > .vc_column-inner {
        padding-left: 0 !important;
    }
    .home .sandbox .vc_row:not(:has(> .vc_column_container:only-child)) > .vc_column_container > .vc_column-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .home .accueil-bg-texte p, .home .accueil-bg-texte li {
        font-size: 1.875rem;
        line-height: 1.05;
    }
    .home .accueil-image-sous-stats-row {
        margin-top: -5rem;
        transform: translateY(6rem);
    }
    .home .site-footer {
        padding-top: 8rem;
    }
}

@media (max-width: 47.938rem) { /* 767px/16 - MD */
    .home #contenu {
        background-image: url("../assets/grande_fleche.svg");
        background-size: 75vw auto;
    }

    .home #formations {
        padding: 2.25rem 1.875rem 2.375rem;
    }
    .home #formations h2 {
        font-size: 1.25rem;
        margin-top: 3.5rem !important;
        margin-bottom: 1.5rem;
    }
    .home #formations .formations-list {
        gap: 0.625rem;
    }
    .home #formations .btn-small {
        white-space: normal;
        text-align: center;
    }
    .home .sandbox .vc_row:not(.vc_inner) {
        padding-left: 1.875rem;
        padding-right: 1.875rem;
    }
    .home .accueil-bg-texte p, .home .accueil-bg-texte li {
        font-size: 1.5rem;
    }
    .home .accueil-image-sous-stats-row {
        margin-top: -2.5rem;
        transform: translateY(3.5rem);
    }
    .home .accueil-image-sous-stats-col {
        padding-left: 1.875rem;
        padding-right: 1.875rem;
    }
    .home .site-footer {
        padding-top: 5.5rem;
    }
}

@media (max-width: 35.938rem) { /* 575px/16 - SM */
    .home #formations .formations-select-wrapper {
        max-width: 100%;
    }
}