:root {
    font-size: 16px;
    /* COLORS */
    --color-sapin: #5C6B2C;
    --color-anis: #BDC26A;
    --color-beige: #F1EDE6;
    --color-chocolat: #532918;
    --color-black: #000000;
    --color-white: #ffffff;
    /* FONTS */
    --font-header: "Kalam", cursive;
    --font-primary: 'Open Sans', sans-serif;
    --font-size-h1: 3rem;
    --font-size-h2: 2.25rem;
    --font-size-h3: 1.875rem;
    --font-size-h4: 1.5rem;
    --font-size-h5: 1.25rem;
    --font-size-baseline: 1.125rem;
    --font-size-paragraph: 0.875rem;
}


body {
    margin: 0;
    font-family: var(--font-primary);
    background-color: var(--color-beige);
    padding: 0;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    box-sizing: border-box;
}

/* RESET CSS */
ul {
    list-style: none;
    padding: 0;
}

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

i {
    padding: 0;
    margin: 0;
}

/* LAYOUT */

img {
    width: 100%;
}

.wrap {
    width: 100%;
    margin: 0;
}

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

.container {
    box-sizing: border-box;
    width: 100%;
    padding: 0 30px
}

main,
footer {
    position: relative;
    top: 4.5rem;
}

h1,
h2,
h3,
h4,
h5,
strong {
    font-weight: 700;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: var(--font-size-h1);
    text-transform: uppercase;
}

h2 {
    font-size: var(--font-size-h2);
    text-transform: uppercase;
}

h3 {
    font-size: var(--font-size-h3);
    text-transform: uppercase;
}

h4 {
    font-size: var(--font-size-h4);
    margin: 0.5rem 0;
    text-transform: uppercase;
}

h5 {
    font-size: var(--font-size-h5);
    text-transform: uppercase;
}

p {
    font-size: var(--font-size-paragraph);
    padding: 0;
    margin: 0;
}

button {
    padding: 10px 45px;
    border: none;
    border-radius: 100px;
    background-color: var(--color-chocolat);
    color: var(--color-white);
    font-size: var(--font-size-paragraph);
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform: scale(1);
}

button:active {
    transform: scale(1.1);
}

.round-picto {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-anis);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* HEADER */

header {
    position: fixed;
    left: 0;
    right: 0;
    padding: 0 2rem;
    height: 4.5rem;
    z-index: 2;
    background-color: var(--color-beige);
    box-shadow: 0 2px 5px rgba(83, 41, 24, 0.1);
}

header .flex {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    height: 100%;
    justify-content: space-between;
    align-content: flex-start;
}

div#logo {
    width: 10rem;
    height: 4.5rem;
    position: relative;
}

div#logo img {
    width: auto;
    display: block;
    position: absolute;
    top: 0.5rem;
}

#burger {
    font-size: 30px;
    color: var(--color-black);
    cursor: pointer;
}

nav {
    width: 100%;
    background-color: var(--color-beige);
    padding: 0 2rem;
    transform-origin: top center;
    transform: scaleY(0);
    transition: all 0.4s;
}

nav#main-nav {
    position: absolute;
    left: 0;
    top: 72px;
}

nav ul.flex {
    flex-direction: column;
}

nav ul.flex li {
    width: 100%;
    text-align: start;
    margin-bottom: 0.5rem;
}

nav ul.flex li:last-child {
    margin-bottom: 0;
}

nav.menu-ouvert {
    transform: scaleY(1);
}

header ul {
    font-family: var(--font-header);
    text-transform: uppercase;
}

header ul :active {
    text-decoration: underline;
    /* font-weight: 600; */
}

/* SECTION 1 : Introduction */

#introduction {
    background-image: url('../img/bandeau_index_nature.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    /* background-attachment: fixed; */
    width: 100%;
    height: 572px;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

#introduction::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 50px;
    background-image: url('../img/Vague.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0 2px;
}

#introduction img {
    height: 92px;
    width: auto;
}

#introduction div {
    align-items: center;
    text-align: center;
}


/* SECTION 2 : Produits */

#produits {
    color: var(--color-sapin);
    justify-content: center;
    align-items: center;
    width: 100%;
}

