/* Mobile Version */

/* Hero Section */
#hero {
    background-color: #02142B;
    overflow: hidden;
}

#hero .section-container {
    position: relative;
    padding-bottom: 0;
}

#hero .section-container > figure {
    display: none;
}

#hero p,
#hero span,
h1 {
    color: white;
    position: relative;
    z-index: 99;
}

#hero .bretagne,
#hero .engagement,
#hero .month {
    font-weight: 700;
    font-size: 18px;
}

h1 {
    margin: 15px 0 10px 0;
}

#hero .month {
    margin: 40px 0;
    width: 51%;
    line-height: 22px;
}

#hero span {
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
    text-transform: uppercase;
    font-family: 'Helvetica Neue', sans-serif;
    margin-bottom: 40px;
    display: block;
    width: max-content;
}

#hero a {
    margin-bottom: 40px;
    position: relative;
    z-index: 99;
}

#hero .section-container div figure {
    position: absolute;
    right: -30px;
    top: 110px;
}

#hero .section-container div figure img {
    height: 360px;
}


/* Section Engagement */
#engagement {
    background-color: #D70014;
}

#engagement .section-container {
    padding: 40px 20px 0 20px;
    position: relative;
    overflow: hidden;
}

#engagement h2 {
    color: white;
    position: relative;
    z-index: 50;
    margin-bottom: 30px;
    line-height: 31.75px;
}

#engagement .content > figure {
    position: absolute;
    top: 20px;
    left: 20px;
}

#engagement .content > figure img {
    height: 103px;
}

#engagement .content p {
    font-family: "STIX Two Text", serif;
    color: white;
    text-align: center;
    line-height: 22.5px;
    position: relative;
    z-index: 99;
    font-size: 18px;
}

#engagement .content .author {
    display: flex;
    color: white;
    margin: 20px 0;
}

#engagement .content .author img {
    height: 48px;
}

#engagement .content .author div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 10px;
    gap: 5px;
    margin-top: -2px;
}

#engagement .content .author .name {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 500;
}

#engagement .content .author .function {
    font-family: "STIX Two Text", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
}

#engagement .section-container > figure {
    overflow: hidden;
    width: max-content;
    margin: 0 auto;
}

#engagement .section-container > figure img.mobile-img {
    width: 335px;
    display: flex;
    object-position: 50% 100px;
    height: 195px;
    transition: all 0.5s ease;
    opacity: 0;
}

#engagement .section-container > figure img.mobile-img.animate {
    object-position: 50% 0;
    opacity: 1;
}


/* Section Avantages */
#avantages .section-container {
    padding: 40px 20px;
}

#avantages h2 {
    margin-bottom: 30px;
}

#avantages article {
    text-align: center;
    margin-bottom: 30px;
}

#avantages figure img {
    height: 135px;
}

#avantages h3 {
    color: #D70014;
    margin: 10px 0;
}

#avantages a {
    margin: 0 auto;
}

/* Section Questions */
#questions {
    background-color: #FFF2F0;
}

#questions .section-container {
    padding: 40px 20px;
}

#questions figure {
    margin: 40px auto;
    width: max-content;
}

#questions figure img {
    height: 207px;
}

#questions ul {
    width: 280px;
    margin: 0 auto;
}

#questions .list-item {
    cursor: pointer;
}

/*#questions .list-item p {
    font-size: 16px;
}*/

#questions .list-item:nth-of-type(2) {
    border-top: 1px solid #EB5059;
    border-bottom: 1px solid #EB5059;
}

#questions .list-item .theme {
    display: flex;
    align-items: center;
    padding: 20px 0;
    justify-content: space-between;
}

#questions .list-item .theme i {
    transition: all 0.3s ease;
    margin-left: 20px;
    font-size: 20px;
}

#questions .list-item.isOpened .theme i {
    rotate: 180deg;
}

#questions .list-item .desc {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

#questions .list-item.isOpened .desc {
    max-height: 1000px;
    opacity: 1;
}

#questions .list-item .desc p {
    margin-bottom: 20px;
}





/* Section Community */
#community {
    background-color: #D70014;
    overflow: hidden;
}

#community .section-container {
    padding: 40px 20px;

}

#community h2 {
    color: white;
    text-align: center;
    line-height: 31.75px;
}

#community a {
    margin: 40px auto;
}

#community figure {
    position: relative;
    height: 240px;
    width: 270px;
    margin: 0 auto -80px auto;
}

