/* =========================
 FONT FACE
========================== */
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Regular.woff2') format('woff2'),
        url('../fonts/Lato-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-BoldItalic.woff2') format('woff2'),
        url('../fonts/Lato-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Bold.woff2') format('woff2'),
        url('../fonts/Lato-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Black.woff2') format('woff2'),
        url('../fonts/Lato-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-BlackItalic.woff2') format('woff2'),
        url('../fonts/Lato-BlackItalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Light.woff2') format('woff2'),
        url('../fonts/Lato-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-LightItalic.woff2') format('woff2'),
        url('../fonts/Lato-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato Hairline';
    src: url('../fonts/Lato-HairlineItalic.woff2') format('woff2'),
        url('../fonts/Lato-HairlineItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato Hairline';
    src: url('../fonts/Lato-Hairline.woff2') format('woff2'),
        url('../fonts/Lato-Hairline.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato-Italic.woff2') format('woff2'),
        url('../fonts/Lato-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Courgette';
    src: url('../fonts/Courgette-Regular.woff2') format('woff2'),
        url('../fonts/Courgette-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Cheddar Jack';
    src: url('../fonts/CheddarJack.woff2') format('woff2'),
        url('../fonts/CheddarJack.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Dosis';
    src: url('../fonts/Dosis-Regular.woff2') format('woff2'),
        url('../fonts/Dosis-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* =========================
 RESET
========================== */
*, ::after, ::before {
    box-sizing: border-box;
}
body, ul, h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}
ul {
    padding: 0;
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
img, source {
    width: 100%;
    height: auto;
    vertical-align: top;
}
button, input:not([type=checkbox], [type=radio]), select, textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    cursor: pointer;
}
table {
    border-collapse: collapse;
}
/* =========================
 GLOBAL
========================= */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
body {
    position: relative;
    max-height: 100vh;
    font-family: 'Lato', arial, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: #000;
}
a {
    cursor: pointer;
}
picture {
    display: block;
}
/* =========================
 COMMON ELEMENTS
========================= */
.link--orange {
    font-size: 1.8rem;
    color: #f19000;
}
.link--orange:hover {
    color: #636363;
}
/* =========================
 HEADER
========================= */
.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    background-color: #36bdef;
    height: 42.2px;
    padding-right: 20px;
}
.nav-lang {
    display: flex;
    column-gap: 36px;
    padding: 10px 20px;
}
.mesure-sanitaire, .header__top-tel {
    font-weight: bold;
}
.header__bottom {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-height: 95px;
    background-color: #fff;
    padding: 8px 0;
}
.header__bottom_logo {
    display: flex;
    align-items: center;
    width: 270px;
    height: auto;
}
.become-owner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 267px;
    height: 95px;
    text-transform: uppercase;
    font-size: 1.8rem;
    color: #fff;
    background: url(../img/bird-white.png) center center no-repeat #f19000;
    background: url(../img/bird-white.webp) center center no-repeat #f19000;
}
.become-owner:hover {
    background-color: #04537f;
    transition: all .3s;
}
@media (max-width: 1400px){
    /* placer le menu burger à droite */
    .header__bottom {
        justify-content: flex-end;
        column-gap: 10px;
    }
    .header__bottom_logo {
        position: absolute;
        left: 0;
    }
}
@media (max-width: 768px) {
    .header__top {
        justify-content: center;
    }
    .mesure-sanitaire, .header__top-tel {
        display: none;
    }
}
@media (max-width: 580px) {
    .header__bottom {
        position: relative;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        column-gap: 0;
        max-height: 240px;
        padding-bottom: 10px;
    }
    .header__bottom_logo {
        position: relative;
    }
    .become-owner {
        position: absolute;
        top: 100px;
        height: 45px;
    }
    .nav-main {
        margin-top: 70px;
    }
}
/* =========================
 MENU DESKTOP
========================= */
.menu-desktop {
    display: flex;
    text-transform: uppercase;
    column-gap: 16px;
}	
.menu-desktop-item {
    position: relative;
    font-size: 1.6rem;
    cursor: pointer;
}
.menu-desktop-item:hover {
    color: #ff329d;
}
.desktop-submenu {
    position: absolute;
    opacity: 0;
    width: 184px;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
    background-color: #36bdef;
    padding: 20px;
    border-top: 35px solid #fff;
    z-index: -1;
}
.menu-desktop-item:hover .desktop-submenu {
    opacity: 1;
    transition: all .5s;
    z-index: 999;
}
.desktop-submenu li {
    font-size: 1.4rem;
    margin-bottom: 10px;
}
@media (max-width: 1400px){
    .menu-desktop {
        display: none;
    }
}
/* =========================
 MENU BURGER
========================= */	
.hamburger-menu {
    display: none;
}
@media (max-width: 1400px){
    .hamburger-menu {
        display: block;
    }
    /* Humberger icon */
    .menu-btn {
        position: relative;
        display: flex;
        height: 40px;
        width: 40px;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 999;
    }
    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 2px;
        width: 20px;
        border-radius: 3px;
        background-color: #04537f;
        position: absolute;
        transition: all .3s;
    }
    .menu-btn span:before {
        bottom: 6px;
    }
    .menu-btn span:after {
        top: 6px;
    }
    /* Animation */
    #menu-btn-check:checked ~ .menu-btn span {
        background-color: rgba(255, 255, 255, 0);
        transition: all .3s;
    }
    #menu-btn-check:checked ~ .menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
        transition: all .3s;
    }
    #menu-btn-check:checked ~ .menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
        transition: all .3s;
    }
    #menu-btn-check {
        display: none;
    }
    .menu-content {
        position: absolute;
        width: 100%;
        height: 0;
        top: 95px;
        left: 0;
        font-size: 1.6rem;
        text-transform: uppercase;
        color: #fff;
        background-color: #36bdef;
        transition: all .1s;
    }
    #menu-btn-check:checked ~ .menu-content {
        height: 100vh;
        transition: all .1s;
        z-index: 999;
    }
    .menu-content ul:not(.submenu-content) {
        display: none;
        padding: 10px 20px;
    }
    #menu-btn-check:checked ~ .menu-content ul {
        display: block;
        height: 100%;
    }
    .menu-content ul li a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-decoration: none;
        padding: 8px 0;
        position: relative;
    }
    /* =========================
     ACCORDION
    ========================= */
    .accordion {
        width: 100%;
        margin: 0 auto;
    }
    .accordion-header {
        position: relative;
        cursor: pointer;
        padding: 8px 0;
        transition: all .3s;
    }
    .accordion-body {
        display: none;
    }
    .accordion-body__contents {
        font-size: 1.4rem;
    }
    .accordion__item > .accordion-header:after {
        position: relative;
        content: "";
        float: right;
        width: 6px;
        height: 6px;
        right: 0;
        border-top: 1px solid #fff;
        border-right: 1px solid #fff;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        transition: .3s all;
    }
    .accordion__item.active > .accordion-header:after {
        transform: rotate(135deg);
    } 
    .accordion__item.active .accordion-header {
        color: #979797;
    } 
    /* Accordion Contents */
    .accordion-body__contents li {
        margin-bottom: 5px;
    }
    /* =========================
     Accordion HEADER SUBMENU
    ========================= */
    /* Sub menu's arrow */
    .menu-content .accordion-body__contents {
        padding: 0 0 0 30px;
    }
    .menu-content .accordion-body__contents li {
        font-family: Arial, Helvetica, sans-serif;
        margin: 0;
    }
    .menu-content .accordion__item.active .accordion-header {
        color: #eeeeee;
    } 
}
@media (max-width: 580px) {
    .menu-content {
        top: 196px;
    }
}
/* =========================
 BANNER
========================= */
.banner {
    width: 100%;
    height: 70vh;
    background-image: url(../img/img-hero.jpg);
    background-repeat: no-repeat;
    background-position: top 70% center;
    background-size: cover;
}
@media (max-width: 600px) {
    .banner {
        height: 50vh;
    }
}
@media (max-width: 480px) {
    .banner {
        background-image: url(../img/img-hero-mobile.jpg);
    }
}
/* =========================
 MAIN_CONTENT
========================= */
.search-engin {
    text-align: center;
    background-color: #f19000;
    padding: 40px 20px;
}
.search-engin p {
    color: #fff;
    font-family: 'Cheddar Jack', cursive, sans-serif;
    font-size: 4.5rem;
    margin-bottom: 16px;
}
.main {
    padding: 20px;
}
.main__content {
    padding: 0 20px 40px 20px;
}
.main__content_wrapper {
    display: flex;
    column-gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
picture.content__left {
    width: 50%;
    height: fit-content;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}
.content__right {
    width: 50%;
}
h2.content__right_title {
    text-transform: uppercase;
    font-size: 3rem;
    font-weight: normal;
    color: #f19000;
    margin-bottom: 20px;
}
.content__right p {
    font-size: 1.8rem;
    color: #6a6a6a;
    margin-bottom: 20px;
}
.links-pre-title {
    text-align: center;
    font-family: 'Cheddar Jack', cursive, sans-serif;
    font-size: 9rem;
    color: #f19000;
}
.links-title {
    text-transform: uppercase;
    text-align: center;
    font-size: 5.5rem;
    font-weight: 400;
    margin-top: -57px;
    margin-bottom: 40px;
}
.link_blocks {
    position: relative;
    display: flex;
    justify-content: center;
    column-gap: 20px;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}
.link_block_img {
    position: relative;
}
.link_block {
    position: relative;
    display: block;
    height: fit-content;
}
.link_block:hover {
    opacity: 0.9;
}
.link_block_orange {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 164px;
    height: 124px;
    background-color:#f19000;
    padding: 0 20px;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    z-index: 99;
}
.link_block_picto {
    position: relative;
    top: 10px;
    width: 72px;
    height: 72px;
}
.link_block:first-of-type .link_block_picto {
    top: 20px;
}
.link_block_orange h5 {
    position: relative;
    top: 6px;
    text-align: center;
    font-family: 'Cheddar Jack', cursive, sans-serif;
    line-height: 0.5;
    font-size: 3.4rem;
    color: #fff;
    padding: 16px 0;
}
@media (max-width: 768px) {
    .main__content_wrapper {
        flex-direction: column;
    }
    picture.content__left {
        display: block;
        height: auto;
        max-height: 300px;
        object-position: center center;
        object-fit: cover;
        overflow: hidden;
    }
    picture.content__left, .content__right {
        width: 100%;
    }
    h2.content__right_title {
        font-size: 2.4rem;
    }
    .links-pre-title {
        font-size: 6rem;
    }
    .links-title {
        margin-top: -20px;
        margin-bottom: 10px;
        font-size: 3rem;
    }
    .link_blocks {
        flex-wrap: wrap;
        row-gap: 20px;
    }
    .link_block {
        max-width: 250px;
    }
}
@media (max-width: 500px) {
    .link_blocks {
        flex-wrap: wrap;
    }
}
/* =========================
 SLIDER
========================= */
.splide {
    max-width: 1000px;
    margin: 60px auto;
}
.splide__list {
    display: flex;
    align-items: center;
}
.splide__slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    max-height: 140px;
    padding: 0 20px;
}
.splide__slide img{
    width: auto;
    max-width: 140px;
    height: auto;
    max-height: 140px;
    text-align: center;
}
.splide__arrow {
    display: none;
}
.splide__pagination {
    position: relative;
    top: 5px;
}
.splide__pagination__page.is-active {
    background: #727272!important;
}
@media (max-width: 600px){
    .splide {
        max-width: 400px;
    }
}
/* =========================
 FOOTER
========================= */
.footer {
    position: relative;
    width: 100%;
    padding: 0 20px 10px 20px;
    margin-top: 160px;
    background-color: #04537f;
}
.nav-footer {
    position: relative;
    top: -100px;
}
.nav-footer ul {
    display: flex;
    justify-content: center;
    column-gap: 20px;
}
.nav-footer li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 146px;
    text-align: center;
    font-family: 'Cheddar Jack', cursive, sans-serif;
    font-size: 4rem;
    line-height: 30px;
    color: #fff;
    border-radius: 10px;
    background: url("../img/bird-white.png") center center no-repeat #36bdef;
    cursor: pointer;
}
.nav-footer li:first-of-type {
    background-color: #f19000;
}
.nav-footer li:hover {
    background-color: #f19000;
    transition: all .3s;
}
.nav-footer li:first-of-type:hover {
    background-color: #666;
}
.footer__content {
    position: relative;
    display: flex;
    justify-content: center;
    column-gap: 40px;
    top: -70px;
    width: 100%;
}
.footer__content_left, .footer__content_right {
    display: flex;
    column-gap: 10px;
}
.footer__content_left > div, .footer__content_right > div{
    display: flex;
    flex-direction: column;
}
.footer__content ul {
    width: 230px;
    margin-bottom: 20px;
}
.footer__content li:not(:first-of-type) {
    font-family: Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 10px;
}
.footer__content li a:hover {
    color: #f19000;
}
.footer__content_title {
    font-family: 'Cheddar Jack', cursive, sans-serif;
    font-size: 4rem;
    color: #36bdef;
    margin-bottom: 14px;
}
.footer__content_list {
    display: flex;
    row-gap: 10px;
    flex-wrap: wrap;
}
.logo-rs, .logo-paiment {
    height: 42px;
    margin-right: 10px;
}
.img-award {
    max-width: 180px;
    margin-top: 50px;
}
.footer__mentions {
    text-align: center;
    font-size: 1.8rem;
}
.footer__awards {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    row-gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.footer__awards picture, .footer__awards picture img{
    max-height: 160px;
}
@media (max-width: 1000px) {
    .footer__content {
        flex-direction: column;
        justify-content: center;
    }
    .footer__content_left > div, .footer__content_right > div {
        width: 100%;
    }
    .footer__content ul {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .nav-footer ul {
        flex-wrap: wrap;
        row-gap: 20px;
        padding: 0 100px;
    }
    .footer__content ul {
        width: 230px;
    }
}
@media (max-width: 490px) {
    .footer__content_left, .footer__content_right {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-footer ul {
        padding: 0;
    }
    .footer__content ul {
        width: 100%;
    }
}   