footer {
    --footer-bg              : none;
    --footer-logo-max-width  : 265px;
    --footer-logo-min-width  : 100px;
    --footer-link-color      : var(--color-1);
    --footer-link-title      : black;
    --footer-link-hover-color: #494949c7;
    --footer-link-bg         : var(--light);
    --footer-ling-hover-bg   : var(--light);
    --footer-link-gap        : 5px;
    --footer-gap             : 0 30px;
    --footer-link-padding    : 0.2rem 0;
    --footer-social-gap      : 10px;
    --footer-body-max-width  : 700px;
}
.footer-container {
    background: var(--footer-bg);
}
footer {
    background-image : url("../../img/bg-footer.svg");
    background-repeat: no-repeat;
    background-size  : cover;
    padding-top      : 2rem;
}
footer li {
    margin-bottom: 0.5rem;
}
footer .logo-footer {
    display        : flex;
    align-items    : center;
    justify-content: center;
}
footer li p {
    margin-bottom: 5px;
}
footer li p.small {
    font-size : 12px;
    margin-top: 10px;
}
footer .logo-footer img {
    width    : 100%;
    max-width: var(--footer-logo-max-width);
    min-width: var(--footer-logo-min-width);
}
footer .social-link a:hover {
    color: var(--color-1);
}
footer #tarteaucitronManager,
footer a {
    color      : var(--footer-link-color);
    transition : all ease 0.2s;
    /* text-transform: uppercase; */
    line-height: 1rem;
}
footer .time {
    text-transform: unset;
}
footer .address span {
    line-height: 20px;
    /* font-size: 14px; */
}
footer #tarteaucitronManager:hover,
footer a:hover {
    cursor: pointer;
    color : var(--footer-link-hover-color);
}
footer a {
    text-decoration: underline !important;
    color          : var(--color-1);
}
footer .footer-body > * {
    display       : flex;
    flex-direction: column;
    gap           : var(--footer-link-gap);
}
footer .slot > li > a {
    display    : flex;
    padding    : var(--footer-link-padding);
    background : none;
    white-space: nowrap;
    color      : var(--footer-link-color) !important;
}
footer .slot > li > a:hover {
    background: var(--footer-link-hover-bg);
    color     : var(--footer-link-hover-color) !important;
}
footer .slot > li > a > i {
    display        : flex;
    justify-content: center;
    width          : 20px;
    padding-right  : 12px;
}
footer .footer-link-title {
    padding    : 15px 0;
    font-family: var(--title-font);
    position   : relative;
    /* text-transform: uppercase; */
    color      : var(--footer-link-title);
}
footer .footer-link-title span {
    position      : relative;
    padding-bottom: 10px;
    font-weight   : 600;
}
/* footer .footer-link-title span:after {
    content   : "";
    position  : absolute;
    bottom    : 4px;
    left      : 0;
    width     : 100%;
    height    : 1px;
    background: var(--footer-link-color);
} */
/* ------------- GRID ------------- */
.footer-container {
    display              : grid;
    grid-template-columns: 2fr 262px 276px 1fr 1fr 1fr;
    grid-template-rows   : auto auto;
    gap                  : 20px 30px;
    grid-auto-flow       : row;
    grid-template-areas  : "logo slot-1 slot-2 slot-3 slot-4 slot-5";
    overflow             : hidden;
}
.footer-container .logo .subtitle .lettrine {
    font-weight: 500;
}
.footer-container .logo .subtitle .lettrine {
    font-size: 20px;
    color    : var(--color-3);
}
.footer-container .logo span {
    color      : white;
    text-align : center;
    font-weight: 300;
    margin-top : 1rem;
}
.footer-container {
    padding: 2.5rem;
}
footer ul.slot {
    padding-top: 1.5rem;
}
.footer-container .logo {
    grid-area      : logo;
    padding-top    : 0;
    display        : flex;
    align-items    : center;
    justify-content: center;
    margin-top     : 1.5rem;
}
.footer-container .slot-1 {
    grid-area: slot-1;
}
.footer-container .slot-2 {
    grid-area: slot-2;
}
.footer-container .slot-3 {
    grid-area: slot-3;
}
.footer-container .slot-4 {
    grid-area: slot-4;
}
/* breackpoint */
@media(max-width:1499px) {
    .footer-container {
        grid-template-columns: 1.5fr 256px 275px 1fr 1fr 1fr;
        gap                  : 30px;
    }
}
@media(max-width:1399px) {
    .footer-container {
        grid-template-rows   : auto auto;
        grid-template-areas  : "logo logo logo logo logo" "slot-1 slot-2 slot-3 slot-4 slot-5";
        grid-template-columns: 281px 291px 1fr 218px 1fr;
        gap                  : 0 20px;
        padding-bottom       : 0;
    }
    footer {
        padding-bottom: 2.5rem;
    }
}
@media(max-width:1199px) {
    .footer-container {
        grid-template-rows   : auto auto auto;
        grid-template-areas  : "logo logo logo " "slot-1 slot-2 slot-3" "slot-4 slot-5 .";
        grid-template-columns: 1.4fr 1.4fr 1fr;
        gap                  : 0 20px;
        padding-bottom       : 0;
        width                : 940px;
        margin               : 0 auto;
    }
    footer ul.slot {
        padding-top: 1rem;
    }
}
@media(max-width:991px) {
    footer {
        background : var(--bg-light);
        padding-top: 0;
    }
    .footer-container {
        padding-top: 2.5rem;
    }
    .footer-container {
        grid-template-rows   : auto auto auto;
        grid-template-areas  : "logo logo" "slot-1 slot-2" "slot-3 slot-4" "slot-5 .";
        grid-template-columns: 1.5fr 1fr;
        gap                  : 0 20px;
        margin-top           : 0;
        margin-bottom        : 1rem;
        width                : 100%;
    }
    .footer-container .logo {
        margin-top   : 0;
        margin-bottom: 1.5rem;
    }
    .footer-container .slot-1,
    .footer-container .slot-2,
    .footer-container .slot-3,
    .footer-container .slot-4 {
        padding: 0;
    }
}
@media(max-width:575px) {
    .footer-container {
        display       : flex;
        flex-direction: column;
    }
    footer {
        padding-bottom: 0.5rem;
    }
}