/* =========================================================
   PAGE A PROPOS - I-PROFS
   ========================================================= */

:root {
    --navy: #17385f;
    --blue: #2878b8;
    --orange: #d77b16;
    --text: #344b65;
    --light: #e5e9ee;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Open Sans", Arial, sans-serif;
    color: var(--text);
    background: #fff;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.about-hero {
    padding: 55px 20px 45px;
}

.about-hero-inner {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 270px;
    gap: 60px;
    align-items: center;
}

.about-kicker {
    margin: 0 0 8px;

    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;

    color: var(--orange);
}

.about-hero h1 {
    margin: 0 0 20px;

    font-family: "Baloo 2", sans-serif;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.05;

    color: var(--navy);
}

.about-hero h1 span {
    color: var(--blue);
}

.about-lead {
    max-width: 650px;
    margin: 0;

    font-size: 20px;
    line-height: 1.65;
}


/* =========================================================
   PHOTO
   ========================================================= */

.about-photo {
    text-align: center;
}

.about-photo img {
    display: block;

    width: 100%;
    max-width: 250px;
    height: auto;

    margin: 0 auto;

    border-radius: 50%;
}


/* =========================================================
   CONTENU PRINCIPAL
   ========================================================= */

.about-content {
    width: calc(100% - 40px);
    max-width: 980px;

    margin: 0 auto;
    padding: 25px 0 45px;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.about-section {
    max-width: 700px;
    margin: 0 auto 38px;
}

.about-section h2 {
    margin: 0 0 20px;
    padding-bottom: 10px;

    border-bottom: 2px solid var(--light);

    font-family: "Baloo 2", sans-serif;
    font-size: 36px;
    line-height: 1.15;

    color: var(--navy);
}

.about-section h2 span {
    color: var(--blue);
}

.about-section p {
    margin: 0 0 20px;

    font-size: 19px;
    line-height: 1.7;

    color: var(--text);
}

.about-section p:last-child {
    margin-bottom: 0;
}

.about-section strong {
    color: #172f4c;
}


/* =========================================================
   DATE : 2010 / CREATION D'I-PROFS
   ========================================================= */

.about-date {
    width: 700px;
    max-width: 100%;

    margin: -5px auto 38px;
    padding: 20px 0;

    display: flex;
    align-items: center;
    gap: 26px;

    border-top: 1px solid var(--light);
    border-bottom: 1px solid var(--light);
}

.about-date span {
    flex: 0 0 auto;

    font-family: "Baloo 2", sans-serif;
    font-size: 42px;
    line-height: 1;
    font-weight: 800;

    color: var(--orange);
}

.about-date p {
    margin: 0;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 600;

    color: var(--navy);
}


/* =========================================================
   CONCLUSION
   ========================================================= */

.about-closing {
    max-width: 700px;

    margin: 0 auto;
    padding: 5px 0 20px;
}

.about-closing p {
    margin: 0 0 20px;

    font-size: 19px;
    line-height: 1.7;

    color: var(--text);
}

.about-signature {
    margin-top: 25px !important;

    font-family: "Baloo 2", sans-serif;
    font-size: 24px !important;
    font-weight: 700;

    color: var(--navy) !important;
}

.about-signature span {
    color: var(--orange);
}


/* =========================================================
   TABLETTE / MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .about-hero {
        padding: 35px 20px 30px;
    }

    .about-hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-photo {
        order: -1;
    }

    .about-photo img {
        max-width: 200px;
    }

    .about-hero h1 {
        font-size: 40px;
    }

    .about-lead {
        font-size: 18px;
    }

    .about-content {
        width: calc(100% - 30px);
        padding: 15px 0 35px;
    }

    .about-section {
        margin-bottom: 30px;
    }

    .about-section h2 {
        margin-bottom: 17px;
        font-size: 30px;
    }

    .about-section p {
        margin-bottom: 17px;
        font-size: 17px;
        line-height: 1.65;
    }


    /* 2010 */

    .about-date {
        margin: 0 auto 30px;
        padding: 18px 0;
        gap: 20px;
    }

    .about-date span {
        font-size: 36px;
    }

    .about-date p {
        font-size: 18px;
    }

    .about-closing p {
        font-size: 17px;
        line-height: 1.65;
    }
}


/* =========================================================
   PETITS ECRANS
   ========================================================= */

@media (max-width: 480px) {

    .about-hero {
        padding-top: 28px;
    }

    .about-hero h1 {
        font-size: 35px;
    }

    .about-section h2 {
        font-size: 28px;
    }

    .about-date {
        gap: 16px;
    }

    .about-date span {
        font-size: 34px;
    }

    .about-date p {
        font-size: 17px;
    }
}