:root {
    --main-color: rgba(71, 203, 194, 1);
    --club-color: rgba(224, 85, 95, 1);
    --services-color: rgba(224, 190, 95, 1);
    --events-color: rgba(116, 201, 214, 1);
    --drive-color: rgba(113, 180, 0, 1);
    --brand-color: rgba(236, 137, 164, 1);
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
    font-family: "AG Book Rounded";
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

strong {
    font-weight: 500;
}

/** WEEKIN **/
html {
    color: #666;
}
body {
    max-width: 1900px;
    margin: 0 auto;
}
article > header {
    display: inline-flex;
    justify-content: center;
    min-height: 800px;
    align-items: center;
    width: 100%;
    flex-direction: column;
    background-image: url("./img/bg_header.png");
    background-repeat: no-repeat;
    background-position: center -50px;
}

article > header > img {
    height: 100px;
    margin-top: auto;
}

article > header > .ancrage {
    width: 75px;
    height: 75px;
    border-radius: 41px;
    background-color: #FFF;
    box-shadow: 0 8px 15px rgba(0,0,0,.3);
    cursor: pointer;
    margin: auto auto 45px;
    display: flex;
    align-items: center;
    justify-content: center;
   
    color: var(--main-color);
}
article > header > .ancrage > .asImg {
    height: 30px;
    margin-top: 3px;
    transform: rotate(180deg);
    fill: var(--main-color);
}

article > section {
    margin: 0 auto;
}

h1, h2, h3 {
    color: white;
    font-family: "AG Book Rounded";
    font-weight: 500;
    text-align: center;
}

h1 {
    align-content: center;
    margin-top: 1em;
    color: var(--main-color);
    font-size: 44px;
}

h2 {
    font-size: 30px;
    line-height: 39px;
    display: inline-block;
}

header {
    text-align: center;
}

.gutter {
    max-width: 1155px;
    margin: 0 auto;
    padding: 3em 0;
}

.gradient-container {
    background-image: linear-gradient(90deg, var(--main-color), rgb(166,214,70));
    color: white;
}

.gradient-container .gutter {
    display: flex;
    padding: 9em 0;
}

.gradient-container header {
    width: 50%;
    min-height: 485px;
    text-align: center;
    background-image: url("./img/apostrophe.svg");
    background-repeat: no-repeat;
    background-size: 320px 485px;
    background-position: center 10%;
}

.gradient-container h2 {
    text-align: left;
    font-size: 56px;
    line-height: 60px;
    padding: 10% 0 0 40%;
}

.gradient-container dl {
    max-width: 340px;
    margin-left: 4em;
    margin-top: 3em;
}

.gradient-container dd {
    font-size: 30px;
    margin-bottom: 1em;
    line-height: 36px;
}

.gradient-container dd:last-of-type:before {
    content: "";
    display: block;
    height: 0px;
    width: 65%;
    border-bottom: 1px solid white;
    margin-bottom: 1em;
}

.gradient-container dt {
    margin-bottom: 1em;
    font-size: 18px;
    line-height: 22px;
}

.services-container {
    background-image: url("./img/bg-metier.png");
    background-size: cover;
    background-position: center;
    width: 100%;
    max-width: none;
    padding: 3em 0px;
}

.services-container header h2:after {
    display: block;
    content: "";
    border-bottom: 1px solid white;
    width: 20vw;
    margin: 1em auto 0 auto;
}

.services-grid > .service-col:first-child ul {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 6%;
    grid-row-gap: 1em;
    grid-template-areas: "club services events driving";
    padding: 0 2em;
}

.services-grid > .service-col:last-child ul {
    display: grid;
    grid-template-columns: 20% 20%;
    grid-column-gap: 1%;
    grid-template-areas:
            "brand project";
}

.brand {
    grid-area: brand;
}

.services {
    grid-area: services;
}

.services h4 {
    background-color: var(--services-color);
}

.club {
    grid-area: club;
}

.club h4 {
    background-color: var(--club-color);
}

.events {
    grid-area: events;
}

.events h4 {
    background-color: var(--events-color);
}

.driving {
    grid-area: driving;
}

.driving h4 {
    background-color: var(--drive-color);
}

.service-col header {
    text-align: center;
    margin: 3em;
}

.service-col header h3 {
    font-size: 28px;
    font-weight: 100;
}

.service-col header em {
    font-size: 19px;
    margin-top: .2em;
    color: white;
    font-style: italic;
    display: block;
    font-weight: 500;
}

.service-col li img {
    height: 65px;
    display: block;
    margin:  0 auto 1em auto;
}

.service-col .card {
    background: white;
    display: flex;
    max-width: 904px;
    margin: 0 auto;
}

.service-col .card > img {
    flex-shrink: 1;
    flex-grow: 2;
    object-fit: cover;
}

.service-col .card > div {
    padding: 2em;
    flex-shrink: 2;
    flex-grow: 1;
    line-height: 20px;
    font-size: 14px;
}

.service-col .card h4 {
    padding: 1.5em 0 1em 0 ;
    color: var(--brand-color);
    font-size: 18px;
    font-weight: 500;
}

.service-col .card p {
    margin-bottom: 1em;
}

.service-col li {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.service-col li div {
    display: flex;
    flex-direction: column;
    background-color: white;
    min-height: 420px;
    flex-grow: 1;
}

.service-col li h4 {
    padding: 1em 0em;
    border-radius: 1em 1em 0 0;
    color: white;
    box-shadow: 0px -9px 23px -17px black inset;
    font-size: 24px
}

.service-col li strong {
    display: block;
    text-align: center;
}

.service-col ul li p {
    color: #666;
    padding: 1em .5em;
    margin: 0 1.5em;
    font-weight: normal;
    font-size: 14px;
    line-height: 17px;
    flex-grow: 2;
}

.service-col ul li p:last-child {
    border-top: 1px solid #666666;
    align-content: end;
    flex-grow: 1;
}

.service-col ul li strong {
    font-size: 18px;
    line-height: 20px;
    font-weight: 500;
}
.service-col ul li.club strong {
    color: var(--club-color);
}
.service-col ul li.services strong {
    color: var(--services-color);
}
.service-col ul li.events strong {
    color: var(--events-color);
}
.service-col ul li.driving strong {
    color: var(--drive-color);
}

.service-col ul li.club p:last-child {
    border-color: var(--club-color);
}
.service-col ul li.services p:last-child {
    border-color: var(--services-color);
}
.service-col ul li.events p:last-child {
    border-color: var(--events-color);
}
.service-col ul li.driving p:last-child {
    border-color: var(--drive-color);
}

.service-col ul li p:first-of-type {
    border: none!important;
}

.verbatims {

}

.verbatims img {
    display: inline-block;
    width: calc(50% - 4.3em);
    padding: 2em;
}

footer {
    background: var(--main-color);
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2em 0;
    color: white !important;
}

footer .gutter {
    padding: 0 3em;
}

footer section {
    display: grid;
    grid-template-areas: "left left right"
                         "bottom bottom bottom";
}

footer section div:first-child {
    grid-area: left;
    padding-right: 8em;
}

footer section div:last-child {
    grid-area: right;
}

footer h2 {
    margin: auto auto .8em auto;
    color: white !important;
    padding: 1em 0;
    font-size: 40px;
    font-weight: 100;
    text-align: left;
}

footer h2:after {
    display: block;
    content: "";
    width: 180px;
    border-bottom: 1px solid white;
    position: relative;
    top: .8em;
}

footer h2.logo {
    background-image: url("./img/apostrophe.svg");
    background-repeat: no-repeat;
    background-size: 45px 67px;
    background-position: left center;
    text-indent: .5em;
}

footer a {
    color: white;
}

footer a:last-of-type {
    text-decoration: none;
}

footer p {
    line-height: 1.7em;
    margin-bottom: 1em;
}

footer section > a {
    grid-area: bottom;
    text-align: center;
    padding: 3em;
}


footer section > a img {
    display: inline-block;
}

/** mode tablette **/
@media only screen and (max-width : 1024px) {

    article > header {
        background-size: cover;
        height: auto;
        min-height: 600px;
        background-position: center ;
    }

    article > header img {
        width: 50%;
        height: auto;
    }

    article > header h1 {
        font-size: 4vw;
        text-shadow: 2px 0 8px rgba(255,255,255,.5), -2px 0 8px rgba(255,255,255,.5), 0 2px 8px rgba(255,255,255,.5), 0 -2px 8px rgba(255,255,255,.5), 1px 1px rgba(255,255,255,.5), -1px -1px 8px rgba(255,255,255,.5), 1px -1px 8px rgba(255,255,255,.5), -1px 1px 8px rgba(255,255,255,.5);
    }

    .services-grid {
        grid-template-areas:
                "left"
                "right";
    }

    .services-grid > .service-col:last-child ul {
        grid-template-areas:
                "brand project";
    }

    .gradient-container .gutter {
        padding: 3em 1em;
    }

    .service-col .card {
        margin: 0 2em;
    }

    .service-col .card {
        max-width: initial;
    }

    .service-col .card > img {
        max-width: 50vw;
    }

    footer .gutter {
        padding: 0;
    }

    footer section div {
        padding-left: 2em;
        padding-right: 2em;
    }
}

/** mode smartphone **/

@media only screen and (max-width : 640px) {

    article > header {
        background-size: cover;
        height: auto;
        min-height: 400px;
        background-position: center ;
    }

    article > header h1 {
        font-size: 5vw;
    }

    article > header > .ancrage {
        width: 50px;
        height: 50px;
        border-radius: 31px;
        background-color: #FFF;
    }

    article > header > .ancrage > .asImg {
        height: 20px;
    }

    .gutter {
        padding: 2em 5vw;
    }

    .gradient-container header {
        width: auto;
        height: auto;
        min-height: initial;
        background-size: contain;
        background-position: 10% top;
    }

    .gradient-container header br {
        display: none;
    }

    .gradient-container header h2 {
        margin-bottom: 0.5em;
        padding: .5em;
    }

    .gradient-container .gutter {
        flex-direction: column;
        align-items: center;
    }

    .gradient-container dl {
        margin: initial;
    }

    .services-grid > .service-col:first-child ul {
        grid-template-columns: 1fr;
        grid-template-areas:
                "club"
                "services"
                "events"
                "driving";
        width: auto;
        padding: initial;
    }
    .services-grid > .service-col:last-child ul {
        grid-template-areas:
                "brand"
                "project";
    }

    .service-col .card {
        flex-direction: column;
    }

    .service-col .card span {
        display: block;
        text-align: center;
    }

    .service-col .card > img {
        height: 25vh;
        max-width: initial;
    }

    .verbatims {
        flex-direction: column;
        padding: 0;
    }

    .verbatims img {
        padding: 1em 0;
        width: 100%;
        height: auto;
    }

    footer section {
        display: flex;
        flex-direction: column;
    }

    .service-col .card {
        margin: 0;
    }

    .service-col .card h4,
    .service-col ul li strong {
        font-size: 24px;
        line-height: 28px;
    }

    .service-col .card p,
    .service-col ul li p {
        font-size: 22px;
        line-height: 26px;
    }

    footer h2 {
        font-size: 32px;
    }

    footer section div:first-child {
        padding-right: 2em;
    }
}