/* =========================================
   SECTIONS — content, titles, footer
   ========================================= */

/* === Direction === */
#direction h2 { text-align: center; margin-bottom: 36px; margin-top: 180px; color: #000; }

#direction p {
    text-align: justify;
    margin: 18px 36px 72px;
    width: min(590px, calc(100% - 72px));
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #000;
}

#direction p b { font-weight: 600; }

/* === Immersif === */
#immersif p b { font-weight: 600; }
#immersif h2 { text-align: center; margin-bottom: 36px; margin-top: 180px; color: #f7f7f7; }

#immersif p {
    text-align: justify;
    margin: 18px 36px 72px;
    width: min(590px, calc(100% - 72px));
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    font-size: 17px;
    line-height: 1.6;
}

/* === A propos === */
#apropos h2 { text-align: center; margin-bottom: 36px; margin-top: 180px; }

#apropos p {
    text-align: justify;
    margin: 18px 36px;
    width: min(590px, calc(100% - 72px));
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    line-height: 1.6;
}

#apropos p b { font-weight: 600; }
#apropos a { text-decoration: none; color: #f7f7f7; font-weight: 600; transition: color 1s ease; }
#apropos a:hover { text-decoration: none; color: #FF163E; transition: color 0.5s ease; }

#apropos .expersecteur {
    font-family: "Kode Mono", monospace;
    font-weight: 200;
    font-size: 28px;
    text-align: left;
    margin: 36px;
    width: min(590px, calc(100% - 72px));
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    box-sizing: border-box;
}

/* === Footer === */
footer {
    text-align: center;
    background: #000;
    margin-top: 180px;
    padding: 40px 60px 130px;
    background-image: url(https://www.yoann-vermeulen.com/assets/img/contact.png);
    background-repeat: no-repeat;
    background-position: top;
    background-position-y: 165px;
    background-size: 30%;
    background-color: #000;
}

footer h2 { color: #f7f7f7; font-size: 50px; margin-top: 0; }

footer p {
    color: #f7f7f7;
    text-align: center;
    margin: 18px 36px 0;
    width: min(590px, calc(100% - 72px));
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: 0;
}

footer a { color: #f7f7f7; transition: color 1s ease; text-decoration: none; font-weight: 700; }
footer a:hover { color: #FF163E; transition: color 0.3s ease; text-decoration: none; font-weight: 700; }
footer p .phone-nowrap,
footer p strong { font-weight: 700; }
footer p .phone-nowrap { white-space: nowrap; }

@media (min-width: 768px) {
    #direction p { margin: 27px auto 130px; }
    #immersif p { margin: 27px auto 130px; }
    h2 { margin-bottom: 27px; }
}

/* === Mobile (<= 767px) === */
@media (max-width: 767px) {
    #direction h2 { text-align: left; margin-top: 80px; color: #000; }
    #direction p { text-align: left; font-size: .9em; line-height: 1.57; margin: 30px 0 60px; color: #000; }
    #immersif h2 { text-align: left; margin-top: 80px; color: #f7f7f7; }
    #immersif p { text-align: left; font-size: .9em; line-height: 1.57; margin: 30px 0 60px; }
    #apropos h2 { text-align: left; margin-bottom: 36px; margin-top: 80px; }
    #apropos p { text-align: left; font-size: .9em; line-height: 1.57; margin: 30px 0 0; }
    #apropos .expersecteur {
        font-weight: 200;
        font-size: 24px;
        text-align: left;
        margin: 30px 0 0;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
    #apropos a { text-decoration: none; color: #f7f7f7; font-weight: 600; transition: color 1s ease; }
    #apropos a:hover { color: #FF163E; transition: color 0.5s ease; }
    footer { padding: 40px 45px 120px; background-size: 120%; background-position-y: 215px; }
    footer h2 { background: #000; }
    footer p {
        text-align: center;
        font-size: .9em;
        line-height: 1.57;
        margin: 30px 0 0;
        width: 100%;
        max-width: 100%;
    }
    footer a { transition: color .3s ease; }
    footer a:hover { color: #f7f7f7; }
    .oneline { display: block; margin-bottom: 12px; }
    footer p { white-space: normal; }
    footer p .dash { display: none; }
    footer p a { display: inline; margin-right: 12px; }
    .lastlink { margin-right: 0; }
}