/* Pied de page : bandeaux, coordonnées, modale de contact, formulaire, bandeau cookies (commun/footer.php). */

.footer {
    margin-top: 3.4rem;
}

.footer .footer__bandeau {
    background-color: var(--param_couleur1);
    /* height: var(--footer-download-section-height); */
    padding: 1rem 3.8rem 1.8rem 3.8rem;
    display: flex;
    align-items: center;
}

.footer__bandeau-contenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.footer .footer__appli-logo {
    width: auto;
    height: clamp(5rem, 10vw, 6.8rem);
}

.footer .footer__appli-logo-cadre {
    /* background-color: #fff;
    border-radius: .5rem;
    padding: 0.4rem; */
}

.footer .footer__bandeau-contenu h5 {
    /* font-size: 3.6rem; */
    font-size: clamp(2rem, 4vw, 3.6rem);
    color: var(--param_couleurTexte2);
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
}

.footer .footer__stores {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.footer .footer__stores img {
    height: auto;
    width: clamp(12rem, 15vw, 15rem);
}

.footer .footer__bandeau--cta {
    justify-content: center;
}

.footer .footer__cta {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1rem;
}

.footer .footer__cta-texte {
    color: var(--param_couleurTexte2);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}

.footer .footer__cta-bouton {
    background-color: #fff;
    color: var(--param_couleur1);
    border: none;
    padding: 0.8rem 2.4rem;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    border-radius: 0.4rem;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 0.5rem;
}

.footer .footer__cta-bouton:hover {
    opacity: 0.85;
}

.footer .footer__contact {
    background-color: var(--param_couleur2);
    padding: 3rem 3.8rem 0 3.8rem;
    display: flex;
    align-items: center;
    position: relative;
}

.footer .footer__logos {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    flex: 1;
}

.footer .footer__logos img {
    height: auto;
    width: 34rem;
}

.footer .footer__coordonnees {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer .footer__coordonnees .footer__adresse {
    color: var(--param_couleurTexte1);
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 1.8rem;
}

.footer .footer__coordonnees .footer__adresse p::first-line {
    font-weight: 700;
}

.footer .footer__reseaux {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.footer .footer__reseaux img {
    width: 4rem;
    height: 4rem;
}

.footer .footer__reseaux a {
    background-color: #fff;
    border-radius: 50px;
    padding: 0.3rem;
}

.footer .footer__liens {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .8rem;
    align-self: flex-start;
    align-items: center;
}

.footer .footer__liens .footer__lien {
    text-align: center;
    border-radius: 1.5rem;
    border: 1px solid #000;
    width: 80%;
    padding: 1rem 0px;
    cursor: pointer;
}

.footer .footer__fin {
    /* position: absolute; */
    /* bottom: .8rem; */
    /* left: 50%; */
    /* transform: translateX(-50%); */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem 2.4rem;
    width: 100%;
    flex-wrap: wrap;
    background-color: var(--param_couleur2);
    padding: 1.2rem 3.8rem 1.2rem 3.8rem;
}

/*==================RESPONSIVE==================*/
@media screen and (max-width: 940px) {
    .container.footer__bandeau-contenu {
        flex-direction: column;
        gap: 0.8rem;
    }

    .container.footer__bandeau-contenu h5 {
        margin-bottom: 1.2rem;
    }

    .footer .footer__contact {
        flex-direction: column;
        gap: 1.8rem;
    }

    .footer .footer__logos {
        flex-direction: row;
        gap: 0;
        justify-content: space-between;
    }

    .footer .footer__logos img {
        width: 49%;
    }

    .footer .footer__liens {
        width: 100%;
        flex-direction: row;
        gap: 1.8rem;
        justify-content: center;
        align-items: stretch;
    }

    .footer .footer__liens .footer__lien {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 2.8rem;
    }

}

@media screen and (max-width: 830px) {
    .footer .footer__contact {
        padding: 3rem 3.4rem 0 3.4rem;
    }

    .footer .footer__fin {
        padding: 1.2rem 3.4rem 1.2rem 3.4rem;
    }

}

@media screen and (max-width: 540px) {
    .footer .footer__contact {
        padding: 3rem 1.8rem 0 1.8rem;
    }

    .footer .footer__fin {
        padding: 1.2rem 1.8rem 1.2rem 1.8rem;
    }

    .footer .footer__liens {
        gap: .8rem;
        align-items: stretch;
    }

    .footer .footer__liens .footer__lien {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.8rem;
    }

    .footer .footer__reseaux img {
        width: 3.4rem;
        height: 3.4rem;
    }

}

.modale {
    display: none;
}

.modale.modale--ouverte {
    display: block;
}

.modale__fond {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modale__boite {
    background-color: #fff;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
    font-family: "Open Sans", sans-serif;
}

.modale__entete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modale__titre {
    color: var(--param_couleur1);
    font-family: "Source Serif 4", serif;
    font-size: 2.4rem;
    margin: 0;
}

.modale__fermer {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.modale__fermer:before {
    content: '\2715';
    color: #aaa;
    font-size: 28px;
}

.modale__fermer:hover:before {
    color: var(--param_couleur1);
}

.champ {
    margin-bottom: 20px;
}

.champ label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.6rem;
}

.champ input,
.champ textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1.4rem;
}

.champ textarea {
    height: 120px;
    resize: vertical;
}

.champ input.error,
.champ textarea.error {
    border-color: #dc3545;
}

button[type="submit"] {
    background-color: var(--param_couleur1);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.6rem;
    font-family: 'Open Sans', sans-serif;
}

button[type="submit"]:hover {
    background-color: var(--param_couleur_hover1);
}

.formulaire__succes {
    color: green;
    text-align: center;
    font-size: 1.8rem;
    padding: 20px;
}

.formulaire__erreur {
    color: #dc3545;
    text-align: center;
    font-size: 1.8rem;
    padding: 20px;
}

.formulaire__erreur.champ__erreur {
    text-align: left;
    font-size: 1.4rem;
    padding: 0;
    margin-top: 5px;
}

.modale {
    display: none;
}

.modale.modale--ouverte {
    display: block;
}

.modale[aria-hidden="false"] .modale__fond {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.modale[aria-hidden="false"] .modale__boite {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.modale[aria-hidden="true"] .modale__fond {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.modale[aria-hidden="true"] .modale__boite {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.modale .modale__boite,
.modale .modale__fond {
    will-change: transform;
}

.champ label .champ__requis {
    color: #dc3545;
}

.cookies {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--param_couleur1);
    color: white;
    padding: 1.4rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.cookies p {
    font-family: "Open Sans", sans-serif;
    font-weight: normal;
    font-size: 1.5rem;
}

.cookies a {
    font-family: "Open Sans", sans-serif;
    background-color: transparent;
    color: var(--param_couleur2);
    font-weight: 700;
    font-size: 1.5rem;
}

.cookies__boutons {
    display: flex;
    gap: 1rem;
}

.cookies__bouton {
    padding: 0.8rem 2.4rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.cookies__bouton--accepter {
    font-family: "Open Sans", sans-serif;
    background: var(--param_couleur2);
    color: var(--param_couleurTexte2);
    font-weight: 700;
    font-size: 1.5rem;
    text-wrap: nowrap;
}

.cookies__bouton--refuser {
    font-family: "Open Sans", sans-serif;
    background-color: transparent;
    color: var(--param_couleur2);
    font-weight: 700;
    font-size: 1.5rem;
}

.cookies__bouton--refuser:hover,
.cookies a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 636px) {
    .cookies {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: end;
    }

}

.modale .modale__boite,
.modale .modale__fond {
    will-change: auto;
}

.footer .footer__liens .footer__lien {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 500;
}

.footer .footer__liens .footer__lien--telephone {
    font-size: 3rem;
}

.footer .footer__liens .footer__lien--principal {
    font-size: 2rem;
}

.footer.footer--sans-bandeau {
    margin-top: 0;
}

@keyframes mmfadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

@keyframes mmfadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }

}

@keyframes mmslideIn {
    from {
        transform: translateY(15%);
    }

    to {
        transform: translateY(0);
    }

}

@keyframes mmslideOut {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10%);
    }

}


/* Champ piège anti-robots du formulaire de contact */
.champ--piege {
    display: none !important;
}
