/* ===================================================
   MAIN
   =================================================== */

/* Section intro */
.intro {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 5rem;
}

.intro h1 {
    margin: 0;
    font-size: clamp(5rem, 14vw, 10rem);
    line-height: 1;
    color: #fff;
    letter-spacing: 0.03em;
}

.slogan {
    margin: 0;
    font-size: clamp(1rem, 2vw, 2rem);
    line-height: 1.65;
    color: #fff;
}

.cta {
    text-align: center;
}

.cta a {
    font-size: 3vh;
    border: 0.1em solid #fdd100;
    padding: 0.40em;
    border-radius: 3em;
    text-decoration: none;
    color: #fff;
    display: inline-block;
    background-color: rgba(253, 209, 0, 0.25);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 100%;
}

.cta a:hover {
    background-color: #fdd100;
    transform: scale(1.05);
    box-shadow: 0 0 1.8em rgba(253, 209, 0, 0.5);
}

/* Video pitch */
.section-video {
    padding: 0 0 4rem;
    background-color: rgb(244, 228, 182);
}

.section-video h2,
.equipe h2,
.section-reseaux h2,
.mission h2,
.saveurs h2,
.partenaires h2 {
    font-size: 200%;
    text-align: center;
}

.section-reseaux h2 {
    margin: 0 0 0.5rem 0;
}

.pitch {
    display: block;
    width: min(90%, 1000px);
    margin: 0 auto;
    border-radius: 1.25rem;
    box-shadow: 0 0.5rem 2.5rem rgba(0, 0, 0, 0.2);
}

/* Section mission + Section saveurs*/

.mission p {
    text-align: justify;
    text-align-last: left;
}

.mission,
.saveurs {
    width: 90%;
    margin: 0 auto;
}

.mission h4,
.saveurs h4 {
    text-align: center;
    margin: 0;
}

.saveurs h3 {
    padding-bottom: 1rem;
    border-bottom: #fdd100 solid .2rem;
}

.saveurs div {
    display: flex;
    justify-content: center;
}

.saveurs article {
    margin: 1rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    min-width: 15rem;
    border: #fdd100 solid .2rem;
    border-radius: 2rem;
    box-shadow: 0 0.5rem 2rem rgba(253, 209, 0, 0.3);
}

.saveurs img {
    margin: 1rem;
}

/* Section équipe */
.equipe {
    background-color: rgb(244, 228, 182);
}

.equipe-membres div {
    padding: .3rem;
    min-height: 9rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.equipe article img {
    width: 90%;
    border-radius: 1.65rem;
    margin: .5rem;
}

.equipe article {
    margin: 1.5rem;
    padding-top: 0.75rem;
    text-align: center;
    border-radius: 2rem;
    box-shadow: 0 0.5rem 2.5rem rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.equipe article:hover {
    transform: scale(1.01);
}

.equipe p {
    margin-top: 0;
}

.equipe h3 {
    margin-bottom: 0;
}

.equipe-membres {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 80%;
    margin: 0 auto;
}

/* QR codes */

.qr-code-titre {
    text-align: center;
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    color: var(--brun);
}

.qr-code {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 60%;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.qr-code article a img {
    width: 100%;
    max-width: 20rem;
    transition: transform 0.2s;
}

.qr-code article a:hover img {
    transform: scale(1.05);
}

.qr-code p {
    margin: 0;
    font-family: Calibri, sans-serif;
    font-weight: 700;
    color: var(--texte);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* Section partenaires */
.partenaires {
    width: 90%;
    overflow: hidden;
    margin: 2rem auto;
}

.partenaires img {
    cursor: default;
}

.track {
    display: flex;
    width: max-content;
    animation: defilement 30s linear infinite;
}

.track img {
    height: 8rem;
    padding: 1rem;
    width: auto;
    margin: 0;
}


/* ===================================================
   TABLETTE  ≤ 960px
   =================================================== */

@media (max-width: 960px) {}



@media (max-width: 1200px) {}

/* ===================================================
   MOBILE  ≤ 768px
   =================================================== */

@media (max-width: 768px) {

    .equipe-membres {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    /* --- Main --- */
    .intro {
        gap: 1rem;
        padding: 2rem 1.25rem;
    }

    .section-video {
        padding: 0 0 2rem;
    }

    .pitch {
        width: 90%;
        border-radius: 0.9rem;
    }

    .section-reseaux {
        padding: 1.5rem 0 0 0;

    }

    .qr-code {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
        width: 100%;
    }

    .qr-code {
        grid-template-columns: repeat(2, 1fr);
        max-width: 520px;
    }

    .equipe-membres div {
        display: block;
        background-color: transparent;
    }

    .equipe article img {
        width: 100%;
        border-radius: 3vh;
    }

    .equipe article {
        margin: 1.5rem;
        text-align: center;
        border: none;
        box-shadow: none;
    }

    .equipe article img {
    width: 100%;
}

.equipe article {
    padding-top: 0;
}
}





.degrade-1 {
    height: 5em;
    background: linear-gradient(to bottom, rgb(254, 240, 197), rgb(244, 228, 182));
}

.degrade-2 {
    height: 5em;
    background: linear-gradient(to top, rgb(254, 240, 197), rgb(244, 228, 182));
}