#community img {
    position: absolute;
    top: 0;
    left: -35px;
    height: 240px;
}


/* Consent */
.didomi-consent-popup-preferences a {
	display: inline;
	background: transparent;
	padding: 0;
	border-radius: 0;
}

.didomi-consent-popup-preferences a:hover {
	box-shadow: none;
}


    /* Pad Version */
    @media screen and (min-width: 768px) {
        /* Hero Section */
        #hero {
            overflow: visible;
        }

        #hero .section-container {
            display: flex;
            justify-content: space-between;
            flex-direction: row-reverse;
            padding-top: 0;
        }

        #hero .section-container > div {
            width: 60%;
            padding-top: 80px;
        }

        h1 {
            margin: 10px 0 5px 0;
        }

        #hero .bretagne {
            font-size: 19px;
        }

        #hero .engagement {
            font-size: 23px;
        }

        #hero .month {
            font-size: 20px;
            margin: 40px 0 40px 0;
            line-height: 28px;
            width: 61%;
        }

        #hero span {
            margin: 0 0 40px 0;
        }

        #hero a {
            margin: 0 220px 40px 0;
        }

        #hero .section-container div figure {
            top: unset;
            bottom: -60px;
            right: -30px;
        }

        #hero .section-container div figure img {
            height: 390px;
        }

        #hero .section-container > figure {
            display: block;
            animation: heroImg 1s ease forwards;
            height: 550px;
            position: absolute;
            bottom: 0;
            left: -240px;
            overflow: hidden;
            max-width: 660px;
            width: 550px;
            opacity: 0;
        }

        @keyframes heroImg {
            0% {
                width: 450px;
                opacity: 0;
            }
            100% {
                width: 550px;
                opacity: 1;
            }
        }

        #hero .section-container > figure img {
            width: 100%;
            display: flex;
            transition: all 1s ease;
            padding-top: 60px;
        }



        /* Section Engagement */
        #engagement .section-container {
            padding: 40px 0 0 0;
            display: flex;
            flex-direction: row-reverse;
            overflow: visible;
        }

        #engagement .content {
            width: 45%;
            position: relative;
            padding-right: 40px;
            padding-bottom: 40px;
        }

        #engagement .content h2 {
            text-align: left;
            line-height: 38px;
            margin-bottom: 30px;
        }

        #engagement .content p {
            position: relative;
            z-index: 50;
            text-align: left;
            line-height: 25px;
            font-size: 20px;
        }

        #engagement .content .author {
            margin-top: 30px;
        }

        #engagement .content .author img {
            height: 56px;
        }

        #engagement .content .author .name,
        #engagement .content .author .function {
            font-size: 16px;
            position: relative;
            z-index: 50;
        }


        #engagement .content > figure {
            top: unset;
            bottom: 40px;
            left: unset;
            right: 40px;
        }

        #engagement .content > figure img {
            height: 150px;
        }

        #engagement .content .author {
            margin-bottom: 0;
        }

        #engagement .section-container > figure {
            margin: -150px 0 -150px 0;
            height: 467px;
            position: absolute;
            bottom: 150px;
            left: -120px;
        }


        #engagement .section-container > figure img.mobile-img {
            display: none;
        }

        #engagement .section-container > figure img {
            height: 800px;
            object-position: 50% 150px;
            opacity: 0;
            transition: all 0.5s ease;
        }

        #engagement .section-container > figure img.animate {
            object-position: 50% 50%;
            opacity: 1;
        }




            /* Section Avantages */
        #avantages .section-container {
            padding: 40px;
        }

        #avantages h2 {
            margin-bottom: 45px;
        }

        #avantages .cards-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 60px;
        }

        #avantages article {
            width: 45%;
            margin-bottom: 0;
        }

        #avantages a {
            margin-top: 40px;
        }


        /* Section Questions */
        #questions .section-container {
            display: flex;
            justify-content: space-between;
            padding: 40px;
        }

        #questions figure {
            margin: 40px 0 0 0;
        }

        #questions figure img {
            height: 227px;
        }

        #questions .list-container {
            width: 40%;
        }

        #questions ul {
            width: 100%;

        }

        #questions .list-item .theme {
            padding: 25px 0;
        }

        #questions .list-item .desc p {
            margin-bottom: 25px;
        }

        /* Section Community */
        #community .section-container {
            padding: 40px;
            display: flex;
        }

        #community h2 {
            max-width: 520px;
            margin: 0;
            line-height: 38.75px;
            text-align: left;
        }

        #community a {
            margin: 40px 0;
        }

        #community figure {
            margin: 80px -40px -80px auto;
        }

        #community img {
            left: -195px;
            height: 270px;
        }
    }

        /* Desktop Version */
        @media screen and (min-width: 992px) {
            /* Hero Section */
            #hero {
                overflow: visible;
            }

            #hero .section-container {
                display: flex;
                justify-content: space-between;
                flex-direction: row-reverse;
                padding-top: 0;
            }

            #hero .section-container > div {
                width: 48%;
                padding-top: 80px;
            }

            #hero h1 {
                margin: 10px 0 5px 0;
            }

            #hero .bretagne {
                font-size: 20px;
            }

            #hero .engagement {
                font-size: 28px;
                line-height: 39px;
                padding-bottom: 20px;
                width: 43%;
            }

            #hero .month {
                font-size: 23px;
                margin: 100px 0 30px auto;
                width: 100%;
                padding-right: 275px;
                line-height: 32.95px;
                text-align: right;
            }

            #hero span {
                margin: 0 0 60px auto;
                padding-right: 275px;
            }

            #hero a {
                margin: 0 0 50px 0;
                width: 50%;
                text-align: center;
                max-width: max-content;
            }

            #hero .section-container div figure {
                bottom: 0;
                right: 60px;
            }

            #hero .section-container div figure:after {
                position: absolute;
                content: " ";
                right: -378px;
                bottom: -19px;
                width: 620px;
                height: 242px;
                background-color: #D70014;
                rotate: 44.55deg;
            }

            #hero .section-container div figure img {
                height: 440px;
                position: relative;
                z-index: 99;
            }

            #hero .section-container > figure {
                display: block;
                width: 60%;
                height: 660px;
                position: absolute;
                bottom: 0;
                left: -150px;
                overflow: hidden;
                transition: all 1s ease;
                max-width: 60%;
            }

            @keyframes heroImg {
                0% {
                    width: 560px;
                    opacity: 0;
                }
                100% {
                    width: 60%;
                    opacity: 1;
                }
            }

            #hero .section-container > figure img {
                width: 100%;
                display: flex;
                transition: all 1s ease;
                padding-top: 0;
                position: relative;
            }




            /* Section Engagement */
            #engagement .section-container {
                padding: 30px 0 0 0;
            }

            #engagement .section-container > figure {
                left: 60px;
                height: 407px;
            }

            #engagement .section-container > figure img {
                height: 720px;
            }

            #engagement .content {
                width: 46%;
                padding-bottom: 30px;
                padding-right: 60px;
            }

            #engagement .content h2 {
                margin-bottom: 30px;
            }

            #engagement .content .author {
                margin-top: 25px;
            }

            #engagement .content .author img {
                height: 64px;
            }

            #engagement .content p {
                font-size: 20px;
                line-height: 25.5px;
            }

            #engagement .content .author .name,
            #engagement .content .author .function {
                font-size: 18px;
            }

            #engagement .content > figure img {
                height: 210px;
            }


            /* Section Avantages */
            #avantages .section-container {
                padding: 50px 60px;
            }

            #avantages h2 {
                margin-bottom: 40px;
            }

            #avantages article {
                width: 26.8%;
            }

            #avantages h3 {
                margin: 15px 0;
            }


            /* Section Questions */
            #questions .section-container {
                padding: 60px;
                gap: 40px;
            }

            #questions .title-container {
                min-width: 462px;
            }

            #questions h2 {
                text-align: left;
                line-height: 46px;
            }

            #questions figure img {
                height: 251px;
            }

            #questions .list-container {
                width: auto;
                max-width: 730px;
            }


            /* Section Community */
            #community .section-container {
                padding: 40px 60px;
            }

            #community h2 {
                max-width: 790px;
                width: 72%;
                line-height: 46px;
            }

            #community a {
                margin: 60px 0 30px 0;
            }

            #community figure {
                margin: 10px -60px 0 auto;
                width: 500px;
            }

            #community figure:after {
                position: absolute;
                content: " ";
                bottom: -69px;
                right: -100px;
                height: 80px;
                width: 150px;
                background-color: #02142B;
                rotate: 44deg;
            }

            #community img {
                height: 400px;
            }
        }