footer h4, a, p, #legal {
    margin: 0;
    padding: 0;
    height: fit-content;
}

footer h4, a, p, #legal {
    color: var(--couleur-txt);
}

h4 {
    font-size: 20px;
    font-weight: 600;
}

#footerhaut a {
    font-size: clamp(28px, 17.63px + 1.481vw, 38px);
    font-weight: 500;
}

footer {
    padding: 30px;
    width: 100%;
    height: 100vh;
}

#footerglobal {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#footerglobal > * {
    flex: 1;
}

#footerhaut {
    display: flex;
    flex-direction: row;
    column-gap: 640px;
}

#footerhaut > * {
    flex: 1;
}

#footercontact, #footermenu, #proj-suivant, #footerprojet {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

#footerbas {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
    justify-content: flex-end;
}

#calque_1 {
    width: 100%;
}

.cls-1 {
    fill: transparent;
    stroke: var(--couleur-txt);
    stroke-width: 1.5;
    transition: fill ease-in-out 0.4s;
    vector-effect: non-scaling-stroke;
}

svg:hover .cls-1 {
    fill: var(--couleur-txt);
}

#footermentions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#legal {
    font-weight: 300;
    color: var(--couleur-txt);
}

/* --- googly eyes 👀 --- */
:root {
    --eye-size: 120px;
}

#footereyes {
    display: flex;
    justify-content: flex-end;
    flex: 0 0 auto;
    align-items: flex-start;
}

#eyes {
    display: block;
    width: var(--eye-size);
    max-width: 100%;
    height: auto;
    flex-shrink: 0;
}

.eye-iris {
    transform-box: fill-box;
    transform-origin: center;
}

/* PROJETS */

#footerhaut {
    display: flex;
    flex-direction: row;
    gap: 100px;
}

#footerprojet {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

#footercontact {
    flex: 1;
}

#footermenu {
    flex: 1;
}

#proj-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    transition: all 0.2s ease-in-out;
}

#proj-img:hover {
    border-radius: 16px;
    opacity: 0.7;
}

#proj-titre {
    display: none;
}

/* DÉGAGER LE SOULIGNEMENT */

#footerprojet a {
    display: block;
    width: fit-content;
}

#footerprojet a::after {
    display: none;
}

/* RESPONSIVE */

@media (max-width: 800px) {

    footer {
        padding: 24px;
    }

    #footerglobal, #footerbas {
        flex-direction: column;
    }

    #footerproj #footerhaut {
        flex-direction: column-reverse;
        row-gap: 64px;
    }

    #footerprojet {
        flex: 0 0 auto;
    }

    #footercontact {
        padding-left: 0;
    }

    #proj-img {
        display: none;
    }

    #proj-titre {
        display: block;
        font-size: clamp(28px, 17.63px + 1.481vw, 38px);
        font-weight: 500;
    }

    .cls-1 {
        fill: transparent;
        stroke-width: 1;
        transition: fill ease-in-out 0.4s;
        vector-effect: non-scaling-stroke;
    }
}

@media (max-width: 600px) {

    #footerhaut {
        row-gap: 64px;
    }

    .cls-1 {
        fill: transparent;
        stroke-width: 1;
        transition: fill ease-in-out 0.4s;
        vector-effect: non-scaling-stroke;
    }

    #maison, #footereyes {
        display: none;
    }

    #footercontact, #footermenu {
        display: flex;
        flex-direction: column;
        row-gap: 12px;
    }
}