#produits img {
    box-sizing: border-box;
    width: 100%;
    max-width: 635px;
}

#produits div {
    align-items: center;
}

#produits div.container {
    width: 100%;
    align-items: left;
    text-align: left;
    max-width: 530px;
}

#produits button:active {
    background-color: #3B1F14;
}

/* SECTION 3 : Professionnels */

#points-de-vente {
    background-image: url('../img/background_eclats.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    height: 683px;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#points-de-vente i {
    font-size: 30px;
    color: var(--color-white);
}

#points-de-vente div {
    align-items: center;
    text-align: center;
}

#points-de-vente button:active {
    background-color: #3B1F14;
}

/* SECTION 4 : Nos engagements */

#nos-engagements {
    color: var(--color-white);
    position: relative;
    width: 100%;
}

#nos-engagements .wrap {
    position: relative;
}

#nos-engagements img {
    display: block;
    width: 100%;
}

.engagements {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    width: 100%;
}

.contenu-engagements {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    filter: drop-shadow(0 0 0.75rem black);
}

.round-picto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: transform 0.3s ease;
}


/* SECTION 5 : Professionnels */

#professionnels {
    background-image: url('../img/background_chocolate_1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 245px;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#professionnels div {
    align-items: center;
    text-align: center;
}

#professionnels button {
    background-color: var(--color-sapin);
}

#professionnels button:active {
    background-color: #48551E;
}

/* SECTION 6 : Dilemme */

#dilemme {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-sapin);
    margin: 30px 0;
}

#dilemme div {
    align-items: center;
    text-align: center;
}

#dilemme img {
    width: 50%;
    max-width: 512px;
    height: auto;
    rotate: 10deg;
}

#dilemme .tablette {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#dilemme a {
    background-image: url('../img/icon_like.svg');
    background-size: auto;
    background-repeat: no-repeat;
    width: 107px;
    height: 46px;
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
    color: var(--color-white);
    text-decoration: none;
    margin-bottom: 30px;
}

#dilemme a:active {
    transform: scale(1.1);
}

#dilemme .choice {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin: 30px 0;
}

/* SECTION 7 : Sachets */

#sachets {
    box-sizing: border-box;
    background-image: url('../img/background_dechire.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    width: 100%;
    height: 100%;
    color: var(--color-sapin);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 30px 0;
}

#sachets .flex {
    padding: 50px 0;
}

#sachets .container {
    display: flex;
    flex-direction: column;
}

#sachets div {
    align-items: center;
    text-align: center;
}

#sachets img {
    width: 100%;
    max-width: 890px;
    margin-top: 30px;
}

#sachets button:active {
    background-color: #3B1F14;
}

/* SECTION 8 : Réseaux Sociaux */

#reseaux {
    width: 100%;
    height: 190px;
    color: var(--color-sapin);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#reseaux h4 {
    padding: 0 1rem;
}

#reseaux div {
    align-items: center;
    text-align: center;
}

#reseaux .liens-reseaux {
    justify-content: center;
}

.picto-reseaux {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-sapin);
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.picto-reseaux:active {
    background-color: #48551E;
    transform: scale(1.1);
}

#reseaux .picto-reseaux a strong {
    color: var(--color-white) !important;
}

/* SECTION 9 : Social Proof */

#collaboration {
    box-sizing: border-box;
    color: var(--color-sapin);
    height: 100%;
    width: 100%;
    position: relative;
    /* overflow: hidden;   */
}

#collaboration::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../img/img_roxane.png) center/cover no-repeat;
    filter: blur(5px);
    z-index: -1;
}


#collaboration .wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
}

#collaboration ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80%;
    height: 100%;
}

#collaboration .gauche {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

#collaboration .droite {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}


#collaboration .bloc {
    padding: 1rem;
    border-radius: 1rem;
    filter: drop-shadow(-6px 4px 0px rgba(0, 0, 0, 0.15));
    width: 75%;
    margin-bottom: 2rem;
}

#collaboration .bloc.white {
    background-color: var(--color-white);
    color: var(--color-sapin);
    position: relative;
}

