* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

:root {
    --clr-accent: #9ba99e;
    --clr: #757576;
    --ff: 'Mulish', sans-serif;
}

html {
    font-size: 62.5%;
}

body {
    font-family: var(--ff);
    font-size: 1.6rem;
    color: var(--clr);
    font-weight: 400;
}

img {
    display: block;
    max-width: 100%;
}

p,
ul,
ol {
    font-size: 2.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

ul,
ol {
    margin-left: 2rem;
    margin-top: 5rem;
}

ul li,
ol li {
    margin-bottom: 1rem;
}

a {
    color: var(--clr-accent);
}

.pagewrap {
    width: 100%;
    overflow: hidden;
}

.wrap {
    width: 120rem;
    max-width: calc(100% - 4rem);
    margin: 0 auto;
}

.tac {
    text-align: center !important;
}
.ttn {
    text-transform: none !important;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-image: url('../images/pattern.jpg');
    background-repeat: repeat;
    background-size: 63rem 63rem;
    background-position: center;
    padding: 3rem 0;
    box-shadow: 0px 0px 10px 0px rgba(110, 120, 110, 0.3);
    z-index: 9999;
}

header .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header a.logo {
    width: 25%;
    max-width: 30rem;
}

.social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social a {
    width: 2.2rem;
    filter: grayscale(1) brightness(5);
    transition: all 0.4s;
}
.social a:hover {
    filter: grayscale(1) brightness(0);
}

header nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 4.5rem;
}

header nav a {
    text-transform: uppercase;
    font-size: 1.8rem;
    text-decoration: none;
    color: #fff;
    transition: all 0.4s;
}
header nav a:hover {
    color: #000;
}

.herosliderwrap {
    position: relative;
    margin-bottom: 11rem;
}

.herosliderwrap:after {
    content: '';
    width: 31.3rem;
    height: 30.2rem;
    background-image: url('../images/icon.png');
    -webkit-background-size: cover;
    background-size: cover;
    position: absolute;
    bottom: 0rem;
    right: 10rem;
    opacity: 0.5;
    z-index: 99;
}

.herosliderwrap > .heroslider > img {
    width: 100%;
}
.herosliderwrap > .heroslider > img:not(:first-child) {
    display: none;
}

.bx-pager-item a {
    font-size: 0;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background-color: var(--clr);
    display: block;
    transition: all 0.4s;
}

.bx-pager-item a:hover,
.bx-pager-item a.active {
    background-color: var(--clr-accent);
    cursor: pointer;
}

.bx-pager.bx-default-pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    position: absolute;
    z-index: 99;
    left: 0;
    bottom: -0.7rem;
}

footer {
    padding: 5rem 0rem 3rem;
    background-color: #fff;
}

footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

p.copy {
    width: 100%;
    font-size: 1.4rem;
    text-align: center;
    margin-top: 6rem;
}

p.copy + p.copy {
    margin-top: 0;
}

p.copy a {
    text-decoration: none;
    color: var(--clr);
}

p.copy img {
    display: inline-block;
    vertical-align: middle;
    width: 8rem;
    margin-left: 0.5rem;
}

.accTit {
    color: var(--clr-accent);
}

.tit1 {
    font-size: 4rem;
    margin-bottom: 3rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    font-weight: 900;
}

.accTit.tit1 span {
    color: var(--clr);
}

.tit1 span {
    text-transform: none;
    font-size: 2.8rem;
    display: block;
    letter-spacing: 0.2rem;
}

.tit2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    font-weight: 900;
}

.tit3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-weight: 900;
}

a,
a.mail {
    color: var(--clr);
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.05rem;
}

a.tel img,
a.mail img,
a.mailbtn img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
    width: 3rem;
}

a.mail img {
    margin-bottom: 0.5rem;
}

.coord {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0 7rem;
    max-width: 50%;
}

.coord h2 {
    width: 100%;
}

.coord .social {
    margin-top: 4rem;
    justify-content: flex-start;
    gap: 1.5rem;
    width: 100%;
}

.coord .social a {
    filter: none;
    width: 3.5rem;
    transition: all 0.4s;
}
.coord .social a:hover {
    filter: grayscale(1) brightness(0);
}

.heures {
    max-width: 50%;
}

