/***************************************************************
Aperçu des services
***************************************************************/

.services {
    background: var(--cream);
    padding: 42px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.service {
    padding: 8px 52px;
    border-right: 1px solid var(--line);
}

.service:first-child {
    padding-left: 20px;
}

.service:last-child {
    border: 0;
    padding-right: 20px;
}

.service .round-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
}

.service .round-icon svg {
    width: 30px;
    height: 30px;
}

.service p {
    color: var(--muted);
    margin-bottom: 12px;
}

.text-link {
    font-weight: 750;
    font-size: .92rem;
}

/***************************************************************
Public accompagné
***************************************************************/

.audience {
    background: var(--white);
}

.audience-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 90px;
    align-items: center;
}

.audience-copy {
    position: relative;
}

.audience-copy p:not(.eyebrow) {
    max-width: 610px;
    color: var(--muted);
    font-size: 1.08rem;
}

.audience-copy .script {
    position: absolute;
    right: -20px;
    top: -18px;
    font-size: 1.55rem;
    width: 180px;
    text-align: center;
}

.audience-types {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
}

.audience-type {
    min-height: 132px;
    background: linear-gradient(145deg,var(--paper),var(--cream));
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 750;
    text-align: center;
    padding: 14px;
}

.audience-type svg {
    width: 37px;
    height: 37px;
    stroke-width: 1.55;
}

/***************************************************************
Réalisations récentes
***************************************************************/

.projects {
    background: linear-gradient(115deg,var(--cream),var(--paper));
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 34px;
}

.section-head h2 {
    margin-bottom: 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.project {
    background: var(--white);
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 8px 26px var(--shadow-alpha-soft);
    display: flex;
    flex-direction: column;
}

.project-img {
    height: 245px;
    background: var(--line);
}

.project-body {
    padding: 20px 22px 22px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.project-body h3 {
    font-family: inherit;
    font-size: 1.07rem;
    margin-bottom: 5px;
}

.project-body p {
    font-size: .92rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.project-meta {
    display: block;
    font-size: .8rem;
    font-weight: 800;
    color: var(--muted);
    margin-bottom: 4px;
}

.project-body .text-link {
    margin-top: auto;
    align-self: flex-start;
}

/***************************************************************
Avantages
***************************************************************/

.why {
    background: var(--paper);
    padding-bottom: 66px;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 42px;
}

.benefit .round-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
}

.benefit:nth-child(2) .round-icon {
    background: var(--cream);
}

.benefit:nth-child(3) .round-icon {
    background: var(--peach);
}

.benefit:nth-child(4) .round-icon {
    background: var(--green);
}

.benefit h3 {
    font-size: 1.12rem;
}

.benefit p {
    font-size: .94rem;
    color: var(--muted);
    margin: 0;
}

/***************************************************************
Responsive
***************************************************************/

@media (max-width: 900px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service, .service:first-child, .service:last-child {
        padding: 25px 6px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 18px;
    }

    .service:last-child {
        border: 0;
    }

    .service .round-icon {
        grid-row: 1/4;
        margin: 0;
    }

    .service h3 {
        margin-top: 6px;
    }

    .audience-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .audience-copy .script {
        position: static;
        width: auto;
        text-align: left;
        margin: 15px 0 22px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-img {
        height: 330px;
    }

    .benefits {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .hero-notes {
        flex-direction: column;
        gap: 14px;
        margin-top: 30px;
    }

    .audience-types {
        grid-template-columns: 1fr 1fr;
    }

    .audience-type {
        min-height: 112px;
    }

    .section-head {
        align-items: start;
    }

    .project-img {
        height: 220px;
    }

    .benefits {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .benefit {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 15px;
    }

    .benefit .round-icon {
        grid-row: 1/3;
    }
}
