main {
    background: linear-gradient(to bottom, var(--c-lightBackground), white);
}



/* SECTIONS COMMUNES */
section.pageHero,
section.presSection,
section.teamSection {
    width: 100%;
}

section.presSection .presCard,
section.teamSection .teamGrid {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}



/* HERO */
section.pageHero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10rem 1.25rem 0 1.25rem;
    text-align: center;
}

section.pageHero h1 {
    font-family: "DM Serif Text", serif;
    font-size: clamp(2.2rem, 1.7rem + 1.5vw, 3.25rem);
    color: var(--c-black);
    font-weight: 500;
    line-height: 1.05;
}

section.pageHero h1 span {
    color: var(--c-secondary);
}

section.pageHero p {
    width: 100%;
    max-width: 700px;
    margin-top: 2rem;
    text-align: center;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
    line-height: 1.7;
    font-family: "Montserrat", sans-serif;
}

section.pageHero p strong {
    font-weight: 600;
}



/* SECTIONS */
section.presSection,
section.teamSection {
    padding: 5rem 1.25rem 0 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* PRESENTATION */
section.presSection .presCard {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 22px rgba(61, 21, 30, 0.1);
    color: var(--c-black);
    padding: clamp(2rem, 1.2rem + 2vw, 4rem);
    border-radius: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

section.presSection .presCard .part {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 1.5rem + 2vw, 4rem);
    align-items: stretch;
}

section.presSection .presCard .left,
section.presSection .presCard .right {
    min-width: 0;
}


section.presSection .presCard h2 {
    font-family: "DM Serif Text", serif;
    color: var(--c-black);
    font-weight: 400;
    font-size: clamp(1.8rem, 1.3rem + 1.2vw, 2.8rem);
    line-height: 1.05;
    margin-bottom: 2rem;
}

section.presSection .presCard p {
    color: var(--c-black);
    font-family: "Montserrat", sans-serif;
    font-weight: 450;
    font-size: 1rem;
    line-height: 1.7;
    margin: 1rem 0;
}

section.presSection .presCard .right {
    display: flex;
}

section.presSection .presCard .right img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 350px;
    background: var(--c-tertiary);
    border-radius: 2rem;
    object-fit: cover;
    object-position: center;
}



/* TEAM */
section.teamSection .teamGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 1rem + 2vw, 4rem);
    padding: 4rem 0;
}

section.teamSection .teamGrid article.teamCard {
    background: white;
    box-shadow: 0 2px 22px rgba(61, 21, 30, 0.1);
    border: solid 2px white;
    border-radius: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

section.teamSection .teamGrid article.teamCard img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--c-tertiary);
    object-fit: cover;
    object-position: center;
    display: block;
}

section.teamSection .teamGrid article.teamCard .text {
    padding: 1.5rem;
    color: var(--c-black);
    font-family: "Montserrat", sans-serif;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

section.teamSection .teamGrid article.teamCard .text h3 {
    font-family: "DM Serif Text", serif;
    font-weight: 500;
    font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.75rem);
    line-height: 1.1;
}

section.teamSection .teamGrid article.teamCard .text p {
    line-height: 1.6;
    font-size: 0.98rem;
}

section.teamSection .teamGrid article.teamCard .text p.teamRole {
    color: var(--c-tertiary);
    font-weight: 550;
    margin-bottom: 0.25rem;
}

section.teamSection .teamGroup {
    width: 100%;
    max-width: 1280px;
}

section.teamSection .teamGroup + .teamGroup {
    margin-top: 2rem;
}

section.teamSection .teamGroupHeader {
    width: 100%;
    margin-bottom: 1rem;
}

section.teamSection .teamGroupHeader h2 {
    font-family: "DM Serif Text", serif;
    font-size: clamp(1.8rem, 1.3rem + 1vw, 2.5rem);
    color: var(--c-black);
    font-weight: 500;
    line-height: 1.1;
}

/* TABLETTE */
@media screen and (max-width: 1100px) {
    section.pageHero {
        padding-top: 9rem;
    }

    section.presSection,
    section.teamSection {
        padding-top: 4rem;
    }

    section.presSection .presCard {
        grid-template-columns: 1fr;
    }

    section.presSection .presCard .right img {
        min-height: 280px;
    }

    section.teamSection .teamGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    section.presSection .presCard .part {
        grid-template-columns: 1fr;
    }
}



/* MOBILE */
@media screen and (max-width: 700px) {
    section.pageHero {
        padding: 8rem 1rem 0 1rem;
    }

    section.pageHero p {
        margin-top: 1.25rem;
    }

    section.presSection,
    section.teamSection {
        padding: 3rem 1rem 0 1rem;
    }

    section.presSection .presCard {
        padding: 1.5rem;
        border-radius: 2rem;
        gap: 1.5rem;
    }

    section.presSection .presCard h2 {
        margin-bottom: 1.25rem;
    }

    section.presSection .presCard .right img {
        min-height: 220px;
        border-radius: 1.5rem;
    }

    section.teamSection .teamGrid {
        grid-template-columns: 1fr;
        padding: 3rem 0;
    }

    section.teamSection .teamGrid article.teamCard {
        border-radius: 1.5rem;
    }

    section.teamSection .teamGrid article.teamCard .text {
        padding: 1.25rem;
    }

    section.presSection .presCard .part:nth-child(2) .left {
        order: 1;
    }

    section.presSection .presCard .part:nth-child(2) .right {
        order: 2;
    }
}