@import url('https://fonts.googleapis.com/css2?family=Metal&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Charm:wght@400;700&display=swap');

:root {
    --color1: #dbd8ce;
    --color2: #775822;
    --color3: #943329;
    --color4: #292929;
    --color5: #eceae2;
    --color6: rgb(196, 193, 184);

    --deg: linear-gradient(to bottom, transparent, var(--color1));

    --title: "Open Sans", serif;
    --subtitle: "Charm", serif;
    --text: "Inter", serif;

    --h1: 34px;
    --size-title: 28px;
    --size-title2: 30px;
    --size-subtitle: 26px;
    --size: 16px;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--color1);
    color: var(--color4);
    font-family: var(--text);
    font-size: var(--size);
    min-width: 100%;
}

h1 {
    font-family: var(--title);
    font-size: var(--h1);
    color: var(--color3);
    margin: 0;
    margin-top: 40px;
}

#header {
    background-image: url(gfx/background.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

.fondu {
    background: var(--deg);
    margin: auto;
    padding: 30px;
    padding-top: 120px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
}

.fondu h3 {
    width: 50%;
    margin: auto;
}

.logo {
    max-width: 250px;
}

#header h2 {
    font-family: var(--subtitle);
    color: var(--color2);
    font-size: var(--size-title);
}

.infos-head {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
}

.info-head {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    background-color: var(--color5);
    padding: 5px;
    border-radius: 5px;
    border: 1px transparent solid;
    transition: 0.3s;
}

.info-head:hover {
    border: 1px solid var(--color2);
    transition: 0.3s;
}

a {
    text-decoration: none;
    color: var(--color4);
}

#header .infos-head a:last-child{
    color: var(--color5);
    padding: 11px;
}

.info-head:hover a:last-child{
    color: var(--color5);
}

.red {
    padding: 8px;
    background-color: var(--color3);
    color: var(--color5);
    transition: 0.3s;
}

.red:hover {
    background-color: var(--color5);
    color: var(--color4) !important;
    transition: 0.3s;
}

.red:hover a {
    color: var(--color2);
}

.material-symbols-outlined {
    background-color: var(--color3);
    color: var(--color1);
    padding: 5px;
    border-radius: 5px;
    font-size: var(--size);
    transition: 0.3s;
}

.info-head:hover .material-symbols-outlined {
    background-color: var(--color2);
    transition: 0.3s;
}

#header h3 {
    color: var(--color4);
    font-family: var(--text);
    font-weight: 500;
    font-size: var(--size);
}

/* SECTION */

/* .sectionbg {
    background-color: var(--color5);
} */

h2 {
    color: var(--color2);
    font-family: var(--title);
    font-size: var(--size-title2);
}

.section {
    padding: 0 100px;
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 50px;
    padding-top: 70px;
}

.section-part2 {
    padding: 0 100px;
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin: auto;
    padding-bottom: 70px;
}

.section-part2 h4 {
    font-size: 20px;
}

.section-img {
    width: 30%;
    border-radius: 10px;
    object-fit: cover;
    max-height: 600px;
}

.section-img2 {
    width: 40%;
    border-radius: 10px;
    object-fit: cover;
    max-height: 600px;
}

.img-light {
    object-position: right;
}

h3 {
    color: var(--color3);
    font-family: var(--subtitle);
    font-size: var(--size-subtitle);
}

.separator {
    width: 100%;
    height: 1px;
    background-color: var(--color6);
    margin-top: 40px;
}

.section2 {
    margin: auto;
    background-color: var(--color5);
    padding: 0 100px;
    padding-top: 50px;
    padding-bottom: 80px;
}

.section2 h2 {
    font-family: var(--subtitle);
    color: var(--color2);
}

.signature {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.signature h3 {
    color: var(--color3);
}

.sign-block {
    width: 49%;
    margin-bottom: 50px;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-top: 40px;
}

.padd {
    margin-bottom: 50px;
}

.buttons p {
    max-width: 50%;
    text-align: center;
}

.button {
    width: fit-content;
    text-decoration: none;
}

.button:hover {
    border: 1px solid var(--color3);
    color: var(--color3) !important;
}

.iframe {
    width: 100%;
    height: 620px;
    margin-top: 50px;
    border: 0;
    background-color: white;
    margin-top: 0;
}

/*section témoignages */

.section3 {
    padding: 0 100px;
    margin: auto;
}

.section3 h2 {
    font-size: var(--size-title2);
}

.temoignages {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.tem-block {
    background-color: var(--color5);
    border-radius: 10px;
    padding: 20px;
    width: 47%;
    height: fit-content;
}

h4 {
    color: var(--color2);
    font-family: var(--subtitle);
    margin-bottom: 0;
}

.row{
    flex-direction: row;
    margin-top: 100px;
}

.bot {
    padding: 11px;
}

/* mentions légales */


#mentions {
    padding: 30px;
}

.mentions-legales {
    text-align: center;
    text-decoration: underline;
    cursor: pointer;
}

.mentions {
    display: none;
    flex-direction: column;
}

.mention {
    text-align: center;
}


/* responsive */



@media only screen and (max-width:1578px) {
    .tem-block {
        width: 46%;
    }
}

@media only screen and (max-width:1184px) {
    .tem-block {
        width: 100%;
    }

    .fondu h3 {
        width: 70%;
    }

    .iframe {
        height: 650px;
    }

    .buttons p {
        max-width: 70%;
    }
}

@media only screen and (max-width:1000px) {
    .section {
        flex-direction: column-reverse;
        padding: 0 20px;
    }
    
    .section-img {
        min-width: 100%;
        max-height: none;
    }

    .row {
        flex-direction: column;
    }

    .buttons p {
        max-width: 100%;
    }

    .section3 {
        padding: 20px;
    }

    .section2 {
        padding: 20px;
    }

    .section-part2 {
        flex-direction: column;
        padding: 20px;
    }

    .section-img2 {
        width: 100%;
    }
}

@media only screen and (max-width:850px) {
    .signature {
        flex-direction: column;
    }
    
    .sign-block {
        width: 100%;
    }
}

@media only screen and (max-width:715px) {
    .infos-head {
        flex-direction: column;
    }

    .fondu h3 {
        width: auto;
    }

    .iframe {
        display: none;
    }

    .button {
        display: initial;
    }

    #header {
        background-image: none;
    }
}