@charset "UTF-8";

@import "reset.css";
@import "variables.css";
@import "fonts.css";

body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: auto;
    text-align: left;
    background-color: var(--body-color);
    color: var(--primary-color)
}

em {
    color: var(--accent-color);
}

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

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    background-color: var(--background-color);
}

header, footer {
    height: auto;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}

#logo {
    display: block;
    position: relative;
    padding: 20px 10px;
    margin: 0 0;
    width: 100%;
    background-color: var(--background-color);
    padding-bottom: 25px;
}

#logo::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(to bottom, #f0f0f0, #ffffff);
}

#logo img {
    display: block;
    margin: 0 auto;
    width: 25%;
    min-width: 100px;
    max-width: 200px;

}
section, #reassurance-chiffres {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* gap: 20px 75px; */
    padding: 20px;
    background-color: #ffffff;
}

 #avantages {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* gap: 20px 75px; */
    padding: 20px;
}

#hero {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    /* gap: 20px; */
    padding: 0;
    margin: 0;
    width: 100%;
    background-color: var(--background-color);
}

#hero>div {
    text-align: center;
}

#hero * {
    max-height: 435px;
}

#hero>div.left {
    padding: 10px 40px;
}

#hero>div.right {
    padding: 0;
}

#hero h1, #hero p {
    margin: 10px;
}

#hero h1 {
    color: var(--accent-color);
}

#hero img {
    padding: 0;
    margin: 0;
}

#hero .cta {
    margin-top: 40px;
}

#offres {
    width: 100%;
    background-color: #FBF0EB;
    text-align: center;
    padding: 20px;
    margin-top: 0;
}

#offres h2,
#offres .offre,
#offres button {
    display: block;
    margin: 10px auto;
}

#offres h2, #offres h3 {
    width: 100%;
    margin: 0 auto 10px auto;
}

#offres .offre {
    background-color: #ffffff;
    box-shadow: 2px 2px 6px 0px #00000040;
    border-radius: 15px;
    padding: 20px 10px;
    margin-bottom: 20px;
    max-width: 470px;
}

#offres h3 {
    color: var(--accent-color);
}

#offres .offre p {
    color: var(--accent-color);
}

#offres .cta {
    width: 100%;
}

#offres button.btn-cta {
    box-shadow: 2px 2px 4px 0px #00000040;
}

#offres .offre ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

#offres .offre ul li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#offres .offre ul li::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 10px;
    background-image: url("../img/li_ellipse.svg");
    background-size: 15px 15px;
    background-repeat: no-repeat;
    background-position: center center;
    flex-shrink: 0;
}

.mention {
    color: var(--gray-color);
}

#reassurance .chiffres {
    color: var(--accent-color);
}

#avis h2 {
    color: var(--light-color);
}

#avis .nom {
    width: 100%;
}

#avis .nom img {
    float: right;
    width: 20px;
    height: 20px;
    margin-left: 3px;
}

#prefooter {
    gap: 20px;
    padding: 20px;
}

#prefooter .prefooter-item img {
    width: auto;
    margin: 10px;
}

#prefooter .prefooter-item.labels img {
    height: 74px;
}

#prefooter .prefooter-item.socials img {
    height: 26px;
}

#prefooter .prefooter-item.logos img {
    height: 40px;
}

#footer a {
    color: var(--light-color);
}

#footer a:hover {
    text-decoration: underline;
}

.btn-cta {
    display: inline-block;
    color: var(--light-color);
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
    width: 200px;
    height: 42px;
    padding: 10px;
    border-radius: 5px;
    margin: 10px;
    text-align: center;
}

.btn-cta-invert {
    color: var(--accent-color);
    background-color: var(--light-color);
}

.btn-cta:hover {
    background-color: var(--light-color);
    color: var(--accent-color);
}

.btn-cta-invert:hover {
    background-color: var(--accent-color);
    color: var(--light-color);
}


#chiffres div.chiffre {
    width: 300px;
    height: 200px;
    background-color: #ffffff;
    text-align: center;
    padding: 20px;
    background-image: url("../img/tag.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

}

#chiffres p.chiffre {
    height: 70px;
}

#chiffres .mention {
    display: block;
    width: 100%;
    text-align: center;
    margin: 20px auto;
}

#avis {
    background: linear-gradient(180deg, #C82F00 50%, #FF6F2F 100%);
    min-height: 200px;
    color: var(--light-color);
    gap: 20px;
}

#avis h2 {
    width: 100%;
    text-align: center;
}

#avis div.avis {
    width: 300px;
    height: auto;
    background-color: #ffffff;
    text-align: left;
    padding: 20px;
    box-shadow: 2px 2px 6px 0px #00000040;
    border-radius: 15px;
    color: var(--primary-color)
}

#avis div.avis p {
    margin: 10px 0;
}

#reassurance {
    gap: 20px;
    padding: 20px;
    background-color: #ffffff;
}

.center {
    text-align: center;
    margin: 0 auto;
}

.vcenter {
    align-items: center;
    justify-content: center;
}

.vtop {
    vertical-align: top;
}

.reassurance-item.right {
    padding: 25px 0 25px 25px;
}

#reassurance-chiffres {
    gap: 10px;
    text-align: center;
    padding: 20px;
}

.reassurance-chiffre {
    border: 0.5px solid #C83F00;
    width: 250px;
    height: 210px;
    padding: 10px 20px;
}

.reassurance-chiffre p.chiffre {
    color: #C82F00;
}


#prefooter .tel img {
    width: 220px;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #3C3E44;
    color: #ffffff;
    gap: 40px;
    min-height: 100px;
    padding: 40px;
    padding-left: 120px;
}

footer a:hover {
    text-decoration: underline;
}

@media screen and (min-width: 800px) {

    #hero, #prefooter {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
    }

    #hero>div {
        flex: 1;
    }

    #hero>div:first-child {
        text-align: left;
    }

    #hero>div:last-child {
        text-align: right;
    }

    .btn-cta {
        margin-top: 40px;
    }

    #offres {
        flex-direction: row;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    #offres .offre {
        flex: 1;
        margin: 0 25px 0 25px !important;
        max-height: 330px;
    }

    #offres button {
        margin: 20px auto;
    }

    #chiffres, #avis, #cta, #reassurance {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        padding: 40px 20px;
    }

    #reassurance, #mentions, #offres>p {
        max-width: 1140px;
        margin: 0 auto;
    }

    #reassurance-chiffres {
        justify-content: flex-start;
    }

    #reassurance .reassurance-item, #reassurance-chiffres .reassurance-chiffre {
        flex: 1;
    }
    #formulaire {
        flex: 0 0 40%;
        max-width: 300px;
        margin: 0 15px;
    }
    #reassurance p {
        width: 100%;
    }

    #reassurance-chiffres {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        flex-wrap: wrap;
        padding: 40px;
    }

    #chiffres .chiffre {
        margin: 0 10px;
    }

}