.footer-black-section {
    background: #000;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    display: none;
}

body {
    background-color: #000;


    margin: 0;
    padding: 0;

}

.newfooter {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('footer.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 4rem 8rem 4rem;
    color: #fff;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    bottom: 0;
    min-height: 500px;
    flex-shrink: 0;
    margin-bottom: 0;
    position: relative;
    left: 0;
    transform: none;
    margin: 0;
}

.newfooter {
    background-color: #000;
}

.footer-black-section {
    display: none;
}

html {
    height: 100%;
    margin: 0;
}

body {

    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;

}

main {
    flex: 1;
}

.container {
    flex: 1;
}

.newfooter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;

}

.newfooter-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    min-height: 400px;
    background-color: #000;
}

.newfooter-section h3 {
    color: #f8f3e9;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.newfooter-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--main-decor-color);
}

.newfooter-section p {
    color: #f8f3e9;
    line-height: 1.6;
    opacity: 0.8;
}

.newfooter-social {
    display: flex;
    gap: 1rem;
}

.newfooter-social a {
    color: #f8f3e9;
    font-size: 1.5rem;
    transition: 0.3s ease;
}

.newfooter-social a:hover {
    color: var(--main-decor-color);
    transform: translateY(-3px);
}

.newfooter-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f8f3e9;
    opacity: 0.8;
}

.newfooter-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0px;
    text-align: center;
    color: #f8f3e9;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .newfooter {
        padding: 3rem 1rem;
        margin-top: 50px;
        min-height: auto;
    }

    .newfooter-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 15px;
    }

    .newfooter-section {
        padding: 1rem;
        min-height: auto;
        text-align: center;
    }

    .newfooter-section h3 {
        font-size: 1.2rem;
        text-align: center;
    }

    .newfooter-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .newfooter-social {
        justify-content: center;
        gap: 1.5rem;
    }

    .newfooter-social a {
        font-size: 1.3rem;
    }

    .newfooter-section p {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .newfooter-bottom {
        margin-top: 2rem;
        padding-top: 1rem;
        font-size: 6px;
        line-height: 1;
        opacity: 0.7;
    }
}

@media (max-width: 480px) {
    .newfooter {
        padding: 2rem 0.5rem;
        margin-top: 150px;
    }

    .newfooter-section h3 {
        font-size: 0.8rem;
    }

    .newfooter-social a {
        font-size: 1.2rem;
    }
}

body {
    background-color: #000;
}

/* Section noire après le footer */
.footer-black-section {
    background-color: #000;
    width: 100%;
    height: 30%;
    display: block;
    margin: 0;
    padding: 0;
    position: absolute;
}

/* Conteneur du contenu */
    .footer-content-container {
        position: relative;
        z-index: 2;
        width: 100%;
        padding: 30px 15px;
        margin: 0;
    }