/*!
 * 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 Home */
#home {
    height: 100vh;
    min-height: 720px;
    position: relative;
}

#home .fitparallax-img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#home .content {
    position: relative;
    display: flex;
    justify-content: end;
    align-items: start;
    flex-direction: column;
    text-align: start;
}

#home .content h1,
#home .content h1 span {
    font-weight: 800 !important;
    font-size: 90px;
    color: var(--light);
}

#home .content p {
    color: #FF8153;
}

/* Section News */

.fit-news {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    /* 3 sur la même ligne */
    gap: 2rem;
}

.fit-news-item {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
}

/* Image en background propre */
.fit-news-item .news-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Overlay sombre premium */
.fit-news-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.234), rgba(0, 0, 0, 0.026));
    z-index: 2;
}

/* Contenu au-dessus */
.fit-news-item .content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    height: 100%;
    z-index: 3;
}

.fit-news-item h3 {
    font-size: 24px;
    font-weight: 600;
}

.surtitle {
    font-size: 15px;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.14);
    padding: 7px 25px;
    border-radius: 2em;
    text-transform: uppercase;
    border: 1px solid #ffffff7a;
}

/* Responsive */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fit-news-item.large {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .fit-news {
        grid-template-columns: 1fr;
    }

    .fit-news-item.large {
        grid-column: span 1;
    }
}


/* Section Program */
#program h3 {
    font-weight: 800;
    font-size: 22px;
    color: #000;
}

#program p {
    font-weight: 400;
    color: #000;
}