#collaboration .bloc.white::after {
    content: '';
    width: 100px;
    height: 20px;
    position: absolute;
    z-index: 500;
    bottom: -18px;
    right: 20px;
    background-image: url(../img/patte_bloc_conversation_white.svg);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
}

#collaboration .bloc.anis {
    background-color: var(--color-anis);
    position: relative;
}

#collaboration .bloc.anis::after {
    content: '';
    width: 100px;
    height: 20px;
    position: absolute;
    z-index: 500;
    bottom: -18px;
    left: 20px;
    background-image: url(../img/patte_bloc_conversation_anis.svg);
    background-repeat: no-repeat;
    background-position: top right;
    background-size: cover;
}

#collaboration .youtube {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#collaboration img {
    margin-top: 1rem;
    cursor: pointer;
}

#collaboration .seul {
    width: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-size-h1);
    font-size: x-large;
}

/* SECTION 10 : Contact */

#contact {
    /* transform: translatey(80px); */
    box-sizing: border-box;
    background-image: url('../img/texture.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 405px;
    color: var(--color-sapin);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#contact .container {
    padding-bottom: 30px;
}

#contact img {
    height: 40px;
}

#contact div {
    align-items: center;
    text-align: center;
}

#contact button:active {
    background-color: #3B1F14;
}

/* FOOTER */

footer {
    box-sizing: border-box;
    background-image: url('../img/background_footer.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
    width: 100%;
    height: 100%;
    display: flex;
    color: var(--color-white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 30px 30px 30px;
    transform: translatey(-80px);
}

footer .flex {
    padding: 30px 0;
    align-items: flex-start;
}

footer img {
    height: 100%;
    max-height: 92px;
    min-width: 92px;
}

footer .logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 40%;
    height: 100%;
    max-width: 200px;
}

footer .container {
    padding: 0;
    width: 100%;
    height: 100%;
}

footer .bloc-1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
    width: 100%;
    height: 100%;
}

footer .bloc-2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

footer li:active {
    text-decoration: underline;
    font-weight: bold;
}

hr {
    display: flex;
    width: 100%;
    align-items: flex-start;
    margin: 0;
}

footer .picto-reseaux {
    background-color: var(--color-white);
}

footer .picto-reseaux a strong {
    color: var(--color-chocolat) !important;
}

.liens-reseaux {
    display: flex;
    gap: 5px;
}

footer .picto-reseaux:active {
    transform: scale(1.1);
    background-color: #D9D9D9;
}

/* Responsive desktop */
@media (min-width: 940px) {

    button:hover {
        transform: scale(1.1);
    }

    .picto-reseaux:hover {
        transform: scale(1.1);
    }

    /* HEADER */

    nav {
        padding: 0;
        width: auto;
        transform: scaleY(1);
        background: none
    }

    nav#main-nav {
        position: relative;
        left: initial;
        top: initial;
    }

    header .flex {
        height: 100%;
        align-items: center;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    header nav ul.flex {
        flex-direction: row;
    }

    header nav ul.flex li {
        margin-left: 1rem;
        width: auto;
        text-align: left;
        margin-bottom: 0;
    }

    #burger {
        display: none;
    }

    header li {
        margin: 0 1rem;
    }

    header ul :hover {
        text-decoration: underline;
    }

    /* SECTION 2 : Produits */

    #produits .flex {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    /* NOS ENGAGEMENTS */


    #nos-engagements .flex {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    #nos-engagements .wrap {
        position: relative;
    }

    /* DILEMME */

    #dilemme a:hover {
        transform: scale(1.1);
    }

    /* FOOTER */

    footer .bloc-1 {
        flex-direction: row;
        align-items: center;
    }

    footer .bloc-2 {
        flex-direction: row;
    }

    footer .bloc-2 ul {
        display: flex;
        flex-direction: row;
        gap: 30px
    }

    footer {
        padding: 60px 30px 30px 30px;
        transform: translatey(-60px);
    }

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

@media (min-width: 1200px) {
    /* COLLABORATION */

    #collaboration .youtube {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    #collaboration img {
        margin-top: 0;
        margin-left: 1rem;
    }
}