/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: normal;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* FIN DE RESET, MOBILE FIRST */

body {
    font-weight: 500;
    color: #003043;
    font-family: 'Quicksand', sans-serif;
    .header {
        .image {
            background: url('img/header-mobile.png') no-repeat center;
            height: 300px;
            background-size: cover;
        }
        .texte {
            padding: 40px 20px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            line-height: 22px;
            font-weight: 400;
            h1 {
                font-size: 26px;
                font-weight: 600;
                line-height: 28px;
            }
        }
    }

    .domaine-description {
        background : #F5F5F5;
        padding: 40px 20px;
        h2 {
            margin-bottom: 40px;
            color: #D62828;
            font-size: 26px;
            line-height: normal;
        }
        .data {
            display: flex;
            flex-direction: column;
            gap: 20px;
            .pistes, .remontees {
                display: flex;
                flex-direction: column;
                gap: 5px;
            }
            span {
                font-size: 34px;
            }
            p {
                font-size: 18px;
            }
        }
    }

    .domaine-ouverture {
        background: #003043;
        padding: 40px 20px;
        .inclus-container {
            display: flex;
            gap: 5px;
        }
        .fermeture {
            display: flex;
            gap: 5px;
        }
        .title {
            margin-bottom: 40px;
            font-size: 26px;
        }
        .title, div {
            color: white;
        }
        div {
            font-size: 18px;
        }
        span {
            color: #C5E0FF;
        }
        .ouverture, .fermeture {
            padding: 12px;
            border-radius: 12px;
            border: 1px solid #C5E0FF;
        }
        .ouverture {
            margin-bottom: 10px;
        }
    }

    .rendez-vous {
        display: flex;
        align-items: end;
        background: url('img/rdv-mobile.png') no-repeat center;
        background-size: cover;
        height: 450px;
        p {
            font-size: 26px;
            padding: 0 20px 40px 20px;
            color: white;
        }
    }

    .reseaux-sociaux {
        padding: 40px 20px;
        background: #F5F5F5;
        .social-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-top: 40px;
            .social {
                font-weight: 600;
                padding: 18px;
                color: white;
                border-radius: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 10px;
                background: #D62828;
                .reseau {
                    font-size: 18px;
                    color: white;
                }
            }
            .social:hover {
                background: #A71D1D;
            }
        }
        p {
            font-size: 26px;
            color: #D62828;
        }
    }

    footer {
        padding: 40px 20px 80px 20px;
        svg {
            display: block;
            margin: 0 auto 20px auto;
        }
        p {
            font-size: 26px;
            text-align: center;
        }
    }
}


@media (min-width: 992px) {
    body {
        .header {
            .image {
                background: url('img/header-desktop.png') no-repeat center;
                height: 400px;
                background-size: cover;
            }
            .texte {
                padding: 80px 100px;
                flex-direction: row;
                gap: 20px;
                line-height: 28px;
                font-size: 20px;
                p {
                    max-width: 40%;
                }
                h1 {
                    max-width: 70%;
                    font-size: 35px;
                    line-height: 45px;
                }
            }
        }

        .domaine-description {
            display: flex;
            padding: 80px 100px;
            align-items: center;
            gap: 50px;
            h2 {
                max-width: 50%;
                margin-bottom: 0;
                font-size: 30px;
            }
            .data {
                display: flex;
                flex-direction: row;
                gap: 20px;
                .pistes, .remontees {
                    display: flex;
                    flex-direction: column;
                    gap: 5px;
                }
                span {
                    font-size: 35px;
                }
                p {
                    font-size: 25px;
                }
            }
        }

        .domaine-ouverture {
            display: flex;
            padding: 80px 100px;
            align-items: center;
            justify-content: space-between;
            .inclus-container {
                display: flex;
                gap: 5px;
            }
            div {
                margin-bottom: 0;
                font-size: 20px;
            }
            .title {
                font-size: 25px;
                max-width: 35%;
                margin-bottom: 0;
            }
            span {
                font-size: 16px;
                display: block;
            }
            .agenda {
                display: flex;
            }
            .inclus {
                color: #C5E0FF;
                font-size: 16px;
            }
            .ouverture, .fermeture {
                display: flex;
                flex-direction: column;
                justify-content: center;
                padding: 25px;
                white-space: nowrap;
            }
            .ouverture {
                margin-bottom: 0;
                margin-right: 30px;
            }
        }

        .rendez-vous {
            align-items: center;
            background: url('img/rdv-desktop.png') no-repeat center;
            background-size: cover;
            height: 400px;
            p {
                font-size: 25px;
                padding: 0 0 0 100px;
                max-width: 50%;
            }
        }

        .reseaux-sociaux {
            display: flex;
            padding: 80px 100px;
            align-items: center;
            justify-content: space-between;
            p {
                font-size: 25px;
                max-width: 50%;
            }
            .social-container {
                flex-direction: row;
                gap: 20px;
                margin-top: 0;
                .social {
                    align-items: end;
                    position: relative;
                    height: 120px;
                    width: 130px;
                    padding: 18px;
                    display: flex;
                    justify-content: initial;
                    gap: 10px;
                    svg {
                        position: absolute;
                        top: 5px;
                        left: 5px;
                        height: 60px;
                        width: 60px;
                    }
                    .reseau {
                        color: white;
                        font-size: 20px;
                    }
                }
            }
        }

        footer {
            padding: 80px 100px;
            svg {
                display: block;
                margin: 0 auto 40px auto;
            }
            p {
                font-size: 25px;
                max-width: 70%;
                margin: 0 auto;
            }
        }
    }
}

