/* ===== FOOTER ===== */
footer {
    background:
        radial-gradient(
            circle at center,
            var(--forest) 0%,
            var(--forest-dark) 70%
        );
    color: var(--cream);
    padding-top: 0;
}

.footer-inner {
    padding: 5px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr 1.2fr;
    gap: 50px;
    padding-top: 56px;
    border-bottom: 1px solid rgba(251, 241, 222, .15);
}

.footer-brand .brand-name {
    color: var(--cream);
}

.footer-brand p {
    color: rgba(251, 241, 222, .7);
    font-size: 13.5px;
    max-width: 30ch;
    margin-top: 14px;
}

.footer-col h5 {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: 19px;
    color: var(--honey);
    margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
    display: block;
    color: rgba(251, 241, 222, .75);
    font-size: 14px;
    margin-bottom: 11px;
    font-weight: 400;
}

.footer-col a:hover {
    color: var(--cream);
}

.newsletter-form {
    display: flex;
    background: rgba(251, 241, 222, .08);
    border-radius: 100px;
    padding: 6px 6px 6px 18px;
    margin-top: 16px;
    align-items: center;
}

.newsletter-form input {
    flex: 1;
    background: none;
    border: none;
    color: var(--cream);
    font-family: 'Nunito';
    font-size: 13.5px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(251, 241, 222, .5);
}

.newsletter-form button {
    background: var(--honey);
    border: none;
    color: var(--bark-deep);
    cursor: pointer;
    font-family: 'Nunito';
    font-weight: 800;
    font-size: 12px;
    padding: 10px 18px;
    border-radius: 100px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 40px;

}

.footer-bottom p {
    font-size: 12px;
    color: rgba(251, 241, 222, .55);
    font-weight: 400;
}

.fa-brands{
   width: 20px;
    
}

.socials{
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* =========================================================
   RESPONSIVE — FOOTER
   ========================================================= */


/* ---------------------------------------------------------
   TABLETTE
   --------------------------------------------------------- */

@media (max-width: 1050px) {

    .footer-inner {
        padding: 5px 25px 30px;
    }

    .footer-top {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 35px;
        padding-top: 45px;
    }

    .footer-brand {
        grid-column: span 3;
    }

    .footer-brand p {
        max-width: 45ch;
    }

    .newsletter-form {
        max-width: 100%;
    }
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 760px) {

    footer {
        padding: 0;
    }

    .footer-inner {
        padding: 5px 20px 25px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-top: 40px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand p {
        max-width: 35ch;
        font-size: 13px;
        line-height: 1.7;
    }

    .footer-col h5 {
        margin-bottom: 13px;
        font-size: 18px;
    }

    .footer-col a,
    .footer-col p {
        font-size: 13.5px;
        margin-bottom: 9px;
    }


    /* =========================
       NEWSLETTER
       ========================= */

    .newsletter-form {
        width: 100%;
        box-sizing: border-box;
        padding: 5px;
        margin-top: 14px;
    }

    .newsletter-form input {
        min-width: 0;
        padding-left: 10px;
        font-size: 13px;
    }

    .newsletter-form button {
        flex-shrink: 0;
        padding: 10px 15px;
        font-size: 11px;
    }


    /* =========================
       RÉSEAUX SOCIAUX
       ========================= */

    .socials {
        justify-content: flex-start;
        gap: 22px;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    .fa-brands {
        width: auto;
    }


    /* =========================
       FOOTER BOTTOM
       ========================= */

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-top: 20px;
        padding-bottom: 25px;
    }

    .footer-bottom p {
        font-size: 11px;
        line-height: 1.5;
    }
}


/* ---------------------------------------------------------
   PETIT MOBILE
   --------------------------------------------------------- */

@media (max-width: 430px) {

    .footer-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-top {
        gap: 30px;
        padding-top: 35px;
    }

    .footer-brand p {
        font-size: 12.5px;
    }

    .footer-col h5 {
        font-size: 17px;
    }

    .footer-col a,
    .footer-col p {
        font-size: 13px;
    }


    /* Newsletter */

    .newsletter-form {
        border-radius: 18px;
        flex-wrap: wrap;
        padding: 8px;
        gap: 7px;
    }

    .newsletter-form input {
        width: 100%;
        flex: 1 1 100%;
        min-height: 35px;
        padding: 0 10px;
    }

    .newsletter-form button {
        width: 100%;
        padding: 11px 15px;
    }


    /* Socials */

    .socials {
        gap: 20px;
    }


    /* Bottom */

    .footer-bottom {
        padding-top: 18px;
        padding-bottom: 20px;
    }
}


/* ---------------------------------------------------------
   TRÈS PETIT ÉCRAN
   --------------------------------------------------------- */

@media (max-width: 360px) {

    .footer-inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    .footer-top {
        padding-top: 30px;
        gap: 27px;
    }

    .footer-brand p {
        font-size: 12px;
    }

    .newsletter-form {
        padding: 7px;
    }

    .newsletter-form input {
        font-size: 12px;
    }

    .newsletter-form button {
        font-size: 11px;
    }

    .socials {
        gap: 17px;
    }
}


/* ---------------------------------------------------------
   ACCESSIBILITÉ
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .footer-col a,
    .newsletter-form button {
        transition: none !important;
    }
}