/* =========================================
   HERO
========================================= */

.hero {
    position: relative;

    min-height: 610px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            #edf6fc 0%,
            #ffffff 65%,
            #f8fbfd 100%
        );
}

.hero::after {
    content: "";

    position: absolute;

    width: 430px;

    height: 430px;

    right: -220px;

    bottom: -250px;

    border-radius: 50%;

    background: rgba(7, 92, 174, .055);

    pointer-events: none;
}

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 820px;

    padding: 90px 0;
}

.hero h1 {
    margin-bottom: 28px;

    color: #102137;

    font-size: clamp(50px, 5.5vw, 76px);

    line-height: 1.04;

    letter-spacing: -2.5px;

    font-weight: 800;
}

.hero h1 span {
    display: block;

    color: #075cae;
}

.hero p {
    max-width: 720px;

    margin-bottom: 36px;

    color: #607287;

    font-size: 18px;

    line-height: 1.75;
}

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 14px;

    flex-wrap: wrap;
}


/* =========================================
   QUI SOMMES-NOUS
========================================= */

.about-home {
    padding: 110px 0;

    background: #ffffff;
}

.about-home-grid {
    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 90px;

    align-items: start;
}

.about-home-title h2 {
    max-width: 540px;

    color: #14243a;

    font-size: 42px;

    line-height: 1.2;

    font-weight: 700;
}

.about-home-content {
    max-width: 680px;

    padding-top: 35px;
}

.about-home-content p {
    margin-bottom: 22px;

    color: #607287;

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================
   DOMAINES
========================================= */

.domains-home {
    padding: 110px 0;

    background: #f6f9fc;
}

.section-intro {
    max-width: 760px;

    margin-bottom: 50px;
}

.section-intro h2 {
    margin-bottom: 15px;

    color: #14243a;

    font-size: 40px;

    line-height: 1.2;

    font-weight: 700;
}

.section-intro p {
    max-width: 650px;

    color: #65768a;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================
   4 CARTES
========================================= */

.domains-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.domain-card {
    min-height: 310px;

    padding: 34px;

    background: #ffffff;

    border: 1px solid #e1e8ef;

    border-radius: 12px;

    box-shadow:
        0 8px 28px rgba(22, 48, 75, .045);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.domain-card:hover {
    transform: translateY(-5px);

    border-color: #c6d8e8;

    box-shadow:
        0 18px 40px rgba(22, 48, 75, .09);
}

.domain-card-header {
    margin-bottom: 25px;
}

.domain-number {
    color: #075cae;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.domain-card h3 {
    margin-bottom: 17px;

    color: #15263c;

    font-size: 23px;

    line-height: 1.3;

    font-weight: 700;
}

.domain-card p {
    color: #607287;

    font-size: 15px;

    line-height: 1.75;
}


/* =========================================
   SECTIONS SUIVANTES
========================================= */

.home-block {
    padding: 110px 0;
}

.events-home {
    background: #ffffff;
}

.news-home {
    background: #f6f9fc;
}

.media-home {
    background: #ffffff;
}


/* =========================================
   TITRES
========================================= */

.block-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 45px;
}

.block-heading h2 {
    color: #14243a;

    font-size: 40px;

    line-height: 1.2;

    font-weight: 700;
}


/* =========================================
   BLOCS DE CONTENU
========================================= */

.content-message {
    min-height: 190px;

    padding: 40px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    background: #f8fafc;

    border: 1px solid #e1e8ef;

    border-radius: 12px;
}

.news-home .content-message {
    background: #ffffff;
}

.content-message p {
    max-width: 650px;

    color: #65768a;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================
   ANIMATIONS
========================================= */

.hero-content {
    animation: fadeUp .7s ease both;
}

.about-home-grid {
    animation: fadeUp .7s ease both;
}

.domain-card {
    animation: fadeUp .6s ease both;
}

.domain-card:nth-child(2) {
    animation-delay: .08s;
}

.domain-card:nth-child(3) {
    animation-delay: .16s;
}

.domain-card:nth-child(4) {
    animation-delay: .24s;
}

@keyframes fadeUp {

    from {
        opacity: 0;

        transform: translateY(18px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 850px) {

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 75px 0;
    }

    .about-home,
    .domains-home,
    .home-block {
        padding: 80px 0;
    }

    .about-home-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .about-home-content {
        padding-top: 0;
    }

    .domains-grid {
        grid-template-columns: 1fr;
    }

    .block-heading {
        align-items: flex-start;

        flex-direction: column;
    }

}


@media (max-width: 550px) {

    .hero h1 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .about-home-title h2 {
        font-size: 32px;
    }

    .section-intro h2,
    .block-heading h2 {
        font-size: 31px;
    }

    .domain-card {
        min-height: auto;

        padding: 28px;
    }

    .content-message {
        padding: 30px;
    }

}