@media (min-width: 1600px) {
    body {
        .header {
            .image {
                background: url('img/header-desktop.png') no-repeat center;
                height: 460px;
                background-size: cover;
            }
            .texte {
                padding: 100px 144px;
                flex-direction: row;
                gap: 120px;
                line-height: 28px;
                font-size: 20px;
                p {
                    max-width: 30%;
                }
                h1 {
                    max-width: 50%;
                    font-size: 50px;
                    line-height: 60px;
                }
            }
        }

        .domaine-description {
            display: flex;
            padding: 100px 144px;
            align-items: center;
            gap: 150px;
            h2 {
                max-width: 50%;
                margin-bottom: 0;
                font-size: 34px;
            }
            .data {
                display: flex;
                flex-direction: row;
                gap: 100px;
                .pistes, .remontees {
                    display: flex;
                    flex-direction: column;
                    gap: 5px;
                }
                span {
                    font-size: 50px;
                }
                p {
                    font-size: 26px;
                }
            }
        }

        .domaine-ouverture {
            display: flex;
            padding: 100px 144px;
            align-items: center;
            .title, div {
                margin-bottom: 0;
                font-size: 34px;
            }
            span {
                font-size: 26px;
                display: block;
            }
            .agenda {
                display: flex;
            }
            .inclus {
                color: #C5E0FF;
                font-size: 26px;
            }
            .ouverture, .fermeture {
                padding: 25px;
            }
            .ouverture {
                margin-bottom: 0;
                margin-right: 50px;
            }
        }

        .rendez-vous {
            align-items: center;
            background: url('img/rdv-desktop.png') no-repeat center;
            background-size: cover;
            height: 500px;
            p {
                font-size: 34px;
                padding: 0 0 0 144px;
                max-width: 40%;
            }
        }

        .reseaux-sociaux {
            display: flex;
            padding: 100px 144px;
            align-items: center;
            background: #F5F5F5;
            p {
                font-size: 34px;
            }
            .social-container {
                flex-direction: row;
                gap: 20px;
                .social {
                    align-items: end;
                    position: relative;
                    height: 210px;
                    width: 225px;
                    padding: 18px;
                    display: flex;
                    justify-content: initial;
                    gap: 10px;
                    svg {
                        position: absolute;
                        top: 10px;
                        left: 10px;
                        height: 84px;
                        width: 84px;
                    }
                    .reseau {
                        color: white;
                        font-size: 26px;
                    }
                }
            }
        }

        footer {
            padding: 100px 144px;
            svg {
                width: 50px;
                height: 50px;
                display: block;
                margin: 0 auto 40px auto;
            }
            p {
                font-size: 34px;
            }
        }
    }
}