.heureslist div {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.heureslist h3 {
    margin-bottom: 0;
    min-width: 15rem;
    line-height: 1.4;
}

.heureslist p {
    margin-bottom: 0;
    line-height: 1.4;
}

p.quote {
    font-size: 3rem;
    font-style: italic;
    padding: 0px 6rem;
    width: max-content;
    position: relative;
    line-height: 1.5;
    margin-top: 8rem;
}

p.quote:before {
    content: '«';
    top: -2.2rem;
    left: 0;
}

p.quote:after {
    content: '»';
    bottom: -0.8rem;
    right: 0;
}

p.quote:before,
p.quote:after {
    font-weight: 900;
    color: var(--clr-accent);
    font-size: 7.5rem;
    line-height: 1;
    position: absolute;
    font-style: normal;
}

.sectpb {
    padding-bottom: 20rem;
}
.sectpt {
    padding-top: 8rem;
}
.sectmb {
    margin-bottom: 14rem;
}

.mb {
    margin-bottom: 8rem;
}
.pb {
    padding-bottom: 4rem;
}

.emptyquart {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.emptyquart .wrap {
    padding-left: 30rem;
    position: relative;
}
.emptyhalf {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.emptyhalf .wrap {
    padding-right: 50%;
}

img.imgquart {
    position: absolute;
    bottom: 18rem;
    left: calc(50vw - 60rem);
    transform: translateX(calc(-50% + 15rem));
    width: 62rem;
}

img.imghalf {
    position: absolute;
    bottom: 0;
    width: 93rem;
    left: calc((50vw - 60rem) + (120rem / 3));
}

.imgquartwrap {
    position: absolute;
    top: 0%;
    left: 0;
    /* left: calc(50vw - 60rem);
    transform: translateX(calc(-50% + 15rem)); */
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    width: 30rem;
    padding: 4rem 0;
}

.imgquartwrap img {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.sectpattern {
    background-image: url('../images/pattern.jpg');
    background-repeat: repeat;
    background-size: 63rem 63rem;
    background-position: center;
    color: #fff;
}

.wimgbottom {
    position: relative;
    margin-bottom: 17rem;
}

.sectpattern .wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.sidebox {
    position: relative;
    background-color: var(--clr);
    padding: 4rem 4rem 4rem 0;
    width: 37%;
}
.sidebox.wider {
    width: 47%;
}

.sidebox:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100%;
    transform: translateX(-100%);
    background-color: var(--clr);
}

.sidebox > *:last-child {
    margin-bottom: 0;
}

.sidebox + .text {
    padding-top: 4rem;
    width: 50%;
}

img.imgbottomright {
    position: absolute;
    width: calc(0.65 * 120rem);
    bottom: -16rem;
    right: calc(50vw - 66rem);
}

.prefootimg {
    padding: 8rem 0rem 5rem;
}

.prefootimg img {
    width: 30%;
    margin: 0 auto;
}

.midimg {
    padding: 8rem 0;
}

.midimg img {
    width: 90%;
    max-width: 95rem;
    margin: 0 auto;
}

.membre {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.membre img {
    display: block;
    aspect-ratio: 1;
    width: 26rem;
    border-radius: 50%;
    object-fit: cover;
}

.membre div {
    width: calc(100% - 30rem);
}

.membresmwrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem 3rem;
}

.membresm h2 {
    margin-bottom: 0;
}

.maps {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    background-color: var(--clr-accent);
    margin-top: 8rem;
    padding-bottom: 0.5rem;
}

a.mailbtn {
    position: absolute;
    bottom: 0;
    left: 50%;
    translate: -50% 0;
    background-color: var(--clr-accent);
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    z-index: 99;
    transition: all 0.4s;
}

a.mailbtn:hover {
    background-color: var(--clr);
}

.maps a.tel img,
a.mailbtn img {
    filter: grayscale(1) brightness(5);
    opacity: 0.7;
}

.maps .map {
    position: relative;
    overflow: hidden;
    padding-left: calc(50vw - 60rem);
    padding-top: 4rem;
    padding-bottom: 26rem;
    display: flex;
    justify-content: flex-start;
}

.maps .map + .map {
    padding-right: calc(50vw - 60rem);
    padding-left: 0;
    justify-content: flex-end;
}

.maps iframe {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -14rem);
    height: calc(100% + 59rem);
    width: calc(100% + 60rem);
}

.maps .sidebox {
    width: auto;
    position: relative;
    z-index: 5;
    color: #fff;
}

.maps .sidebox a {
    color: #fff;
    text-decoration: none !important;
}

.maps .map + .map .sidebox {
    padding: 4rem 0px 4rem 4rem;
}

.maps .map + .map .sidebox:after {
    right: 0;
    left: auto;
    transform: translateX(100%);
}

.menu-ico {
    display: none;
}

.servicesmidbanner {
    margin: 0 auto 7rem;
    display: block;
    max-width: 95%;
    width: 800px;
    aspect-ratio: 8/4;
    object-fit: cover;
    border: 5px solid #fff;
}

@media screen and (max-width: 1280px) {
    p,
    ul,
    ol {
        font-size: 1.8rem;
    }
    p.quote,
    .tit1 span {
        font-size: 2.2rem;
    }

    .tit1 {
        font-size: 3rem;
        letter-spacing: 0.2rem;
    }
    .tit2 {
        font-size: 2.5rem;
    }

    .tit3 {
        font-size: 1.8rem;
    }

    .heureslist h3 {
        min-width: 12.5rem;
    }

    img.imgquart {
        left: 0;
    }

    .sidebox {
        width: 40%;
    }

    img.imgbottomright {
        right: -2rem;
        width: 65vw;
    }

    img.imghalf {
        width: 73rem;
        left: 37vw;
    }
    .herosliderwrap:after {
        width: 23rem;
        height: 22.3rem;
    }
    .imgquartwrap {
        left: 1rem;
    }

    .maps .sidebox {
        padding: 2rem;
        padding-left: 6rem;
    }
    .maps .map + .map .sidebox {
        padding: 2rem;
        padding-right: 6rem;
    }
}
@media screen and (max-width: 1024px) {
    .menu-ico {
        display: block;
        width: 3.2rem;
        cursor: pointer;
        margin-left: 2.5rem;
    }

    .menu-ico span {
        display: block;
        width: 100%;
        height: 0.3rem;
        background-color: #fff;
    }

    .menu-ico span + span {
        margin-top: 0.5rem;
    }

    header nav {
        display: none;
        position: absolute;
        left: 0;
        top: 10.2rem;
        width: 100%;
        margin-top: 0;
        gap: 0;
        background-color: var(--clr-accent);
        padding: 1rem 0;
    }

    header nav a {
        display: block;
        text-align: center;
        padding: 0.5rem 0;
    }

    header a.logo + div {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    header .social {
        margin-bottom: 0;
    }

    header a.logo {
        width: 19.5rem;
    }

    .coord {
        display: block;
        max-width: 35%;
    }
    .heures {
        max-width: 65%;
    }
    .maps .map {
        padding-top: 0;
    }
    .maps .sidebox {
        width: 100%;
        padding: 2rem 3rem !important;
    }
    .maps {
        background-color: #fff;
    }
    .tit2 {
        font-size: 2.2rem;
    }
}
@media screen and (max-width: 850px) {
    .tit1 {
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }
    .tit2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    p,
    ul,
    ol {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    p.quote,
    .tit1 span {
        font-size: 1.8rem;
    }

    img.imgquart {
        width: 42rem;
    }

    p.quote {
        margin-top: 6rem;
        padding: 0px 3rem;
    }

    p.quote:before,
    p.quote:after {
        font-size: 4.5rem;
    }
    .emptyquart .wrap {
        padding-left: 26rem;
    }

    img.imgbottomright {
        width: 85vw;
    }
    img.imghalf {
        width: 60%;
        left: auto;
        right: -5%;
    }
    .emptyhalf .wrap {
        padding-right: 40%;
    }

    .prefootimg img {
        width: 40%;
    }
    .imgquartwrap {
        width: 26rem;
        left: 0;
    }
    .mb {
        margin-bottom: 5rem;
    }
    .herosliderwrap:after {
        right: 1rem;
    }
    .maps .sidebox {
        padding: 2rem !important;
    }
}
@media screen and (max-width: 750px) {
    .wrap {
        max-width: calc(100% - 2rem);
    }
    header a.logo {
        width: 13rem;
    }
    header {
        padding: 2rem 0;
    }
    header nav {
        top: 6.8rem;
    }
    .herosliderwrap:after {
        width: 15rem;
        height: 14.6rem;
    }

    .emptyquart {
        display: flex;
        flex-wrap: wrap;
    }

    img.imgquart {
        position: relative;
        bottom: 0;
        width: 100%;
        transform: none;
        margin-top: 3rem;
        order: 2;
    }

    .emptyquart .wrap {
        padding-left: 0;
        order: 1;
    }

    p.quote {
        padding: 0 2rem;
    }
    p.quote:before,
    p.quote:after {
        font-size: 3.5rem;
    }

    .sidebox:after {
        display: none;
    }
    .sidebox,
    .sidebox.wider {
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .sidebox + .text {
        width: 100%;
    }
    .sectpb {
        padding-bottom: 10rem;
    }
    .wimgbottom {
        margin-bottom: 14rem;
    }
    img.imgbottomright {
        width: 100%;
        right: 0;
        bottom: -12rem;
    }
    .coord,
    .heures {
        max-width: 100%;
        width: 100%;
    }
    .tit3 {
        font-size: 1.6rem;
    }
    .heureslist h3 {
        min-width: 10.5rem;
    }
    .heureslist div {
        flex-wrap: nowrap;
    }
    .emptyhalf .wrap {
        padding-right: 0;
    }
    img.imghalf {
        width: 100%;
        position: relative;
        margin-top: 3rem;
        right: 0;
    }

    .imgquartwrap {
        width: 100%;
        position: relative;
        transform: none;
        height: auto;
        padding: 0;
        flex-direction: row;
        margin-bottom: 3rem;
    }
    .imgquartwrap img {
        width: 30%;
    }
    .sectpt {
        padding-top: 4rem;
    }
    .prefootimg img {
        width: 55%;
    }

    .membresmwrap {
        display: block;
        gap: 0;
    }
    .membresm {
        margin-bottom: 3rem;
    }

    .membre img {
        margin-left: auto;
        margin-right: auto;
        width: 20rem;
        margin-bottom: 2rem;
    }
    .membre div {
        width: 100%;
    }
    .maps {
        display: block;
        padding-bottom: 5rem;
    }
    .maps .map {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    a.mailbtn {
        translate: 0;
        width: 100%;
        left: 0;
    }
}
