/* 
    Fichier style : footer
*/
footer a, footer a:hover {
    color: var(--white);
}
footer p {
    font-size: 16px;
}

/* footer-top */
footer .footer-top {
    padding: 1.5rem 2rem 3rem;
    background-color: var(--clr-brown-base);
    color: var(--white);
}
footer .footer-top__content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-column-gap: 1rem;
    grid-row-gap: 2rem;
    align-items: center;
    gap: 2rem;
    text-align: center;
}
footer .footer-top__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}
footer .footer-top__col img {
    width: 50%;
}
footer .footer-top__col span {
    padding-bottom: 1rem;
    font-family: 'Now-Bold';
}
footer .footer-top__col .footer-top__info { padding-bottom: 2rem; }
footer .footer-top__col .footer-top__menu,
footer .footer-top__col .footer-top__info {
    display: flex;
    flex-direction: column;
}
footer .footer-top__col .footer-top__menu li a:hover {
    text-decoration: underline;
}
footer .footer-top__col .footer-top__media {
    display: flex;
    flex-direction: row;
    gap: .5rem;
}
footer .footer-top__col .footer-top__media li a {
    width: 30px;
    height: 30px;
    display: inline-block;
    background-image: url(../images/sprite-rs.png);
    background-size: auto 62px;
    border-radius: 100%;
}
footer .footer-top__col .footer-top__media .facebook { background-position: -1px -1px; }
footer .footer-top__col .footer-top__media .instagram { background-position: -31px -1px; }
footer .footer-top__col .footer-top__media .linkedin { background-position: -62px -1px; }
footer .footer-top__col .footer-top__media .twitter { background-position: -93px -1px; }
footer .footer-top__col .footer-top__media .tiktok { background-position: -125px -1px; }
footer .footer-top__col .footer-top__media .youtube { background-position: -156px -1px; }
/* footer-top */




/* footer-bottom */
footer .footer-bottom {
    padding: 1rem 0;
    background-color: var(--white);
    color: var(--clr-brown-base);
}
footer .footer-bottom__content {
    width: 100%;
    text-align: center;
}
footer .footer-bottom__content p a {
    color: var(--clr-brown-base);
}
footer .footer-bottom__content p a:hover {
    /* text-decoration: underline; */
    /* font-family: 'Now-regular'; */
    color: var(--clr-orange-base);
}
/* footer-bottom */




@media screen and (min-width: 600px) {
    footer .footer-top__content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 2rem;
        grid-row-gap: 1rem;
        align-items: center; 
    }

    .col-1 { grid-area: 1 / 1 / 2 / 3; }
    .col-2 { grid-area: 2 / 1 / 3 / 2; }
    .col-3 { grid-area: 2 / 2 / 3 / 3; }
    .col-4 { grid-area: 3 / 1 / 4 / 3; }

    footer .footer-top__col img {
        width: 35%;
    }
}

@media screen and (min-width: 800px) {
    footer .footer-top__content {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    .col-1 { grid-area: 1 / 1 / 2 / 4; }
    .col-2 { grid-area: 2 / 1 / 3 / 2; }
    .col-3 { grid-area: 2 / 2 / 3 / 3; }
    .col-4 { grid-area: 2 / 3 / 3 / 4; }

    footer .footer-top__col img {
        width: 20%;
    }
}

@media screen and (min-width: 1024px) {
    footer .footer-top {
        padding: 4rem 9rem 4rem 2rem;
        color: var(--white);
    }

    footer .footer-top__content {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: none;
        grid-column-gap: 1rem;
        grid-row-gap: 3rem;
        align-items: center;
        gap: 0;
    }

    .col-1 { grid-area: 1 / 1 / 2 / 2; }
    .col-2 { grid-area: 1 / 2 / 2 / 3; }
    .col-3 { grid-area: 1 / 3 / 2 / 4; }
    .col-4 { grid-area: 1 / 4 / 2 / 5; }

    footer .footer-top__col img {
        width: 50%;
    }
}


/* Go to top */
#goToTopBtn {
    position: fixed;
    bottom: 85px;
    right: 40px;
    z-index: 99;

    display: none;
    width: 2rem;
    height: 2rem;

    font-size: 18px; 
    color: var(--white);
    border: none;
    border-radius: 5px;
    background-color: var(--clr-green-base);
    opacity: 60%;
    outline: none;

    cursor: pointer;
}

#goToTopBtn:hover {
    background-color: var(--clr-orange-base);
}

#goToTopBtn:after,
#goToTopBtn:before {
    content:'';
    position: absolute;

    width: 0.5rem;
    height: 0.1rem;

    background-color: var(--white);
}

#goToTopBtn:after {
    top:50%;
    left: 0.95rem;
    transform: translate(0, -50%) rotate(30deg);
}
#goToTopBtn:before {
    top:50%;
    right: 0.95rem;
    transform: translate(0, -50%) rotate(-30deg);
}
/* Go to top */